/* =============================================
   MAHESH GARG – FINANCE PORTFOLIO
   Premium Dark Navy & Gold Design System
   ============================================= */

/* === VARIABLES === */
:root {
    --navy:       #0a1628;
    --navy-mid:   #0f2040;
    --navy-light: #14284f;
    --navy-card:  #112036;
    --gold:       #c9a84c;
    --gold-light: #e8c76a;
    --gold-dim:   #8a6f32;
    --gold-glow:  rgba(201, 168, 76, 0.18);
    --white:      #f0f4ff;
    --white-dim:  rgba(240, 244, 255, 0.7);
    --white-soft: rgba(240, 244, 255, 0.1);
    --accent:     #4a90d9;
    --green:      #2ecc71;
    --border:     rgba(201, 168, 76, 0.2);
    --border-soft: rgba(240, 244, 255, 0.08);
    --radius:     12px;
    --radius-lg:  20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:     0 8px 40px rgba(0,0,0,0.4);
    --shadow-gold:0 8px 40px rgba(201, 168, 76, 0.2);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ============================================= */
/* NAVIGATION                                    */
/* ============================================= */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}
.logo-divider {
    width: 1px; height: 24px;
    background: var(--border);
}
.logo-subtitle {
    font-size: 0.7rem;
    color: var(--white-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-dim);
    transition: all var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: all var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { left: 20%; right: 20%; }
.nav-link.active { color: var(--gold); }
.nav-cta {
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    flex-shrink: 0;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all var(--transition);
}

/* ============================================= */
/* HERO                                          */
/* ============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    top: -100px; right: -100px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    bottom: -50px; left: -50px;
    background: radial-gradient(circle, rgba(74,144,217,0.1) 0%, transparent 70%);
    animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--gold);
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    animation: slideDown 0.8s ease forwards;
}
.tag-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: tagPulse 2s ease infinite;
}
@keyframes tagPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}
.hero-name {
    font-family: 'Cinzel', serif;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s 0.2s ease both;
}
.name-line-1 {
    display: block;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 4px;
}
.name-line-2 {
    display: block;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    letter-spacing: 6px;
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s 0.3s ease both;
}
.title-chip {
    padding: 0.35rem 0.9rem;
    background: var(--white-soft);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}
.title-chip.highlight {
    background: var(--gold-glow);
    border-color: var(--gold-dim);
    color: var(--gold-light);
}
.hero-tagline {
    font-size: 1.1rem;
    color: var(--white-dim);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s 0.4s ease both;
}
.hero-stats {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s 0.5s ease both;
}
.stat-item { text-align: center; padding: 0 2rem 0 0; }
.stat-item:first-child { padding-left: 0; }
.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-plus { font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--white-dim);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    background: var(--border);
    margin: 0 2rem 0 0;
    align-self: stretch;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s 0.6s ease both;
}
.btn-primary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-secondary:hover {
    background: var(--white-soft);
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-2px);
}

/* Portrait */
.hero-portrait {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s 0.4s ease both;
}
.portrait-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: spin linear infinite;
}
.portrait-ring-1 {
    width: 380px; height: 380px;
    border-color: rgba(201,168,76,0.2);
    animation-duration: 20s;
}
.portrait-ring-2 {
    width: 320px; height: 320px;
    border-color: rgba(201,168,76,0.1);
    border-style: dashed;
    animation-duration: 15s;
    animation-direction: reverse;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.portrait-frame {
    width: 280px; height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 0 60px rgba(201,168,76,0.3), inset 0 0 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.portrait-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.portrait-badge {
    position: absolute;
    bottom: 20px; right: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    display: flex;
    gap: 0.25rem;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 0.75rem;
    color: rgba(240,244,255,0.35);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s 1s ease both;
}
.scroll-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3));
}
.scroll-line:last-child { transform: scaleX(-1); }

/* ============================================= */
/* SECTIONS                                      */
/* ============================================= */
.section {
    padding: 6rem 0;
    position: relative;
}
.section-dark {
    background: var(--navy-mid);
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gold-glow);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}
.section-desc {
    margin-top: 1rem;
    color: var(--white-dim);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================= */
/* ABOUT                                         */
/* ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.about-text p {
    color: var(--white-dim);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}
.about-text strong { color: var(--gold-light); }
.about-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    background: var(--white-soft);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-dim);
    transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-link:hover { border-color: var(--border); color: var(--white); background: rgba(240,244,255,0.08); }
.social-link.linkedin:hover { border-color: rgba(10,102,194,0.5); color: #4a9fd9; }
.social-link.email:hover { border-color: var(--gold-dim); color: var(--gold-light); }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.highlight-card {
    padding: 1.5rem;
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.highlight-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.hc-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.hc-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.highlight-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.highlight-card p { font-size: 0.78rem; color: var(--white-dim); line-height: 1.5; }

/* ============================================= */
/* EXPERTISE                                     */
/* ============================================= */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.expertise-card {
    padding: 1.75rem;
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: default;
}
.expertise-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--gold-glow);
}
.ec-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.ec-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-glow), rgba(201,168,76,0.05));
    border: 1px solid var(--border);
    border-radius: 12px;
}
.ec-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.ec-percent {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
}
.expertise-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.expertise-card p { font-size: 0.78rem; color: var(--white-dim); margin-bottom: 1.25rem; line-height: 1.5; }
.skill-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-fill.animated { width: var(--target); }

/* ============================================= */
/* EXPERIENCE TIMELINE                           */
/* ============================================= */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 1.75rem; }
.tl-dot {
    width: 14px; height: 14px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--navy);
    box-shadow: 0 0 0 3px var(--gold-dim), 0 0 20px var(--gold-glow);
    flex-shrink: 0;
    z-index: 1;
}
.tl-line { width: 2px; flex: 1; background: linear-gradient(180deg, var(--gold-dim), transparent); margin-top: 6px; min-height: 40px; }
.tl-card {
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.tl-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.tl-card.current { border-color: rgba(201,168,76,0.3); }
.tl-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    flex-wrap: wrap;
}
.tl-logo-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tl-logo-text { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.9rem; color: white; }
.tl-header-info { flex: 1; min-width: 0; }
.tl-header-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.tl-role { font-size: 0.8rem; color: var(--gold-light); font-weight: 600; }
.tl-date-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--white-dim);
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.current-badge {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.3);
    color: var(--green);
}
.badge-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: tagPulse 2s infinite; }
.tl-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    font-size: 0.78rem;
    color: var(--white-dim);
    border-bottom: 1px solid var(--border-soft);
}
.tl-location svg { width: 14px; height: 14px; }
.tl-body { padding: 1.5rem; }
.tl-body p { font-size: 0.875rem; color: var(--white-dim); margin-bottom: 1rem; line-height: 1.7; }
.tl-bullets { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.tl-bullets li {
    font-size: 0.82rem;
    color: var(--white-dim);
    padding-left: 1.25rem;
    position: relative;
}
.tl-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    background: var(--gold-dim);
    border-radius: 50%;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tl-tags span {
    padding: 0.25rem 0.65rem;
    background: var(--gold-glow);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.3px;
}

/* ============================================= */
/* EDUCATION                                     */
/* ============================================= */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.edu-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.edu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light), var(--gold-dim));
    opacity: 0;
    transition: opacity var(--transition);
}
.edu-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow); }
.edu-card:hover::before { opacity: 1; }
.edu-icon { width: 44px; height: 44px; background: var(--gold-glow); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.edu-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.edu-content { flex: 1; }
.edu-degree { display: block; font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.edu-institution { display: block; font-size: 0.8rem; color: var(--gold-light); font-weight: 600; margin-bottom: 0.3rem; }
.edu-field { display: block; font-size: 0.75rem; color: var(--white-dim); }
.edu-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
    align-self: flex-start;
}
.edu-badge.gold { background: var(--gold-glow); border: 1px solid var(--gold-dim); color: var(--gold-light); }
.edu-badge.blue { background: rgba(74,144,217,0.15); border: 1px solid rgba(74,144,217,0.3); color: #4a9fd9; }
.edu-badge.navy { background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); color: var(--white); }
.edu-badge.green { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: var(--green); }

/* ============================================= */
/* CERTIFICATIONS                                */
/* ============================================= */
.cert-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.cert-featured {
    background: linear-gradient(145deg, var(--navy-card), var(--navy-light));
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cert-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
    pointer-events: none;
}
.cert-icon-large {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px var(--gold-glow);
}
.cert-icon-large svg { width: 40px; height: 40px; stroke: var(--navy); }
.cert-featured h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.cert-issuer { font-size: 0.82rem; color: var(--white-dim); margin-bottom: 0.25rem; }
.cert-state { font-size: 0.8rem; color: var(--gold-light); font-weight: 600; margin-bottom: 1.25rem; }
.cert-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
.cert-meta { display: flex; justify-content: space-around; font-size: 0.78rem; color: var(--white-dim); }
.cert-list { display: flex; flex-direction: column; gap: 1rem; }
.cert-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.cert-item:hover { border-color: var(--border); transform: translateX(4px); }
.cert-item-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.cert-item-icon.cfa { background: rgba(74,144,217,0.15); border: 1px solid rgba(74,144,217,0.3); color: #4a9fd9; }
.cert-item-icon.dipifrs { background: var(--gold-glow); border: 1px solid var(--border); color: var(--gold-light); font-size: 0.6rem; }
.cert-item-icon.gov { background: rgba(155,89,182,0.15); border: 1px solid rgba(155,89,182,0.3); color: #a16fc7; }
.cert-item-icon.mba { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.2); color: var(--green); }
.cert-item-info { flex: 1; }
.cert-item-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.cert-item-info span { font-size: 0.75rem; color: var(--white-dim); }
.cert-item-badge {
    width: 28px; height: 28px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================= */
/* CONTACT                                       */
/* ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--navy-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--shadow); }
.cc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cc-icon svg { width: 20px; height: 20px; }
.email-icon { background: var(--gold-glow); border: 1px solid var(--border); }
.email-icon svg { stroke: var(--gold); }
.location-icon { background: rgba(74,144,217,0.1); border: 1px solid rgba(74,144,217,0.2); }
.location-icon svg { stroke: var(--accent); }
.linkedin-icon { background: rgba(10,102,194,0.15); border: 1px solid rgba(10,102,194,0.3); }
.linkedin-icon svg { fill: #4a9fd9; width: 20px; height: 20px; }
.role-icon { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.2); }
.role-icon svg { stroke: var(--green); }
.cc-label { display: block; font-size: 0.7rem; color: var(--white-dim); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 0.2rem; }
.cc-value { display: block; font-size: 0.875rem; font-weight: 600; color: var(--white); }
a.cc-value:hover { color: var(--gold-light); }
.contact-cta-box {
    display: flex;
    align-items: stretch;
}
.cta-box-inner {
    flex: 1;
    background: linear-gradient(145deg, var(--navy-card), var(--navy-light));
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.cta-box-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-light), var(--gold-dim));
    border-radius: 0 0 0 0;
}
.cta-avatar {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 8px 30px var(--gold-glow);
}
.cta-box-inner h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.cta-box-inner p { font-size: 0.82rem; color: var(--white-dim); line-height: 1.7; }
.btn-cta-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition);
}
.btn-cta-large svg { width: 16px; height: 16px; }
.btn-cta-large:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid rgba(74,144,217,0.4);
    color: #4a9fd9;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-cta-secondary svg { width: 14px; height: 14px; fill: #4a9fd9; }
.btn-cta-secondary:hover { background: rgba(74,144,217,0.1); transform: translateY(-2px); }

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
#footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border-soft);
    padding: 3rem 0 2rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-soft);
    flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-text strong { font-size: 0.95rem; color: var(--white); }
.footer-brand-text span { font-size: 0.72rem; color: var(--white-dim); }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.82rem; color: var(--white-dim); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: var(--white-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--gold-glow); border-color: var(--border); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(240,244,255,0.35);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ============================================= */
/* ANIMATIONS                                    */
/* ============================================= */
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-showcase { grid-template-columns: 1fr; }
    .cert-featured { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-portrait { order: -1; margin: 0 auto; }
    .hero-titles { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .name-line-1, .name-line-2 { letter-spacing: 2px; }
    .timeline-item { grid-template-columns: 1fr; }
    .tl-marker { display: none; }
    .edu-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links, #navCta { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--navy-mid);
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
    }
    .hamburger { display: flex; z-index: 1000; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .expertise-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .portrait-ring-1 { width: 300px; height: 300px; }
    .portrait-ring-2 { width: 250px; height: 250px; }
    .portrait-frame { width: 220px; height: 220px; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { width: 60px; height: 1px; align-self: center; }
    .tl-card-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 4rem 0; }
    .hero-content { grid-template-columns: 1fr; }
    .scroll-hint { display: none; }
}
