/* ===== CORE COLORS & FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");
/* Import Fraunces for premium serif look, but user liked Plus Jakarta Sans. Let's stick with Plus Jakarta as in their last iteration */

:root {
    /* SwapUp Custom Colors */
    --color-soft-purple: #5cb338;
    /* Actually Green now */
    --color-accent-violet: #4a9a2c;
    /* Green Hover */
    --color-accent-orange: #e8a020;
    /* Gold */
    --color-soft-peach: #fff0c8;
    /* Soft Gold/Cream */
    --color-soft-mint: #d9f0cc;
    /* Soft Green */
    --color-soft-cream: #f4faf0;
    /* Background Cream tinted green */

    --slate-50: #f8fafc;
    --slate-100: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #4a5a42;
    /* Muted Green/Gray */
    --slate-600: #334155;
    --slate-700: #334155;
    --slate-800: #2c3e26;
    /* Darker green */
    --slate-900: #1e2d1a;
    /* Very Dark Green (Navy replacement) */

    --emerald-500: #5cb338;
    --emerald-600: #4a9a2c;
    --amber-400: #e8a020;
    --sky-500: #0ea5e9;
    --rose-500: #f43f5e;
    --indigo-500: #6366f1;

    --font-sans: "Outfit", sans-serif;
    --font-display: "Plus Jakarta Sans", sans-serif;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

@media (max-width: 768px) {
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

.goal-card {
    background: white;
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-soft-purple);
    opacity: 0;
    transition: 0.3s;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -20px rgba(92, 179, 56, 0.15);
    border-color: rgba(92, 179, 56, 0.2);
}

.goal-card:hover::before {
    opacity: 1;
}

.goal-icon-box {
    width: 64px;
    height: 64px;
    background: var(--color-soft-cream);
    color: var(--color-soft-purple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: 0.3s;
}

.goal-card:hover .goal-icon-box {
    background: var(--color-soft-purple);
    color: white;
    transform: scale(1.1);
}

.goal-number {
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    background: #5cb338;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(92, 179, 56, 0.2);
}

.goal-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--slate-900);
}

.goal-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-500);
    margin-bottom: 24px;
    flex-grow: 1;
}

.goal-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.goal-footer strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-soft-purple);
    margin-bottom: 8px;
}

.goal-footer p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0;
}

/* ===== RESET & BASE ===== */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
    font-family: var(--font-sans);
    background-color: var(--color-soft-cream);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

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

/* Utility Backgrounds & Text Colors */
.bg-soft-cream {
    background-color: var(--color-soft-cream);
}

.bg-soft-mint-light {
    background-color: rgba(217, 240, 204, 0.4);
}

.bg-soft-peach-light {
    background-color: rgba(255, 240, 200, 0.4);
}

.text-soft-purple {
    color: var(--color-soft-purple);
}

.color-purple {
    color: var(--color-soft-purple);
}

.color-emerald {
    color: var(--emerald-500);
}

.color-amber {
    color: var(--amber-400);
}

.color-sky {
    color: var(--sky-500);
}

.color-rose {
    color: var(--rose-500);
}

.color-orange {
    color: var(--color-accent-orange);
}

.color-slate {
    color: var(--slate-500);
}

.color-mint {
    color: var(--color-soft-mint);
}

.color-peach {
    color: var(--color-soft-peach);
}

.bg-text-dark {
    background-color: var(--slate-900);
}

/* Helpers */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.flex-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-8 {
    gap: 32px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.mt-12 {
    margin-top: 48px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mb-16 {
    margin-bottom: 64px;
}

.mb-20 {
    margin-bottom: 80px;
}

.mb-24 {
    margin-bottom: 96px;
}

.mt-16 {
    margin-top: 64px;
}

.mt-20 {
    margin-top: 80px;
}

.px-10 {
    padding-left: 40px;
    padding-right: 40px;
}

.text-xl {
    font-size: 20px;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-900 {
    color: #0f172a;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

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

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

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

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.py-8 {
    padding-top: 32px;
    padding-bottom: 32px;
}

.rounded-3xl {
    border-radius: 24px;
}

.bg-blue-50 {
    background: #eff6ff;
}

.bg-rose-50 {
    background: #fff1f2;
}

.bg-sky-50 {
    background: #f0f9ff;
}

.sm-flex-row {
    flex-direction: column;
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.border-4-white {
    border: 4px solid white;
}

.p-8 {
    padding: 32px;
}

.p-10 {
    padding: 40px;
}

.p-12 {
    padding: 48px;
}

.md-p-12 {
    padding: 48px;
}

.space-y-2>*+* {
    margin-top: 8px;
}

.space-y-4>*+* {
    margin-top: 16px;
}

.space-y-6>*+* {
    margin-top: 24px;
}

.space-y-8>*+* {
    margin-top: 32px;
}

.space-y-12>*+* {
    margin-top: 48px;
}

.hidden-mobile {
    display: flex;
}

.hidden-mobile-block {
    display: block;
}

@media (max-width: 991px) {
    .hidden-mobile-block {
        display: none !important;
    }
}

.inline-block {
    display: inline-block;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-80 {
    opacity: 0.8;
}

.w-full {
    width: 100%;
}

.max-w-3xl {
    max-width: 768px;
}

/* Shadows & Borders */
.shadow-none {
    box-shadow: none !important;
}

.border-none {
    border: none !important;
}

.shadow-sm {
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rounded-40 {
    border-radius: 40px;
    overflow: hidden;
}

.rounded-48 {
    border-radius: 48px;
}

.rounded-60 {
    border-radius: 60px;
}

/* Icon Helpers */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

/* Typography */
.font-display {
    font-family: var(--font-display);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-title.text-white {
    color: white;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tag-mint {
    background: var(--color-soft-mint);
    color: var(--emerald-600);
}

.tag-peach {
    background: var(--color-soft-peach);
    color: var(--color-accent-orange);
}

.tag-orange-10 {
    background: rgba(232, 160, 32, 0.15);
}

.tag-purple-10 {
    background: rgba(92, 179, 56, 0.15);
}

.tag-outline {
    display: inline-block;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(92, 179, 56, 0.3);
    border-radius: 999px;
}

/* Buttons & Soft UI Base */
.bg-white {
    background: white;
}

.text-white {
    color: white;
}

.soft-shadow {
    box-shadow: 0 10px 30px -10px rgba(92, 179, 56, 0.2);
}

.soft-shadow-hover:hover {
    box-shadow: 0 20px 40px -15px rgba(92, 179, 56, 0.3);
    transform: translateY(-4px);
}

.hover-shadow-xl:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    outline: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--color-soft-purple);
    color: white;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 15px rgba(92, 179, 56, 0.2);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-accent-violet);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(92, 179, 56, 0.3);
}

.btn-orange {
    background: var(--color-accent-orange);
    color: white;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 15px rgba(232, 160, 32, 0.2);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.btn-orange:hover {
    background: #c98a17;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(232, 160, 32, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--slate-700);
    border: 1px solid var(--slate-100);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.btn-secondary:hover {
    border-color: rgba(92, 179, 56, 0.3);
    transform: translateY(-3px);
}

.large {
    padding: 20px 48px !important;
    font-size: 1.125rem !important;
}

.btn-dark {
    background: var(--slate-900);
    color: white;
    padding: 16px 40px;
    border-radius: 99px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
}

.btn-dark-sm {
    background: var(--slate-900);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
}

.btn-dark-sm:hover {
    background: var(--slate-800);
}

/* Animation Utils */
.group-hover-translate {
    transition: 0.3s;
}

.btn-primary:hover .group-hover-translate {
    transform: translateX(4px);
}

/* CSS Background Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
    /* Reduced from 0.4 */
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU */
}

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: #5cb338 !important;
    /* Brand Green */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-area {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.logo-area:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 700;
    font-size: 15px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-links a:hover {
    color: white;
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    align-items: center;
}

.lang-switch button {
    background: transparent;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.lang-switch button.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.lang-switch button:hover {
    color: white;
}

.btn-primary.nav-btn {
    background: white !important;
    color: #5cb338 !important;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 99px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary.nav-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    color: white;
    padding: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #5cb338;
    z-index: 2000;
    display: none;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.close-mobile-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-links a {
    text-decoration: none;
    color: white;
    font-size: 26px;
    font-weight: 800;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    margin-bottom: 32px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
    opacity: 1;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-500);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--slate-500);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.glass-card .icon-wrap {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.glass-card>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.m-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--slate-400);
    margin-bottom: 2px;
    margin-bottom: 2px;
}

.m-val {
    font-weight: 700;
    color: var(--slate-800);
    font-size: 1rem;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Animated Images (Premium Infinity Stack) - Fix for Glitching */
.photo-card-container {
    position: absolute;
    width: 340px;
    height: 440px;
    will-change: transform, opacity, z-index;
}

.photo-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.18);
    border: 6px solid white;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
    display: block;
}

.photo-card-container.card-1 {
    animation: infinityStack1 15s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.photo-card-container.card-2 {
    animation: infinityStack2 15s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.photo-card-container.card-3 {
    animation: infinityStack3 15s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.photo-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: #1e2d1a;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Base keyframes remain the same but applied to containers */
@keyframes infinityStack1 {

    0%,
    30% {
        transform: translate(0, 0) rotate(-3deg) scale(1);
        z-index: 5;
        opacity: 1;
        filter: blur(0);
    }

    33%,
    63% {
        transform: translate(40px, 30px) rotate(6deg) scale(0.9);
        z-index: 1;
        opacity: 0.4;
        filter: blur(2px);
    }

    66%,
    96% {
        transform: translate(-40px, 15px) rotate(-8deg) scale(0.95);
        z-index: 3;
        opacity: 0.7;
        filter: blur(1px);
    }

    100% {
        transform: translate(0, 0) rotate(-3deg) scale(1);
        z-index: 5;
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes infinityStack2 {

    0%,
    30% {
        transform: translate(40px, 30px) rotate(6deg) scale(0.9);
        z-index: 1;
        opacity: 0.4;
        filter: blur(2px);
    }

    33%,
    63% {
        transform: translate(-40px, 15px) rotate(-8deg) scale(0.95);
        z-index: 3;
        opacity: 0.7;
        filter: blur(1px);
    }

    66%,
    96% {
        transform: translate(0, 0) rotate(-3deg) scale(1);
        z-index: 5;
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: translate(40px, 30px) rotate(6deg) scale(0.9);
        z-index: 1;
        opacity: 0.4;
        filter: blur(2px);
    }
}

@keyframes infinityStack3 {

    0%,
    30% {
        transform: translate(-40px, 15px) rotate(-8deg) scale(0.95);
        z-index: 3;
        opacity: 0.7;
        filter: blur(1px);
    }

    33%,
    63% {
        transform: translate(0, 0) rotate(-3deg) scale(1);
        z-index: 5;
        opacity: 1;
        filter: blur(0);
    }

    66%,
    96% {
        transform: translate(40px, 30px) rotate(6deg) scale(0.9);
        z-index: 1;
        opacity: 0.4;
        filter: blur(2px);
    }

    100% {
        transform: translate(-40px, 15px) rotate(-8deg) scale(0.95);
        z-index: 3;
        opacity: 0.7;
        filter: blur(1px);
    }
}

/* Hover scales the card INSIDE the animated container */
.photo-card-container:hover {
    animation-play-state: paused;
    z-index: 100 !important;
}

.photo-card-container:hover .photo-card {
    transform: scale(1.1);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.photo-card-container:hover .photo-card-container {
    filter: blur(0);
}

.hero-graphics:hover .photo-card-container:not(:hover) {
    opacity: 0.3;
    filter: blur(4px);
}

.hero-sticker {
    position: absolute;
    top: 10%;
    right: 10%;
    background: white;
    border-radius: 99px;
    padding: 12px 24px;
    font-weight: 800;
    color: var(--slate-800);
    z-index: 3;
    font-size: 14px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

/* Viewport Animations */
[class*="slide-up-"] {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-up-1 {
    animation-delay: 0.1s;
}

.slide-up-2 {
    animation-delay: 0.2s;
}

.slide-up-3 {
    animation-delay: 0.3s;
}

.slide-up-4 {
    animation-delay: 0.4s;
}

.slide-up-5 {
    animation-delay: 0.5s;
}

.slide-up-6 {
    animation-delay: 0.6s;
}

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

/* ===== DEADLINE SECTION ===== */
.deadline-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.glass-card-border-y {
    border-top: 1px solid rgba(92, 179, 56, 0.1);
    border-bottom: 1px solid rgba(92, 179, 56, 0.1);
}

.dl-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dl-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-400);
}

.dl-date {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    font-family: var(--font-display);
}

.countdown-wrapper {
    display: flex;
    gap: 24px;
    background: white;
    padding: 24px 40px;
    border-radius: 999px;
    border: 1px solid var(--slate-50);
    align-items: center;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-box {
    width: 56px;
    height: 56px;
    background: var(--color-soft-cream);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-soft-purple);
    border: 1px solid rgba(92, 179, 56, 0.1);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.cd-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-400);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-text-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-p {
    font-size: 1.25rem;
    color: var(--slate-500);
    margin-bottom: 32px;
    font-weight: 400;
}

.mission-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mission-item {
    display: flex;
    gap: 20px;
}

.m-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-soft-purple);
    border: 1px solid var(--slate-50);
    flex-shrink: 0;
}

.mission-item h4 {
    font-weight: 800;
    color: var(--slate-900);
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.mission-item p {
    color: var(--slate-500);
}

.about-grid-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.img-tall {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 16px;
}

.pt-12 {
    padding-top: 48px;
}

.stats-box {
    padding: 32px;
    text-align: center;
}

.s-val {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.s-lbl {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== DETAILS BENTO GRID ===== */
.details-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 0;
}

/* Old details styles removed for new premium grid at the end of file */

.bg-indigo-50 {
    background-color: #eef2ff;
}

.color-indigo {
    color: var(--indigo-500);
}

.bg-sky-50 {
    background-color: #f0f9ff;
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.bg-rose-50 {
    background-color: #fff1f2;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.color-blue {
    color: #3b82f6;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

/* ===== PAST EVENTS SECTION ===== */
.past-events-section {
    padding: 100px 24px;
    margin: 0;
}

.glass-dark-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    overflow: hidden;
    transition: 0.3s;
}

.glass-dark-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(92, 179, 56, 0.3);
}

.event-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.glass-dark-card:hover .event-img-wrap img {
    transform: scale(1.05);
}

.event-year {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--color-soft-purple);
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.event-content {
    padding: 40px;
}

.e-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.event-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.event-content p {
    color: #a1a1aa;
    margin-bottom: 24px;
    font-size: 1.1rem;
}


/* ===== VISION SECTION ===== */
.vision-image-wrap {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
}

.vision-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 14px;
    color: var(--slate-900);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-targets {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.target-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border-radius: 40px;
    cursor: default;
    border: 1px solid rgba(0,0,0,0.05);
}

.target-card:hover {
    transform: translateX(15px);
    border-color: var(--color-soft-purple);
    box-shadow: 0 20px 40px rgba(92, 179, 56, 0.08);
}

.target-deadline {
    position: absolute;
    top: -12px;
    right: 32px;
    background: var(--color-soft-purple);
    color: white;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(92, 179, 56, 0.3);
}

.target-icon-v2 {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.target-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--slate-900);
}

.target-icon-v2 i {
    width: 28px;
    height: 28px;
}

.bg-mint-5 { background: rgba(92, 179, 56, 0.05); }
.bg-purple-10 { background: rgba(147, 51, 234, 0.1); }
.color-green { color: #5cb338; }

.read-more {
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-soft-mint);
}

.read-more i {
    transition: 0.3s;
}

.glass-dark-card:hover .read-more i {
    transform: translateX(5px);
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 100px 0;
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-soft-mint) 10%,
            var(--color-soft-purple) 50%,
            var(--color-accent-orange) 90%,
            transparent);
}

.t-step-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.t-step-container.reverse {
    flex-direction: row-reverse;
}

.t-step-box {
    flex: 1;
    padding: 40px;
    background: white;
    border-radius: 40px;
    border: 1px solid var(--slate-50);
    transition: 0.3s;
}

.t-empty {
    flex: 1;
}

.t-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--color-soft-purple);
    border-radius: 50%;
    border: 6px solid var(--color-soft-cream);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    z-index: 10;
    font-family: var(--font-display);
}

.t-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.bg-purple-10 {
    background: rgba(92, 179, 56, 0.1);
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

.t-step-box h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.t-step-box p {
    color: var(--slate-500);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.t-detail {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-style: italic;
}

/* ===== BIG CTA ===== */
.bg-soft-peach-30 {
    background: rgba(255, 240, 200, 0.4);
    padding: 80px 0;
}

.big-cta-section {
    padding: 120px 0;
}

.w-full-flex {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
    padding: 100px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--slate-100);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--slate-800);
}

.faq-btn:hover {
    color: var(--color-soft-purple);
}

.faq-icon {
    color: var(--slate-400);
    transition: 0.3s;
    background: var(--slate-50);
    border-radius: 50%;
    padding: 4px;
    width: 32px;
    height: 32px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    background: rgba(92, 179, 56, 0.1);
    color: var(--color-soft-purple);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--slate-500);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    padding: 0;
}

.faq-item.open .faq-content {
    max-height: 1000px;
    /* Increased for longer content */
    padding-bottom: 32px;
    opacity: 1;
}

/* ===== UPCOMING PROGRAMS SECTION ===== */
.upcoming-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-soft-cream) 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-badge {
    background: rgba(232, 160, 32, 0.1);
    color: var(--color-accent-orange);
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: inline-block;
}

.event-card-upcoming {
    background: white;
    border-radius: 40px;
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.event-card-upcoming:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.1);
    border-color: rgba(92, 179, 56, 0.3);
}

.event-date-box {
    background: var(--color-soft-cream);
    padding: 12px 24px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.event-date-box span {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: #5cb338;
}

.event-card-upcoming h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--slate-900);
}

.stay-tuned-info {
    margin-top: 60px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 24px;
    margin-top: 20px;
}

.md-7xl {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.border-t-slate-100 {
    border-top: 1px solid rgba(92, 179, 56, 0.1);
}

.footer-links {
    display: flex;
    gap: 40px;
    color: var(--slate-400);
    font-size: 14px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

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

.pt-20 {
    padding-top: 40px;
}

/* ===== POPUPS (MODALS) ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 45, 26, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    /* Transformni soddalashtiramiz va GPU-ni ishga tushiramiz */
    transform: translate(-50%, -48%) scale(0.96);
    max-width: 900px;
    width: 94%;
    background: white;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.25);

    /* Scroll muammosini tuzatish */
    max-height: 90vh;
    /* Bir oz joy qoldirish yaxshi */
    overflow-y: auto;
    overflow-x: hidden;

    /* Mobil uchun juda muhim: */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Scroll tugaganda body-ga o'tib ketmasligi uchun */

    border-radius: 32px;
    display: flex;
    flex-direction: column;
    /* Ichidagi kontent to'g'ri joylashishi uchun */

    /* Renderlashni tezlashtirish */
    will-change: transform, opacity;
}



.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal ochilgandagi holati (JS orqali .active klassi qo'shilsa) */
.popup-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-modal::-webkit-scrollbar {
    display: none;
}

.popup-modal {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---- LEFT PANEL ---- */
.popup-left-panel {
    width: 280px;
    flex-shrink: 0;
    background: var(--slate-900);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.popup-left-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: var(--emerald-500);
    opacity: 0.12;
    border-radius: 50%;
    filter: blur(40px);
}

.popup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.popup-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: white;
}

.popup-panel-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 32px;
}

.popup-panel-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.popup-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.popup-detail-row svg {
    width: 16px;
    height: 16px;
    color: var(--emerald-500);
    flex-shrink: 0;
}

.popup-panel-badge {
    margin-top: 32px;
    background: rgba(92, 179, 56, 0.15);
    border: 1px solid rgba(92, 179, 56, 0.3);
    color: var(--emerald-500);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- RIGHT PANEL ---- */
.popup-right-panel {
    flex: 1;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.popup-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 6px;
    line-height: 1.2;
}

.popup-subtitle {
    color: var(--slate-400);
    font-size: 15px;
}

.popup-steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-step-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: var(--color-soft-cream);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    cursor: default;
    transition: 0.3s;
}

.popup-step-v2:hover {
    background: white;
    border-color: rgba(92, 179, 56, 0.2);
    box-shadow: 0 8px 20px -8px rgba(92, 179, 56, 0.15);
    transform: translateY(-2px);
}

.popup-step-warning {
    background: rgba(255, 240, 200, 0.5);
    border-color: rgba(232, 160, 32, 0.2);
}

.popup-step-warning:hover {
    border-color: rgba(232, 160, 32, 0.4);
    box-shadow: 0 8px 20px -8px rgba(232, 160, 32, 0.2);
}

.psv2-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--emerald-500);
    color: white;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.psv2-num-gold {
    background: var(--color-accent-orange);
}

.psv2-body {
    flex: 1;
}

.psv2-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--slate-800);
    margin-bottom: 2px;
}

.psv2-desc {
    font-size: 13px;
    color: var(--slate-400);
    line-height: 1.5;
}

.psv2-icon {
    width: 18px;
    height: 18px;
    color: var(--slate-300);
    flex-shrink: 0;
}

.popup-step-v2:hover .psv2-icon {
    color: var(--emerald-500);
}

.popup-step-warning:hover .psv2-icon {
    color: var(--color-accent-orange);
}

.popup-actions {
    display: flex;
    gap: 12px;
}

.popup-btn-full {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 15px;
}

.close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    transition: 0.3s;
    z-index: 10;
    cursor: pointer;
    border: none;
    background: var(--slate-50);
}

.close-x:hover {
    background: var(--color-accent-orange);
    color: white;
    transform: rotate(90deg);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* old popup-step kept for compat */
.popup-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.ps-num {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.125rem;
    font-family: var(--font-display);
}

.ps-txt {
    flex: 1;
    font-weight: 700;
    color: var(--slate-800);
}

.bg-blue {
    background: #eff6ff;
}

.color-blue {
    color: #3b82f6;
}

.bg-rose {
    background: #fff1f2;
}

.bg-sky {
    background: #f0f9ff;
}

.border-peach-50 {
    border: 1px solid rgba(232, 160, 32, 0.2);
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 500;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-1 {
    flex: 1;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

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

    .timeline-line {
        left: 32px;
    }

    .t-step-container.reverse {
        flex-direction: column;
    }

    .t-step-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .t-empty {
        display: none;
    }

    .t-dot {
        display: none;
    }

    .t-step-box {
        width: 100%;
        padding: 32px 24px 32px 64px;
        position: relative;
    }

    .t-step-box::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 40px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--color-soft-purple);
        z-index: 2;
        border: 2px solid white;
        box-shadow: 0 0 0 4px var(--color-soft-mint);
    }

    .t-icon {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .text-right,
    .text-left {
        text-align: left;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-grid {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hidden-mobile-block {
        display: none !important;
    }

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

    .mission-features {
        text-align: left;
    }

    .hero-graphics,
    .hero-sticker,
    .photo-card-container {
        display: none !important;
    }
}

@media (max-width: 768px) {

    nav {
        padding: 12px 20px;
    }

    .nav-links,
    .nav-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        padding: 8px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .glass-card {
        padding: 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .glass-card .icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .glass-card .icon-wrap svg {
        width: 14px;
        height: 14px;
    }

    .m-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .m-val {
        font-size: 0.9rem;
    }

    .gap-8 {
        gap: 16px;
    }

    .countdown-wrapper {
        padding: 24px;
        gap: 16px;
        border-radius: 32px;
        width: 100%;
        justify-content: center;
    }

    .cd-box {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .hidden-mobile {
        display: none;
    }

    .flex-space-between {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .dl-info {
        text-align: center !important;
    }

    .past-events-section {
        margin: 0;
        border-radius: 0;
        padding: 80px 0;
    }

    .md-7xl {
        font-size: 2.5rem;
    }

    .flex-center {
        flex-direction: column;
    }

    .sm-flex-row {
        flex-direction: column;
    }

    .details-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }

    .d-box {
        padding: 24px;
        border-radius: 24px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .d-box>div:first-child {
        flex-shrink: 0;
    }

    .d-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        border: none;
    }

    .d-box:hover .d-icon {
        transform: scale(1.05);
    }

    .d-lbl {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .d-val {
        font-size: 1.1rem;
    }

    .event-content {
        padding: 32px 24px;
    }

    .p-8,
    .md-p-12 {
        padding: 24px;
    }

    /* New popup responsive */
    .popup-modal {
        flex-direction: column;
        max-height: 92vh;
        width: 96%;
        top: 50%;
        transform: translate(-50%, calc(-50% + 20px)) scale(0.95);
    }

    .popup-modal.active {
        transform: translate(-50%, -50%) scale(1);
    }

    /* Hide left panel on mobile, show compact top bar instead */
    .popup-left-panel {
        display: none;
    }

    .popup-right-panel {
        padding: 28px 24px 24px;
        gap: 20px;
    }

    .popup-title {
        font-size: 1.6rem;
    }

    .popup-actions {
        flex-direction: column;
    }

    .popup-btn-full {
        width: 100%;
        padding: 14px;
    }

    .psv2-desc {
        font-size: 12px;
    }

    /* Old step styles - keep compat */
    .popup-step {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .ps-num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .check-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Tablet: show left panel but compact */
@media (min-width: 769px) and (max-width: 1024px) {
    .popup-left-panel {
        width: 220px;
        padding: 32px 24px;
    }

    .popup-panel-title {
        font-size: 1.5rem;
    }

    .popup-right-panel {
        padding: 32px 28px;
    }
}

body {
    overflow-x: clip;
}

section {
    width: 100%;
}

.container {
    width: 100%;
}

@media (max-width: 768px) {

    .hero-section {
        overflow: hidden;
    }

    .photo-card {
        max-width: 100%;
    }

}

@media (min-width: 640px) {
    .sm-flex-row {
        flex-direction: row;
    }
}

/* ===== PROJECT IMPACT & HISTORY SECTION ===== */
.project-impact-section {
    background-color: #5cb338;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.impact-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.tag-white-outline {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 99px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.text-white {
    color: white !important;
}

/* Floating Intro Card */
.impact-intro-card {
    position: absolute;
    top: 0;
    right: 40px;
    width: 400px;
    background: white;
    padding: 40px;
    border-radius: 32px;
    z-index: 10;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    animation: floatingCard 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.impact-intro-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.2);
}

@keyframes floatingCard {
    0% {
        transform: translateY(0);
    }

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

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

.impact-intro-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #1e2d1a;
    margin-bottom: 16px;
}

.impact-intro-card p {
    color: #4a5a42;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-corner-accent {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--color-accent-orange);
    border-radius: 12px;
    z-index: -1;
}

.impact-stats {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.i-stat strong {
    display: block;
    font-size: 1.25rem;
    color: #5cb338;
    font-weight: 800;
}

.i-stat span {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* History Grid */
.history-vertical-title {
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    left: -20px;
    top: 40%;
    transform: rotate(-90deg);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.history-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
    z-index: 5;
}

.history-card-v2 {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 30px;
    transition: all 0.4s ease;
}

.history-card-v2:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.h-year {
    display: inline-block;
    background: white;
    color: #5cb338;
    padding: 6px 16px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 24px;
}

.h-year.gold {
    background: var(--color-accent-orange);
    color: white;
}

.h-img-wrap {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.h-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.history-card-v2:hover .h-img-wrap img {
    transform: scale(1.1);
}

.h-body h3 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.h-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .project-impact-section {
        padding: 60px 0;
    }

    .impact-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .impact-intro-card {
        position: static;
        width: 100%;
        margin-bottom: 40px;
        padding: 30px;
        right: auto;
    }

    .history-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .history-vertical-title {
        display: none;
    }

    .history-card-v2 {
        padding: 24px;
    }

    .i-stat strong {
        font-size: 1.5rem;
    }
}

/* ===== ABOUT SWAPUP BAKU SECTION RE-STYLE ===== */
.who-can-apply-list {
    margin-top: 24px;
}

.who-can-apply-list h4 {
    color: var(--color-soft-purple);
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-weight: 800;
}

.who-can-apply-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.who-can-apply-list li {
    font-size: 1rem;
    color: var(--slate-600);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(92, 179, 56, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.li-bullet {
    width: 10px;
    height: 10px;
    background: #5cb338;
    border-radius: 2px;
    margin-top: 6px;
    flex-shrink: 0;
}

.who-can-apply-list li:hover {
    background: rgba(92, 179, 56, 0.1);
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .about-text-content {
        text-align: center;
    }

    .about-text-content .tag {
        margin: 0 auto 20px;
    }

    .who-can-apply-list h4 {
        text-align: center;
    }

    .who-can-apply-list li {
        text-align: left;
        font-size: 0.9rem;
    }
}

/* ===== PREMIUM UNIQUE VALUES DESIGN ===== */
.values-container {
    padding: 60px 0 60px 60px;
    z-index: 1;
}

.values-decor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #5cb338;
    top: 10%;
    right: -50px;
    animation: blobFlow 12s ease-in-out infinite alternate;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: #e8a020;
    bottom: 10%;
    left: 0;
    animation: blobFlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes blobFlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-20px, 40px) scale(1);
        opacity: 0.3;
    }
}

.values-premium-stack {
    position: relative;
    max-width: 500px;
}

.stack-header h3 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e2d1a;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.values-island-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-island {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.island-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    z-index: -1;
}

.island-1 {
    animation: islandFloat 7s ease-in-out infinite;
}

.island-2 {
    transform: translateX(30px);
    animation: islandFloat 9s ease-in-out infinite 1s;
}

.island-3 {
    animation: islandFloat 8s ease-in-out infinite 0.5s;
}

@keyframes islandFloat {

    0%,
    100% {
        transform: translateY(0) translateX(var(--base-x, 0));
    }

    50% {
        transform: translateY(-10px) translateX(var(--base-x, 0));
    }
}

/* Maintain the translateX for island-2 during animation */
.island-1 {
    --base-x: 0px;
}

.island-2 {
    --base-x: 30px;
}

.island-3 {
    --base-x: 0px;
}

.value-island:hover {
    transform: translateX(15px) translateY(-5px) scale(1.05) rotate(1deg) !important;
    background: white;
    box-shadow: 0 30px 60px rgba(92, 179, 56, 0.15);
    border-color: #5cb338;
    animation-play-state: paused;
}

.v-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.value-island:hover .v-emoji {
    transform: scale(1.2) rotate(-10deg);
}

.v-info strong {
    display: block;
    font-size: 0.85rem;
    color: #5cb338;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.v-info p {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e2d1a;
}

.funding-disclaimer {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #1e2d1a;
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.fd-icon {
    font-size: 1.5rem;
}

.funding-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .values-container {
        padding: 40px 0;
    }

    .island-2 {
        transform: none;
    }

    .value-island:hover {
        transform: scale(1.02);
    }
}

/* ===== PREMIUM DETAILS GRID REDESIGN ===== */
.details-premium-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    grid-template-areas:
        "featured subgrid"
        "wide wide"
        "subgrid2 subgrid2";
    gap: 24px;
    margin-top: 40px;
}

.d-card {
    background: white;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.d-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.featured-card {
    grid-area: featured;
    background: linear-gradient(135deg, #1e2d1a 0%, #2d4028 100%);
    color: white;
}

.d-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.d-icon-main {
    font-size: 2.5rem;
    color: #5cb338;
    margin-bottom: 40px;
}

.d-label-v2 {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.d-value-v2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Subgrids */
.d-subgrid {
    grid-area: subgrid;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.d-card-mini {
    background: white;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.d-card-mini:hover {
    background: #fdfcf7;
    border-color: #5cb338;
    transform: translateY(-3px);
}

.mini-icon {
    width: 24px;
    height: 24px;
    color: #5cb338;
    margin-bottom: 16px;
}

.mini-lbl {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.mini-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e2d1a;
}

/* Wide Card */
.wide-card {
    grid-area: wide;
    display: flex;
    align-items: center;
    background: #f4faf0;
    border-color: #5cb338;
}

.d-icon-circle {
    width: 80px;
    height: 80px;
    background: #5cb338;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
    font-size: 1.5rem;
}

.d-subgrid-2 {
    grid-area: subgrid2;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.d-card-wide-v2 {
    background: white;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
}

.badge-no-ielts {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-accent-orange);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 12px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .details-premium-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        display: flex;
        flex-direction: column;
    }

    .d-subgrid,
    .d-subgrid-2 {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .wide-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .d-icon-circle {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* ===== AGENDA / ROADMAP SECTION ===== */
.agenda-section {
    background-color: #5cb338;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.agenda-header {
    margin-bottom: 100px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.agenda-header h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.agenda-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: white;
    line-height: 1.1;
    font-weight: 900;
}

.agenda-date-badge {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: #5cb338;
    border-radius: 99px;
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Day Road Layout */
.agenda-road {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.agenda-road::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(92, 179, 56, 0.15);
    transform: translateX(-50%);
}

.day-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    width: 100%;
}

.day-item:last-child {
    margin-bottom: 0;
}

.day-item:nth-child(even) {
    flex-direction: row-reverse;
}

.day-content {
    width: 45%;
    background: white;
    padding: 50px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.day-item:hover .day-content {
    transform: translateY(-10px) scale(1.02);
}

.day-num-bg {
    position: absolute;
    top: -40px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(92, 179, 56, 0.05);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.day-content h5 {
    color: #5cb338;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.day-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #1e2d1a;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.day-list-v2 {
    list-style: none;
    padding: 0;
}

.day-list-v2 li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #4a5a42;
    font-weight: 600;
    font-size: 0.95rem;
}

.day-list-v2 li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.day-visual {
    width: 45%;
    position: relative;
}

.day-img-creative {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 60px;
    border: 8px solid white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
}

.day-item:hover .day-img-creative {
    transform: rotate(2deg) scale(1.05);
}

.day-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border: 6px solid #5cb338;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* Responsiveness */
@media (max-width: 991px) {

    .agenda-road::before,
    .day-dot {
        display: none;
    }

    .day-item {
        flex-direction: column !important;
        margin-bottom: 60px;
    }

    .day-content,
    .day-visual {
        width: 100%;
    }

    .day-visual {
        margin-top: 30px;
    }

    .day-img-creative {
        height: 300px;
    }

    .agenda-section {
        padding: 60px 0;
    }

    .agenda-header {
        margin-bottom: 40px;
    }
}

/* ===== STEP 6: WHITE BG & ORANGE GLASS REDESIGN ===== */
.bg-orange-logo {
    background-color: #5cb338 !important;
}

.past-events-section {
    background: #5cb338 !important;
    border-radius: 48px;
    margin: 48px auto;
    width: calc(100% - 48px);
    max-width: 1400px;
    padding: 64px 32px;
    position: relative;
    overflow: hidden;
    display: block;
}

.past-events-section .section-title {
    font-size: 2.5rem;
    color: white !important;
    margin-bottom: 8px;
}

.past-events-section .tag-outline {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}

.event-card-v3 {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-v3:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.event-img-rotate {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.event-img-rotate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.event-card-v3:hover .event-img-rotate img {
    transform: scale(1.06);
}

.event-content-v3 {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.e-loc-v3 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.e-loc-v3 svg {
    width: 14px;
    height: 14px;
}

.event-content-v3 h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    margin-bottom: 6px;
    line-height: 1.15;
}

.e-date-v3 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.e-how {
    margin-bottom: 24px;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 24px;
}

.e-how strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 8px;
    font-weight: 800;
}

.e-how p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5cb338;
    background: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 99px;
    border: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}


.insta-link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .event-card-v3 {
        padding: 20px;
    }

    .event-content-v3 h3 {
        font-size: 1.75rem;
    }
}

/* ===== UNIVERSAL SMOOTHNESS & REVEAL SYSTEM ===== */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Delay System for Staggered Animations */
.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;
}

/* Navbar Smooth Transition */
#navbar {
    transition: background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        padding 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#navbar.scrolled {
    background: rgba(92, 179, 56, 0.98) !important;
    backdrop-filter: blur(5px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Global Button & Link Smoothness */
button,
a,
.btn,
.nav-links a,
.insta-link,
.card-v3,
.faq-btn,
.day-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Image Scale on Hover (Standardized) */
.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.zoom-on-hover:hover img {
    transform: scale(1.05);
}

/* Base Body smooth scroll adjustment */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


/* ===== FUNDING PATHS SECTION ===== */
.paths-section {
    padding: 100px 0;
    background: #fdfdfd;
}

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

.path-card {
    background: white;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.path-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.path-card.premium-path {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border: 2px solid #5cb338;
}

.path-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.badge-green {
    background: #e6f4ea;
    color: #1e7e34;
}

.badge-orange {
    background: #fff4e6;
    color: #e67e22;
}

.badge-blue {
    background: #e7f3ff;
    color: #007bff;
}

.path-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.path-seats {
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 24px;
}

.path-features {
    margin-top: 20px;
    flex-grow: 1;
}

.path-features h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
}

.li-check {
    color: #5cb338;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.path-price-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
}

.path-step-box {
    margin-top: 10px;
    border-top: 1px dashed #ddd;
    padding-top: 24px;
}

.step-info {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 12px;
}

.download-file-btn {
    width: 100%;
    background: #fff;
    border: 2px solid #eee;
    padding: 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 16px;
}

.download-file-btn:hover {
    border-color: #5cb338;
    background: #f9fff9;
    color: #5cb338;
}

.file-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.download-file-btn:hover .file-icon-box {
    background: #5cb338;
    color: white;
}

.submit-btn-full {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: #111;
    color: white;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn-full:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.note-text {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 991px) {
    .paths-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Fix for the Deadline Bar & Flex Utilities */
.flex {
    display: flex;
}

.deadline-bar {
    position: relative;
    z-index: 100;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.02);
}

.countdown-mini {
    display: flex;
    align-items: center;
    gap: 20px;
}

.c-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.c-unit span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
}

.c-unit label {
    margin-top: 4px;
}

.dl-info {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .deadline-bar .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .dl-info {
        align-items: center;
    }

    .countdown-mini {
        gap: 12px;
    }

    .c-unit span {
        font-size: 1.1rem;
    }
}

/* ================================================================
   MASTER POLISHING LAYER — Full PC + Responsive Design System
   ================================================================ */

/* ── Global Section Rhythm ── */
section {
    position: relative;
}

.hero-section          { padding-top: 120px; padding-bottom: 100px; }
.project-impact-section{ padding: 120px 0; }
.about-section         { padding: 120px 0; }
.agenda-section        { padding: 120px 0; }
.goals-section         { padding: 120px 0; }
.vision-section        { padding: 120px 0; }
.upcoming-section      { padding: 120px 0; }
.past-events-section   { padding: 48px 40px 56px; }
.faq-section           { padding: 120px 0; }
.footer                { padding: 80px 0 32px; }

/* ── Container max-width fix ── */
.container {
    max-width: 1200px;
    padding-left: 32px;
    padding-right: 32px;
}

/* ── Section headers — uniform spacing ── */
.section-header-center {
    text-align: center;
    margin-bottom: 72px;
}
.section-header-center .tag,
.section-header-center .tag-mint,
.section-header-center .tag-peach {
    margin-bottom: 20px;
}
.section-header-center .section-title {
    margin-bottom: 16px;
}
.section-header-center .section-desc {
    margin: 0 auto;
}

/* ── section-title sizes ── */
.section-title {
    font-size: 3.25rem;
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 800;
}
.section-desc {
    font-size: 1.15rem;
    color: var(--slate-500);
    max-width: 600px;
}

/* ── glass-card consistency ── */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 48px 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.glass-card:hover {
    box-shadow: 0 20px 60px rgba(92, 179, 56, 0.10);
    border-color: rgba(92, 179, 56, 0.18);
    transform: translateY(-6px);
}

/* ── Navbar polish ── */
nav {
    padding: 14px 48px;
    backdrop-filter: blur(10px);
}
.nav-links {
    gap: 20px;
}
.nav-links a {
    font-size: 14px;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

/* ── Hero section polish ── */
.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--slate-600);
}
.hero-buttons {
    gap: 14px;
    flex-wrap: wrap;
}
.btn-secondary.large,
.btn-primary.large {
    padding: 16px 36px !important;
    font-size: 1rem !important;
    border-radius: 999px;
}

/* ── About Section (Win your Spot to Baku) ── */
.about-section .grid-2-col {
    gap: 80px;
    align-items: flex-start;
}
.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.about-text-content .tag-mint {
    margin-bottom: 20px;
    align-self: flex-start;
}
.about-p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--slate-500);
    margin: 20px 0 28px;
}

/* ── Agenda Section ── */
.agenda-section {
    background: white;
}
.agenda-header {
    text-align: center;
    margin-bottom: 80px;
}
.agenda-header h4 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5cb338;
    margin-bottom: 16px;
}
.agenda-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.agenda-date-badge {
    display: inline-block;
    background: rgba(92, 179, 56, 0.05);
    color: #5cb338;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 99px;
    margin-top: 8px;
    border: 1px solid rgba(92, 179, 56, 0.12);
}
/* ── Agenda Day Items — keep original flex layout ── */
.day-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
    width: 100%;
}
.day-item:last-child {
    margin-bottom: 0;
}
.day-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border: 6px solid #5cb338;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(92, 179, 56, 0.12);
    z-index: 10;
}
.day-content {
    width: 45%;
    background: white;
    padding: 48px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.day-item:hover .day-content {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(92, 179, 56, 0.12);
    border-color: rgba(92, 179, 56, 0.15);
}
.day-num-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(92, 179, 56, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.day-content h5 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5cb338;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.day-content h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.day-content p {
    color: var(--slate-500);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.day-list-v2 {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
.day-list-v2 li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-700);
    padding: 10px 16px;
    background: rgba(92, 179, 56, 0.05);
    border-radius: 10px;
    border-left: 3px solid #5cb338;
    transition: background 0.2s;
}
.day-list-v2 li:hover {
    background: rgba(92, 179, 56, 0.08);
}
.day-visual {
    width: 45%;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}
.day-img-creative {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.day-item:hover .day-img-creative {
    transform: scale(1.04);
}

/* ── Goals Section ── */
.goals-section .grid-3-col {
    align-items: stretch;
}
.goal-card {
    border-radius: 32px;
    padding: 48px 40px;
}
.goal-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
}
.goal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}
.goal-footer {
    margin-top: auto;
}
.contact-cta {
    border-radius: 48px;
    padding: 64px;
}
.contact-cta h3 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.3;
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--slate-900);
}

/* ── Vision Section ── */
.vision-section .grid-2-col {
    gap: 80px;
    align-items: center;
}
.vision-image-wrap img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}
.target-card {
    padding: 40px;
    background: white;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}
.target-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.target-card h3 {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--slate-900);
}
.target-deadline {
    position: absolute;
    top: -12px;
    right: 32px;
    background: #5cb338;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 99px;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(92, 179, 56, 0.2);
}
.target-icon-v2 {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.vision-support-cta {
    border-radius: 48px;
    padding: 80px 64px;
    background: var(--color-soft-cream);
    border: 1px solid rgba(92, 179, 56, 0.12);
}
.vision-support-cta h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.35;
}

/* ── Upcoming Section ── */
.upcoming-section {
    background: linear-gradient(160deg, #f4faf0 0%, #ffffff 50%, #f4faf0 100%);
}
.upcoming-section .section-title {
    margin-bottom: 16px;
}
.upcoming-section .coming-soon-badge {
    margin-bottom: 20px;
}
.event-card-upcoming {
    border-radius: 40px;
    padding: 56px 48px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.event-card-upcoming:hover {
    transform: translateY(-14px);
    box-shadow: 0 40px 80px rgba(92, 179, 56, 0.12);
    border-color: rgba(92, 179, 56, 0.25);
}
.event-date-box {
    border-radius: 20px;
    padding: 12px 32px;
    margin-bottom: 28px;
    background: var(--color-soft-cream);
    border: 1px solid rgba(92, 179, 56, 0.12);
}
.event-card-upcoming h3 {
    font-size: 2rem;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.event-card-upcoming p {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
}
.stay-tuned-info {
    margin-top: 64px;
    font-size: 13px;
    color: var(--slate-400);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}
.stay-tuned-info::before {
    content: '✦ ';
    color: #5cb338;
}
.stay-tuned-info::after {
    content: ' ✦';
    color: #5cb338;
}

/* Past Events - styles defined above in main section */

/* ── FAQ Section ── */
.faq-wrapper {
    border-radius: 40px;
    padding: 48px;
    border: 1px solid rgba(0,0,0,0.04);
}
.faq-btn {
    font-size: 1.05rem;
    padding: 24px 0;
    gap: 20px;
}
.faq-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-500);
}

/* ── Footer polish ── */
.footer {
    border-top: 1px solid rgba(92, 179, 56, 0.08);
}

/* ── Shared CTA button sizes ── */
.btn-primary.large,
.btn-primary.large.soft-shadow-hover {
    padding: 18px 48px !important;
    font-size: 1rem !important;
    font-weight: 800;
    letter-spacing: 0.25px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary.large:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(92, 179, 56, 0.3);
}

/* ── Misc utility fixes ── */
.mt-24 { margin-top: 96px; }
.mb-16 { margin-bottom: 64px; }
.gap-20 { gap: 80px; }
.gap-12 { gap: 48px; }
.gap-8  { gap: 32px; }

/* ================================================================
   RESPONSIVE — 1280px large desktop
   ================================================================ */
@media (max-width: 1280px) {
    .container { max-width: 1100px; }
    .hero-title { font-size: 4.25rem; }
    .vision-image-wrap img { height: 460px; }
}

/* ================================================================
   RESPONSIVE — 1024px Tablet Landscape
   ================================================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; letter-spacing: -1px; }
    .section-title { font-size: 2.5rem; }

    .hero-section          { padding-top: 110px; padding-bottom: 80px; }
    .project-impact-section{ padding: 80px 0; }
    .about-section         { padding: 80px 0; }
    .agenda-section        { padding: 80px 0; }
    .goals-section         { padding: 80px 0; }
    .vision-section        { padding: 80px 0; }
    .upcoming-section      { padding: 80px 0; }
    .past-events-section   { padding: 56px 32px; }
    .faq-section           { padding: 80px 0; }

    .past-events-section {
        margin: 0 16px;
        border-radius: 40px;
    }

    .grid-2-col { grid-template-columns: 1fr; gap: 48px; }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .vision-section .grid-2-col { gap: 48px; }
    .vision-image-wrap img { height: auto; max-height: 400px; }

    .about-section .grid-2-col { gap: 48px; }

    .values-container { padding: 40px 0; }

    .day-item {
        flex-direction: column !important;
        margin-bottom: 60px;
        gap: 32px;
    }
    .day-content, .day-visual { width: 100% !important; }
    .day-img-creative { height: 300px; }
    .day-num-bg { font-size: 4rem; }

    .contact-cta  { padding: 48px 40px; }
    .vision-support-cta { padding: 48px 40px; }

    .event-card-upcoming { padding: 48px 40px; }
    .event-card-upcoming h3 { font-size: 1.75rem; }

    .faq-wrapper { padding: 36px 32px; }
    .agenda-header h2 { font-size: 2.5rem; }
}

/* ================================================================
   RESPONSIVE — 768px Tablet Portrait & Large Mobile
   ================================================================ */
@media (max-width: 768px) {
    nav { padding: 12px 20px; }
    .nav-links, .nav-actions { display: none !important; }
    .mobile-menu-btn { display: flex; align-items: center; }

    .hero-section { padding-top: 100px; padding-bottom: 60px; }
    .hero-title { font-size: 2.8rem; letter-spacing: -0.5px; }
    .hero-desc  { font-size: 1rem; margin-bottom: 32px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .btn-secondary.large, .btn-primary.large { padding: 14px 28px !important; font-size: 0.95rem !important; }

    .section-title { font-size: 2rem; }
    .section-desc  { font-size: 1rem; }

    .project-impact-section{ padding: 60px 0; }
    .about-section         { padding: 60px 0; }
    .agenda-section        { padding: 60px 0; }
    .goals-section         { padding: 60px 0; }
    .vision-section        { padding: 60px 0; }
    .upcoming-section      { padding: 60px 0; }
    .past-events-section   { padding: 48px 24px; border-radius: 32px; margin: 32px auto; width: calc(100% - 32px); }
    .faq-section           { padding: 60px 0; }

    .container { padding-left: 20px; padding-right: 20px; }

    .grid-2-col { grid-template-columns: 1fr; gap: 32px; }
    .grid-3-col { grid-template-columns: 1fr; gap: 20px; }

    .glass-card { padding: 32px 24px; border-radius: 24px; }

    .goal-card   { padding: 36px 28px; border-radius: 24px; }
    .goal-card h3{ font-size: 1.4rem; }
    .goal-icon-box { width: 52px; height: 52px; }

    .event-card-upcoming { padding: 40px 28px; border-radius: 28px; }
    .event-card-upcoming h3 { font-size: 1.6rem; }

    .target-card { padding: 32px 24px; border-radius: 24px; }
    .target-card h3 { font-size: 1.3rem; }
    .target-deadline { top: -10px; right: 20px; font-size: 10px; padding: 5px 14px; }

    .contact-cta        { padding: 40px 24px; border-radius: 32px; }
    .contact-cta h3     { font-size: 1.5rem; }
    .vision-support-cta { padding: 40px 24px; border-radius: 32px; }
    .vision-support-cta h3 { font-size: 1.4rem; }

    .vision-image-wrap img { height: 260px; }

    .day-item { padding: 0 0 48px 36px; gap: 24px; }
    .day-content h3 { font-size: 1.6rem; }
    .day-num-bg { font-size: 3rem; }
    .day-visual { border-radius: 20px; }
    .agenda-header { margin-bottom: 48px; }
    .agenda-header h2 { font-size: 2rem; }

    .faq-wrapper { padding: 28px 20px; border-radius: 28px; }
    .faq-btn { font-size: 0.95rem; }

    .history-grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .values-container { padding: 24px 0; }
    .values-island-grid { gap: 12px; }
    .value-island { padding: 16px; }

    .who-can-apply-list li { font-size: 0.9rem; padding: 10px 14px; }

    .impact-intro-card { position: static; width: 100%; margin-bottom: 32px; padding: 24px; right: auto; animation: none; }

    .stay-tuned-info { margin-top: 48px; font-size: 11px; }

    .btn-primary.large { padding: 16px 36px !important; }
}

/* ================================================================
   RESPONSIVE — 480px Small Mobile
   ================================================================ */
@media (max-width: 480px) {
    .hero-title  { font-size: 2.2rem; }
    .section-title { font-size: 1.75rem; }

    .glass-card  { padding: 28px 20px; }
    .goal-card   { padding: 30px 22px; }
    .event-card-upcoming { padding: 32px 22px; }
    .target-card { padding: 28px 20px; }
    .faq-wrapper { padding: 24px 16px; }
    .contact-cta { padding: 32px 20px; }
    .vision-support-cta { padding: 32px 20px; }

    .event-card-upcoming h3 { font-size: 1.4rem; }
    .goal-card h3 { font-size: 1.25rem; }

    .agenda-header h2 { font-size: 1.75rem; }
    .day-content h3 { font-size: 1.4rem; }
    .day-item { padding: 0 0 40px 28px; }
    .day-dot { width: 14px; height: 14px; left: -8px; }

    .past-events-section { margin: 24px auto; width: calc(100% - 24px); border-radius: 24px; padding: 40px 16px; }
    .event-content-v3 { padding: 24px; }
    .event-content-v3 h3 { font-size: 1.5rem; }

    nav { padding: 10px 16px; }
    .logo-area img { height: 52px !important; }

    .btn-primary.large { padding: 14px 28px !important; font-size: 0.9rem !important; }

    .mobile-links a { font-size: 22px; }
    .mobile-links { gap: 24px; }
}

/* ================================================================
   SECTION DIVIDERS — subtle visual rhythm
   ================================================================ */
.about-section,
.vision-section,
.upcoming-section,
.faq-section {
    background: white;
}
.goals-section {
    background: var(--color-soft-cream);
}
.agenda-section {
    background: white;
}
.project-impact-section {
    background: #5cb338;
}

/* Border-radius on sections that sit inside page flow */
/* (past-events already has border-radius + margin) */

/* ── Smooth scrolling on anchor links ── */
html { scroll-behavior: smooth; }
* { scroll-margin-top: 80px; }