/* =====================================================
   NAVODAYA FOUNDATION - Custom Stylesheet
   Modern, Professional Design System
   Color Palette: Science-inspired (Blue, Green, White)
   ===================================================== */

/* --------------------------------
   CSS Custom Properties (Theme)
   -------------------------------- */
:root {
    /* Primary Colors */
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --primary-rgb: 26, 86, 219;

    /* Secondary Colors */
    --secondary: #059669;
    --secondary-light: #10b981;
    --secondary-dark: #047857;
    --secondary-rgb: 5, 150, 105;

    /* Accent */
    --accent: #7c3aed;
    --accent-light: #a78bfa;

    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a56db 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f4c3a 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(5, 150, 105, 0.05));

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(26, 86, 219, 0.15);

    /* Spacing */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------
   Base / Reset
   -------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------
   Utility Classes
   -------------------------------- */
.section-padding {
    padding: var(--section-padding);
}

.bg-light-custom {
    background: var(--gray-50);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Section Tags & Titles */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   NAVBAR
   ================================ */
#mainNavbar {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: none;
    z-index: 1050;
}

#mainNavbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navbar-logo {
    height: 80px;
    width: 160px;
    object-fit: contain;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar-brand i {
    color: var(--secondary-light);
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 24px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.btn-cta {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-cta:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 60px;
    background: var(--gradient-hero);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(26, 86, 219, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(5, 150, 105, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
    pointer-events: none;
}

.hero-section .container {
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-200px) translateX(50px);
    }
}

.hero-badge .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(96, 165, 250, 0.1); }
    50% { box-shadow: 0 0 30px rgba(96, 165, 250, 0.2), 0 0 60px rgba(52, 211, 153, 0.1); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .text-gradient {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    margin-bottom: 60px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-vision-tab {
    display: inline-block;
    padding: 13px 36px;
    background: linear-gradient(135deg, #1a56db, #059669);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.6px;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(26,86,219,0.45);
}

.btn-vision-tab:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,86,219,0.55);
}

.scroll-indicator {
    animation: bounceDown 2s infinite;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-link i {
    font-size: 1.2rem;
    margin-top: 4px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ================================
   GATEWAY CARDS (Glassmorphism)
   ================================ */
.gateway-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #dbeafe 0%, #e0f2fe 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.gateway-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.08), transparent 70%);
    border-radius: 50%;
}

.gateway-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent 70%);
    border-radius: 50%;
}

.gateway-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gateway-card {
    position: relative;
    padding: 48px 36px;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gateway-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    transition: var(--transition-slow);
}

.bbc-glow {
    background: var(--primary-light);
    top: -60px;
    right: -60px;
}

.foundation-glow {
    background: var(--secondary-light);
    bottom: -60px;
    left: -60px;
}

.gateway-card:hover .card-glow {
    opacity: 0.4;
    transform: scale(1.3);
}

.gateway-card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    transition: var(--transition);
}

.bbc-card .gateway-card-icon {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--primary-rgb), 0.04));
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.foundation-card .gateway-card-icon {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.12), rgba(var(--secondary-rgb), 0.04));
    color: var(--secondary);
    border: 1px solid rgba(var(--secondary-rgb), 0.1);
}

.gateway-card:hover .gateway-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.gateway-card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.gateway-card-badge.accent {
    background: rgba(var(--secondary-rgb), 0.08);
    color: var(--secondary);
}

.gateway-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.gateway-card-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.gateway-card-action {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.foundation-card .gateway-card-action {
    color: var(--secondary);
}

.gateway-card:hover .gateway-card-action {
    gap: 4px;
}

/* ================================
   VISION SECTION
   ================================ */
.vision-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.02), rgba(var(--secondary-rgb), 0.03));
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.vision-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vision-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.vision-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.vision-icon.mission-icon {
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

.vision-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.vision-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: var(--gray-600);
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

/* Vision Visual (Orbit Animation) */
.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    position: relative;
}

.vision-visual::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vision-circle {
    position: relative;
    width: 340px;
    height: 340px;
}

/* Dashed orbit ring */
.vision-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(var(--primary-rgb), 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.inner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.35), 0 0 60px rgba(var(--primary-rgb), 0.15);
    animation: pulse 3s infinite ease-in-out;
    z-index: 2;
}

.center-icon {
    color: var(--white);
    font-size: 2.5rem;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 82px;
    height: 82px;
    margin: -41px 0 0 -41px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
    animation: orbitFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    z-index: 3;
    transition: box-shadow 0.3s ease;
}

.orbit-item:hover {
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.orbit-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 4px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.3), 0 0 40px rgba(var(--primary-rgb), 0.1); }
    50% { box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.45), 0 0 60px rgba(var(--primary-rgb), 0.2); }
}

@keyframes orbitFloat {
    0%, 100% { transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle))) translateY(0); }
    50% { transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle))) translateY(-10px); }
}

/* ================================
   INITIATIVE CARDS
   ================================ */
.initiatives-section {
    padding: 40px 0 var(--section-padding);
    background: linear-gradient(180deg, #eef2ff 0%, #e0f2fe 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.initiatives-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06), transparent 70%);
    border-radius: 50%;
}

.initiatives-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.06), transparent 70%);
    border-radius: 50%;
}

/* ---- Initiative Tabs ---- */
.initiative-tabs {
    gap: 12px;
}

.initiative-tabs .nav-link {
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px !important;
    border-radius: var(--radius-lg);
    color: #1e3a5f !important;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.initiative-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.initiative-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.initiative-tabs .nav-link::after {
    display: none !important;
}

.initiative-tab-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
}

.initiative-tab-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.initiative-tab-subtitle {
    font-size: 0.95rem;
}

.initiative-tab-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.initiative-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.initiative-highlights li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ---- Phase Badge ---- */
.phase-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* ---- CIBIP Timeline ---- */

/* ---- Bio Entrepreneurship Course Card ---- */
.bec-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.bec-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.bec-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.bec-modules {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.bec-module {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
}

.bec-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bec-module strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.bec-module span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ---- IBIP Partner Chips ---- */
.ibip-partner-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ibip-partner-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
}

.ibip-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.ibip-partner-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ibip-initials {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.ibip-partner-chip strong {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.ibip-partner-chip small {
    font-size: 0.78rem;
}

/* ---- Future Plans Cards ---- */
.future-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.future-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
}

.future-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.future-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ---- CIBIP Timeline ---- */
.cibip-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 0;
}

/* centre line */
.cibip-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, #2563eb 0%, #34d399 50%, #2563eb 100%);
    border-radius: 4px;
    transform: translateX(-50%);
}

.cibip-tl-item {
    position: relative;
    width: 50%;
    padding: 16px 40px;
    box-sizing: border-box;
}

.cibip-tl-item.left {
    left: 0;
    text-align: right;
    padding-right: 48px;
}

.cibip-tl-item.right {
    left: 50%;
    text-align: left;
    padding-left: 48px;
}

/* dot on the centre line */
.cibip-tl-dot {
    position: absolute;
    top: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.cibip-tl-item.left .cibip-tl-dot {
    right: -22px;
}

.cibip-tl-item.right .cibip-tl-dot {
    left: -22px;
}

/* card */
.cibip-tl-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cibip-tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

.cibip-tl-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cibip-tl-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
}

/* ---- Responsive: stack on mobile ---- */
@media (max-width: 767.98px) {
    .cibip-timeline::before {
        left: 22px;
    }

    .cibip-tl-item,
    .cibip-tl-item.left,
    .cibip-tl-item.right {
        left: 0;
        width: 100%;
        text-align: left;
        padding-left: 64px;
        padding-right: 16px;
    }

    .cibip-tl-item.left .cibip-tl-dot,
    .cibip-tl-item.right .cibip-tl-dot {
        left: 0;
        right: auto;
    }
}

/* ---- Existing Initiative Cards (Initiatives Page) ---- */
.initiative-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 0 0 32px 0;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.initiative-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.initiative-card:hover::before {
    transform: scaleX(1);
}

.initiative-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    position: relative;
}

.initiative-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.initiative-card:hover .initiative-card-img img {
    transform: scale(1.08);
}

/* initiative-card inner content styles are defined in the INITIATIVE CARD section below */

/* ================================
   IMPACT SECTION (Homepage)
   ================================ */
.impact-section {
    padding: var(--section-padding);
    background: var(--gradient-hero);
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(26, 86, 219, 0.1), transparent);
}

.impact-metric-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.impact-metric-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 2rem;
    color: var(--secondary-light);
    margin-bottom: 12px;
}

.impact-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.impact-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-light);
}

.impact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================
   COLLABORATIONS
   ================================ */
.collab-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

.partner-card {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.03));
}

.partner-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.04));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-icon {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    letter-spacing: 0.2px;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2), transparent);
    border-radius: 50%;
}

.cta-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.3);
}

.btn-cta-large:hover {
    color: var(--white);
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.4);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ================================
   PAGE HEADER (Inner Pages)
   ================================ */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(26, 86, 219, 0.15), transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(5, 150, 105, 0.1), transparent 50%);
}

.page-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 16px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-placeholder {
    background: var(--gradient-card);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
}

.about-section-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.about-section-icon.mission-bg {
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

.glass-card-light {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-card-light:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.mission-list-detailed {
    list-style: none;
    padding: 0;
}

.mission-list-detailed li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.mission-list-detailed li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Value Cards */
.value-card {
    padding: 32px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* ================================
   FOUNDERS PAGE
   ================================ */
.founder-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.founder-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.founder-avatar {
    min-width: 100px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.founder-name {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.founder-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.founder-bio {
    color: var(--gray-600);
    font-size: 0.92rem;
}

.expertise-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin: 2px;
}

.advisor-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.advisor-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advisor-avatar {
    font-size: 3rem;
    color: var(--primary-light);
}

/* ================================
   JOURNEY / TIMELINE
   ================================ */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 60px;
    margin-bottom: 30px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 60px;
    padding-left: 20px;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
    padding-right: 20px;
}

.timeline-dot {
    position: absolute;
    top: 28px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--white), var(--shadow-md);
}

.timeline-item.left .timeline-dot {
    right: -22px;
}

.timeline-item.right .timeline-dot {
    left: -22px;
}

.timeline-content {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.timeline-year {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ================================
   INITIATIVES PAGE
   ================================ */
.initiative-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.initiative-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.initiative-detail-header {
    padding: 32px;
    text-align: center;
    color: var(--white);
    font-size: 2.5rem;
}

.initiative-detail-body {
    padding: 28px;
}

.initiative-detail-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.initiative-detail-body p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.initiative-highlights {
    margin-top: 16px;
}

.initiative-highlights h6 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.initiative-highlights ul {
    list-style: none;
    padding: 0;
}

.initiative-highlights li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.initiative-highlights li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.75rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

.status-badge.upcoming {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.status-badge i {
    font-size: 0.4rem;
}

/* ================================
   IMPACT PAGE
   ================================ */
.impact-page-card {
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.impact-page-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.impact-page-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.impact-page-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.impact-page-suffix {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.impact-page-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impact-area-card {
    padding: 32px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.impact-area-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.impact-area-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.impact-area-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.impact-area-card p {
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.achievement-card {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--primary);
}

.achievement-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.achievement-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ================================
   SUPPORT PAGE
   ================================ */
.support-stat-item {
    padding: 18px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: var(--radius);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.support-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
}

.support-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.support-icon-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.support-icon-item i {
    font-size: 2rem;
    color: var(--primary);
}

.support-icon-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.support-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.support-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.support-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.support-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 18px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.support-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.support-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.support-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.support-features .bi-check-circle-fill {
    color: var(--secondary);
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-form-wrapper {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .input-group-text {
    border-color: var(--gray-200);
    font-size: 0.95rem;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-form-wrapper .input-group-text {
    background: var(--gray-50);
    color: var(--gray-500);
}

.contact-info-wrapper {
    padding: 40px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item h6 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--primary);
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

.map-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-inner {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    color: var(--gray-400);
}

.map-inner i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

/* ================================
   FOOTER
   ================================ */
.footer-section {
    background: var(--dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    color: var(--white);
    font-family: var(--font-display);
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-brand i {
    color: var(--secondary-light);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--secondary-light);
}

.footer-contact i {
    color: var(--secondary-light);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: var(--section-padding-sm);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }
    
    .timeline-item.left {
        left: 0;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item .timeline-dot {
        left: -2px !important;
        right: auto !important;
    }
    
    .gateway-card {
        min-height: auto;
        padding: 36px 28px;
    }
    
    .vision-visual {
        min-height: 300px;
        margin-top: 40px;
    }
    
    .vision-circle {
        width: 280px;
        height: 280px;
    }
    
    .orbit-item {
        transform: rotate(var(--angle)) translateX(125px) rotate(calc(-1 * var(--angle)));
    }
    
    @keyframes orbitFloat {
        0%, 100% { transform: rotate(var(--angle)) translateX(125px) rotate(calc(-1 * var(--angle))) translateY(0); }
        50% { transform: rotate(var(--angle)) translateX(125px) rotate(calc(-1 * var(--angle))) translateY(-6px); }
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .founder-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .hero-actions .me-3 {
        margin-right: 0 !important;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
    }
    
    .impact-number,
    .impact-page-number {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .contact-info-wrapper {
        padding: 24px;
    }
    
    #mainNavbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 20px;
        margin-top: 10px;
    }

    .trust-items {
        flex-wrap: wrap;
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .vision-visual {
        display: none;
    }
    
    .support-icon-grid {
        padding: 20px;
        gap: 12px;
    }
}

/* ================================
   HERO VISUAL (Floating Cards)
   ================================ */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-visual {
    position: relative;
    height: 480px;
    perspective: 1000px;
}

.hero-visual-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-visual-card .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-visual-card.card-1 {
    width: 240px;
    height: 160px;
    top: 20px;
    right: 30px;
    transform: rotate(-3deg);
    animation: floatCard1 6s ease-in-out infinite;
    z-index: 3;
}

.hero-visual-card.card-2 {
    width: 210px;
    height: 140px;
    top: 140px;
    right: 180px;
    transform: rotate(4deg);
    animation: floatCard2 7s ease-in-out infinite;
    z-index: 2;
}

.hero-visual-card.card-3 {
    width: 220px;
    height: 150px;
    top: 280px;
    right: 50px;
    transform: rotate(-2deg);
    animation: floatCard3 8s ease-in-out infinite;
    z-index: 1;
}

.hero-visual-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.hero-float-badge {
    position: absolute;
    bottom: 40px;
    right: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    animation: floatCard2 5s ease-in-out infinite;
    z-index: 4;
}

.hero-float-badge i {
    color: var(--secondary-light);
    font-size: 1.1rem;
}

@keyframes floatCard1 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-15px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-12px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-18px); }
}

/* Hero Trust Badges */
.hero-trust {
    display: flex;
}

.trust-items {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--secondary-light);
    font-size: 1rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* ================================
   GATEWAY CARD IMAGES
   ================================ */
.gateway-card-img {
    width: 100%;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.gateway-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gateway-card:hover .gateway-card-img img {
    transform: scale(1.08);
}

/* Initiative card inner content padding */
.initiative-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin: -28px 0 16px 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.initiative-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 0 28px;
}

.initiative-card-text {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 16px;
    padding: 0 28px;
    flex: 1;
}

.initiative-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    transition: var(--transition);
}

.initiative-card-link:hover {
    color: var(--primary-dark);
    gap: 4px;
}

/* ================================
   ANIMATIONS & EFFECTS
   ================================ */
/* Fade in on scroll (handled by AOS) */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Smooth hover lift for all cards */
.initiative-card,
.value-card,
.partner-card,
.impact-metric-card,
.support-card,
.advisor-card,
.glass-card-light {
    will-change: transform;
}

/* Gateway card transition */
.gateway-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

/* Typing cursor on hero */
.hero-title::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--secondary-light);
    margin-left: 4px;
    animation: blink 1.2s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Shimmer effect on CTA buttons */
.btn-hero-primary {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0%, 100% { left: -60%; }
    50% { left: 120%; }
}

/* Animated gradient background for impact section */
.impact-section {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
