/* ============================================
   TRANSFONG CORPORATE WEBSITE — DESIGN SYSTEM
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary */
    --navy: #011B64;
    --red: #FF0006;
    --white: #FFFFFF;

    /* Secondary */
    --teal: #00B1B0;
    --purple: #6779BD;

    /* Navy Tints */
    --navy-90: #1A3173;
    --navy-80: #344983;
    --navy-70: #4D5F92;
    --navy-60: #6776A2;
    --navy-50: #808DB1;
    --navy-40: #99A4C1;
    --navy-30: #B2BAD0;
    --navy-20: #CCD1E0;
    --navy-10: #E5E8EF;
    --navy-05: #F2F3F7;

    /* Functional */
    --bg-primary: #FAFBFE;
    --bg-section: #F2F3F7;
    --text-primary: #011B64;
    --text-secondary: #4D5F92;
    --text-light: #808DB1;
    --border-light: #E5E8EF;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(1, 27, 100, 0.06);
    --shadow-md: 0 4px 16px rgba(1, 27, 100, 0.08);
    --shadow-lg: 0 8px 32px rgba(1, 27, 100, 0.1);
    --shadow-xl: 0 16px 48px rgba(1, 27, 100, 0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 600ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--duration-normal) var(--ease-out);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 251, 254, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-sm) 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    transition: filter var(--duration-normal) var(--ease-out);
}

.navbar:not(.scrolled) .nav-logo-light { display: none; }
.navbar:not(.scrolled) .nav-logo-dark { display: block; }
.navbar.scrolled .nav-logo-dark { display: none; }
.navbar.scrolled .nav-logo-light { display: block; }

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-t {
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.logo-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    bottom: 5px;
    right: 5px;
}

.logo-text {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--navy);
}

.navbar:not(.scrolled) .logo-text {
    color: var(--white);
}

.navbar:not(.scrolled) .logo-mark {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar:not(.scrolled) .nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-link:hover {
    color: var(--navy);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 10;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--duration-fast) var(--ease-out);
}

.navbar:not(.scrolled) .lang-toggle {
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-option {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--duration-fast);
}

.navbar:not(.scrolled) .lang-option {
    color: rgba(255, 255, 255, 0.6);
}

.lang-option.active {
    color: var(--red);
}

.navbar:not(.scrolled) .lang-option.active {
    color: var(--white);
}

.lang-divider {
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.4;
}

.navbar:not(.scrolled) .lang-divider {
    color: rgba(255, 255, 255, 0.3);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 2px 0;
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--duration-fast) var(--ease-out);
}

.navbar:not(.scrolled) .nav-burger span {
    background: var(--white);
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Photo-based hero */
.hero--photo .hero-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--photo .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(1, 27, 100, 0.55) 0%,
        rgba(1, 27, 100, 0.75) 60%,
        rgba(1, 27, 100, 0.9) 100%
    );
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Sunshine — subtle gradient lighting in upper right */
.hero-sunshine {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 80%;
    background: radial-gradient(
        circle at top right,
        rgba(29, 116, 255, 0.25) 0%,
        rgba(36, 172, 251, 0.1) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-sunshine-rays {
    display: none;
}

.hero-grid-lines {
    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-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--teal);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: -100px;
    left: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--red);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-40px, 60px); }
    66% { transform: translate(30px, -40px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -30px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px var(--space-xl) var(--space-4xl);
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.hero-title-line {
    display: block;
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-title-line:nth-child(1) { animation: fadeUp 0.8s var(--ease-out) 0.4s forwards; }
.hero-title-line:nth-child(2) { animation: fadeUp 0.8s var(--ease-out) 0.55s forwards; }
.hero-title-line:nth-child(3) { animation: fadeUp 0.8s var(--ease-out) 0.7s forwards; }

.hero-title-accent {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.85s forwards;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

/* Elena Chat Bubble CTA */
.chat-bubble-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    text-decoration: none;
    transition: transform var(--duration-normal) var(--ease-out);
}

.chat-bubble-cta:hover {
    transform: translateY(-4px);
}

.chat-avatar-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.chat-avatar-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    background: var(--white);
    padding: 2px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: -12px;
    z-index: 2;
}

.chat-bubble {
    position: relative;
    background: var(--white);
    color: var(--navy);
    padding: 14px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all var(--duration-normal) var(--ease-out);
}

.chat-bubble-cta:hover .chat-bubble {
    color: var(--red);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--white);
}

/* Red dot brand accent — matches Transfong logo */
.title-red-dot {
    color: var(--red);
    font-weight: 900;
    font-size: 1.1em;
    font-family: 'Arial Rounded MT Bold', 'Nunito', 'Varela Round', sans-serif;
}

.hero-title .title-red-dot {
    font-size: 0.8em;
    -webkit-text-fill-color: var(--red);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 0, 6, 0.3);
}

.btn-primary:hover {
    background: #e60005;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 6, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Hero Vision Strip */
.hero-vision-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.vision-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    backdrop-filter: blur(10px);
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.vision-icon {
    width: 40px;
    height: 40px;
    color: var(--teal);
    margin-bottom: var(--space-md);
}

.vision-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.3px;
}

.vision-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.3; height: 40px; }
}


/* ============================================
   SECTIONS — SHARED
   ============================================ */
.section {
    padding: var(--space-5xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: var(--space-md);
    padding: 6px 16px;
    background: rgba(0, 177, 176, 0.08);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1.15;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about {
    background: var(--bg-primary);
}

/* About hero image with logo overlay */
.about-hero-img {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-3xl);
    box-shadow: var(--shadow-xl);
}

.about-singapore-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-logo {
    position: absolute;
    bottom: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-hero-logo img {
    height: 32px;
    width: auto;
}

/* About Section — redesigned with photo beside text */
.about-grid--with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: stretch;
}

.about-photo-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    height: 100%;
}

.about-connexis-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    flex: 0 0 auto;
    height: 260px;
}

.about-narrative {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-connexis-img .about-singapore-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-logo {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-hero-logo img {
    height: 28px;
    width: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: stretch;
}

.about-lead {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--navy);
    margin-bottom: var(--space-lg);
}

.about-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Timeline */
.about-timeline {
    height: 100%;
}

.timeline {
    position: relative;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), var(--purple), var(--navy-30));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-item:last-child {
    padding-bottom: 0;
    flex: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--teal);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.4);
    transition: transform var(--duration-fast) var(--ease-spring);
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: -80px;
    top: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-50);
    width: 40px;
    text-align: right;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.section-services {
    background: var(--navy-05);
}

/* Pillars Navigation */
.pillars-nav {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    padding: 4px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pillar-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-out);
}

.pillar-tab:hover {
    color: var(--navy);
    background: var(--navy-05);
}

.pillar-tab.active {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.pillar-tab-num {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.5;
}

.pillar-tab.active .pillar-tab-num {
    opacity: 0.7;
}

/* Pillar Panel */
.pillar-panel {
    display: none;
    animation: panelIn 0.5s var(--ease-out);
}

.pillar-panel.active {
    display: block;
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pillar-header-row {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pillar-icon-lg {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    color: var(--teal);
    padding: 10px;
    background: rgba(0, 177, 176, 0.08);
    border-radius: var(--radius-md);
}

.pillar-header-row h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.pillar-header-row p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Cities Grid (Pillar 1) */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.city-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.city-card-photo {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.city-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-card-photo img {
    transform: scale(1.06);
}

.city-card-body {
    padding: var(--space-lg);
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) var(--ease-out);
}

.city-card:hover::before {
    transform: scaleX(1);
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.city-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.city-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.city-partners {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Acceleration Cards (Pillar 2) */
.accel-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.accel-card {
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.accel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.accel-card-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    background: rgba(0, 177, 176, 0.08);
    border-radius: var(--radius-md);
    color: var(--teal);
    margin-bottom: var(--space-lg);
}

.accel-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.accel-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Training Grid (Pillar 3) */
.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.training-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.training-card:hover {
    transform: translateY(-4px);
}

.training-card-gov {
    background: linear-gradient(135deg, var(--navy), var(--navy-90));
    color: var(--white);
}

.training-card-corp {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.training-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.training-card-gov .training-card-tag {
    background: rgba(0, 177, 176, 0.2);
    color: var(--teal);
}

.training-card-corp .training-card-tag {
    background: rgba(103, 121, 189, 0.1);
    color: var(--purple);
}

.training-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.training-card-gov h4 {
    color: var(--white);
}

.training-card-corp h4 {
    color: var(--navy);
}

.training-card p {
    font-size: 14px;
    line-height: 1.7;
}

.training-card-gov p {
    color: rgba(255, 255, 255, 0.6);
}

.training-card-corp p {
    color: var(--text-secondary);
}

.training-stat {
    margin-top: var(--space-xl);
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}


/* ============================================
   TEAM SECTION
   ============================================ */
.section-team {
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.team-card-visual {
    position: relative;
    padding: var(--space-2xl) var(--space-2xl) 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: linear-gradient(180deg, var(--navy-05) 0%, rgba(234, 237, 242, 0.5) 100%);
    height: 280px;
    overflow: hidden;
}

/* Photo wrap replaces avatar */
.team-photo-wrap {
    width: 180px;
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-80));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.team-avatar-inner {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.team-card-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), transparent);
    opacity: 0.15;
    top: -40px;
    right: -40px;
    filter: blur(30px);
}

.team-card-accent-alt {
    background: linear-gradient(135deg, var(--purple), transparent);
    right: auto;
    left: -40px;
}

.team-card-info {
    padding: var(--space-2xl);
}

.team-card-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.team-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.credential {
    display: inline-block;
    padding: 5px 12px;
    background: var(--navy-05);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-70);
    letter-spacing: 0.3px;
}


/* ============================================
   STATS SECTION
   ============================================ */
.section-stats {
    background: var(--navy);
    padding: var(--space-4xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-card:last-child::after {
    display: none;
}

.stat-value {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--teal);
    vertical-align: top;
    line-height: 1;
}

.stat-unit {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    margin-top: var(--space-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-desc {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.contact-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    text-align: center;
    width: 100%;
    max-width: 480px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    color: var(--teal);
}

.contact-card-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-card-hq {
    border-top: 3px solid var(--teal);
}

.contact-card-email {
    border-top: 3px solid var(--red);
}

.contact-card-china {
    border-top: 3px solid var(--purple);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    margin-bottom: var(--space-xl);
}

.footer-logo-img {
    height: 36px;
    width: auto;
    margin: 0 auto var(--space-sm);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out);
}

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


/* ============================================
   VISION & MISSION SECTION (End of Page)
   ============================================ */
.section-vision-mission {
    background: var(--navy-05);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

/* Vertical stack layout for VM */
.vm-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 680px;
    margin: 0 auto;
}

.vm-stack .vm-card {
    text-align: center;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.vm-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.vm-card--vision .vm-card-accent {
    background: linear-gradient(90deg, var(--teal), var(--purple));
}

.vm-card--mission .vm-card-accent {
    background: linear-gradient(90deg, var(--purple), var(--red));
}

/* vm-icon styles removed — icons no longer used */

.vm-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.5px;
}

.vm-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}
/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid--with-photo {
        grid-template-columns: 1fr;
    }

    .about-connexis-img {
        flex: 0 0 200px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-2xl);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--duration-normal) var(--ease-out);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links.open .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 20px;
    }

    .nav-burger {
        display: flex;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero-title-line {
        letter-spacing: -1px;
    }

    .hero-vision-strip {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        text-align: center;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .timeline-item::before {
        display: none;
    }

    .pillars-nav {
        flex-direction: column;
    }

    .pillar-tab {
        justify-content: flex-start;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accel-features {
        grid-template-columns: 1fr;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card::after {
        display: none;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 1.25rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }

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

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

    .pillar-header-row {
        flex-direction: column;
    }

    .about-lead {
        font-size: 18px;
    }
}


/* ============================================
   AI ACCELERATION PROMO — Front Page Section
   ============================================ */
.section-accel-promo {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.section-accel-promo--photo {
    background: transparent;
}

.accel-promo-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.accel-promo-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accel-promo-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(1, 27, 100, 0.88) 0%,
        rgba(2, 29, 110, 0.92) 50%,
        rgba(1, 27, 100, 0.95) 100%
    );
}

.section-accel-promo--photo .container {
    position: relative;
    z-index: 1;
}

.section-accel-promo--photo .section-label {
    background: rgba(0, 177, 176, 0.12);
    color: var(--teal);
}

.section-accel-promo--photo .section-title {
    color: var(--white);
}

.section-accel-promo .section-header {
    margin-bottom: var(--space-lg);
}

.accel-promo-desc {
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* Prize wrap — label above number */
.accel-promo-prize-wrap {
    margin-top: var(--space-md);
}

.accel-promo-prize-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.accel-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.accel-promo-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

.accel-promo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
}

.accel-promo-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.accel-promo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-out);
}

.accel-promo-card:hover .accel-promo-photo img {
    transform: scale(1.05);
}

.accel-promo-content {
    padding: var(--space-xl);
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accel-promo-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.accel-promo-card--teal .accel-promo-card-accent { background: var(--teal); }
.accel-promo-card--purple .accel-promo-card-accent { background: var(--purple); }
.accel-promo-card--red .accel-promo-card-accent { background: var(--red); }

.accel-promo-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.accel-promo-date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.accel-promo-city-highlight {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
}

.accel-promo-card--teal .accel-promo-date { color: var(--teal); }
.accel-promo-card--purple .accel-promo-date { color: var(--purple); }
.accel-promo-card--red .accel-promo-date { color: var(--red); }

.accel-promo-card--teal .accel-promo-city-highlight { color: var(--teal); border: 1px solid rgba(0, 163, 204, 0.3); }
.accel-promo-card--purple .accel-promo-city-highlight { color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.3); }
.accel-promo-card--red .accel-promo-city-highlight { color: var(--red); border: 1px solid rgba(239, 68, 68, 0.3); }

.accel-promo-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.4;
}

.accel-promo-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.btn-outline-dark {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-outline-dark:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .accel-promo-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto var(--space-2xl);
    }

    .accel-promo-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   ACCESSIBILITY — UI/UX Pro Max Guidelines
   ============================================ */

/* Reduced Motion: Disable animations for users who prefer it (CRITICAL) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-orb { animation: none !important; }
    .scroll-line { animation: none !important; }
    .hero-badge-dot { animation: none !important; }

    .hero-badge,
    .hero-title-line,
    .hero-subtitle,
    .hero-ctas,
    .hero-vision-strip {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus States: Visible focus rings on all interactive elements (CRITICAL) */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.pillar-tab:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Cursor: Pointer on all clickable elements */
a, .nav-link, .pillar-tab, .lang-option, .city-card, .btn, .footer-links a {
    cursor: pointer;
}

/* Active/press feedback — subtle scale on cards (150-300ms range) */
.city-card:active,
.accel-card:active,
.training-card:active,
.team-card:active,
.contact-card:active,
.vision-card:active {
    transform: scale(0.98);
    transition: transform 150ms var(--ease-out);
}

/* Skip Link for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    transition: top 200ms;
}

.skip-link:focus {
    top: 12px;
}
