/* ========================================
   SHUBHI MAHESHWARI MISHRA
   Premium Recruiter-Focused Design
   Light · Bold · Sharp · Scannable
   ======================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --bg: #fafbfd;
    --bg-alt: #f0f4fa;
    --bg-white: #ffffff;
    --bg-dark: #0c1a2e;

    --text: #1b2a40;
    --text-2: #475b74;
    --text-3: #8899ad;

    --blue: #0066ff;
    --blue-dark: #0050cc;
    --blue-light: #e8f0ff;
    --blue-glow: rgba(0, 102, 255, 0.12);

    --gold: #e6a200;
    --gold-light: #fff8e5;

    --green: #00a86b;
    --green-light: #e8faf0;

    --coral: #ff5252;

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 50px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
    --shadow-blue: 0 4px 24px rgba(0, 102, 255, 0.20);
    --shadow-up: 0 -2px 16px rgba(0, 0, 0, 0.04);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

strong {
    font-weight: 700;
}

/* ---------- UTILITIES ---------- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--blue);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 3rem;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.28);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: var(--bg-white);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r-pill);
    border: 1.5px solid #dde3ed;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ---------- NAVBAR ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: rgba(250, 251, 253, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s var(--ease);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-right: auto;
}

.logo-dot {
    color: var(--blue);
    font-size: 1.6rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    margin-right: 1.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s var(--ease);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    background: var(--blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-blue);
}

.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

#navToggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

#navToggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--blue);
}

.mobile-cta {
    padding: 0.8rem 2rem;
    background: var(--blue);
    color: #fff !important;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ---------- HERO ---------- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 2rem;
    overflow: hidden;
    background: linear-gradient(170deg, #f0f4fa 0%, #fafbfd 40%, #fff 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -8%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    animation: floatSlow 20s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    bottom: 5%;
    left: -5%;
    background: radial-gradient(circle, rgba(230, 162, 0, 0.06) 0%, transparent 70%);
    animation: floatSlow 25s ease-in-out 5s infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.05) 0%, transparent 70%);
    animation: floatSlow 18s ease-in-out 3s infinite;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--green-light);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--r-pill);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s var(--ease) 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.6s var(--ease) 0.2s both;
}

.hero-title .line-1,
.hero-title .line-2 {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 0.8rem;
    animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-3);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s var(--ease) 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease) 0.5s both;
}

/* Metrics Strip */
.metrics-strip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 2rem;
    margin: 3rem auto 0;
    max-width: 800px;
    background: var(--bg-white);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.6s var(--ease) 0.6s both;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.metric-plus {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue);
}

.metric-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    font-weight: 500;
}

.metric-sep {
    width: 1px;
    height: 36px;
    background: #e4e8f0;
}

/* ---------- ABOUT ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.about-main p {
    color: var(--text-2);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 102, 255, 0.12);
}

.about-card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    border-radius: var(--r-md);
}

.about-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.about-card p {
    font-size: 0.82rem;
    color: var(--text-3);
}

/* ---------- EXPERIENCE ---------- */
.exp-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--r-xl);
    padding: 2rem;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-xs);
}

.exp-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(0, 102, 255, 0.10);
}

.exp-card-featured {
    border-left: 4px solid var(--blue);
    background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
}

.exp-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.exp-company-badge {
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exp-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.exp-company {
    font-size: 0.85rem;
    color: var(--text-3);
    margin-top: 0.1rem;
}

.exp-date {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-3);
    white-space: nowrap;
    margin-left: auto;
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.exp-body {
    margin-bottom: 1rem;
}

.exp-section {
    margin-bottom: 1rem;
}

.exp-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exp-body ul {
    padding: 0;
}

.exp-body li {
    font-size: 0.9rem;
    color: var(--text-2);
    padding: 0.25rem 0 0.25rem 1.2rem;
    position: relative;
    line-height: 1.55;
}

.exp-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
}

.exp-body li strong {
    color: var(--text);
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.exp-tags span {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--r-pill);
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* ---------- SKILLS ---------- */
.skill-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-col {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    transition: all 0.35s var(--ease);
}

.skill-col:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.skill-col-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skill-col-icon {
    width: 40px;
    height: 40px;
    background: var(--blue-light);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.skill-col-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {}

.skill-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 0.35rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: #eef2f8;
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s var(--ease);
}

.fill-gold {
    background: var(--gold);
}

/* ---------- EDUCATION + CERTS ---------- */
.edu-certs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.edu-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.edu-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}

.edu-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.edu-year-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--r-pill);
    margin-bottom: 0.6rem;
}

.edu-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edu-card p {
    font-size: 0.85rem;
    color: var(--text-3);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}

.cert-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.cert-icon {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.cert-item p {
    font-size: 0.78rem;
    color: var(--text-3);
}

/* ---------- CTA / CONTACT ---------- */
.section-cta {
    background: var(--bg-dark);
    color: #fff;
    padding: 6rem 0;
}

.section-cta .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.cta-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-heading .highlight {
    color: var(--gold);
}

.cta-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-cta .btn-primary {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 24px rgba(230, 162, 0, 0.25);
}

.section-cta .btn-primary:hover {
    box-shadow: 0 8px 36px rgba(230, 162, 0, 0.35);
}

.section-cta .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.section-cta .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-3);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.reveal-stagger.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    #navToggle {
        display: flex;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skill-columns {
        grid-template-columns: 1fr;
    }

    .edu-certs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .exp-header {
        flex-wrap: wrap;
    }

    .exp-date {
        margin-left: 0;
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .metrics-strip {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .metric-sep {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .exp-card {
        padding: 1.5rem;
    }
}