/* ============================================================
   COLLEGE AVENUE — GLOBAL DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS TOKENS ---- */
:root {
    --teal: #00B5B8;
    --teal-dark: #008B8D;
    --teal-light: #33C8CA;
    --teal-glow: rgba(0, 181, 184, 0.18);
    --teal-glow2: rgba(0, 181, 184, 0.08);

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;

    --tr: 0.25s ease;
    --tr-slow: 0.5s ease;

    --nav-h: 72px;
}

/* ---- LIGHT THEME (default) ---- */
:root,
[data-theme="light"] {
    --bg: #F2F8FF;
    --bg-alt: #FFFFFF;
    --surface: #FFFFFF;
    --card: #FFFFFF;
    --card-border: rgba(0, 181, 184, 0.18);
    --nav-bg: rgba(255, 255, 255, 0.92);
    --text: #0D1829;
    --text-muted: #4A5878;
    --text-light: #8A9ABB;
    --border: #DDE6F5;
    --shadow-sm: 0 2px 12px rgba(13, 24, 41, 0.07);
    --shadow: 0 4px 24px rgba(13, 24, 41, 0.09);
    --shadow-lg: 0 12px 56px rgba(13, 24, 41, 0.12);
    --hero-bg: linear-gradient(140deg, #E8F4FF 0%, #D1F5F5 50%, #EBF0FF 100%);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 181, 184, 0.2);
    --divider: rgba(0, 0, 0, 0.06);
    --stat-bg: linear-gradient(135deg, #00B5B8, #008B8D);
    --footer-bg: #0D1829;
    --footer-text: #8A9ABB;
}

/* ---- DARK THEME ---- */
[data-theme="dark"] {
    --bg: #0B0F1A;
    --bg-alt: #111827;
    --surface: #111827;
    --card: #1A2235;
    --card-border: rgba(0, 181, 184, 0.14);
    --nav-bg: rgba(11, 15, 26, 0.92);
    --text: #E8F0FE;
    --text-muted: #8A9ABB;
    --text-light: #4A5878;
    --border: #1E2D45;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 12px 56px rgba(0, 0, 0, 0.55);
    --hero-bg: linear-gradient(140deg, #0B0F1A 0%, #0A2040 50%, #081535 100%);
    --glass-bg: rgba(17, 24, 39, 0.8);
    --glass-border: rgba(0, 181, 184, 0.18);
    --divider: rgba(255, 255, 255, 0.05);
    --stat-bg: linear-gradient(135deg, #00B5B8, #005E60);
    --footer-bg: #060A12;
    --footer-text: #4A5878;
}

/* ---- RESET ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================================
   SPLASH SCREEN INTRO ANIMATION
============================================================ */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Video Background */
.splash-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.splash-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7) 0%, rgba(20, 184, 166, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.splash-screen.splash-hide {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    position: fixed;
}

.splash-screen.splash-gone {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* Floating particles */
.splash-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.s-particle {
    position: absolute;
    top: -40px;
    left: var(--x, 50%);
    font-size: 1.8rem;
    opacity: 0;
    animation: splashFall var(--dur, 3s) var(--delay, 0s) ease-in infinite;
}

@keyframes splashFall {
    0% { transform: translateY(-40px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    80% { opacity: 0.6; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Content container */
.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 4;
    padding: 2rem;
    max-width: 600px;
}

/* Illustration */
.splash-illustration {
    width: 280px;
    height: 280px;
    animation: splashIllustIn 1s 0.3s ease both;
}

.splash-svg-anim {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 24px rgba(20, 184, 166, 0.4));
}

.splash-svg-anim .svg-prof-hand {
    transform-origin: 360px 250px;
    animation: profArmHand 4s ease-in-out infinite;
}

.splash-svg-anim .svg-student-reach {
    transform-origin: 140px 260px;
    animation: studentArmReach 4s ease-in-out infinite;
}

.splash-svg-anim .svg-degree {
    animation: degreeTransfer 4s ease-in-out infinite;
}

.splash-svg-anim .star {
    transform-origin: center;
    animation: starPulse 2.5s ease-in-out infinite alternate;
}

.splash-svg-anim .s1 { animation-delay: 0s; }
.splash-svg-anim .s2 { animation-delay: 0.8s; }
.splash-svg-anim .s3 { animation-delay: 1.6s; }

@keyframes profArmHand {
    0%, 15%, 85%, 100% { transform: rotate(0deg); }
    40%, 60% { transform: rotate(-8deg); }
}

@keyframes studentArmReach {
    0%, 15%, 85%, 100% { transform: rotate(0deg); }
    40%, 60% { transform: rotate(-10deg); }
}

@keyframes degreeTransfer {
    0%, 15%, 85%, 100% { transform: translate(0, 0) rotate(0deg); }
    40%, 60% { transform: translate(-100px, 15px) rotate(-15deg); }
}

@keyframes starPulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0.9; }
}

@keyframes splashIllustIn {
    0% { opacity: 0; transform: scale(0.5) translateY(30px); }
    60% { transform: scale(1.05) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Caption text */
.splash-text {
    animation: splashTextIn 0.8s 1.2s ease both;
}

.splash-caption {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.splash-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

.splash-highlight {
    color: #14b8a6;
    font-weight: 700;
    position: relative;
}

.splash-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #14b8a6;
    border-radius: 2px;
    animation: splashUnderline 0.6s 2s ease both;
}

@keyframes splashUnderline {
    0% { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

@keyframes splashTextIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Logo row */
.splash-logo-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: splashLogoIn 0.6s 2s ease both;
    padding-top: 0.5rem;
}

.splash-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.splash-logo-large {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.splash-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
}

.splash-brand-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.02em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

@keyframes splashLogoIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
    .splash-illustration {
        width: 200px;
        height: 200px;
    }

    .splash-caption {
        font-size: 1.35rem;
    }

    .splash-sub {
        font-size: 0.95rem;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background var(--tr), color var(--tr);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--teal-dark);
    border-radius: 10px;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    color: var(--text-muted);
}

.text-teal {
    color: var(--teal);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-glow);
    border: 1px solid var(--teal-glow);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
}

.section-title {
    margin-bottom: 0.6rem;
}

.section-sub {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-full);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--tr);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 181, 184, 0.35);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 181, 184, 0.45);
}

.btn-outline {
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
}

.btn-outline:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-muted);
    border: 2px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

/* ============================================================
   CARDS
============================================================ */
.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform var(--tr), box-shadow var(--tr);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Icon box */
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: background var(--tr);
}

.card:hover .icon-box {
    background: var(--teal);
}

.card:hover .icon-box span {
    filter: brightness(0) invert(1);
}

/* ============================================================
   NAVIGATION
============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider);
    transition: background var(--tr), box-shadow var(--tr);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
}

.nav-logo-text span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--tr);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal);
    background: var(--teal-glow2);
}

.nav-link.arena {
    color: var(--teal);
    border: 1px solid var(--card-border);
    font-weight: 600;
}

.nav-link.arena:hover {
    background: var(--teal-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme toggle */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all var(--tr);
}

.theme-toggle:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--tr);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.8rem;
    overflow-y: auto;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile .nav-link {
    font-size: 1.15rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    transition: background var(--tr), color var(--tr);
    text-align: center;
}

.nav-mobile .nav-link:hover,
.nav-mobile .nav-link.active {
    background: var(--card);
    color: var(--teal);
}

.nav-mobile .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 1.1rem;
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    background: var(--hero-bg);
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 181, 184, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 181, 184, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    animation: fadeSlideUp 0.6s ease;
}

.hero h1 {
    animation: fadeSlideUp 0.7s 0.1s ease both;
    margin-bottom: 1.2rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 2.2rem;
    animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.7s 0.3s ease both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3.5rem;
    animation: fadeSlideUp 0.7s 0.4s ease both;
}

.hero-stat-item strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal);
}

.hero-stat-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeSlideLeft 0.8s 0.2s ease both;
}

.hero-globe {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--teal-glow);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    position: relative;
    animation: spin 20s linear infinite;
}

.hero-globe::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 181, 184, 0.25);
    animation: spin 15s linear infinite reverse;
}

/* floating cards on hero */
.float-card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.float-card:nth-child(2) {
    animation-delay: 0.5s;
    top: 20%;
    right: -10%;
}

.float-card:nth-child(3) {
    animation-delay: 1s;
    bottom: 25%;
    left: -10%;
}

.float-card:nth-child(4) {
    animation-delay: 1.5s;
    bottom: 5%;
    right: 5%;
    font-size: 0.78rem;
}

.float-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    display: inline-block;
}

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip {
    background: var(--stat-bg);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.service-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    transition: all var(--tr);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--tr);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h4 {
    margin: 0.8rem 0 0.4rem;
    font-size: 1rem;
    position: relative;
}

.service-card p {
    font-size: 0.85rem;
    position: relative;
}

.service-icon {
    font-size: 2rem;
}

/* ============================================================
   PROCESS STEPS
============================================================ */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--tr);
}

.step:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.step-num {
    min-width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.88rem;
}

/* ============================================================
   COUNTRIES
============================================================ */
.country-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card);
    transition: all var(--tr);
    cursor: pointer;
}

.country-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.country-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.country-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

.country-flag {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.country-info {
    padding: 1.2rem;
}

.country-info h4 {
    margin-bottom: 0.3rem;
}

.country-info p {
    font-size: 0.82rem;
}

.country-tag {
    display: inline-block;
    background: var(--teal-glow);
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    margin-top: 0.7rem;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 320px;
    max-width: 360px;
    scroll-snap-align: start;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    flex-shrink: 0;
    transition: all var(--tr);
}

.testimonial-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.t-quote {
    font-size: 2.5rem;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.t-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid var(--teal);
    overflow: hidden;
}

.t-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.t-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.stars {
    color: #F59E0B;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ============================================================
   PARENTS SECTION
============================================================ */
.parents-section {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    padding: 5rem 0;
}

.parents-section h2,
.parents-section p,
.parents-section .section-label {
    color: #fff;
}

.parents-section .section-label {
    background: rgba(255, 255, 255, 0.15);
}

.parents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.parent-feature {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    text-align: center;
}

.parent-feature .p-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.parent-feature h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.parent-feature p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

/* ============================================================
   EVENTS
============================================================ */
.event-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--tr);
}

.event-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.event-date {
    min-width: 60px;
    text-align: center;
    background: var(--teal-glow);
    border: 1px solid var(--teal);
    border-radius: var(--radius-md);
    padding: 0.6rem;
}

.event-day {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.event-month {
    font-size: 0.72rem;
    color: var(--teal);
    font-weight: 600;
    text-transform: uppercase;
}

.event-details h4 {
    margin-bottom: 0.3rem;
}

.event-details p {
    font-size: 0.85rem;
}

.event-tag {
    display: inline-block;
    background: var(--teal-glow);
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

/* ============================================================
   LEAD CAPTURE / CTA SECTION
============================================================ */
.cta-section {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
}

.lead-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.lead-form input {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 240px;
    transition: border-color var(--tr);
}

.lead-form input:focus {
    border-color: var(--teal);
}

.lead-form input::placeholder {
    color: var(--text-light);
}

/* ============================================================
   FORMS
============================================================ */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--tr);
}

.form-control:focus {
    border-color: var(--teal);
}

.form-control::placeholder {
    color: var(--text-light);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ============================================================
   BADGE / TAG
============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-teal {
    background: var(--teal-glow);
    color: var(--teal);
}

.badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.badge-info {
    background: rgba(99, 102, 241, 0.12);
    color: #6366F1;
}

/* ============================================================
   CURRENCY SCRIPT
============================================================ */
.eur-script {
    font-size: 0.65em;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.2rem;
    opacity: 0.8;
}

/* ============================================================
   COLLEGE ARENA
============================================================ */
.arena-hero {
    background: var(--hero-bg);
    padding: calc(var(--nav-h) + 1rem) 0 1rem;
    text-align: center;
    min-height: 0;
    height: calc(100vh - var(--nav-h));
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.arena-search-box {
    display: flex;
    gap: 0.5rem;
    max-width: 640px;
    margin: 1.2rem auto 0;
    background: var(--card);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-full);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
}

.arena-search-box input {
    flex: 1;
    border: none;
    background: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.arena-search-box input::placeholder {
    color: var(--text-light);
}

.arena-filters {
    background: var(--surface);
    border-bottom: 1px solid var(--divider);
    padding: 1.2rem 0;
    position: sticky;
    top: var(--nav-h);
    z-index: 100;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-select {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: border-color var(--tr);
    min-width: 140px;
}

.filter-select:focus {
    border-color: var(--teal);
}

.filter-count {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.filter-count span {
    font-weight: 700;
    color: var(--teal);
}

.uni-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--tr);
    cursor: pointer;
}

.uni-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.uni-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.uni-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.uni-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.2rem;
}

.uni-degree {
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.uni-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.uni-cost-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid var(--divider);
    gap: 1rem;
}

.cost-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cost-amount {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--teal);
    font-size: 1.05rem;
}

.cost-amount small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.cost-scholarship {
    text-decoration: line-through;
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Cost Calculator Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--teal-dark) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--teal-dark);
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--tr);
}

.modal-close:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.cost-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cost-box {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: center;
}

.cost-box.featured {
    border-color: var(--teal);
    background: var(--teal-glow);
}

.cost-box .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.cost-box .amount {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
}

.cost-box .sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--tr);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: var(--tr);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--teal);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 0.88rem;
    color: var(--text);
}

.cost-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    border-left: 3px solid var(--teal);
}

/* ============================================================
   PAGE HEADER (for inner pages)
============================================================ */
.page-header {
    background: var(--hero-bg);
    padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--footer-text);
    font-size: 0.88rem;
    margin-top: 0.8rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--tr);
    color: #fff;
}

.social-btn:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links li+li {
    margin-top: 0.6rem;
}

.footer-links a {
    font-size: 0.84rem;
    color: var(--footer-text);
    transition: color var(--tr);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--footer-text);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 36px;
}

.footer-logo span {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.footer-logo span em {
    color: var(--teal);
    font-style: normal;
}

/* ============================================================
   WHATSAPP BUTTON
============================================================ */
.wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 900;
    transition: all var(--tr);
    animation: pulse 2.5s infinite;
}

.wa-btn:hover {
    background: #1fba59;
    transform: scale(1.1);
}

/* Scroll-to-top */
.scroll-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--tr);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 4px 36px rgba(37, 211, 102, 0.7);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE GRID HELPERS (used to replace inline styles)
============================================================ */
.grid-2col-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2col-gap2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.grid-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Event card layout */
.event-card-grid {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 2rem;
    align-items: center;
}

/* Story card layout */
.story-card-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

/* Story stats row */
.story-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

/* Italy spotlight inner grid */
.italy-spotlight-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

/* Country city cost row */
.city-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.city-cost-row .city-name {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.city-cost-row .city-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

/* ============================================================
   TESTIMONIAL NAVIGATION ARROWS
============================================================ */
.testimonial-nav-wrapper {
    position: relative;
}

.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all var(--tr);
    box-shadow: var(--shadow-sm);
}

.testimonial-nav-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: var(--shadow);
}

.testimonial-nav-btn.prev {
    left: 0.5rem;
}

.testimonial-nav-btn.next {
    right: 0.5rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-h) + 2rem) 0 3rem;
    }

    .hero-visual {
        display: none;
    }

    /* Force hero to single column */
    .grid-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Responsive 2-col grids → single column */
    .grid-2col-responsive,
    .grid-2col-gap2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Event cards: stack vertically */
    .event-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }

    .event-card-grid .event-date {
        display: inline-flex;
        gap: 0.5rem;
        align-items: center;
        width: auto;
    }

    .event-card-grid > div:last-child {
        text-align: left;
        min-width: unset;
    }

    .event-card-grid > div:last-child .btn {
        width: 100%;
        justify-content: center;
    }

    /* Story cards: stack vertically */
    .story-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-card-grid > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Story stats: 1-col on very small, stay 3-col on 768 */
    .story-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    /* Italy spotlight: stack */
    .italy-spotlight-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .italy-spotlight-grid .btn {
        width: 100%;
        justify-content: center;
    }

    /* City cost rows: stack on mobile */
    .city-cost-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .city-cost-row .city-detail {
        text-align: left;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 1rem;
    }

    .parents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cta-section {
        padding: 2.5rem 1.2rem;
    }

    .cost-breakdown {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .arena-search-box {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .arena-search-box input {
        padding: 0.8rem;
        width: 100%;
        border-radius: var(--radius-md);
        background: var(--bg-alt);
    }

    .arena-search-box .btn {
        width: 100%;
        justify-content: center;
    }

    .filter-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.8rem;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }

    .filter-select {
        min-width: max-content;
    }

    .page-header {
        padding: calc(var(--nav-h) + 2rem) 0 2.5rem;
    }

    .modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    /* Testimonial nav arrows: tighter on mobile */
    .testimonial-nav-btn.prev {
        left: 0.25rem;
    }
    .testimonial-nav-btn.next {
        right: 0.25rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 0.8rem;
    }

    .lead-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .lead-form input {
        width: 100%;
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .hero {
        padding: calc(var(--nav-h) + 1.5rem) 0 2rem;
    }

    .wa-btn {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.4rem;
    }

    /* Story stats: single column on tiny screens */
    .story-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonial nav: slightly smaller */
    .testimonial-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Theme Auto-Generated Dark Logo Swaps */
[data-theme='dark'] .nav-logo img,
[data-theme='dark'] .footer-logo img {
    content: url('../assets/logo-dark.png');
}

/* --- Global Background Animations --- */
.bg-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2; /* Under everything */
    overflow: hidden;
}

.bg-anim-item {
    position: absolute;
    opacity: 0.04;
    font-size: 8rem;
    user-select: none;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

[data-theme="dark"] .bg-anim-item {
    opacity: 0.07;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.anim-plane {
    top: 15%;
    left: -200px;
    animation: floatPlane 45s linear infinite;
}

.anim-hat {
    top: 60%;
    right: -200px;
    animation: floatHat 65s ease-in-out infinite alternate;
    font-size: 10rem;
}

.anim-globe {
    bottom: -150px;
    left: 8%;
    animation: floatGlobe 80s linear infinite;
    font-size: 15rem;
    opacity: 0.02;
}

.anim-book {
    top: -150px;
    right: 20%;
    animation: floatBook 70s ease-in-out infinite alternate;
    font-size: 8rem;
    opacity: 0.03;
}

@keyframes floatPlane {
    0% { transform: translate(-10vw, 5vh) rotate(15deg); }
    100% { transform: translate(110vw, -10vh) rotate(15deg); }
}

@keyframes floatHat {
    0% { transform: translate(5vw, 0) rotate(-20deg); }
    100% { transform: translate(-100vw, -15vh) rotate(20deg); }
}

@keyframes floatGlobe {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes floatBook {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(80vh) rotate(20deg); }
}


/* --- Social Media Reels Section --- */
.reels-section {
    padding: 4rem 0;
    overflow: hidden;
}

.reels-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reels-header-row .text-center {
    text-align: left;
}

.reels-follow-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.reels-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--tr);
    border: 2px solid transparent;
}
.reels-follow-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.reels-follow-btn.ig {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
}
.reels-follow-btn.ig:hover {
    box-shadow: 0 4px 20px rgba(131, 58, 180, 0.4);
    transform: translateY(-2px);
}

.reels-follow-btn.yt {
    background: #FF0000;
    color: #fff;
}
.reels-follow-btn.yt:hover {
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* Scroll wrapper with nav */
.reels-nav-wrapper {
    position: relative;
}

.reels-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 20;
    transition: all var(--tr);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.reels-nav-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.reels-nav-btn.prev { left: -0.5rem; }
.reels-nav-btn.next { right: -0.5rem; }

.reels-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.2rem;
    padding: 1rem 0 2rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.reels-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Individual reel embed card */
.reel-card {
    flex: 0 0 300px;
    border-radius: var(--radius-lg);
    background: var(--card);
    position: relative;
    scroll-snap-align: center;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .reel-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.reel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Iframe embed wrapper - maintains 9:16 aspect ratio */
.reel-embed {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 16:9 inverted = 9:16 */
    background: var(--bg-alt);
    overflow: hidden;
}

.reel-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder for reels without embeds (clickable link) */
.reel-placeholder {
    position: relative;
    width: 100%;
    padding-top: 177.78%;
    background: linear-gradient(145deg, var(--bg-alt), var(--card));
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.reel-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 40%, transparent 100%);
}

.reel-placeholder-inner .reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.reel-placeholder-inner .reel-play-btn {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.reel-placeholder:hover .reel-play-btn {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.reel-placeholder-inner .reel-caption {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Reel info bar below the video */
.reel-info-bar {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reel-info-bar .reel-platform {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.reel-info-bar .reel-meta h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
}

.reel-info-bar .reel-meta p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .reels-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .reels-header-row .text-center {
        text-align: center;
        width: 100%;
    }

    .reels-follow-links {
        width: 100%;
        justify-content: center;
    }

    .reel-card {
        flex: 0 0 260px;
    }

    .reels-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .reels-nav-btn.prev { left: 0.25rem; }
    .reels-nav-btn.next { right: 0.25rem; }
}

@media (max-width: 480px) {
    .reel-card {
        flex: 0 0 240px;
    }
}

/* --- Country Background Animations --- */
.country-img {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt); /* Remove gradient, fallback */
    border: 1px solid var(--border);
}

.anim-bg-italy { background: rgba(0, 146, 70, 0.08); }
.anim-bg-germany { background: rgba(222, 0, 0, 0.06); }
.anim-bg-netherlands { background: rgba(0, 48, 135, 0.06); }

[data-theme="dark"] .anim-bg-italy { background: rgba(0, 146, 70, 0.15); }
[data-theme="dark"] .anim-bg-germany { background: rgba(222, 0, 0, 0.15); }
[data-theme="dark"] .anim-bg-netherlands { background: rgba(0, 48, 135, 0.15); }

.floating-items {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.country-flag {
    position: relative;
    z-index: 1; /* Keep flag above floating items */
}

/* Base floating item */
.float-item {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.3;
    filter: grayscale(0.2);
}

[data-theme="dark"] .float-item {
    opacity: 0.4;
}

/* Individual item animations */
.i-1 { top: 15%; left: -30%; animation: driftRight 12s linear infinite; }
.i-2 { bottom: 15%; right: -30%; animation: driftLeft 15s linear infinite; }
.i-3 { top: 40%; left: -30%; animation: driftRightSlow 18s ease-in-out infinite alternate; }

@keyframes driftRight {
    0% { transform: translateX(0) rotate(-15deg); }
    100% { transform: translateX(350px) rotate(25deg); left: 100%; }
}

@keyframes driftLeft {
    0% { transform: translateX(0) rotate(15deg); }
    100% { transform: translateX(-350px) rotate(-25deg); right: 100%; }
}

@keyframes driftRightSlow {
    0% { transform: translate(0, 0) rotate(0deg); left: -10%; }
    100% { transform: translate(300px, -40px) rotate(360deg); left: 90%; }
}

/* --- Scroll Prompt Animation --- */
.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-prompt:hover {
    opacity: 1;
    transform: scale(1.05);
}
.animated-arrow {
    animation: bounceDown 2s infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(12px); }
    60% { transform: translateY(6px); }
}

/* --- Testimonial Marquee Animation --- */
.testimonial-marquee-container {
  overflow: hidden;
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-group {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  animation: scrollMarquee 45s linear infinite;
}

/* Pause on hover */
.testimonial-marquee-container:hover .marquee-group {
  animation-play-state: paused;
}

/* Make card widths fixed so they don't squish */
.testimonial-marquee-container .testimonial-card {
  width: 400px;
  flex-shrink: 0;
  margin: 0;
  transform: none !important; /* overrides any reveal transforms */
  opacity: 1 !important;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 2rem)); }
}

@media (max-width: 768px) {
    .testimonial-marquee-container {
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
    .testimonial-marquee-container .testimonial-card {
        width: 320px;
    }
    .marquee-group {
        animation: scrollMarquee 35s linear infinite;
    }
}

 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       L O A D   M O R E   B U T T O N 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 # l o a d - m o r e - b t n   { 
         p o s i t i o n :   r e l a t i v e ; 
         o v e r f l o w :   h i d d e n ; 
 } 
 
 # l o a d - m o r e - b t n : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . l o a d e r - s p i n n e r   { 
         d i s p l a y :   i n l i n e - b l o c k ; 
         w i d t h :   2 0 p x ; 
         h e i g h t :   2 0 p x ; 
         b o r d e r :   3 p x   s o l i d   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
         b o r d e r - r a d i u s :   5 0 % ; 
         b o r d e r - t o p - c o l o r :   v a r ( - - t e a l ) ; 
         a n i m a t i o n :   s p i n   1 s   e a s e - i n - o u t   i n f i n i t e ; 
         v e r t i c a l - a l i g n :   m i d d l e ; 
 } 
 
 [ d a t a - t h e m e = \  
 d a r k \ ]   . l o a d e r - s p i n n e r   { 
         b o r d e r - c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ; 
         b o r d e r - t o p - c o l o r :   v a r ( - - t e a l ) ; 
 } 
 
 # l o a d - m o r e - b t n . l o a d i n g   { 
         p o i n t e r - e v e n t s :   n o n e ; 
         o p a c i t y :   0 . 8 ; 
 } 
 
 # l o a d - m o r e - b t n . l o a d i n g   . b t n - t e x t   { 
         d i s p l a y :   n o n e ; 
 } 
 
 # l o a d - m o r e - b t n . l o a d i n g   . l o a d e r - s p i n n e r   { 
         d i s p l a y :   i n l i n e - b l o c k   ! i m p o r t a n t ; 
 } 
  
 