 :root {
            --navy: #1B2B6B;
            --navy-dark: #101D4A;
            --navy-light: #2E45A8;
            --green: #3DAA52;
            --green-dark: #2A7D3B;
            --green-light: #5DC472;
            --cream: #F9F6F0;
            --warm-white: #FEFDFB;
            --text-dark: #1A1A2E;
            --text-mid: #4A4A6A;
            --text-light: #8888AA;
            --border: rgba(27,43,107,0.1);
            --shadow-sm: 0 2px 8px rgba(27,43,107,0.08);
            --shadow-md: 0 8px 24px rgba(27,43,107,0.12);
            --shadow-lg: 0 20px 48px rgba(27,43,107,0.16);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; overflow-x: hidden; }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--warm-white);
            color: var(--text-dark);
            overflow-x: hidden;
            padding-top: 60px;
        }

        h1, h2, h3, h4, .serif { font-family: 'Fraunces', serif; }

        /* ── TOP BAR ─────────────────────────────── */
        .topbar {
            position: fixed; top: 0; left: 0; width: 100%;
            background: var(--navy-dark);
            height: 40px; z-index: 1010;
            transition: transform 0.35s ease;
        }
        .topbar.hidden { transform: translateY(-100%); }
        .topbar-inner {
            max-width: 1280px; margin: 0 auto; padding: 0 2rem;
            height: 100%; display: flex; align-items: center;
            justify-content: space-between;
        }
        .topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
        .topbar a, .topbar span {
            font-size: 12px; color: rgba(255,255,255,0.75);
            text-decoration: none; display: flex; align-items: center; gap: 6px;
            transition: color 0.2s;
        }
        .topbar a:hover { color: var(--green-light); }
        .topbar .sep { color: rgba(255,255,255,0.2); }

        /* ── NAVBAR ──────────────────────────────── */
        .navbar {
            position: fixed; top: 40px; left: 0; width: 100%;
            background: rgba(255,255,255,0.97);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            z-index: 1009;
            transition: all 0.35s ease;
            box-shadow: var(--shadow-sm);
        }
        .navbar.scrolled { top: 0; box-shadow: var(--shadow-md); }
        .navbar-inner {
            max-width: 1280px; margin: 0 auto; padding: 0 2rem;
            height: 55px; display: flex; align-items: center;
            justify-content: space-between;
        }

        /* Logo */
        .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo-mark {
            width: 60px; height: 60px;
            backgroundx: linear-gradient(135deg, var(--navy), var(--green));
            border-radiusx: 12px;
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.3s ease;
        }
        .logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
        .logo-mark span { color: white; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800; }
        .logo-text { line-height: 1.2; }
        .logo-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: var(--navy); }
        .logo-sub { font-size: 11px; color: var(--text-light); font-weight: 500; }

        /* Nav links */
        .nav-links { display: flex; align-items: center; gap: 6px; }
        .nav-link {
            font-size: 14px; font-weight: 500; color: var(--text-mid);
            text-decoration: none; padding: 8px 14px; border-radius: 8px;
            transition: all 0.2s; position: relative;
        }
        .nav-link:hover, .nav-link.active { color: var(--navy); background: rgba(27,43,107,0.06); }
        .nav-link.active::after {
            content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
            width: 20px; height: 2px; background: var(--green); border-radius: 2px;
        }

        /* Dropdown */
        .dropdown { position: relative; }
        .dropdown-menu {
            position: absolute; top: calc(100% + 8px); left: 0;
            background: white; border: 1px solid var(--border);
            border-radius: 16px; padding: 8px; min-width: 260px;
            box-shadow: var(--shadow-lg);
            opacity: 0; visibility: hidden; transform: translateY(-8px);
            transition: all 0.25s cubic-bezier(0.2,0.9,0.4,1.1);
            z-index: 100;
        }
        .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
        .dropdown-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; border-radius: 10px;
            font-size: 13.5px; color: var(--text-mid);
            text-decoration: none; transition: all 0.2s; cursor: pointer;
        }
        .dropdown-item:hover { background: var(--cream); color: var(--navy); }
        .dropdown-item .icon { font-size: 16px; width: 24px; text-align: center; }
        .chevron { font-size: 10px; margin-left: 4px; transition: transform 0.25s; }
        .dropdown:hover .chevron { transform: rotate(180deg); }

        /* CTA button */
        .btn-cta {
            background: var(--navy);
            color: white; font-size: 13.5px; font-weight: 600;
            padding: 9px 20px; border-radius: 10px;
            text-decoration: none; transition: all 0.2s;
            border: none; cursor: pointer;
        }
        .btn-cta:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27,43,107,0.25); }
        .btn-cta.green { background: var(--green); }
        .btn-cta.green:hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(61,170,82,0.35); }

        /* Hamburger */
        .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: 8px; border: none; background: transparent; }
        .hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* Mobile menu */
        .mobile-menu {
            position: fixed; inset: 0; background: var(--navy-dark);
            z-index: 1008; transform: translateX(100%);
            transition: transform 0.35s ease;
            padding-top: 60px; overflow-y: auto;
        }
        .mobile-menu.open { transform: translateX(0); }
        .mobile-nav-item {
            display: block; padding: 16px 24px;
            color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 500;
            text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: all 0.2s;
        }
        .mobile-nav-item:hover { color: var(--green-light); background: rgba(255,255,255,0.04); }
        .mobile-sub { background: rgba(0,0,0,0.2); }
        .mobile-sub a { font-size: 14px; padding-left: 40px; }

        /* ── HERO ───────────────────────────────── */
        .hero {
            min-height: 100vh;
            background: var(--navy-dark);
            position: relative; overflow: hidden;
            display: flex; align-items: center;
			borderx: red 5px solid;
        }
        .hero-bg {
            position: absolute; inset: 0;
            background:
                radial-gradient(ellipse 60% 50% at 80% 20%, rgba(61,170,82,0.18) 0%, transparent 60%),
                radial-gradient(ellipse 50% 60% at 20% 80%, rgba(46,69,168,0.35) 0%, transparent 55%),
                linear-gradient(160deg, #101D4A 0%, #1B2B6B 40%, #162356 100%);
        }
        .hero-grid {
            position: absolute; inset: 0;
            background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 60px 60px;
        }
        .hero-content {
            max-width: 1280px; margin: 0 auto; padding: 100px 2rem 80px;
            position: relative; z-index: 2;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
            border-radius: 100px; padding: 6px 16px; margin-bottom: 28px;
            font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.85);
            letter-spacing: 0.5px; text-transform: uppercase;
        }
        .hero-badge .dot { width: 6px; height: 6px; background: var(--green-light); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
        @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.4); } }
        .hero-title { font-family: 'Fraunces', serif; font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 24px; }
        .hero-title .accent { color: var(--green-light); font-style: italic; }
        .hero-desc { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 600px; margin-bottom: 40px; }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 64px; }
        .btn-hero-primary {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--green); color: white; font-size: 15px; font-weight: 600;
            padding: 14px 28px; border-radius: 12px; text-decoration: none;
            transition: all 0.25s;
        }
        .btn-hero-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,170,82,0.4); }
        .btn-hero-outline {
            display: inline-flex; align-items: center; gap: 8px;
            background: transparent; color: rgba(255,255,255,0.85);
            font-size: 15px; font-weight: 500;
            padding: 14px 28px; border-radius: 12px; text-decoration: none;
            border: 1.5px solid rgba(255,255,255,0.25);
            transition: all 0.25s;
        }
        .btn-hero-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

        /* Hero stats */
        .hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
        .hero-stat { flex: 1; min-width: 130px; padding: 0 32px 0 0; }
        .hero-stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.1); margin-right: 32px; }
        .hero-stat-num { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 800; color: white; line-height: 1; }
        .hero-stat-label { font-size: 12.5px; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 6px; letter-spacing: 0.3px; }

        /* Scroll indicator */
        .scroll-indicator {
            position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; align-items: center; gap: 6px;
            font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase;
        }
        .scroll-arrow { width: 28px; height: 28px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: bob 2s ease-in-out infinite; }
        @keyframes bob { 0%,100% {transform:translateY(0)} 50% {transform:translateY(5px)} }

        /* ── SECTIONS ──────────────────────────── */
        section { scroll-margin-top: 30px; }
#home {
    scroll-margin-top: 60px;
}
        .section-tag {
            display: inline-block; font-size: 11.5px; font-weight: 700;
            letter-spacing: 1px; text-transform: uppercase;
            color: var(--green-dark); background: rgba(61,170,82,0.1);
            padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
        }
        .section-title { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy); line-height: 1.2; }
        .section-sub { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--text-mid); line-height: 1.7; max-width: 560px; }

        .section-divider {
            width: 56px; height: 3px;
            background: linear-gradient(90deg, var(--navy), var(--green));
            border-radius: 4px; margin: 16px 0 0;
        }

        /* ── ABOUT ──────────────────────────────── */
        #about { position: relative; }
        .about-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }

        .info-card {
            background: white; border: 1px solid var(--border); border-radius: 20px;
            padding: 32px; transition: all 0.3s ease;
        }
        .info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .info-card .icon { width: 52px; height: 52px; background: rgba(27,43,107,0.07); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
        .info-card .icon i { color: var(--navy); font-size: 20px; }
        .info-card h3 { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
        .info-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; }

        .stat-card {
            background: var(--navy); border-radius: 20px; padding: 28px;
            text-align: center; color: white;
        }
        .stat-card .num { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 800; color: white; line-height: 1; }
        .stat-card .label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

        .stat-card.green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

        .certification-badge {
            background: white; border: 1.5px solid var(--border); border-radius: 16px;
            padding: 20px 24px; display: flex; align-items: center; gap: 16px;
        }
        .cert-icon { width: 48px; height: 48px; background: rgba(27,43,107,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .cert-text h4 { font-size: 14.5px; font-weight: 600; color: var(--text-dark); }
        .cert-text p { font-size: 12.5px; color: var(--text-light); margin-top: 3px; }

        /* ── SECTION CONTAINERS (rounded bordered wrapper) ── */
        .section-container {
            max-width: 1280px; margin: 0 auto 0;
            padding: 25px 48px;
            background: white;
            border: 1.5px solid var(--border);
            border-radius: 28px;
            box-shadow: 0 4px 32px rgba(27,43,107,0.06);
            position: relative;
        }
        .section-container.dark {
            background: var(--navy-dark);
            border-color: rgba(255,255,255,0.08);
            box-shadow: 0 8px 40px rgba(0,0,0,0.25);
        }
        .section-container.cream {
            background: var(--cream);
            border-color: rgba(27,43,107,0.08);
        }
        /* Outer wrapper that gives the section its bg colour + padding */
        .section-wrap {
            padding: 20px 24px;
        }
        .section-wrap.bg-cream { background: var(--cream); }
        .section-wrap.bg-white { background: white; }
        .section-wrap.bg-navy  { background: var(--navy-dark); }

        /* ── EXPERIENCE list (inside About section container) ── */
        .exp-block {
            margin-top: 48px;
            background: var(--navy-dark);
            border: 1.5px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            overflow: hidden;
        }
        .exp-block-header {
            padding: 28px 32px 0;
            display: flex; align-items: flex-start; justify-content: space-between;
            gap: 24px; flex-wrap: wrap;
        }
        .exp-block-header .section-tag {
            background: rgba(61,170,82,0.18); color: var(--green-light);
        }
        .exp-block-title {
            font-family: 'Fraunces', serif;
            font-size: 1.45rem; font-weight: 700;
            color: #ffffff; margin-top: 8px; line-height: 1.3;
        }
        .exp-block-intro {
            font-size: 13.5px; color: rgba(255,255,255,0.72);
            line-height: 1.7; margin-top: 10px; max-width: 380px;
        }
        .exp-block-intro strong { color: #ffffff; font-weight: 600; }

        .exp-badges {
            display: flex; gap: 12px; flex-wrap: wrap; padding: 20px 32px 24px;
        }
        .exp-badge-item {
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 12px; padding: 10px 18px;
            text-align: center;
        }
        .exp-badge-item .num {
            font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 800;
            color: var(--green-light); line-height: 1;
        }
        .exp-badge-item .lbl {
            font-size: 11px; color: rgba(255,255,255,0.5);
            text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px;
        }

        /* The animated list */
        .exp-list {
            list-style: none;
            border-top: 1px solid rgba(255,255,255,0.07);
            display: grid; grid-template-columns: 1fr 1fr;
        }
        .exp-item {
            display: flex; align-items: flex-start; gap: 14px;
            padding: 18px 28px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            border-right: 1px solid rgba(255,255,255,0.06);
            transition: background 0.25s;
            position: relative; overflow: hidden;
        }
        .exp-item:nth-child(even) { border-right: none; }
        .exp-item:nth-last-child(-n+2) { border-bottom: none; }
        .exp-item:hover { background: rgba(255,255,255,0.04); }
        /* left progress bar on hover */
        .exp-item::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
            background: linear-gradient(180deg, var(--green), var(--navy-light));
            transform: scaleY(0); transform-origin: top;
            transition: transform 0.35s ease;
        }
        .exp-item:hover::before { transform: scaleY(1); }

        .exp-item-icon {
            width: 36px; height: 36px; flex-shrink: 0;
            background: rgba(61,170,82,0.15);
            border: 1px solid rgba(61,170,82,0.3);
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.25s;
        }
        .exp-item:hover .exp-item-icon { background: rgba(61,170,82,0.28); }
        .exp-item-icon i { font-size: 15px; color: var(--green-light); }
        .exp-item-body h4 {
            font-size: 13.5px; font-weight: 700;
            color: #ffffff; margin-bottom: 4px; line-height: 1.35;
        }
        .exp-item-body p {
            font-size: 12.5px; color: rgba(255,255,255,0.62);
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .exp-list { grid-template-columns: 1fr; }
            .exp-item { border-right: none; }
            .exp-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
            .exp-item:last-child { border-bottom: none; }
            .exp-block-header { flex-direction: column; }
            .section-container { padding: 32px 20px; }
        }

        /* ── UNIFIED SECTION BACKGROUND ─────────── */
        .section-wrap { background: var(--cream) !important; }
        .section-container { background: white !important; border-color: rgba(27,43,107,0.09) !important; }
        .section-container.dark { background: var(--navy-dark) !important; border-color: rgba(255,255,255,0.08) !important; }
        .section-container.cream { background: white !important; }

        /* ── EXPERIENCE INLINE (About section) ─────── */
        .exp-inline {
            background: var(--navy-dark);
            border: 1.5px solid rgba(255,255,255,0.08);
            border-radius: 18px;
            overflow: hidden;
        }
        .exp-inline-header {
            display: flex; align-items: center; gap: 8px;
            padding: 14px 18px;
            background: rgba(61,170,82,0.12);
            border-bottom: 1px solid rgba(255,255,255,0.07);
            font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
            text-transform: uppercase; color: var(--green-light);
        }
        .exp-inline-list { list-style: none; padding: 10px 0; margin: 0; }
        .exp-inline-list li {
            display: flex; align-items: flex-start; gap: 10px;
            padding: 9px 18px;
            font-size: 13px; color: rgba(255,255,255,0.82);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            line-height: 1.45;
            animation: slideInRow 0.4s ease both;
        }
        .exp-inline-list li:last-child { border-bottom: none; }
        .exp-inline-list li i {
            color: var(--green-light); font-size: 11px; margin-top: 3px; flex-shrink: 0;
        }
        @keyframes slideInRow {
            from { opacity: 0; transform: translateX(-12px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .exp-inline-list li:nth-child(1) { animation-delay: 0.05s; }
        .exp-inline-list li:nth-child(2) { animation-delay: 0.1s; }
        .exp-inline-list li:nth-child(3) { animation-delay: 0.15s; }
        .exp-inline-list li:nth-child(4) { animation-delay: 0.2s; }
        .exp-inline-list li:nth-child(5) { animation-delay: 0.25s; }
        .exp-inline-list li:nth-child(6) { animation-delay: 0.3s; }

        /* ── THEMATIC CARDS (always-visible, green style) ─ */
        #thematic { position: relative; }
        .thematic-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px; margin-top: 48px;
        }

        .tc-card {
            background: linear-gradient(145deg, #101D4A, #1B2B6B);
            border-radius: 20px; overflow: hidden;
            cursor: pointer; position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex; flex-direction: column;
        }
        .tc-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(29,110,56,0.35);
        }
        /* decorative blobs */
        .tc-card::before {
            content: ''; position: absolute;
            top: -28px; right: -28px;
            width: 110px; height: 110px; border-radius: 50%;
            background: rgba(255,255,255,0.08); pointer-events: none;
        }
        .tc-card::after {
            content: ''; position: absolute;
            bottom: -32px; left: -16px;
            width: 88px; height: 88px; border-radius: 50%;
            background: rgba(255,255,255,0.05); pointer-events: none;
        }
        .tc-card-inner {
            display: flex; flex-direction: column;
            height: 100%; padding: 26px; position: relative; z-index: 1;
            gap: 16px;
        }
        .tc-card-front { flex: 1; display: flex; flex-direction: column; }
        .tc-card-icon {
            width: 50px; height: 50px;
            background: rgba(255,255,255,0.18);
            border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 16px; flex-shrink: 0;
            transition: background 0.25s;
        }
        .tc-card:hover .tc-card-icon { background: rgba(255,255,255,0.28); }
        .tc-card-icon i { font-size: 22px; color: white; }
        .tc-card h3 {
            font-family: 'Fraunces', serif; font-size: clamp(0.95rem, 1.4vw, 1.05rem);
            font-weight: 700; color: white; line-height: 1.35; margin-bottom: 10px;
        }
        .tc-card p {
            font-size: clamp(0.8rem, 1.1vw, 0.88rem);
            color: rgba(255,255,255,0.85); line-height: 1.65; flex: 1;
        }
        .tc-card-pills {
            display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
        }
        .tc-card-pill {
            font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px;
            padding: 3px 10px; border-radius: 100px;
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.28);
            color: white;
        }
        /* View Details button */
        .tc-details-btn {
            display: inline-flex; align-items: center; gap: 8px;
            background: white; color: var(--green-dark);
            font-family: 'DM Sans', sans-serif;
            font-size: 13px; font-weight: 700;
            padding: 10px 20px; border-radius: 10px;
            border: none; cursor: pointer;
            transition: all 0.25s;
            align-self: flex-start;
            box-shadow: 0 4px 14px rgba(0,0,0,0.15);
            position: relative; z-index: 2;
        }
        .tc-details-btn:hover {
            background: var(--navy); color: white;
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            transform: translateY(-2px);
        }
        .tc-details-btn i { font-size: 11px; transition: transform 0.2s; }
        .tc-details-btn:hover i { transform: translateX(3px); }

        /* 1-col on mobile */
        @media (max-width: 1024px) { .thematic-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 640px)  { .thematic-grid { grid-template-columns: 1fr; } }

        /* ── MOBILE MENU RESPONSIVE FONT ──────────── */
        .mobile-nav-item {
            font-size: clamp(14px, 4vw, 17px) !important;
        }
        .mob-accordion-toggle {
            font-size: clamp(14px, 4vw, 17px) !important;
        }
        .mob-accordion-body span.mobile-nav-item {
            font-size: clamp(12px, 3.5vw, 14px) !important;
        }
        .mob-accordion-toggle {
            display: flex; justify-content: space-between; align-items: center;
            padding: 16px 24px;
            color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 500;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            cursor: pointer; user-select: none; transition: background 0.2s;
            background: transparent; border-top: none; border-left: none; border-right: none;
            width: 100%; text-align: left; font-family: 'DM Sans', sans-serif;
        }
        .mob-accordion-toggle:hover { background: rgba(255,255,255,0.04); }
        .mob-accordion-arrow {
            width: 28px; height: 28px; background: rgba(255,255,255,0.1); border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; color: rgba(255,255,255,0.7);
            transition: transform 0.3s ease, background 0.2s; flex-shrink: 0;
        }
        .mob-accordion-toggle.open .mob-accordion-arrow { transform: rotate(180deg); background: var(--green); color: white; }
        .mob-accordion-body {
            max-height: 0; overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(0,0,0,0.25);
        }
        .mob-accordion-body.open { max-height: 400px; }
        .mob-accordion-body span.mobile-nav-item {
            display: block; padding: 13px 24px 13px 48px;
            font-size: 14px; color: rgba(255,255,255,0.75);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: all 0.2s; cursor: pointer;
        }
        .mob-accordion-body span.mobile-nav-item:hover { color: var(--green-light); background: rgba(255,255,255,0.04); padding-left: 54px; }

        /* ── IMPACT NUMBERS ─────────────────────── */
        #impact { position: relative; }
        #impact .section-container.dark::before {
            content: '';
            position: absolute; inset: 0; border-radius: 28px;
            background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(61,170,82,0.12) 0%, transparent 65%);
            pointer-events: none;
        }
        .impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; margin-top: 48px; }
        .impact-item { background: rgba(255,255,255,0.04); padding: 36px 24px; text-align: center; transition: background 0.3s; }
        .impact-item:hover { background: rgba(255,255,255,0.09); }
        .impact-num { font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 800; color: white; line-height: 1; }
        .impact-label { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 10px; font-weight: 500; }
        .impact-icon { font-size: 20px; color: var(--green-light); margin-bottom: 12px; }

        /* ── PROJECTS ───────────────────────────── */
        #projects { position: relative; }
        .projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }

        .project-card {
            background: white; border: 1px solid var(--border); border-radius: 20px;
            overflow: hidden; cursor: pointer; transition: all 0.3s ease;
        }
        .project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .project-header { padding: 24px 28px; position: relative; }
        .project-header.blue { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
        .project-header.green { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
        .project-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
        .project-card h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; color: white; line-height: 1.4; }
        .project-body { padding: 24px 28px; }
        .project-body p { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; }
        .project-metric { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--navy); }
        .project-metric i { color: var(--green); }

        /* ── NEWS ───────────────────────────────── */
        #news { position: relative; }
        .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

        .news-card {
            background: white; border: 1px solid var(--border); border-radius: 20px;
            overflow: hidden; transition: all 0.3s ease;
        }
        .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .news-img { height: 180px; background: var(--navy); position: relative; overflow: hidden; }
        .news-img .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
        .news-img .placeholder.blue { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
        .news-img .placeholder.green { background: linear-gradient(135deg, var(--green-dark), #5DC472); }
        .news-img .placeholder.teal { background: linear-gradient(135deg, #0d6e6e, #1a9999); }
        .news-cat {
            position: absolute; top: 12px; left: 12px;
            background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
            color: white; font-size: 10.5px; font-weight: 700;
            letter-spacing: 0.8px; text-transform: uppercase;
            padding: 4px 10px; border-radius: 100px;
        }
        .news-body { padding: 22px 24px; }
        .news-date { font-size: 11.5px; color: var(--text-light); font-weight: 500; margin-bottom: 10px; }
        .news-card h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); line-height: 1.45; margin-bottom: 12px; }
        .news-card p { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
        .news-link { font-size: 13px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: gap 0.2s; }
        .news-link:hover { gap: 9px; color: var(--green-dark); }

        /* ── PARTNERS ───────────────────────────── */
        #partners { position: relative; }
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .marquee-wrap { overflow: hidden; }
        .marquee-track { display: flex; gap: 20px; width: fit-content; animation: marquee 35s linear infinite; }
        .marquee-wrap:hover .marquee-track { animation-play-state: paused; }
        .partner-pill {
            display: flex; align-items: center; gap: 10px;
            background: var(--cream); border: 1px solid var(--border); border-radius: 14px;
            padding: 14px 22px; flex-shrink: 0;
            font-size: 14px; font-weight: 600; color: var(--text-dark);
            transition: all 0.3s;
        }
        .partner-pill:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
        .partner-pill i { font-size: 20px; }

        /* ── CONTACT ────────────────────────────── */
        #contact { position: relative; }
        .contact-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 40px; margin-top: 48px; align-items: start; }

        .contact-form-card {
            background: var(--cream); border: 1px solid var(--border); border-radius: 24px; padding: 40px;
        }
        .form-group { margin-bottom: 18px; }
        .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
        .form-input {
            width: 100%; padding: 12px 16px;
            background: white; border: 1.5px solid var(--border);
            border-radius: 12px; font-size: 14px; font-family: 'DM Sans', sans-serif;
            color: var(--text-dark); transition: all 0.2s;
            outline: none;
        }
        .form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,43,107,0.08); }
        .form-input.error { border-color: #e53e3e; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        textarea.form-input { min-height: 130px; resize: vertical; }
        .form-error { font-size: 12px; color: #e53e3e; margin-top: 5px; display: none; }
        .form-error.show { display: block; }
        .form-success {
            display: none; background: rgba(61,170,82,0.1); border: 1px solid rgba(61,170,82,0.3);
            border-radius: 12px; padding: 16px 20px; margin-top: 16px;
            font-size: 14px; color: var(--green-dark); font-weight: 500;
        }
        .form-success.show { display: flex; align-items: center; gap: 10px; }

        .contact-info { display: flex; flex-direction: column; gap: 20px; }
        .info-row {
            display: flex; align-items: flex-start; gap: 16px;
            background: var(--cream); border: 1px solid var(--border);
            border-radius: 16px; padding: 20px;
        }
        .info-row .icon { width: 44px; height: 44px; background: rgba(27,43,107,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .info-row .icon i { color: var(--navy); font-size: 18px; }
        .info-row h4 { font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
        .info-row p, .info-row a { font-size: 13px; color: var(--text-mid); text-decoration: none; line-height: 1.5; }
        .info-row a:hover { color: var(--navy); }

        .social-links { display: flex; gap: 10px; margin-top: 8px; }
        .social-btn {
            width: 38px; height: 38px; background: white; border: 1px solid var(--border);
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            color: var(--text-mid); font-size: 15px; text-decoration: none;
            transition: all 0.2s;
        }
        .social-btn:hover { background: var(--navy); color: white; border-color: var(--navy); transform: translateY(-2px); }

        /* ── MAP ────────────────────────────────── */
        .map-embed { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }

        /* ── FOOTER ─────────────────────────────── */
        footer {
            background: var(--navy-dark);
            padding: 36px 0 14px;
        }
        .footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
        .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.75; margin-top: 16px; max-width: 320px; }
        .footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
        .footer-link {
            display: flex; align-items: center; gap: 8px;
            font-size: 14px; color: rgba(255,255,255,0.8); text-decoration: none;
            padding: 5px 0; transition: all 0.2s;
        }
        .footer-link:hover { color: var(--green-light); padding-left: 4px; }
        .footer-link i { font-size: 10px; color: var(--green-light); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 10px; display: flex; justify-content: space-between; align-items: center;
            flex-wrap: wrap; gap: 12px;
        }
        .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.8); }
        .footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
        .footer-bottom a:hover { color: var(--green-light); }

        /* ── MODAL ──────────────────────────────── */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(16,29,74,0.85);
            backdrop-filter: blur(8px); z-index: 2000;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: all 0.3s;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-box {
            background: white; border-radius: 24px; padding: 40px; max-width: 560px;
            width: 90%; max-height: 85vh; overflow-y: auto;
            transform: translateY(24px) scale(0.97); transition: all 0.3s;
            border-top: 4px solid var(--green);
        }
        .modal-overlay.active .modal-box { transform: none; }
        .modal-close-btn {
            position: absolute; top: 16px; right: 16px;
            width: 36px; height: 36px; background: var(--cream);
            border: 1px solid var(--border); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; font-size: 14px; color: var(--text-mid);
            transition: all 0.2s;
        }
        .modal-close-btn:hover { background: var(--navy); color: white; }
        .modal-box { position: relative; }
        .modal-title { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
        .modal-body p { font-size: 14.5px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
        .achievement-list { list-style: none; margin-top: 16px; }
        .achievement-list li {
            display: flex; align-items: flex-start; gap: 10px;
            font-size: 14px; color: var(--text-mid); padding: 8px 0;
            border-bottom: 1px solid var(--border);
        }
        .achievement-list li:last-child { border-bottom: none; }
        .achievement-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

        /* ── GO TO TOP ──────────────────────────── */
        .go-top {
            position: fixed; bottom: 28px; right: 28px;
            width: 46px; height: 46px;
            background: var(--navy); color: white;
            border-radius: 12px; display: flex; align-items: center; justify-content: center;
            cursor: pointer; z-index: 999;
            box-shadow: var(--shadow-md); font-size: 16px;
            opacity: 0; visibility: hidden; transition: all 0.3s;
            border: none;
        }
        .go-top.show { opacity: 1; visibility: visible; }
        .go-top:hover { background: var(--navy-light); transform: translateY(-3px); }

        /* ── RESPONSIVE ─────────────────────────── */
        @media (max-width: 1024px) {
            .thematic-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer-brand { grid-column: span 2; }
            .impact-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            body { padding-top: 20px; }
            .topbar { display: none; }
            .navbar { top: 0; }
            .navbar.scrolled { top: 0; }
            .nav-links { display: none; }
            .hamburger { display: flex; }
            .hero-stats { gap: 24px; }
            .hero-stat:not(:last-child) { border-right: none; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
            .form-row { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; gap: 24px; }
            .projects-grid { grid-template-columns: 1fr; }
            .news-grid { grid-template-columns: 1fr; }
            .impact-grid { grid-template-columns: repeat(2, 1fr); }
            .contact-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .footer-brand { grid-column: span 1; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .section-container { padding: 32px 20px; border-radius: 20px; }
            .section-wrap { padding: 20px 12px; }
			.thematic-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .impact-grid { grid-template-columns: 1fr 1fr; }
            .thematic-grid { grid-template-columns: 1fr; }
            .hero-stat { min-width: 100%; }
        }

        /* ── UTILS ──────────────────────────────── */
        .text-center { text-align: center; }
        .text-center .section-sub { margin: 0 auto; }
        .text-center .section-divider { margin: 16px auto 0; }

        a { text-decoration: none; }
        img { max-width: 100%; }




/* ════════════════════════════════
   Animation for THEMATIC CARDS — Aurora Curtain + Floating Particles and project section
   ════════════════════════════════ */

.tc-card {
    position: relative;
    isolation: isolate;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* Aurora curtain — strips of color wipe in */
.tc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(
        90deg,
        #3DAA52   0px,  #3DAA52   16.6%,
        #2a8c44   16.6%, #2a8c44  33.2%,
        #1B2B6B   33.2%, #1B2B6B  49.8%,
        #2E45A8   49.8%, #2E45A8  66.4%,
        #0d1f5c   66.4%, #0d1f5c  83%,
        #3DAA52   83%,   #3DAA52  100%
    );
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
    opacity: 0.93;
}

.tc-card:hover::before {
    transform: scaleX(1);
}

/* Sheen stripe over aurora */
.tc-card::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.22) 50%,
        transparent 100%
    );
    z-index: 3;
    opacity: 0;
    transition: left 0.7s ease 0.3s, opacity 0.3s ease 0.3s;
    pointer-events: none;
    border-radius: inherit;
}

.tc-card:hover::after {
    left: 120%;
    opacity: 1;
}

.tc-card .tc-card-inner {
    position: relative;
    z-index: 4;
}

/* Icon — flips face with rotateY */
.tc-card .tc-card-icon {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
                background 0.3s ease 0.15s,
                color 0.3s ease 0.15s;
    transform-style: preserve-3d;
}

.tc-card:hover .tc-card-icon {
    transform: rotateY(360deg) scale(1.2);
    background: rgba(255,255,255,0.2);
    color: #fff;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.3),
        0 0 25px rgba(255,255,255,0.2);
}

/* Title — character-by-character shimmer effect */
.tc-card .tc-card-inner h3 {
    transition: color 0.3s ease 0.2s,
                text-shadow 0.4s ease 0.2s;
}

.tc-card:hover .tc-card-inner h3 {
    color: #fff;
    text-shadow:
        0 0 20px rgba(255,255,255,0.6),
        0 0 40px rgba(61,170,82,0.3);
}

.tc-card .tc-card-inner p {
    transition: color 0.3s ease 0.25s, transform 0.4s ease 0.25s;
}

.tc-card:hover .tc-card-inner p {
    color: rgba(255,255,255,0.85);
    transform: translateX(4px);
}

/* Pills — scatter upward with rotation */
.tc-card .tc-card-pill {
    display: inline-block;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tc-card:hover .tc-card-pill:nth-child(1) {
    transform: translateY(-5px) rotate(-3deg);
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    transition-delay: 0.18s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.tc-card:hover .tc-card-pill:nth-child(2) {
    transform: translateY(-8px) rotate(2deg);
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    transition-delay: 0.24s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.tc-card:hover .tc-card-pill:nth-child(3) {
    transform: translateY(-5px) rotate(-2deg);
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    transition-delay: 0.3s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Button — outline flips to solid white */
.tc-card .tc-details-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease 0.28s,
                border-color 0.3s ease 0.28s,
                transform 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.28s;
}

.tc-card .tc-details-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.77,0,0.175,1) 0.2s;
    z-index: -1;
}

.tc-card:hover .tc-details-btn::after {
    transform: scaleY(1);
}

.tc-card:hover .tc-details-btn {
    color: #1B2B6B;
    border-color: #fff;
    transform: translateY(-3px) scale(1.04);
}

.tc-card:hover {
    transform: translateY(-14px) scale(1.03) rotateX(2deg);
    box-shadow:
        0 45px 80px rgba(27,43,107,0.3),
        0 20px 40px rgba(61,170,82,0.15),
        0 8px 16px rgba(27,43,107,0.1);
}


/* ════════════════════════════════
   PROJECT CARDS — Cassette Deck Eject + Data Scan Line
   ════════════════════════════════ */

.project-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s ease;
}

/* Scan line sweeps top to bottom */
.project-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -4px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #3DAA52 30%,
        #fff 50%,
        #3DAA52 70%,
        transparent 100%);
    z-index: 4;
    opacity: 0;
    box-shadow: 0 0 12px rgba(61,170,82,0.8),
                0 0 24px rgba(61,170,82,0.4);
    transition: none;
}

.project-card:hover::before {
    opacity: 1;
    animation: scanDown 0.7s cubic-bezier(0.4,0,0.6,1) 0.05s forwards;
}

@keyframes scanDown {
    0%   { top: 0%;   opacity: 1; }
    85%  { top: 96%;  opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Side accent bar grows from top */
.project-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, #3DAA52, #1B2B6B);
    border-radius: 0 2px 2px 0;
    transition: height 0.5s cubic-bezier(0.16,1,0.3,1) 0.1s;
    z-index: 3;
}

.project-card:hover::after {
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px) translateX(3px);
    box-shadow:
        0 30px 60px rgba(27,43,107,0.22),
        0 10px 24px rgba(27,43,107,0.12),
        -4px 0 20px rgba(61,170,82,0.15);
}

/* Header — ejects upward slightly */
.project-card .project-header {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                padding 0.4s ease;
}

.project-card:hover .project-header {
    transform: translateY(-3px);
    padding-left: 20px;
}

/* Body text — types in from left */
.project-card .project-body p {
    position: relative;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1) 0.1s,
                color 0.3s ease 0.1s;
}

.project-card:hover .project-body p {
    transform: translateX(6px);
}

/* Metric — glows green on scan completion */
.project-card .project-metric {
    position: relative;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1) 0.2s;
    border-radius: 8px;
    padding: 2px 4px;
}

.project-card:hover .project-metric {
    background: rgba(61,170,82,0.1);
    color: #1a6b30;
    font-weight: 700;
    transform: translateX(8px);
    padding: 6px 12px;
    box-shadow: inset 0 0 0 1px rgba(61,170,82,0.3),
                0 0 12px rgba(61,170,82,0.1);
}

.project-card .project-metric i {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.25s,
                color 0.3s ease 0.25s;
}

.project-card:hover .project-metric i {
    transform: scale(1.4) rotate(-15deg);
    color: #3DAA52;
}




/* ════════════════════════════════
   ABOUT SECTION — Scroll & Hover Animations
   ════════════════════════════════ */

/* Base reveal state — all animated elements start hidden */
.about-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.about-reveal.from-left  { transform: translateX(-50px); }
.about-reveal.from-right { transform: translateX(50px); }
.about-reveal.from-bottom{ transform: translateY(50px); }
.about-reveal.scale-in   { transform: scale(0.88) translateY(20px); }

.about-reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }


/* ── WHO WE ARE card ── */
.info-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.45s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 3px;
    background: linear-gradient(90deg, #3DAA52, #1B2B6B);
    transition: width 0.5s cubic-bezier(0.77,0,0.175,1);
}

.info-card:hover::before { width: 100%; }

.info-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 40px rgba(27,43,107,0.14),
                0 6px 14px rgba(27,43,107,0.08);
}

.info-card .icon {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease, color 0.3s ease;
}
.info-card:hover .icon {
    transform: rotate(-8deg) scale(1.2);
    background: #1B2B6B;
    color: #3DAA52 !important;
}

.info-card h3 {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}
.info-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: #3DAA52;
    transition: width 0.4s ease 0.1s;
    border-radius: 2px;
}
.info-card:hover h3::after { width: 100%; }

.info-card p, .info-card li {
    transition: transform 0.35s ease, color 0.3s ease;
}
.info-card:hover p,
.info-card:hover li { transform: translateX(4px); }


/* ── VISION card ── */
.vision-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s ease;
}

.vision-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(61,170,82,0.07) 0%,
        rgba(27,43,107,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vision-card:hover::after { opacity: 1; }

.vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(61,170,82,0.18),
                0 8px 20px rgba(27,43,107,0.1);
}

.vision-card .vision-quote {
    position: relative;
    transition: letter-spacing 0.4s ease, color 0.3s ease;
}
.vision-card:hover .vision-quote {
    letter-spacing: 0.02em;
    color: #1a6b30 !important;
}


/* ── MISSION card ── */
.mission-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s ease;
}

/* Scan line on hover */
.mission-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -4px; height: 3px;
    background: linear-gradient(90deg,
        transparent, #3DAA52 40%, #fff 50%, #3DAA52 60%, transparent);
    opacity: 0;
    box-shadow: 0 0 10px rgba(61,170,82,0.7);
    z-index: 3;
}

.mission-card:hover::before {
    opacity: 1;
    animation: missionScan 0.65s ease forwards;
}

@keyframes missionScan {
    0%   { top: 0%;   opacity: 1; }

    90%  { top: 97%;  opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 52px rgba(27,43,107,0.18),
                0 8px 18px rgba(27,43,107,0.1),
                inset 0 0 0 1.5px rgba(27,43,107,0.12);
}

/* Mission list items cascade */
.mission-item {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                background 0.3s ease,
                padding 0.3s ease;
    border-radius: 8px;
    padding: 4px 6px;
}

.mission-card:hover .mission-item:nth-child(1) { transition-delay:0.04s; }
.mission-card:hover .mission-item:nth-child(2) { transition-delay:0.08s; }
.mission-card:hover .mission-item:nth-child(3) { transition-delay:0.12s; }
.mission-card:hover .mission-item:nth-child(4) { transition-delay:0.16s; }
.mission-card:hover .mission-item:nth-child(5) { transition-delay:0.20s; }

.mission-card:hover .mission-item {
    transform: translateX(6px);
    background: rgba(61,170,82,0.07);
    padding: 6px 10px;
}

.mission-item i {
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.mission-card:hover .mission-item i {
    transform: scale(1.3) rotate(-10deg);
}


/* ── CORE VALUES card ── */
.values-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.5s ease;
}

/* Conic border spin */
.values-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg,
        #3DAA52, #2E45A8, #1B2B6B, #3DAA52, #2E45A8, #3DAA52);
    border-radius: inherit;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(2px);
}

.values-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #1B2B6B;
    border-radius: calc(inherit - 2px);
    z-index: 1;
}

.values-card:hover::before {
    opacity: 1;
    animation: valuesSpin 3s linear infinite;
}

@keyframes valuesSpin { to { transform: rotate(360deg); } }

.values-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(27,43,107,0.35),
                0 10px 24px rgba(61,170,82,0.15);
}

.values-card > * { position: relative; z-index: 2; }

/* Value pills bounce in stagger */
.value-pill {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.values-card:hover .value-pill:nth-child(1) { transition-delay:0.06s; transform:translateY(-5px) rotate(-2deg); box-shadow:0 8px 20px rgba(0,0,0,0.25); }
.values-card:hover .value-pill:nth-child(2) { transition-delay:0.12s; transform:translateY(-7px) rotate(2deg);  box-shadow:0 8px 20px rgba(0,0,0,0.25); }
.values-card:hover .value-pill:nth-child(3) { transition-delay:0.18s; transform:translateY(-5px) rotate(-1deg); box-shadow:0 8px 20px rgba(0,0,0,0.25); }
.values-card:hover .value-pill:nth-child(4) { transition-delay:0.24s; transform:translateY(-7px) rotate(2deg);  box-shadow:0 8px 20px rgba(0,0,0,0.25); }
.values-card:hover .value-pill:nth-child(5) { transition-delay:0.30s; transform:translateY(-5px) rotate(-2deg); box-shadow:0 8px 20px rgba(0,0,0,0.25); }


/* ── STAT cards ── */
.stat-card {
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 20px 40px rgba(27,43,107,0.25);
}

.stat-card .num {
    transition: letter-spacing 0.4s ease;
}
.stat-card:hover .num { letter-spacing: 0.04em; }

.stat-card i {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.stat-card:hover i { transform: rotate(-15deg) scale(1.25); }


/* ── CERTIFICATION badge ── */
.certification-badge {
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.certification-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg,
        transparent, rgba(61,170,82,0.12), transparent);
    transition: left 0.6s ease;
}

.certification-badge:hover::before { left: 150%; }

.certification-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(27,43,107,0.14);
}

.cert-icon {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.certification-badge:hover .cert-icon {
    transform: rotate(360deg) scale(1.2);
}


/* ── EXP inline strip ── */
.exp-inline {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.4s ease;
}
.exp-inline:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(27,43,107,0.1);
}

.exp-inline-list li {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                background 0.3s ease, padding 0.3s ease;
    border-radius: 6px;
    padding: 3px 6px;
}

.exp-inline:hover .exp-inline-list li:nth-child(1) { transition-delay:0.03s; }
.exp-inline:hover .exp-inline-list li:nth-child(2) { transition-delay:0.06s; }
.exp-inline:hover .exp-inline-list li:nth-child(3) { transition-delay:0.09s; }
.exp-inline:hover .exp-inline-list li:nth-child(4) { transition-delay:0.12s; }
.exp-inline:hover .exp-inline-list li:nth-child(5) { transition-delay:0.15s; }
.exp-inline:hover .exp-inline-list li:nth-child(6) { transition-delay:0.18s; }

.exp-inline:hover .exp-inline-list li {
    transform: translateX(8px);
    background: rgba(61,170,82,0.07);
    padding: 4px 10px;
}

.exp-inline-list li i {
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.exp-inline:hover .exp-inline-list li i {
    transform: scale(1.3) rotate(-10deg);
    color: #3DAA52;
}

/* ── Section heading text animations ── */
.about-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(-3deg);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
                transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.about-title-word.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}