:root {
    --color-primary: #1B2A4A;
    --color-primary-rgb: 27, 42, 74;
    --color-accent: #C9A84C;
    --color-accent-rgb: 201, 168, 76;
    --color-bg: #F8F7F4;
    --color-bg-rgb: 248, 247, 244;
    --color-text: #1A1A2E;
    --color-text-muted: #4a4a68;
    --color-glass: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    --color-glass-shadow: rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-ui: 'Montserrat', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

[data-theme="dark"] {
    --color-primary: #0F172A;
    --color-primary-rgb: 15, 23, 42;
    --color-bg: #0F172A;
    --color-bg-rgb: 15, 23, 42;
    --color-text: #F8F7F4;
    --color-text-muted: #a0a0b8;
    --color-glass: rgba(30, 41, 59, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.1);
    --color-glass-shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.nav-open {
    overflow: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1400;
    pointer-events: none;
}

#scroll-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.55), rgba(201, 168, 76, 1));
    box-shadow: 0 0 14px rgba(201, 168, 76, 0.55);
    transition: width 0.08s linear;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 5px; }

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden;
}

.glow-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.35;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%; left: -10%; width: 60vw; height: 60vw;
    background: rgba(var(--color-primary-rgb), 0.6);
}

.orb-2 {
    bottom: -10%; right: -10%; width: 50vw; height: 50vw;
    background: rgba(var(--color-accent-rgb), 0.4);
    animation-delay: -12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, 8%) scale(1.1); }
}

@keyframes luxuryPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.6);
    }
    20% { opacity: 0.85; }
    100% {
        opacity: 0;
        transform: translate3d(var(--driftX), -115vh, 0) scale(1.1);
    }
}

@keyframes subtitleSwap {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes wheelMove {
    0% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
    100% { opacity: 0.2; transform: translateY(0); }
}

@keyframes heroGridShift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-60px, -60px, 0); }
}

@keyframes splitReveal {
    0% { opacity: 0; transform: translateY(38px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes lineSlide {
    0%, 100% { opacity: 0.75; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.12); }
}

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shineSweep {
    0%, 20% { transform: translateX(-140%); }
    55%, 100% { transform: translateX(140%); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatCredential {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes imageParticleFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0.2; }
    50% { transform: translate3d(0, -10px, 0) scale(1); opacity: 0.9; }
}

/* Typography & Globals */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--color-accent); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }

.section-title {
    font-size: 2.5rem; margin-bottom: var(--spacing-lg);
    text-align: center; position: relative; padding-bottom: 1rem;
    letter-spacing: 0.2px;
}

.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 60px; height: 3px; background: var(--color-accent);
}

.section-subtitle {
    text-align: center; font-family: var(--font-ui); color: var(--color-accent);
    margin-top: -3rem; margin-bottom: var(--spacing-lg); font-size: 1.1rem; letter-spacing: 1px;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: var(--spacing-xl) 0; }
.mt-4 { margin-top: var(--spacing-lg); }

.section-block {
    position: relative;
}

.section-block:not(#hero)::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
    opacity: 0.55;
}

.section-block:nth-of-type(even):not(#hero) {
    background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.03), rgba(var(--color-primary-rgb), 0.01));
}

/* Glassmorphism Classes */
.glass-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--color-glass); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-glass-border);
    transition: all 0.3s ease; padding: 10px 0;
}

.glass-card {
    background: var(--color-glass); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); border: 1px solid var(--color-glass-border);
    border-radius: 20px; padding: var(--spacing-md);
    box-shadow: 0 8px 32px var(--color-glass-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(201, 168, 76, 0.1) 48%, transparent 82%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--color-glass-shadow);
    border-color: rgba(201, 168, 76, 0.3); /* Subtle accent border on hover */
}

.glass-card:hover::after {
    opacity: 1;
}

/* Navigation */
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.logo a {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    width: 188px;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a {
    color: var(--color-text); font-family: var(--font-ui); font-weight: 600;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 0.5rem 0.15rem; position: relative; opacity: 0.76;
    transition: color 0.3s ease, text-shadow 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--color-accent);
    text-shadow: 0 0 16px rgba(201, 168, 76, 0.4);
}

.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--color-accent); transition: width 0.3s ease;
}
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.primary-nav {
    display: block;
    margin-left: 3rem;
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(201, 168, 76, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.theme-toggle {
    background: rgba(201, 168, 76, 0.1); border: 1px solid rgba(201, 168, 76, 0.25); font-size: 1.5rem; cursor: pointer;
    color: var(--color-text); display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 12px; transition: background 0.3s, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--color-glass-border); border-color: rgba(201, 168, 76, 0.45); box-shadow: 0 0 16px rgba(201, 168, 76, 0.2); }

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .theme-toggle .icon-sun { display: inline-flex; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline-flex; }

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Grid Systems */
.modern-grid { display: grid; gap: var(--spacing-md); }
.grid-2-col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Buttons */
.btn-primary {
    display: inline-block; padding: 1rem 2rem; background: var(--color-accent);
    color: #fff; font-family: var(--font-ui); font-weight: 600; border-radius: 30px;
    text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(201, 168, 76, 0.6); opacity: 1; color: #fff; }
.btn-secondary {
    display: inline-block; padding: 1rem 2rem; border-radius: 30px;
    border: 1px solid rgba(201, 168, 76, 0.55); background: rgba(12, 22, 44, 0.35);
    color: var(--color-text); font-family: var(--font-ui); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}
.btn-secondary:hover { transform: translateY(-3px); color: #fff; background: rgba(201, 168, 76, 0.3); opacity: 1; }

/* 1. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 112px 0 86px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(201, 168, 76, 0.24), transparent 43%),
        radial-gradient(circle at 82% 14%, rgba(29, 54, 99, 0.4), transparent 46%),
        linear-gradient(130deg, #0b162d 0%, #101e39 55%, #0f172a 100%);
    z-index: 0;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 90%);
    opacity: 0.35;
    z-index: 1;
    animation: heroGridShift 16s linear infinite;
}

.hero-world-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
    background:
        radial-gradient(120px 70px at 17% 38%, rgba(255, 255, 255, 0.28), transparent 70%),
        radial-gradient(140px 82px at 29% 42%, rgba(255, 255, 255, 0.22), transparent 74%),
        radial-gradient(170px 78px at 51% 45%, rgba(255, 255, 255, 0.2), transparent 76%),
        radial-gradient(160px 86px at 68% 39%, rgba(255, 255, 255, 0.18), transparent 80%),
        radial-gradient(110px 62px at 82% 48%, rgba(255, 255, 255, 0.2), transparent 78%);
}

.hero-noise-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.09;
    background-image: radial-gradient(rgba(255, 255, 255, 0.65) 0.65px, transparent 0.65px);
    background-size: 3px 3px;
    mix-blend-mode: soft-light;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 225, 153, 0.94), rgba(201, 168, 76, 0));
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.35);
    animation: particleFloat var(--duration) linear infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

.hero-social-sidebar {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-ui);
    font-size: 0.66rem;
    color: rgba(248, 247, 244, 0.7);
}

.hero-layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.8rem, 3.5vw, 4.5rem);
    align-items: center;
}

.hero-text-col {
    min-width: 0;
}

.hero-kicker {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 0.78rem;
    color: rgba(248, 247, 244, 0.8);
    margin-bottom: 0.8rem;
}

.hero-credentials-row {
    font-family: var(--font-ui);
    font-weight: 600;
    letter-spacing: 1.4px;
    font-size: 0.84rem;
    color: #f5d889;
    margin-bottom: 1.1rem;
}

.split-title {
    margin-bottom: 1.35rem;
}

.hero-title {
    font-size: clamp(3rem, 6.8vw, 6rem);
    line-height: 0.95;
    color: #fbf8ef;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.25);
}

.hero-title-word {
    display: block;
    transform: translateY(38px);
    opacity: 0;
    animation: splitReveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title-word:nth-child(2) {
    animation-delay: 0.16s;
}

.parallax-item {
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.hero-subtitle {
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.subtitle-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(248, 247, 244, 0.65);
}

.subtitle-rotator {
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #f7d37b;
    text-shadow: 0 0 16px rgba(201, 168, 76, 0.45);
}

.subtitle-rotator.is-changing {
    animation: subtitleSwap 0.4s ease;
}

.hero-description {
    max-width: 690px;
    font-size: 1.07rem;
    line-height: 1.78;
    color: rgba(248, 247, 244, 0.84);
    margin-bottom: 1.2rem;
}

.hero-line-decor {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.hero-line-decor .line {
    display: block;
    height: 2px;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0), rgba(201, 168, 76, 0.85));
    animation: lineSlide 5s ease-in-out infinite;
}

.hero-line-decor .line-short {
    width: 72px;
}

.hero-line-decor .line-long {
    width: 132px;
    animation-delay: -1.2s;
}

.hero-cta-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.9rem;
}

.hero-btn {
    min-width: 182px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-btn.btn-primary {
    box-shadow: 0 8px 26px rgba(201, 168, 76, 0.35);
}

.hero-btn.btn-secondary {
    color: rgba(248, 247, 244, 0.92);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.5);
    background: rgba(9, 20, 39, 0.55);
    color: #f6cf70;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.social-icon:hover {
    background: rgba(201, 168, 76, 0.45);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.34);
}

.hero-stats {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    color: #f4d585;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(248, 247, 244, 0.72);
    margin-top: 0.42rem;
}

.hero-visual-col {
    position: relative;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-rings {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 0;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.35);
    animation: ringSpin 18s linear infinite;
}

.ring-one {
    width: 390px;
    height: 390px;
}

.ring-two {
    width: 470px;
    height: 470px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 26s;
}

.ring-three {
    width: 560px;
    height: 560px;
    opacity: 0.44;
    animation-duration: 34s;
}

.hero-visual-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    z-index: 0;
}

.blur-one {
    width: 210px;
    height: 210px;
    background: rgba(201, 168, 76, 0.3);
    top: 24%;
    left: 16%;
}

.blur-two {
    width: 250px;
    height: 250px;
    background: rgba(61, 95, 160, 0.3);
    bottom: 14%;
    right: 10%;
}

.hero-image-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-image-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 219, 148, 0.9), rgba(248, 219, 148, 0));
    animation: imageParticleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.hero-portrait-shell {
    position: relative;
    width: min(34vw, 430px);
    min-width: 280px;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portrait-gradient-border {
    position: absolute;
    inset: -11px;
    border-radius: 30px;
    background: conic-gradient(from 0deg, rgba(201, 168, 76, 0.9), rgba(44, 78, 138, 0.25), rgba(201, 168, 76, 0.85));
    filter: blur(0.4px);
    animation: borderSpin 8s linear infinite;
    z-index: 0;
}

.hero-image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.42);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.45),
        0 12px 30px rgba(201, 168, 76, 0.22);
    z-index: 1;
}

.hero-profile-img {
    width: 100%;
    height: min(70vh, 610px);
    min-height: 460px;
    object-fit: cover;
    display: block;
}

.portrait-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
    transform: translateX(-140%);
    animation: shineSweep 4.4s ease-in-out infinite;
}

.floating-glass-card {
    position: absolute;
    z-index: 2;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.45px;
    line-height: 1.5;
    color: rgba(248, 247, 244, 0.9);
    padding: 0.62rem 0.82rem;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: rgba(9, 20, 39, 0.57);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
    animation: floatCard 6.2s ease-in-out infinite;
}

.floating-glass-card strong {
    display: block;
    color: #f5d889;
    font-size: 0.77rem;
}

.card-top-left {
    top: -32px;
    left: -48px;
}

.card-bottom-right {
    bottom: -28px;
    right: -44px;
    animation-delay: -2.2s;
}

.card-mid-left {
    left: -56px;
    top: 47%;
    animation-delay: -1s;
}

.floating-credential {
    position: absolute;
    z-index: 2;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f8e6b3;
    border: 1px solid rgba(201, 168, 76, 0.65);
    background: rgba(11, 24, 48, 0.78);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.2);
    animation: floatCredential 7.5s ease-in-out infinite;
}

.badge-fcib {
    top: 9%;
    right: -38px;
}

.badge-fhea {
    top: 52%;
    right: -44px;
    animation-delay: -2.2s;
}

.badge-cisi {
    bottom: 10%;
    left: -40px;
    animation-delay: -1.4s;
}

[data-theme="light"] .hero-section::before {
    background:
        radial-gradient(circle at 12% 12%, rgba(201, 168, 76, 0.2), transparent 44%),
        radial-gradient(circle at 82% 14%, rgba(96, 128, 188, 0.25), transparent 44%),
        linear-gradient(130deg, #eff3f9 0%, #e2e8f3 55%, #e8edf5 100%);
}

[data-theme="light"] .hero-kicker,
[data-theme="light"] .subtitle-label,
[data-theme="light"] .hero-description,
[data-theme="light"] .stat-label,
[data-theme="light"] .sidebar-label,
[data-theme="light"] .scroll-indicator {
    color: rgba(26, 26, 46, 0.78);
}

[data-theme="light"] .hero-title {
    color: #1a2438;
    text-shadow: 0 0 16px rgba(201, 168, 76, 0.12);
}

[data-theme="light"] .hero-credentials-row,
[data-theme="light"] .subtitle-rotator,
[data-theme="light"] .stat-number {
    color: #8a6e1f;
}

[data-theme="light"] .hero-line-decor .line {
    background: linear-gradient(90deg, rgba(201, 168, 76, 0), rgba(146, 117, 39, 0.9));
}

[data-theme="light"] .social-icon {
    background: rgba(255, 255, 255, 0.68);
    color: #8a6e1f;
}

[data-theme="light"] .hero-image-frame,
[data-theme="light"] .floating-glass-card,
[data-theme="light"] .floating-credential {
    background: rgba(248, 247, 244, 0.82);
    color: #1a2438;
}

[data-theme="light"] .floating-glass-card strong {
    color: #8a6e1f;
}

[data-theme="light"] .hero-profile-img {
    filter: saturate(0.95);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.56rem;
    color: rgba(248, 247, 244, 0.84);
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.72);
    display: inline-flex;
    justify-content: center;
    padding-top: 6px;
    animation: scrollBob 2.2s ease-in-out infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    border-radius: 10px;
    background: #f7db94;
    animation: wheelMove 1.8s ease-in-out infinite;
}
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: var(--color-accent); line-height: 1; }
.stat-label { font-family: var(--font-ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(248, 247, 244, 0.72); margin-top: 0.5rem; }

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: rgba(248, 247, 244, 0.84);
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.75);
    display: inline-flex;
    justify-content: center;
    padding-top: 6px;
    animation: scrollBob 2.2s ease-in-out infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    border-radius: 10px;
    background: #f7db94;
    animation: wheelMove 1.8s ease-in-out infinite;
}

/* 2. About Section */
.lead-text { font-size: 1.25rem; font-weight: 600; color: var(--color-accent); margin-bottom: var(--spacing-md); }
.about-grid { grid-template-columns: 3fr 2fr; gap: var(--spacing-lg); }
.about-sidebar { display: flex; flex-direction: column; gap: var(--spacing-md); }
.competencies-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.competency-tag {
    background: rgba(201, 168, 76, 0.1); border: 1px solid var(--color-accent);
    padding: 0.5rem 1rem; border-radius: 20px; font-family: var(--font-ui);
    font-size: 0.85rem; font-weight: 600; transition: all 0.3s ease; color: var(--color-text);
}
.competency-tag:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }

.about-stats-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.stat-mini-item {
    text-align: center;
    padding: 1rem 0.75rem;
    border: 1px solid var(--color-glass-border);
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.04);
    transition: all 0.3s ease;
}

.stat-mini-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.08);
}

.stat-mini-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-mini-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
}

/* 3. Career Timeline */
.modern-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.modern-timeline::before {
    content: ''; position: absolute; top: 0; left: 20px;
    height: 100%; width: 2px; background: linear-gradient(to bottom, var(--color-accent), transparent);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 150px; }
.timeline-dot {
    position: absolute; left: 14px; top: 25px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--color-accent); border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2); z-index: 1;
}
.timeline-date-label {
    position: absolute; left: 40px; top: 22px; font-family: var(--font-ui);
    font-weight: 700; color: var(--color-accent); font-size: 0.9rem;
    min-width: 90px;
}
.timeline-content h3 { color: var(--color-text); font-size: 1.3rem; margin-bottom: 0.2rem; }
.timeline-content h4 { font-family: var(--font-ui); font-size: 1rem; color: var(--color-text-muted); font-weight: 600; margin: 0;}

/* 4. Banking Experience */
.banking-achievements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.achievement-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border: 1px solid var(--color-glass-border);
    border-radius: 18px;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 12px 40px var(--color-glass-shadow);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.achievement-icon svg {
    width: 24px;
    height: 24px;
}

.achievement-counter {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.achievement-counter.achievement-text {
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.achievement-label {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.achievement-detail {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.banking-role-card {
    position: relative;
    overflow: hidden;
}

.banking-role-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    border-radius: 4px 0 0 4px;
}

.card-header { border-bottom: 1px solid var(--color-glass-border); padding-bottom: 1rem; margin-bottom: 1rem; }
.card-date { display: block; font-family: var(--font-ui); color: var(--color-accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.styled-list { list-style: none; padding-left: 0; }
.styled-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--color-text-muted); }
.styled-list li::before { content: '▹'; position: absolute; left: 0; color: var(--color-accent); font-weight: bold; }

/* 5. Academic Experience */
.academic-card { position: relative; }
.academic-institution { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.academic-institution h3 { margin-bottom: 0; }
.academic-location {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    background: rgba(201, 168, 76, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid var(--color-glass-border);
}
.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.module-tag {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-accent);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.module-tag:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--color-accent);
}
.role-title { font-family: var(--font-ui); color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; }
.consultancy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin-top: 1rem; }
.consultancy-grid h4 { font-size: 1.1rem; color: var(--color-accent); }

/* 6. Certifications */
.education-card .edu-item { margin-bottom: 2rem; }
.education-card .edu-item:last-child { margin-bottom: 0; }
.institution { font-family: var(--font-ui); color: var(--color-accent); font-weight: 600; margin-bottom: 0.2rem; }
.degree-type { color: var(--color-text-muted); font-size: 0.9rem; }

.cert-wall {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--color-glass-shadow);
}

.cert-wall-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-glass-border);
}

.cert-wall-header h3 {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 0;
}

.cert-wall-count {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
}

.cert-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.cert-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.15);
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-seal {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.seal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.35);
    animation: sealPulse 3s ease-in-out infinite;
}

.cert-card:hover .seal-ring {
    border-color: rgba(201, 168, 76, 0.7);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

.cert-fellow .seal-ring {
    border-width: 3px;
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.15);
}

.seal-text {
    font-family: var(--font-ui);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-align: center;
    line-height: 1.2;
}

.cert-body {
    position: relative;
    z-index: 1;
}

.cert-abbrev {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.cert-fellow .cert-abbrev {
    background: linear-gradient(135deg, #f6cf70, #C9A84C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-full-name {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

.cert-fellow {
    border-color: rgba(201, 168, 76, 0.4);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.03));
}

.cert-chartered {
    border-color: rgba(201, 168, 76, 0.28);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
}

@keyframes sealPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.7; }
}

/* 7. Global Impact Map */
.map-container { padding: 0; overflow: hidden; }

.impact-map {
    position: relative;
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.travel-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.travel-path {
    fill: none;
    stroke: rgba(201, 168, 76, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 8 4;
    stroke-linecap: round;
}

.travel-path-1 { animation: travelDash 4s linear infinite; }
.travel-path-2 { animation: travelDash 4s linear infinite 1s; }
.travel-path-3 { animation: travelDash 4s linear infinite 2s; }
.travel-path-4 { animation: travelDash 6s linear infinite 0.5s; }

@keyframes travelDash {
    to { stroke-dashoffset: -48; }
}

.map-marker {
    position: absolute;
    left: var(--mx);
    top: var(--my);
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}

.marker-dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
    position: relative;
    z-index: 1;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.5);
    animation: markerPulse 2.5s ease-out infinite;
}

@keyframes markerPulse {
    0% { width: 14px; height: 14px; opacity: 1; }
    100% { width: 44px; height: 44px; opacity: 0; }
}

.marker-label {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f7e6bb;
    white-space: nowrap;
    background: rgba(12, 25, 47, 0.8);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-marker:hover .marker-label {
    opacity: 1;
}

.impact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-glass-border);
}

.impact-location-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    border-right: 1px solid var(--color-glass-border);
    transition: all 0.3s ease;
    cursor: default;
}

.impact-location-card:last-child {
    border-right: none;
}

.impact-location-card:hover {
    background: rgba(201, 168, 76, 0.05);
}

.impact-country-flag {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(201, 168, 76, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
    line-height: 1;
}

.impact-country-flag svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.impact-country-flag span {
    font-family: var(--font-ui);
    font-size: 0.5rem;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: var(--color-accent);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.95rem;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.32);
    background: linear-gradient(145deg, rgba(201, 168, 76, 0.14), rgba(201, 168, 76, 0.03));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(201, 168, 76, 0.18);
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.impact-location-body h4 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.impact-institution {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.impact-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.impact-years {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(201, 168, 76, 0.7);
    background: rgba(201, 168, 76, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* 9b. Achievement Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.highlight-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 15px 40px var(--color-glass-shadow);
}

.highlight-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-accent), rgba(201, 168, 76, 0.3));
    transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.highlight-card:hover .highlight-accent {
    height: 100%;
}

.highlight-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.highlight-quote p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.highlight-card:hover .highlight-quote p {
    color: var(--color-accent);
}

.highlight-tag {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.highlight-card:hover .highlight-tag {
    opacity: 1;
}

/* 10. Contact Section */
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--spacing-lg); }
.contact-intro { color: var(--color-text-muted); line-height: 1.7; margin-bottom: 0; }
.contact-details { margin-top: 2rem; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-ui);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-icon-wrapper {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(201, 168, 76, 0.06);
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-item-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    font-weight: 700;
}

.contact-item-text a {
    color: var(--color-accent);
}

.contact-form-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.resume-download-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.resume-download-panel p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid var(--color-glass-border);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
    background: rgba(201, 168, 76, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.is-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-accent);
}

.form-success p {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.45);
    background: rgba(9, 20, 39, 0.68);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f6cf70;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.back-to-top:hover {
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.35);
    color: #fff;
    background: rgba(201, 168, 76, 0.45);
}

/* 11. Footer */
.footer { background: var(--color-glass); border-top: 1px solid var(--color-glass-border); padding: var(--spacing-lg) 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { margin-bottom: 0.5rem; }
.footer-logo-img { width: 180px; height: auto; display: block; object-fit: contain; }
.footer-tagline { font-family: var(--font-ui); color: var(--color-text-muted); margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 2rem; margin-bottom: 2rem; }
.footer-links a { font-family: var(--font-ui); font-size: 0.9rem; text-transform: uppercase; font-weight: 600; color: var(--color-text); }
.copyright { font-family: var(--font-ui); font-size: 0.85rem; color: var(--color-text-muted); opacity: 0.7; }
.crafted-by { margin-top: 0.65rem; margin-bottom: 0; font-family: var(--font-ui); font-size: 0.8rem; color: var(--color-text-muted); }
.crafted-by a { color: var(--color-accent); font-weight: 600; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 0.8s forwards; }
.hero-kicker.fade-in { animation-delay: 0.2s; }
.hero-credentials-row.fade-in { animation-delay: 0.32s; }
.hero-title.fade-in { animation-delay: 0.45s; }
.hero-subtitle.fade-in { animation-delay: 0.62s; }
.hero-description.fade-in { animation-delay: 0.78s; }
.hero-line-decor.fade-in { animation-delay: 0.92s; }
.hero-cta-group.fade-in { animation-delay: 1.06s; }
.hero-stats.fade-in { animation-delay: 1.18s; }
.hero-social-sidebar.fade-in { animation-delay: 1.28s; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .hero-particle,
    .hero-image-particle,
    .hero-grid-overlay,
    .hero-ring,
    .hero-line-decor .line,
    .portrait-shine,
    .floating-glass-card,
    .floating-credential,
    .scroll-mouse,
    .scroll-wheel,
    .subtitle-rotator.is-changing,
    .parallax-item {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Custom Cursor */
@media (pointer: fine) {
    body { cursor: none; }
    .cursor-glow {
        position: fixed; top: 0; left: 0; width: 30px; height: 30px;
        border: 2px solid var(--color-accent); border-radius: 50%; pointer-events: none;
        transform: translate(-50%, -50%); z-index: 9999;
        transition: width 0.2s, height 0.2s, background 0.2s; mix-blend-mode: difference;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-actions {
        gap: 0.45rem;
    }
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .primary-nav {
        position: fixed;
        top: 76px;
        right: 14px;
        width: min(340px, calc(100vw - 28px));
        padding: 1rem;
        border-radius: 18px;
        border: 1px solid var(--color-glass-border);
        background: var(--color-glass);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.24s ease;
    }
    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.25rem;
    }
    .nav-links a {
        display: block;
        padding: 0.62rem 0.7rem;
        border-radius: 10px;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(201, 168, 76, 0.12);
    }
    .hero-title { font-size: clamp(2.8rem, 9vw, 4.8rem); }
    .hero-credentials-row { font-size: 0.76rem; }
    .hero-description { font-size: 1rem; }
    .hero-stats { gap: 1.3rem; }
    .stat-number { font-size: 2rem; }
    .hero-btn { min-width: 160px; }
    .hero-layout { grid-template-columns: 1fr 0.9fr; gap: var(--spacing-md); }
    .hero-visual-col { min-height: 500px; }
    .hero-portrait-shell { width: min(38vw, 360px); min-width: 250px; }
    .hero-profile-img { min-height: 390px; }
    .floating-glass-card { font-size: 0.66rem; }
    .hero-social-sidebar { left: 8px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .impact-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-location-card { border-right: none; border-bottom: 1px solid var(--color-glass-border); }
    .impact-location-card:nth-child(odd) { border-right: 1px solid var(--color-glass-border); }
    .impact-location-card:nth-last-child(-n+2) { border-bottom: none; }
    .research-content { grid-template-columns: 1fr; gap: 2rem; }
    .banking-achievements { grid-template-columns: repeat(2, 1fr); }
    .highlights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-logo { width: 152px; }
    .footer-logo-img { width: 158px; }
    .nav-actions { gap: 0.38rem; }
    .hero-section { padding: 100px 0 80px; }
    .hero-kicker { font-size: 0.72rem; letter-spacing: 1.2px; }
    .hero-credentials-row { letter-spacing: 1px; font-size: 0.72rem; }
    .hero-title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
    .hero-subtitle {
        gap: 0.28rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .subtitle-label {
        display: block;
        width: 100%;
        text-align: center;
    }
    .subtitle-rotator {
        font-size: 0.85rem;
        display: block;
        width: 100%;
        text-align: center;
        min-height: 1.4em;
    }
    .hero-description { font-size: 0.96rem; line-height: 1.65; }
    .hero-line-decor { justify-content: center; }
    .hero-cta-group { width: 100%; }
    .hero-btn { width: 100%; }
    .hero-stats { gap: 1rem; justify-content: center; }
    .hero-social-sidebar { display: none; }
    .scroll-indicator { bottom: 14px; }
    .primary-nav {
        top: 70px;
        width: calc(100vw - 24px);
        right: 12px;
    }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-visual-col { min-height: 420px; margin-top: 1rem; }
    .hero-portrait-shell { width: min(84vw, 320px); min-width: 0; }
    .hero-profile-img { min-height: 340px; height: 54vh; }
    .card-top-left { top: -18px; left: -12px; }
    .card-mid-left { left: -10px; top: 44%; }
    .card-bottom-right { bottom: -18px; right: -10px; }
    .badge-fcib { right: -10px; }
    .badge-fhea { right: -10px; }
    .badge-cisi { left: -10px; }
    .hero-cta-group { justify-content: center; }
    .timeline-item { padding-left: 80px; }
    .timeline-date-label { position: static; margin-bottom: 0.5rem; display: block; }
    .consultancy-grid { grid-template-columns: 1fr; }
    .cursor-glow { display: none; }
    body { cursor: auto; }
    .banking-achievements { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .achievement-counter { font-size: 2.2rem; }
    .achievement-card { padding: 1.5rem 1rem; }
    .cert-wall-grid { grid-template-columns: 1fr; }
    .cert-wall-header { flex-direction: column; gap: 0.5rem; }
    .impact-map { height: 220px; }
    .impact-cards-grid { grid-template-columns: 1fr; }
    .impact-location-card { border-right: none !important; border-bottom: 1px solid var(--color-glass-border); }
    .impact-location-card:last-child { border-bottom: none; }
    .highlight-quote p { font-size: 1.1rem; }
    .contact-item:hover { transform: none; }
    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

/* Services Marquee */
.services-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 1rem 0;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.services-marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.services-marquee:hover {
    animation-play-state: paused;
}

.services-marquee-content {
    display: flex;
    gap: 2rem;
}

.service-card {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 3px solid var(--color-accent);
    text-align: left;
}

.service-card h3 {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.availability-card {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: linear-gradient(145deg, rgba(201, 168, 76, 0.05), transparent);
}

.availability-card p strong {
    color: var(--color-accent);
}
