/* Global Variables & Reset */
:root {
    --primary-color: #0B1F3A;
    /* Navy Blue */
    --secondary-color: #C9A227;
    /* Gold */
    --accent-color: #D4AF37;
    /* Lighter Gold */
    --text-color: #1F2937;
    --bg-color: #FFFFFF;
    --footer-bg: #111827;
    --white: #FFFFFF;

    --font-main: 'Inter', sans-serif;

    --container-width: 1200px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    /* Premium Image Background */
    background-color: #f3f4f6;
    background-image: url('../banners/bg-premium.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center 85px;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Glassmorphism Utility - ULTRA CLEAR */
.glass-effect,
.id-card,
.pillar-item,
.offer-card,
.roadmap-item,
.testimonial-card,
.faq-item,
.stat-card,
.card {
    /* Much lower opacity for real "glass" look */
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Frosted border */
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    color: var(--text-color);
}

/* Enhancing Hover for Glass Cards */
.id-card:hover,
.pillar-item:hover,
.offer-card:hover,
.roadmap-item:hover,
.testimonial-card:hover,
.card:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-8px);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-size: 1.125rem;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary {
    color: var(--primary-color);
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

section {
    padding: var(--section-padding);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #F1F5F9;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px !important;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: 28px !important;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: #1F2937 !important;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color) !important;
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    /* Accounts for fixed header */
    padding-bottom: 100px;
    background: transparent;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%) scale(1.15);
    /* Scaled to hide watermark */
    object-fit: cover;
    pointer-events: none;
    filter: blur(1px);
    /* Minimal blur per user feedback */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 2;
}

/* Bento Grid System */
/* Vertical Tiers System */
.vertical-tier {
    margin-bottom: 80px;
    position: relative;
}

.tier-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tier-title h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin: 0;
}

.tier-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Premium Glass Bento */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.bento-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

.tier-academic .bento-item:hover {
    border-color: #3B82F6;
    box-shadow: 0 40px 80px -20px rgba(59, 130, 246, 0.1);
}

.tier-clinical .bento-item:hover {
    border-color: #EF4444;
    box-shadow: 0 40px 80px -20px rgba(239, 68, 68, 0.1);
}

.tier-future .bento-item:hover {
    border-color: #10B981;
    box-shadow: 0 40px 80px -20px rgba(16, 185, 129, 0.1);
}

.bento-item h5 {
    color: var(--primary-color);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.bento-item h3 {
    font-size: 1.3rem;
    font-weight: 850;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #000;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

.bento-item .quote {
    font-style: italic;
    color: #4B5563;
    font-size: 0.95rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.bento-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1F2937;
    margin-bottom: 20px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}


.bento-item ul {
    list-style: none;
    padding: 0;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.bento-item li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    color: #111;
    font-weight: 500;
}

.bento-item li i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 0.8rem;
}

.bento-span-2-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-span-2-1 {
    grid-column: span 2;
}

.v-pattern::before {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to top left, black, transparent);
    -webkit-mask-image: linear-gradient(to top left, black, transparent);
}

.bento-dark {
    background: #111827 !important;
    border: none;
}

.bento-dark h3,
.bento-dark h5,
.bento-dark p,
.bento-dark li {
    color: white !important;
}

.bento-dark .quote {
    color: #9CA3AF;
}

.bento-dark li i {
    color: #FF7070;
}

.bento-accent {
    background: var(--primary-color);
    color: white;
    border: none;
}

.bento-accent:hover {
    background: #e61b1b !important;
    /* Slightly more intense red */
    box-shadow: 0 40px 80px -20px rgba(201, 162, 39, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.bento-dark:hover {
    background: #0a0f1a !important;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4) !important;
}

.bento-accent h3,
.bento-accent h5,
.bento-accent p,
.bento-accent li {
    color: white !important;
}

.bento-accent .quote {
    color: rgba(255, 255, 255, 0.8);
}

.bento-accent li i {
    color: white;
}

.v-badge {
    display: inline-block;
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bento-accent .v-badge {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-span-2-2,
    .bento-span-2-1 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {

    .bento-grid,
    .wellness-grid,
    .programs-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: 1fr !important;
    }

    /* Override inline grid minmax values causing overflow on ultra-small screens */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Reset inline min-width on flex items that push out the viewport width */
    div[style*="min-width"] {
        min-width: 0 !important;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

/* Zoom-Out Entrance Animation for Hero Content */
@keyframes heroZoomOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text .ai-badge-wrapper {
    display: inline-block;
}

.hero-text h1 {
    display: block;
}

.hero-text h3 {
    display: block;
}

.hero-text p {
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
}

/* Identity Section (About + Mission/Vision) */
.identity-section {
    padding: 100px 0;
    background-color: transparent;
    overflow: hidden;
}

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.identity-content {
    max-width: 600px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.6;
}

.feature-highlight {
    background: #F9FAFB;
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 24px;
    color: var(--secondary-color);
    background: rgba(201, 162, 39, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.highlight-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #4B5563;
}

/* Identity Cards */
.identity-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.id-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.id-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.vision-card .card-icon-bg {
    background: rgba(0, 194, 203, 0.1);
    color: var(--secondary-color);
}

.mission-card .card-icon-bg {
    background: rgba(0, 194, 203, 0.1);
    color: var(--secondary-color);
}

.id-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.id-card p {
    font-size: 1.05rem;
    color: #6B7280;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Simple responsive check */
@media (max-width: 992px) {
    .identity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Target Audience */
.audience {
    background-color: rgba(249, 250, 251, 0.4);
}

.audience-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 194, 203, 0.15);
}

.card h3 {
    margin-top: 20px;
    color: var(--text-color);
}

.card-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Core Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 50px;
}

.pillar-item {
    padding: 30px;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 194, 203, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 32px;
    transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: rotateY(360deg);
}



/* How It Works Section */
.how-it-works {
    text-align: center;
    background-color: var(--white);
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 50px;
    /* Center with icons */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #E5E7EB;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0 10px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 10px var(--white);
    /* White ring to mask line */
}

.timeline-step:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 0 10px var(--white), 0 10px 20px rgba(201, 162, 39, 0.2);
}

.step-content {
    margin-top: 20px;
}

.step-number {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.step-content p {
    font-size: 0.95rem;
    color: #6B7280;
}

/* Testimonials Section */
.testimonials {
    background-color: rgba(243, 244, 246, 0.4);
    text-align: center;
    position: relative;
    padding: 80px 0;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    margin-top: 50px;
    overflow: hidden;
    padding: 20px 5px;
    /* Add padding for shadow visibility */
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 33.33%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-btn {
    background: var(--white);
    border: 1px solid #E5E7EB;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #D1D5DB;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

.quote-icon {
    font-size: 24px;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #4B5563;
    margin-bottom: 20px;
    font-size: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 20px;
}

.user-details h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-details span {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Community Section */
.community {
    background: var(--text-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 100px 0;
}

/* Simple background pattern */
.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 194, 203, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.community h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.community p {
    color: #E5E7EB;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Instagram Profile Card Mockup */
.instagram-card-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.insta-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    max-width: 450px;
    width: 100%;
    color: #000000;
    text-align: left;
    border: 1px solid #dbdbdb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.insta-header-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    /* Ensure full width usage */
}

.insta-profile-pic {
    width: 70px;
    /* Reduced slightly */
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #dbdbdb;
    padding: 2px;
    margin-right: 15px;
    /* Reduced margin */
    flex-shrink: 0;
}

.insta-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 3px;
    box-sizing: border-box;
    border-radius: 50%;
}

.insta-stats-mobile {
    display: flex;
    flex: 1;
    justify-content: space-between;
    /* Use space-between instead of around */
    text-align: center;
    gap: 10px;
    /* Reduced gap */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    /* Allow shrinking */
}

.stat-count {
    font-weight: 600;
    font-size: 16px;
    /* Slightly reduced */
    color: #000000;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    /* Slightly reduced */
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Extra small devices */
@media (max-width: 380px) {
    .insta-profile-pic {
        width: 60px;
        height: 60px;
        margin-right: 8px;
    }

    .stat-label {
        font-size: 11px;
        /* Reduced to fit 'Following' */
        /* letter-spacing: -0.5px; */
        /* Tighten text */
    }

    .stat-count {
        font-size: 14px;
    }

    .insta-stats-mobile {
        gap: 2px;
        /* Minimal gap */
    }
}

.insta-bio-mobile {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 20px;
}

.username-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.username {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000000;
}

.verified-badge {
    color: #3897f0;
    font-size: 0.8rem;
}

.category-label {
    color: #000000;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.bio-text {
    margin-bottom: 5px;
}

.website-link {
    color: #00376b;
    text-decoration: none;
    font-weight: 600;
}

.website-link:hover {
    text-decoration: underline;
}

.insta-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.insta-btn {
    flex: 1;
    padding: 6px 0;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.insta-btn.primary {
    background-color: #0095f6;
    color: white;
}

.insta-btn.secondary {
    background-color: #efefef;
    color: #000000;
    border: 1px solid #dbdbdb;
}

.insta-btn:hover {
    opacity: 0.8;
}

.insta-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    border-top: 1px solid #dbdbdb;
    padding-top: 15px;
}

.gallery-item {
    background-color: #efefef;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    opacity: 0.9;
}

.insta-follow-btn-external {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
    transition: all 0.3s ease;
}

.insta-follow-btn-external:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.6);
    color: white;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure cards in same row are same height */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
    /* Placeholder color before image loads */
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.03);
}

.news-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

.no-news,
.error-msg {
    text-align: center;
    width: 100%;
    color: #6b7280;
    padding: 20px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-container {
        height: 70px !important;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-line {
        width: 4px;
        height: 100%;
        left: 50px;
        /* Align with icons based on new layout */
        top: 0;
        transform: translateX(-50%);
        display: block;
        /* Ensure it stays */
    }

    .timeline-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        padding-left: 0;
    }

    .step-icon {
        margin: 0 20px 0 0;
        /* Right margin for spacing */
        width: 80px;
        height: 80px;
        font-size: 28px;
        flex-shrink: 0;
        border-width: 3px;
        background-color: var(--white);
        /* Ensure it covers the line */
        z-index: 2;
    }

    .step-content {
        margin-top: 10px;
    }

    .audience-grid {
        flex-direction: column;
    }

    .testimonial-slide {
        min-width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* FAQ Section */
.faq {
    background-color: var(--white);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #F9FAFB;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #F3F4F6;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 600;
}

.faq-question i {
    color: #9CA3AF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white);
}

.faq-answer p,
.faq-answer ul {
    padding: 20px;
    margin-bottom: 0;
    color: #4B5563;
    border-top: 1px solid #E5E7EB;
}

.faq-answer ul {
    padding-left: 40px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
}

/* Community Section Redesign */
.community {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 100px 0;
}

/* Background Pattern Overlay */
.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 194, 203, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(201, 162, 39, 0.15) 0%, transparent 25%);
    pointer-events: none;
    z-index: 1;
}

.community-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.community h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.community p {
    color: #94A3B8;
    font-size: 1.25rem;
    margin-bottom: 50px;
}

.community strong {
    color: var(--white);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: #CBD5E1;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
    margin-bottom: 0;
}

/* CTA Styling */
.btn-lg {
    padding: 16px 48px;
    font-size: 1.2rem;
    border-radius: 50px;
    /* Pill shape */
}

.cta-subtext {
    font-size: 0.9rem !important;
    color: #64748B !important;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Responsive Community */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .community h2 {
        font-size: 2rem;
    }
}

/* Vision & Mission */
.vision-mission {
    padding: 60px 0;
    background-color: #F9FAFB;
}

.vision-mission-grid {
    display: flex;
    gap: 30px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.vm-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Waht We Offer - Legacy styles removed. Now uses Unified Premium Grid System */
.offerings {
    background-color: #F3F4F6;
    padding: 80px 0;
}


@media (max-width: 768px) {
    .vision-mission-grid {
        flex-direction: column;
    }
}

/* Why Choose */
.why-choose {
    padding: 80px 0;
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: #F9FAFB;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    background: #F3F4F6;
}

.why-card i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.95rem;
    color: #6B7280;
}

/* Expanded Audience Grid */
.audience-grid-expanded {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.audience-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.audience-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.audience-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.audience-card h4 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: #1F2937;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid-expanded {
        grid-template-columns: 1fr;
    }
}

/* Roadmap, Offerings & Pillars Section - Vertical Glowing Timeline */
.roadmap,
.pillars {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Timeline/Stack Container (Roadmap & Pillars Only) */
.roadmap-grid,
.pillar-grid {
    display: block;
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Central Glowing Line (Roadmap Only) */
.roadmap-grid::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--secondary-color), var(--primary-color), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 15px rgba(0, 194, 203, 0.5);
    border-radius: 2px;
}

/* Glass Cards (Shared Base) */
.roadmap-item,
.pillar-card,
.offer-card,
.why-card,
.audience-card {
    padding: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    /* Glass opacity */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Stack Specific Items (Roadmap & Pillars) */
.roadmap-item,
.pillar-card {
    width: 45%;
    margin-bottom: 50px;
    clear: both;
}

/* Initial hidden state for roadmap items (for scroll animation) */
.roadmap-item {
    opacity: 0.5;
    transform: translateY(20px);
    filter: blur(2px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

/* Alternating Sides (Roadmap & Pillars) */
.roadmap-item:nth-child(odd),
.pillar-card:nth-child(odd) {
    float: left;
    text-align: right;
    border-right: 4px solid var(--secondary-color);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.roadmap-item:nth-child(even),
.pillar-card:nth-child(even) {
    float: right;
    text-align: left;
    border-left: 4px solid var(--primary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

/* Glowing Markers (Roadmap) */
.roadmap-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 30px;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(0, 194, 203, 0.2), 0 0 10px var(--secondary-color);
    transition: all 0.3s ease;
}

/* Program Numbers (Pillars & Offers) */
.program-number {
    position: absolute;
    font-size: 5rem;
    font-weight: 800;
    top: -20px;
    opacity: 0.15;
    z-index: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

/* Partner Logos (Verticals) */
.vertical-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

/* Positioning Markers & Numbers (Stack Context) */
.roadmap-item:nth-child(odd) .roadmap-marker {
    right: -66px;
}

.pillar-card:nth-child(odd) .program-number {
    right: auto;
    left: 20px;
    /* Pillars adjusted to left */
    color: var(--secondary-color);
}

.roadmap-item:nth-child(even) .roadmap-marker {
    left: -66px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2), 0 0 10px var(--primary-color);
}

.pillar-card:nth-child(even) .program-number {
    left: auto;
    right: 20px;
    /* Pillars adjusted to right */
    color: var(--primary-color);
}

/* Offerings Number Positioning (Grid Context) */
.offer-card .program-number {
    right: 20px;
    color: var(--primary-color);
    /* Default to primary */
}

/* Connector Lines (Roadmap) */
.roadmap-item::before {
    content: '';
    position: absolute;
    top: 38px;
    width: 56px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.roadmap-item:nth-child(odd)::before {
    right: -56px;
}

.roadmap-item:nth-child(even)::before {
    left: -56px;
}

/* Unified Hover Effects */
.roadmap-item:hover,
.pillar-card:hover,
.offer-card:hover,
.why-card:hover,
.audience-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

.roadmap-item:hover .roadmap-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(0, 194, 203, 0.4), 0 0 20px var(--secondary-color);
}

.pillar-card:hover .program-number,
.offer-card:hover .program-number {
    opacity: 0.3;
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
}

.roadmap-item:nth-child(even):hover .roadmap-marker {
    box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.4), 0 0 20px var(--primary-color);
}

.roadmap-item:hover::before {
    background: var(--secondary-color);
    width: 56px;
}

.roadmap-item:nth-child(even):hover::before {
    background: var(--primary-color);
}

/* Fix floating clearing */
.roadmap-grid::after,
.pillar-grid::after {
    clear: both;
}

/* =========================================
   Roadmap Scroll Animation States (Restored)
   ========================================= */
.roadmap-grid.animating .roadmap-item {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(3px);
    z-index: 2;
    /* Ensure items sit above the line */
    position: relative;
    /* Needed for z-index */
}

.roadmap-grid.animating .roadmap-item.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Active State for Marker (mimics hover) */
.roadmap-item.active .roadmap-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(0, 194, 203, 0.3), 0 0 15px var(--secondary-color);
}

.roadmap-item:nth-child(even).active .roadmap-marker {
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.3), 0 0 15px var(--primary-color);
}

/* Connectors Active State */
.roadmap-item.active::before {
    background: var(--secondary-color);
    width: 56px;
}

.roadmap-item:nth-child(even).active::before {
    background: var(--primary-color);
}

/* Progress Line (Animated) - Previously Missing */
.roadmap-line-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    height: 0%;
    /* JS grows this */
    transition: height 0.1s linear;
    box-shadow: 0 0 15px rgba(0, 194, 203, 0.6);
    /* Glow */
    z-index: 1;
}


/* =========================================
   Unified Premium Grid System (Offerings, Why Choose, Audience)
   ========================================= */

.offer-grid,
.why-grid,
.audience-grid-expanded {
    display: grid;
    gap: 30px;
    margin-top: 60px;
}

/* Grid Columns */
.offer-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 Cols for 10 items */
}

.why-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 Cols for 3 items */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.audience-grid-expanded {
    grid-template-columns: repeat(3, 1fr);
    /* 3 Cols for 6 items */
}

/* Override Specific Styles to Match Premium Card Base */
.why-card,
.audience-card,
.offer-card,
.pillar-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.why-card i,
.audience-card i,
.offer-card i,
.pillar-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(135deg, var(--secondary-color), #3B82F6);
    background: linear-gradient(135deg, var(--secondary-color), #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 10px 20px rgba(0, 194, 203, 0.2);
}

.why-card h3,
.audience-card h4,
.offer-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.offer-card h4 {
    font-size: 1.2rem;
    z-index: 1;
    /* Above number */
}

/* Mobile Responsiveness for Grids */
@media (max-width: 992px) {

    .offer-grid,
    .why-grid,
    .audience-grid-expanded {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {


    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* Force strictly equal width */
        gap: 15px;
        padding: 0 20px;
        /* Increased to stop edge sticking */
        box-sizing: border-box;
    }

    .why-grid,
    .audience-grid-expanded {
        grid-template-columns: 1fr;
    }
}

/* Content Styling */
.roadmap-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.roadmap-content p {
    font-size: 1rem;
    color: #4B5563;
    margin: 0;
}

/* Mobile Responsiveness for Timeline/Stack (Roadmap/Pillars) */
@media (max-width: 768px) {

    .roadmap-grid,
    .pillar-grid {
        margin-left: 20px;
        margin-right: 20px;
    }

    .roadmap-grid {
        border-left: 4px solid var(--secondary-color);
        padding-left: 30px;
    }

    .pillar-grid {
        padding-left: 0;
        /* No border for pillars stack */
    }

    .roadmap-grid::after {
        display: none;
    }

    .roadmap-item {
        width: 100%;
        float: none;
        margin-bottom: 30px;
        text-align: left;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.6);
    }

    /* Cancel Odd/Even Floats & Borders for Stack */
    /* Container Settings for Mobile Zig-Zag (Reset Grid) */
    .pillar-grid {
        display: block;
        margin-left: 4px;
        margin-right: 4px;
        padding-left: 0;
    }

    /* Cancel Odd/Even Floats & Borders for Stack (Roadmap ONLY) */

    .roadmap-item:nth-child(odd),
    .roadmap-item:nth-child(even) {
        float: none;
        text-align: left;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    /* Roadmap Stack Accents */
    .roadmap-item:nth-child(odd),
    .roadmap-item:nth-child(even) {
        border-left: 4px solid var(--secondary-color);
    }

    .roadmap-item:nth-child(even) {
        border-left-color: var(--primary-color);
    }

    /* Pillars Mobile Zig-Zag Layout (Restoring Desktop Feel) */
    .pillar-card {
        width: 85%;
        margin-bottom: 100px;
        clear: both;
        float: none;
        padding: 30px;
    }

    .pillar-card:nth-child(odd) {
        float: left;
        margin-right: auto;
        text-align: right;
        border-right: 4px solid var(--secondary-color);
        border-left: 1px solid rgba(255, 255, 255, 0.6);
        border-top: 1px solid rgba(255, 255, 255, 0.6);
        /* Reset top border */
    }

    .pillar-card:nth-child(even) {
        float: right;
        margin-left: auto;
        text-align: left;
        border-left: 4px solid var(--primary-color);
        border-right: 1px solid rgba(255, 255, 255, 0.6);
        border-top: 1px solid rgba(255, 255, 255, 0.6);
        /* Reset top border */
    }



    .roadmap-marker,
    .roadmap-item::before {
        display: none;
    }

    /* Adjust Number Position for Mobile Pillars */
    /* Restore Desktop Number Position for Mobile Pillars */
    .pillar-card:nth-child(odd) .program-number {
        left: 15px;
        right: auto;
        top: -20px;
        font-size: 5rem;
    }

    .pillar-card:nth-child(even) .program-number {
        right: 15px;
        left: auto;
        top: -20px;
        font-size: 5rem;
    }
}

/* About Us Redesign */
.about {
    background-color: var(--white);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
    font-size: 2.8rem;
}

.about-list {
    list-style: none;
    margin-top: 30px;
    display: flex;
    gap: 25px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.about-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-card {
    background: #F9FAFB;
    padding: 50px;
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 200px;
    color: rgba(201, 162, 39, 0.03);
    font-family: serif;
    line-height: 1;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-card {
        padding: 40px 30px;
        text-align: left;
    }
}

/* Responsive adjustments for 3-column grids */


@media (max-width: 576px) {

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

/* Center the last item (Digital Learning Modules) in the 3-column grid */
.offer-grid .offer-card:last-child {
    grid-column: 2;
}

/* Reset for responsiveness */
@media (max-width: 992px) {
    .offer-grid .offer-card:last-child {
        grid-column: auto;
    }
}

/* Force Mobile Grid styles at the end to override previous rules */
@media (max-width: 600px) {
    .offer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
        padding: 0 20px !important;
        width: 100% !important;
        margin: 0 auto !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .offer-grid .offer-card {
        padding: 15px !important;
    }

    .offer-grid .offer-card h4 {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
    }

    .offer-grid .offer-card i {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }
}

/* Increase font size for section headings (h5) as requested */
h5 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fix navbar button text color */
.nav-links .btn-primary {
    color: var(--white);
}

/* Premium Animations - Staggered Entry */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: opacity, transform;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Premium Card Hover - Lift & Glow */
.premium-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.premium-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 194, 203, 0.1);
}

/* Advanced Hero Animations */
.hero-text h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

.hero-image img {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Premium Navbar - Glassmorphism & Scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Animated 'WHO WE ARE' Staggered Chars */
.char-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px) rotate(5deg);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.char-reveal.visible span {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Ensure sections are transparent so body background shows through */
section,
.about,
.identity-section,
.roadmap,
.faq,
.testimonials,
.programs {
    background-color: transparent !important;
}

/* Fix specific backgrounds that might block the mesh */
.feature-highlight {
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-question {
    background-color: rgba(255, 255, 255, 0.4);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   "How It Works" / Easy Steps Timeline
   (Mirrors Roadmap Logic for consistency)
   ========================================= */
/* =========================================
   "How It Works" (Restored Vertical Design)
   ========================================= */
.how-it-works {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 10;
    /* Ensure it sits on top if needed */
}

/* Container for the specific step items */
.steps-grid {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 80px;
    /* Increased padding */
    /* Space for the line */
}

/* Static Rail (Left Side) */
.steps-grid::before {
    content: '';
    position: absolute;
    left: 40px;
    /* Moved inward */
    /* Line position */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
    /* Light grey rail */
    z-index: 0;
}

/* Animated Progress Line */
.steps-line-progress {
    position: absolute;
    left: 40px;
    /* Aligned with rail */
    top: 0;
    width: 2px;
    background: var(--primary-color);
    /* Red fill */
    height: 0%;
    transition: height 0.2s linear;
    z-index: 1;
}

/* Step Item Container */
.steps-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    clear: both;
    z-index: 2;
    /* Ensure items (and markers) sit above the line */

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(20px);
    filter: blur(3px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.steps-item.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Marker Circle (Icon Container) */
.steps-marker {
    position: absolute;
    left: -70px;
    /* Calculated: 10px (pos) - 80px (padding) */
    /* - (padding-left) */
    top: 0;
    width: 60px;
    /* Increased size */
    height: 60px;
    /* Increased size */
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 4px #ffffff;
    /* White breathing room around line */
    transition: all 0.3s ease;
}

.steps-marker i {
    color: var(--primary-color);
    font-size: 1.5rem;
    /* Increased icon size */
}

/* Marker Active State */
.steps-item.active .steps-marker {
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.2);
}

.steps-item.active .steps-marker i {
    color: #ffffff;
}

/* Content Styling */
.steps-content {
    margin-left: 10px;
    /* Adjusted margin */
}

.step-label {
    color: var(--secondary-color);
    /* Teal */
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.steps-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    /* Dark text */
    margin-bottom: 10px;
}

.steps-content p {
    color: #6B7280;
    /* Grey text */
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-grid {
        padding-left: 70px;
    }

    .steps-grid::before,
    .steps-line-progress {
        left: 30px;
    }

    .steps-marker {
        left: -64px;
        width: 48px;
        height: 48px;
    }

    .steps-marker i {
        font-size: 1.2rem;
    }

    .steps-content h3 {
        font-size: 1.3rem;
    }
}

/* =========================================
   Global Scroll Animations (Fade Up & Scale Up)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

.char-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-text h1,
.hero-title {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text p,
.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.15s forwards;
}

/* =========================================
   Global Scroll Animation (Reveal)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

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

/* =========================================/* =========================================
   Navbar "More v" Dropdown (Desktop & Mobile)
   ========================================= */
.nav-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 20px !important;
    margin-bottom: -20px !important;
}

.nav-dropdown>a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer;
    padding-bottom: 10px !important;
}

.nav-dropdown .dropdown-content {
    position: absolute !important;
    top: calc(100% - 10px) !important;
    right: 0 !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    min-width: 190px !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid #E2E8F0 !important;
    padding: 8px 0 !important;
    list-style: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(5px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 999999 !important;
}

/* Permanent Hover Bridge */
.nav-dropdown .dropdown-content::before {
    content: '' !important;
    position: absolute !important;
    top: -25px !important;
    left: -20px !important;
    right: -20px !important;
    height: 30px !important;
    background: transparent !important;
}

.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus-within .dropdown-content,
.nav-dropdown.active .dropdown-content,
.nav-dropdown.open .dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.nav-dropdown .dropdown-content li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-dropdown .dropdown-content a {
    display: block !important;
    padding: 12px 22px !important;
    color: #0B1F3A !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-dropdown .dropdown-content a:hover {
    background-color: #F1F5F9 !important;
    color: #00C2CB !important;
}

@media (max-width: 1024px) {

    /* Mobile Dropdown override */
    .nav-dropdown {
        width: 100% !important;
        max-width: 400px !important;
    }

    .nav-dropdown>a {
        display: none !important;
    }

    .nav-dropdown .dropdown-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .nav-dropdown .dropdown-content li {
        width: 100% !important;
        max-width: 400px !important;
    }

    .nav-dropdown .dropdown-content a {
        color: #0B1F3A !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        display: block !important;
        padding: 13px 20px !important;
        border-radius: 10px !important;
        background-color: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        text-align: center !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    }

    .nav-dropdown .dropdown-content a:hover {
        background-color: #0B1F3A !important;
        color: #ffffff !important;
        border-color: #0B1F3A !important;
    }

    .navbar {
        z-index: 10000000 !important;
        background-color: #ffffff !important;
    }

    .nav-container {
        height: 70px !important;
    }

    .logo img {
        height: 45px !important;
    }

    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
        color: #0B1F3A !important;
        cursor: pointer;
        z-index: 10000002 !important;
    }

    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 70px) !important;
        background-color: #ffffff !important;
        background: #ffffff !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 24px 20px 60px 20px !important;
        gap: 10px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 10000001 !important;
        border-bottom: 1px solid #E5E7EB !important;
    }

    .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links li {
        width: 100% !important;
        max-width: 400px !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .nav-links a {
        color: #0B1F3A !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        display: block !important;
        padding: 13px 20px !important;
        border-radius: 10px !important;
        background-color: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        text-decoration: none !important;
        transition: all 0.15s ease !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: #0B1F3A !important;
        color: #ffffff !important;
        border-color: #0B1F3A !important;
    }

    .nav-links a.active::after {
        display: none !important;
    }

    .nav-links a.btn,
    .nav-links a.btn-primary {
        display: block !important;
        width: 100% !important;
        max-width: 400px !important;
        background-color: var(--secondary-color, #C9A227) !important;
        color: #ffffff !important;
        padding: 14px 28px !important;
        margin-top: 10px !important;
        font-weight: 800 !important;
        text-align: center !important;
        border-radius: 10px !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4) !important;
    }

    .nav-links a.btn-primary:hover {
        background-color: #0B1F3A !important;
        color: #ffffff !important;
    }

    /* Hide floating widgets when mobile menu is active */
    body.menu-open #chatbot-widget-container,
    body.menu-open .chatbot-trigger,
    body.menu-open .heygen-avatar-container,
    body.menu-open .floating-btn,
    body:has(.nav-links.active) #chatbot-widget-container,
    body:has(.nav-links.active) .chatbot-trigger,
    body:has(.nav-links.active) .heygen-avatar-container,
    body:has(.nav-links.active) .floating-btn {
        display: none !important;
    }
}

/* =========================================
   Future Roadmap Mobile Parity
   (Restores Vertical Timeline on Mobile)
   ========================================= */
/* =========================================
   Future Roadmap Mobile Parity
   (Restores Desktop-Style Zig-Zag on Mobile)
   ========================================= */
@media (max-width: 768px) {

    /* Container: Reset to Center Line */
    .roadmap-grid {
        position: relative;
        padding-left: 0 !important;
        /* Remove left padding */
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100%;
        margin-top: 40px;
    }

    /* Force the Progress Line to Center */
    .roadmap-line-progress {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 4px !important;
        height: 100%;
        /* Will be controlled by JS, but max height */
        display: block !important;
    }

    /* Force Static Rail to Center if used */
    .roadmap-grid::before {
        display: none !important;
        /* Hide static rail if it conflicts, rely on animated line or add static center line */
    }

    /* Items - Mini Zig Zag with Vertical Stacking */
    .roadmap-item {
        width: 45% !important;
        /* Slightly wider */
        margin-bottom: 100px !important;
        position: relative;
        clear: both !important;
        /* Force vertical stacking (not side-by-side) */
    }

    /* Odd Items (1, 3, 5) -> LEFT Side (User Preference "AI Mentorship Left") */
    .roadmap-item:nth-child(even) {
        float: right !important;
        text-align: left !important;
        margin-left: auto !important;
        margin-right: 5px !important;
        padding-left: 20px !important;
        padding-right: 5px !important;
        border-left: 3px solid var(--primary-color) !important;
        border-right: none !important;
    }

    /* Even Items (2, 4, 6) -> RIGHT Side (User Preference NOT APPLICABLE - SWAPPED) */
    /* Actually: Item 2 (Child 3) -> Left */
    .roadmap-item:nth-child(odd) {
        float: left !important;
        text-align: right !important;
        margin-right: auto !important;
        margin-left: 5px !important;
        padding-right: 20px !important;
        padding-left: 5px !important;
        border-right: 3px solid var(--secondary-color) !important;
        border-left: none !important;
    }

    /* Markers - Centered on the Line */
    .roadmap-marker {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        width: 20px !important;
        /* Smaller marker for mobile */
        height: 20px !important;
        border-width: 3px !important;
        z-index: 5;
    }

    /* Prior Odd Marker (now Even/Right) */
    .roadmap-item:nth-child(even) .roadmap-marker {
        left: -29px !important;
        /* Adjust based on padding/width */
        right: auto !important;
    }

    /* Prior Even Marker (now Odd/Left) */
    .roadmap-item:nth-child(odd) .roadmap-marker {
        right: -29px !important;
        left: auto !important;
    }

    /* Connectors - Hide or Shorten */
    .roadmap-item::before {
        display: block !important;
        width: 15px !important;
        /* Short connector */
        top: 8px !important;
        /* Align with smaller marker */
        height: 2px !important;
    }

    /* Prior Odd Connector (now Even/Right) */
    .roadmap-item:nth-child(even)::before {
        left: -15px !important;
        right: auto !important;
    }

    /* Prior Even Connector (now Odd/Left) */
    .roadmap-item:nth-child(odd)::before {
        right: -15px !important;
        left: auto !important;
    }

    /* Compact Typography */
    .roadmap-content h3 {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }

    .roadmap-content p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    /* Hover/Active States */
    .roadmap-item.active .roadmap-marker {
        background: var(--secondary-color) !important;
    }

    .roadmap-item:nth-child(odd).active .roadmap-marker {
        background: var(--primary-color) !important;
    }

    /* Fix Testimonial Buttons Stretching & Overflow */
    .slider-btn {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .slider-controls {
        gap: 10px !important;
        /* Bring buttons closer */
    }

    .slider-dots {
        gap: 5px !important;
        /* Bring dots closer */
        flex-wrap: wrap;
        /* Safety wrap if needed, though we want single line ideally */
        justify-content: center;
    }

    .dot {
        width: 8px !important;
        /* Smaller dots */
        height: 8px !important;
    }
}

/* =========================================
   Our Programs Section (Premium Cards)
   ========================================= */

.premium-card {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.card-image-wrapper img {
    transition: transform 0.5s ease;
}

.premium-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.status-badge.upcoming {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.status-badge.coming-soon {
    background: rgba(107, 114, 128, 0.9);
    color: white;
    box-shadow: 0 4px 10px rgba(107, 114, 128, 0.3);
}

.premium-card.placeholder-card {
    border: 2px dashed #E5E7EB;
    box-shadow: none;
    background: #F9FAFB;
}

.premium-card.placeholder-card:hover {
    transform: none;
    border-color: #D1D5DB;
}

/* =========================================
   MedCafe Verticals (Advanced Glassmorphism & Overlaps)
   ========================================= */

.vertical-glass-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 50px 30px 30px;
    /* Top padding extra for floating icon */
    margin-top: 25px;
    /* Space for floating icon */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    overflow: hidden;
    /* To clip the large number */
}

.vertical-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.v-number {
    position: absolute;
    top: -15px;
    right: 5px;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    z-index: -1;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    transition: all 0.5s ease;
}

.vertical-glass-card:hover .v-number {
    color: rgba(59, 130, 246, 0.06);
    transform: scale(1.1) translate(-10px, 10px);
}

.v-icon-box {
    position: absolute;
    top: -25px;
    /* Floats half outside */
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vertical-glass-card:hover .v-icon-box {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
}

.v-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    margin-top: 10px;
}

.v-content p {
    color: #6B7280;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================
   MedCafe Verticals (Advanced Glassmorphism Grid)
   ========================================= */

.glass-vertical-card {
    position: relative;
    padding: 35px 30px 30px;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
    text-align: left;
}

.glass-vertical-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.gv-number {
    position: absolute;
    font-size: 6.5rem;
    font-weight: 800;
    top: -15px;
    right: 5px;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transition: all 0.5s ease;
    pointer-events: none;
}

.glass-vertical-card:hover .gv-number {
    color: rgba(0, 0, 0, 0.06);
    transform: scale(1.1) translate(-5px, 5px);
}

.gv-icon {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-vertical-card:hover .gv-icon {
    transform: translateY(-5px) scale(1.1);
}

.gv-title {
    position: relative;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    z-index: 2;
}

.gv-desc {
    position: relative;
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
    z-index: 2;
}

/* =========================================
   Partnerships Section
   ========================================= */

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: stretch;
}

.partner-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.partner-card .logo-container {
    height: 100px;
    /* Fixed height for consistent alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.partner-card .logo-container img {
    max-width: 150px;
    max-height: 100%;
    object-fit: contain;
}

.partner-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
}

.partner-card-content p {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.partner-card-content .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: auto;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================
   Locations & Contact Section (Premium Theme)
   ========================================= */

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 45px 35px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    margin-top: 30px;
    /* Space for floating icon */
}

.contact-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.contact-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    border-radius: 24px 24px 0 0;
    z-index: 0;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.contact-glass-card:hover .contact-glow {
    opacity: 0.8;
}

.contact-icon {
    position: absolute;
    top: -30px;
    left: 40px;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-glass-card:hover .contact-icon {
    transform: translateY(-5px) scale(1.1);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-content .sub-text {
    font-size: 1rem;
    font-weight: 500;
    color: #6B7280;
    font-family: 'Inter', sans-serif;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.5;
}

.contact-list .icon-wrap {
    width: 20px;
    display: flex;
    justify-content: center;
    padding-top: 3px;
    font-size: 1.1rem;
}

.hover-link {
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hover-link[data-color="#3B82F6"]:hover {
    color: #3B82F6;
}

.hover-link[data-color="#10B981"]:hover {
    color: #10B981;
}

.hover-link[data-color="#8B5CF6"]:hover {
    color: #8B5CF6;
}

.hover-link[data-color="#25D366"]:hover {
    color: #25D366;
}

/* =========================================
   AI Badge Shimmer Effect (Premium)
   ========================================= */

.ai-badge-wrapper {
    position: relative;
    display: inline-flex;
    padding: 1.5px;
    /* Subtle static border */
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.6));
    z-index: 1;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    /* Soft outer glow */
    margin-bottom: 25px;
}

.ai-badge-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    /* Slight transparency for glass feel */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #3B82F6;
    padding: 7px 18px;
    border-radius: 28px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    overflow: hidden;
    /* Contains the shimmer */
}

.ai-badge-content i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* The Shimmer/Shine Element */
.ai-badge-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 3.5s infinite ease-in-out;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    15% {
        left: 200%;
    }

    /* Sweeps quickly */
    100% {
        left: 200%;
    }

    /* Pauses before next sweep */
}

/* =========================================
   OB360 Modal Section
   ========================================= */

.ob360-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ob360-modal.show {
    opacity: 1;
}

.ob360-modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.ob360-modal.show .ob360-modal-content {
    transform: scale(1);
}

.ob360-close {
    color: #9CA3AF;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.ob360-close:hover,
.ob360-close:focus {
    color: #1F2937;
    text-decoration: none;
}

/* ══════════════════════════════════════
   MOBILE FIXES
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }

    .hero-text {
        order: 1;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h3 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: 600px;
        margin: 0 auto 20px;
    }

    .hero-image {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

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

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

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

    .identity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .identity-content {
        max-width: 100%;
        text-align: center;
    }

    .feature-highlight {
        text-align: left;
    }
}

@media (max-width: 768px) {

    /* Fix 1: Remove extra space below hamburger */
    .nav-container {
        height: 70px !important;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .programs-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix 2: Center form on mobile */
    .register-form,
    .contact-form,
    form {
        margin: 0 auto;
        text-align: center;
    }

    form input,
    form select,
    form textarea,
    form button {
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix 3: AI Powered section — center everything */
    .mc-ai-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 36px 24px !important;
        gap: 32px !important;
    }

    .mc-ai-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: unset !important;
        width: 100%;
    }

    .mc-ai-left p,
    .mc-ai-left h2,
    .mc-ai-left h5 {
        text-align: center;
    }

    .mc-ai-left button {
        margin: 0 auto;
    }

    .pillar-grid,
    .stats-grid,
    .audience-grid-expanded {
        grid-template-columns: 1fr;
    }
}

/* Tier Specific Accents */
.tier-academic h3 {
    color: #3B82F6;
}

.tier-clinical h3 {
    color: #EF4444;
}

.tier-future h3 {
    color: #10B981;
}

.mini-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
}

.mini-list li {
    font-size: 0.85rem;
    color: #4B5563;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.mini-list li i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.section-bg-mesh {
    background-color: #fbfcfe;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(239, 68, 68, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(245, 158, 11, 0.03) 0px, transparent 50%);
}

/* Dynamic Pop-up Modal */
.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 99999999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0;
    transition: opacity 0.4s ease !important;
    pointer-events: none;
    padding: 15px !important;
    box-sizing: border-box !important;
}

.popup-overlay.show {
    opacity: 1 !important;
    pointer-events: all !important;
}

.popup-glass-card {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    padding: 10px !important;
    position: relative !important;
    width: auto !important;
    max-width: 90vw !important;
    max-height: 85vh !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7) !important;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.popup-overlay.show .popup-glass-card {
    transform: scale(1) !important;
}

/* Close Button Floating Inside Top-Right Corner - 100% Fully Visible Red Circle */
.popup-close-btn,
.ob360-close,
.vertical-modal-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #ffffff !important;
    border: 2.5px solid #ffffff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    font-family: Arial, sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6), 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.25s ease !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-close-btn:hover,
.ob360-close:hover,
.vertical-modal-close:hover {
    background: #00969d !important;
    transform: scale(1.12) !important;
}

.popup-body {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.popup-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .popup-glass-card {
        max-width: 95%;
        padding: 5px;
    }

    .popup-close-btn {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
    }
}

/* BREAKING NEWS / PROMO TICKER */
.promo-ticker-wrapper {
    width: 100%;
    height: 45px;
    background: #111827;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ticker-label {
    background: var(--primary-color);
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.3);
}

.ticker-label i {
    margin-right: 8px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-scroll {
    display: inline-block;
    padding-left: 10%;
    animation: ticker-scroll 45s linear infinite;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    /* Responsive Square Images for Our Programs */
    .program-card .card-image-wrapper {
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
    }

    .program-card .card-image-wrapper img {
        height: auto !important;
        width: 100% !important;
        object-fit: cover !important;
        aspect-ratio: auto !important;
        /* let it naturally take its own shape */
    }
}

/* ══════════════════════════════════════
   VERTICAL DETAILS MODAL
══════════════════════════════════════ */

.vertical-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.vertical-modal.show {
    opacity: 1;
    pointer-events: all;
}

.vertical-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vertical-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 20px;
    z-index: 10000;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.vertical-modal.show .vertical-modal-content {
    transform: translateY(0) scale(1);
}

.vertical-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #4B5563;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.vertical-modal-close:hover {
    background: #EF4444;
    color: white;
    transform: rotate(90deg);
}

.vm-header-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e5e7eb;
}

.vm-body {
    padding: 30px;
    overflow-y: auto;
}

.vm-features-list {
    list-style: none;
    padding: 0;
}

.vm-features-list li {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .vm-header-image {
        height: 150px;
    }

    .vm-body {
        padding: 20px;
    }

    .vertical-modal-content {
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .promo-ticker-wrapper {
        height: 40px;
    }

    .ticker-label {
        padding: 0 15px;
        font-size: 0.7rem;
    }

    .ticker-scroll {
        font-size: 0.85rem;
    }
}

/* Leadership Section Styles */
.leader-card {
    display: flex;
    gap: 40px;
    padding: 40px;
    border-radius: 24px;
    align-items: stretch;
    flex-wrap: wrap;
    text-align: left;
}

.leader-image {
    flex: 0 0 300px;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leader-info {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .leader-card {
        padding: 30px 20px;
        gap: 20px;
    }

    .leader-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .leader-image img {
        max-width: 300px;
    }

    .leader-info {
        min-width: 100%;
    }
}

/* Premium Leadership Styles */
.leader-card {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.8) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    overflow: visible;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--secondary-color) !important;
}

.leader-image-wrapper {
    position: relative;
    z-index: 1;
}

.leader-image-wrapper::after {
    content: '';
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); */
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.leader-card:hover .leader-image-wrapper::after {
    top: 20px;
    left: -20px;
    opacity: 0.9;
}

.leader-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #4B5563;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.leader-tag i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.leader-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.leader-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.leader-social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.leader-card h3 {
    background: linear-gradient(90deg, #111827, #374151);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fix for mobile news-grid layout (1 column) */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Performance Fix for Mobile Devices */
@media (max-width: 768px) {
    body {
        background-attachment: scroll !important;
    }
}

/* Final Reveal GIF Section */
.footer-reveal-container {
    display: none;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background-color: #000000;
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

@media (min-width: 768px) {
    .footer-reveal-container {
        display: block;
    }
}

/* Navbar Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #f1f5f9;
}

.nav-dropdown .dropdown-content a {
    color: #1f2937 !important;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.nav-dropdown .dropdown-content a::after {
    display: none !important;
    /* remove hover line effect inside dropdown */
}

.nav-dropdown .dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--primary-color) !important;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 1024px) {
    .nav-dropdown .dropdown-content {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #F3F4F6 !important;
        border-radius: 12px !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        padding: 8px 0 !important;
        margin-top: 4px !important;
    }

    .nav-dropdown .dropdown-content a {
        color: #374151 !important;
        text-align: center !important;
        padding: 10px 0 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
    }

    .nav-dropdown .dropdown-content a:hover {
        color: var(--primary-color, #C9A227) !important;
    }

    .nav-dropdown .dropbtn {
        display: block !important;
    }
}

/* ==========================================================================
   MASTER RESPONSIVE ENGINE (ALL DEVICES & SCREEN SIZES)
   ========================================================================== */

/* Universal Anti-Overflow & Scaling Rules */
html,
body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100% !important;
    height: auto;
    box-sizing: border-box;
}

.container {
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100%;
}

/* 1. Large Screens & Desktops (> 1200px) */
@media (min-width: 1201px) {
    .container {
        max-width: 1280px !important;
        margin: 0 auto;
        padding: 0 30px;
    }
}

/* 2. Laptops & Small Desktops (992px - 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .vertical-tier {
        color: #4B5563;
        margin-right: 8px;
        margin-bottom: 8px;
        font-weight: 600;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    }

    .leader-tag i {
        color: var(--secondary-color);
        margin-right: 6px;
    }

    .leader-socials {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .leader-social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .leader-social-icon:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-3px);
    }

    .leader-card h3 {
        background: linear-gradient(90deg, #111827, #374151);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Fix for mobile news-grid layout (1 column) */
    @media (max-width: 768px) {
        .news-grid {
            grid-template-columns: 1fr !important;
        }
    }

    /* Performance Fix for Mobile Devices */
    @media (max-width: 768px) {
        body {
            background-attachment: scroll !important;
        }
    }

    /* Final Reveal Video Section */
    .footer-reveal-container {
        display: none;
        width: 100%;
        height: 85vh;
        overflow: hidden;
        position: relative;
        background-color: #000000;
    }

    .footer-reveal-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        display: block;
    }

    @media (min-width: 768px) {
        .footer-reveal-container {
            display: block;
        }
    }

    .footer-reveal-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        display: block;
    }

    /* Navbar Dropdown Menu Styles */
    .nav-dropdown {
        position: relative;
        display: inline-block;
    }

    .nav-dropdown .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #ffffff;
        min-width: 160px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 8px 0;
        z-index: 1000;
        border: 1px solid #f1f5f9;
    }

    .nav-dropdown .dropdown-content a {
        color: #1f2937 !important;
        padding: 10px 20px;
        text-decoration: none;
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        text-align: left;
    }

    .nav-dropdown .dropdown-content a::after {
        display: none !important;
        /* remove hover line effect inside dropdown */
    }

    .nav-dropdown .dropdown-content a:hover {
        background-color: #f8fafc;
        color: var(--primary-color) !important;
    }

    /* Show dropdown on hover */
    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    @media (max-width: 1024px) {
        .nav-dropdown .dropdown-content {
            position: static !important;
            transform: none !important;
            box-shadow: none !important;
            border: none !important;
            background-color: #F3F4F6 !important;
            border-radius: 12px !important;
            width: 100% !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            padding: 8px 0 !important;
            margin-top: 4px !important;
        }

        .nav-dropdown .dropdown-content a {
            color: #374151 !important;
            text-align: center !important;
            padding: 10px 0 !important;
            font-size: 1rem !important;
            font-weight: 600 !important;
        }

        .nav-dropdown .dropdown-content a:hover {
            color: var(--primary-color, #C9A227) !important;
        }

        .nav-dropdown .dropbtn {
            display: block !important;
        }
    }

    /* ==========================================================================
   MASTER RESPONSIVE ENGINE (ALL DEVICES & SCREEN SIZES)
   ========================================================================== */

    /* Universal Anti-Overflow & Scaling Rules */
    html,
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
    }

    img,
    video,
    iframe,
    canvas,
    svg {
        max-width: 100% !important;
        height: auto;
        box-sizing: border-box;
    }

    .container {
        box-sizing: border-box;
        max-width: 100% !important;
        width: 100%;
    }

    /* 1. Large Screens & Desktops (> 1200px) */
    @media (min-width: 1201px) {
        .container {
            max-width: 1280px !important;
            margin: 0 auto;
            padding: 0 30px;
        }
    }

    /* 2. Laptops & Small Desktops (992px - 1200px) */
    @media (max-width: 1200px) {
        .container {
            padding: 0 24px;
        }

        .bento-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 20px !important;
        }

        .vertical-tier {
            margin-bottom: 50px !important;
        }

        .leader-card {
            flex-direction: row !important;
        }
    }

    /* 3. Tablets & iPads (768px - 991px) */
    @media (max-width: 991px) {
        section {
            padding: 50px 0 !important;
        }

        .hero-content,
        .identity-grid,
        .join-prof-grid {
            flex-direction: column !important;
            grid-template-columns: 1fr !important;
            gap: 35px !important;
        }

        .leader-card {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .leader-image-wrapper {
            max-width: 100% !important;
            flex: 0 0 auto !important;
        }

        .leader-socials {
            justify-content: center !important;
        }

        .programs-grid,
        .events-grid,
        .wellness-grid,
        .posters-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 20px !important;
        }

        .stats-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 15px !important;
        }
    }

    /* 4. Mobile Devices & Small Tablets (< 768px) */
    @media (max-width: 767px) {
        body {
            font-size: 0.95rem !important;
        }

        h1 {
            font-size: clamp(2rem, 6vw, 2.8rem) !important;
        }

        h2 {
            font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        }

        h3 {
            font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
        }

        .container {
            padding: 0 16px !important;
        }

        section {
            padding: 40px 0 !important;
        }

        .bento-grid,
        .programs-grid,
        .events-grid,
        .wellness-grid,
        .posters-grid,
        .why-join-grid,
        .stats-grid {
            grid-template-columns: 1fr !important;
            gap: 16px !important;
        }

        .bento-item {
            padding: 20px !important;
            border-radius: 16px !important;
        }

        .event-card img,
        .program-card img {
            height: auto !important;
            max-height: 380px !important;
        }

        /* Hexagon Grid Responsiveness on Mobile */
        .hex-container-wrapper {
            flex-direction: row !important;
            flex-wrap: wrap !important;
            justify-content: center !important;
            padding-top: 10px !important;
        }

        .hex-row {
            display: contents !important;
        }

        .hex-item {
            width: 145px !important;
            height: 165px !important;
            margin: -20px 4px 0 4px !important;
        }

        .hex-name {
            font-size: 0.8rem !important;
        }

        .hex-role {
            font-size: 0.55rem !important;
            padding: 2px 6px !important;
        }

        /* Modal / Dialog Responsiveness */
        .modal-content,
        .ob360-modal-content,
        .team-modal-content,
        .popup-glass-card {
            width: 94% !important;
            max-width: 94% !important;
            padding: 20px 16px !important;
            max-height: 88vh !important;
            overflow-y: auto !important;
            box-sizing: border-box !important;
        }

        /* Table Responsive Wrapper */
        .table-container,
        div[style*="overflow-x"] {
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch;
            width: 100% !important;
            max-width: 100% !important;
        }

        /* Form Grid Responsiveness */
        .talent-form-grid,
        form div[style*="grid-template-columns"] {
            grid-template-columns: 1fr !important;
        }
    }

    /* 5. Ultra-Small Mobile Devices (< 480px / 320px) */
    @media (max-width: 480px) {
        .btn {
            width: 100% !important;
            text-align: center !important;
            box-sizing: border-box !important;
        }

        .hero-buttons,
        .insta-actions {
            flex-direction: column !important;
            width: 100% !important;
            gap: 10px !important;
        }

        .glowing-pill-wrapper {
            align-self: center !important;
        }

        .hex-item {
            width: 130px !important;
            height: 150px !important;
            margin: -18px 3px 0 3px !important;
        }
    }

    /* Disable all animations, transitions & delays on navbar */
    .navbar,
    .navbar *,
    .nav-container,
    .nav-container *,
    .nav-links,
    .nav-links *,
    .hamburger,
    .hamburger *,
    .nav-dropdown,
    .nav-dropdown * {
        transition: none !important;
        animation: none !important;
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }

    /* Master Mobile Responsive Enhancements */
    @media (max-width: 991px) {
        .hero {
            padding-top: 115px !important;
            padding-bottom: 60px !important;
            min-height: auto !important;
        }

        .hero-content {
            padding-top: 10px !important;
        }

        .ai-badge-wrapper {
            margin-top: 10px !important;
            margin-bottom: 16px !important;
        }

        .hero-buttons {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            gap: 12px !important;
            margin-bottom: 60px !important;
        }

        .hero-buttons .btn {
            width: 100% !important;
            text-align: center !important;
            justify-content: center !important;
            padding: 14px 20px !important;
            box-sizing: border-box !important;
            font-size: 0.95rem !important;
        }

        #wellness-experts div[style*="display: flex; gap: 20px"] {
            flex-direction: column !important;
            align-items: flex-start !important;
        }

        #wellness-experts img {
            width: 140px !important;
            height: 140px !important;
            margin-bottom: 15px !important;
        }

        #wellness-experts div[style*="flex: 1"] {
            width: 100% !important;
            min-width: 100% !important;
        }

        .team-modal-content {
            width: 92% !important;
            padding: 42px 16px 20px 16px !important;
            margin: 65px auto 30px auto !important;
            max-height: 85vh !important;
            border-radius: 20px !important;
            position: relative !important;
            overflow: visible !important;
        }

        .close-modal-btn {
            top: 10px !important;
            right: 10px !important;
            background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
            color: #ffffff !important;
            border: 2.5px solid #ffffff !important;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6) !important;
            width: 36px !important;
            height: 36px !important;
            font-size: 18px !important;
            z-index: 99999999 !important;
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        #modal-body-content div[style*="display: flex; gap: 20px"] {
            flex-direction: column !important;
            align-items: flex-start !important;
        }

        #modal-body-content img {
            width: 130px !important;
            height: 130px !important;
            margin-bottom: 14px !important;
        }

        #modal-body-content div[style*="flex: 1"] {
            width: 100% !important;
            min-width: 100% !important;
        }
    }
}

/* CME Highlight Button */
.nav-links a.cme-highlight-btn {
    border: 2px solid #00C2CB !important;
    color: #00C2CB !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    background: rgba(0, 194, 203, 0.05) !important;
    animation: cme-pulse 2s infinite !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.nav-links a.cme-highlight-btn:hover {
    background: #00C2CB !important;
    color: #ffffff !important;
}

@keyframes cme-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 203, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 194, 203, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 203, 0);
    }
}