/* ============================================
   IGNITE PLAY SCHOOL — Brand Design System
   Logo colors (exact):
   --brand-red:    #CC1F26  (torch handle, school name)
   --brand-navy:   #1B3F8B  (Play School text, tagline)
   --brand-purple: #7B2D9E  (flame figure)
   --brand-cyan:   #00A8E8  (flame figure)
   --brand-gold:   #F5A623  (flame figure)
============================================ */

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand palette — pulled directly from logo */
    --brand-red:        #CC1F26;
    --brand-red-light:  #E8343B;
    --brand-red-dark:   #A01820;
    --brand-navy:       #1B3F8B;
    --brand-navy-light: #2554B8;
    --brand-navy-dark:  #122D63;
    --brand-purple:     #7B2D9E;
    --brand-cyan:       #00A8E8;
    --brand-gold:       #F5A623;
    --brand-gold-light: #FFBD4A;

    /* UI colors */
    --color-white:      #FFFFFF;
    --color-off-white:  #FAFBFF;
    --color-cream:      #FFF8F0;
    --color-dark:       #0F1C3F;
    --color-text:       #3D4A6B;
    --color-muted:      #7A869A;
    --color-border:     #E4E9F2;
    --color-light:      #F4F6FB;

    /* Gradients */
    --grad-flame:   linear-gradient(135deg, #CC1F26 0%, #F5A623 60%, #FFBD4A 100%);
    --grad-navy:    linear-gradient(135deg, #1B3F8B 0%, #7B2D9E 100%);
    --grad-cool:    linear-gradient(135deg, #00A8E8 0%, #1B3F8B 100%);
    --grad-warm:    linear-gradient(135deg, #CC1F26 0%, #F5A623 100%);
    --grad-rainbow: linear-gradient(90deg, #CC1F26, #F5A623, #7B2D9E, #00A8E8, #1B3F8B);
    --grad-hero:    linear-gradient(135deg, #0F1C3F 0%, #1B3F8B 50%, #7B2D9E 100%);
    --grad-card-1:  linear-gradient(135deg, #FFF0F0, #FFE0E1);
    --grad-card-2:  linear-gradient(135deg, #FFF7E6, #FFE9B5);
    --grad-card-3:  linear-gradient(135deg, #F3E8FF, #E2C5FF);
    --grad-card-4:  linear-gradient(135deg, #E0F4FF, #B3E4FF);

    /* Shadows */
    --shadow-xs:    0 1px 4px rgba(27,63,139,0.08);
    --shadow-sm:    0 4px 12px rgba(27,63,139,0.10);
    --shadow-md:    0 8px 28px rgba(27,63,139,0.14);
    --shadow-lg:    0 20px 60px rgba(27,63,139,0.18);
    --shadow-xl:    0 32px 80px rgba(15,28,63,0.22);
    --shadow-red:   0 8px 30px rgba(204,31,38,0.30);
    --shadow-navy:  0 8px 30px rgba(27,63,139,0.30);
    --shadow-gold:  0 8px 30px rgba(245,166,35,0.35);

    /* Border radius */
    --r-xs:   6px;
    --r-sm:   10px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-xl:   32px;
    --r-2xl:  48px;
    --r-full: 999px;

    /* Typography */
    --font-head: 'Nunito', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    color: var(--color-dark);
    line-height: 1.25;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: all .3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== UTILITY ===== */
.section { padding: 110px 0; position: relative; }
.text-center { text-align: center; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(204,31,38,.08), rgba(245,166,35,.12));
    border: 1px solid rgba(204,31,38,.18);
    color: var(--brand-red);
    padding: 7px 18px;
    border-radius: var(--r-full);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    color: var(--color-dark);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-title .accent {
    background: var(--grad-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .accent-navy {
    background: var(--grad-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 660px;
    margin: 0 auto 64px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .97rem;
    cursor: pointer;
    border: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background .3s;
}
.btn:hover::after { background: rgba(255,255,255,.1); }

.btn-primary {
    background: var(--grad-flame);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(204,31,38,.4); }

.btn-navy {
    background: var(--grad-navy);
    color: #fff;
    box-shadow: var(--shadow-navy);
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(27,63,139,.4); }

.btn-outline {
    background: transparent;
    color: var(--brand-navy);
    border: 2px solid var(--brand-navy);
}
.btn-outline:hover { background: var(--brand-navy); color: #fff; transform: translateY(-3px); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: #fff; color: var(--brand-navy); }

.btn-gold {
    background: var(--brand-gold);
    color: var(--color-dark);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}
.btn-gold:hover { background: var(--brand-gold-light); transform: translateY(-3px); }

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(90deg, #0a1428 0%, var(--color-dark) 50%, #0a1428 100%);
    color: rgba(255,255,255,.82);
    padding: 8px 0;
    font-size: .8rem;
    border-bottom: 1px solid rgba(245,166,35,.35);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar-info a,
.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.75);
    transition: color .25s;
    font-weight: 400;
    letter-spacing: .2px;
}
.top-bar-info a:hover { color: var(--brand-gold-light); }
.top-bar-info i { color: var(--brand-gold); font-size: .78rem; }

.top-bar-social { display: flex; gap: 6px; }

.top-bar-social a {
    width: 26px; height: 26px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem;
    color: rgba(255,255,255,.6);
    transition: all .25s;
    border: 1px solid rgba(255,255,255,.1);
}
.top-bar-social a:hover { background: var(--brand-gold); color: #000; border-color: var(--brand-gold); transform: translateY(-1px); }
.top-bar-social a.tb-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* ===== HEADER ===== */
.header {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(27,63,139,.08);
    transition: box-shadow .3s ease, background .3s ease;
    box-shadow: 0 1px 0 rgba(27,63,139,.06);
}

.header.scrolled {
    background: rgba(255,255,255,1);
    box-shadow: 0 2px 32px rgba(15,28,63,.12);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity .2s;
}
.logo:hover { opacity: .9; }

.logo img {
    height: 62px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-name {
    display: block;
    font-family: var(--font-head);
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1.1;
    letter-spacing: -.3px;
}

.logo-tagline {
    display: block;
    font-size: .68rem;
    color: var(--brand-navy);
    font-style: italic;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: .4px;
    opacity: .8;
}

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

.nav a:not(.btn) {
    padding: 8px 14px;
    border-radius: var(--r-full);
    color: var(--color-dark);
    font-weight: 500;
    font-size: .88rem;
    position: relative;
    transition: all .25s ease;
    letter-spacing: .1px;
}

.nav a:not(.btn):hover {
    color: var(--brand-red);
    background: rgba(204,31,38,.06);
}

.nav a.active:not(.btn) {
    color: var(--brand-red);
    background: rgba(204,31,38,.08);
    font-weight: 600;
}

.nav-signin {
    margin-left: 14px;
    padding: 10px 20px !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    border-radius: var(--r-full) !important;
    color: var(--brand-navy) !important;
    border: 1.5px solid var(--brand-navy) !important;
    background: transparent !important;
    letter-spacing: .2px;
    transition: all .25s ease !important;
}
.nav-signin:hover {
    background: var(--brand-navy) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(27,63,139,.30) !important;
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 22px !important;
    font-size: .88rem !important;
    border-radius: var(--r-full) !important;
    background: linear-gradient(135deg, var(--brand-red) 0%, #E8343B 100%) !important;
    box-shadow: 0 4px 16px rgba(204,31,38,.35) !important;
    letter-spacing: .2px;
}
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(204,31,38,.45) !important; }

.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--r-sm);
    width: 40px; height: 40px;
    font-size: 1.1rem;
    color: var(--brand-navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}
.menu-toggle:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

/* ===== HERO ===== */
.hero {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
    min-height: 94vh;
    display: flex;
    align-items: center;
    padding: 90px 0 70px;
}

/* Mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 70% 50%, rgba(123,45,158,.55) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 20%, rgba(204,31,38,.4) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(0,168,232,.3) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,166,35,.2) 0%, transparent 50%);
    animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0%   { opacity: 1; }
    100% { opacity: .75; }
}

/* Decorative grid overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left — text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245,166,35,.15);
    border: 1px solid rgba(245,166,35,.4);
    color: var(--brand-gold-light);
    padding: 8px 20px;
    border-radius: var(--r-full);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--brand-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    line-height: 1.08;
    color: #fff;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero h1 .line-accent {
    background: var(--grad-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .line-white { color: #fff; }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    width: fit-content;
}

.stat-item {
    padding: 18px 28px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
    flex: 1;
}
.stat-item:last-child { border-right: none; }

.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 800;
    background: var(--grad-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-lbl {
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: .3px;
}

/* Right — visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow-ring {
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(204,31,38,.3), rgba(245,166,35,.3), rgba(123,45,158,.3), rgba(0,168,232,.3), rgba(27,63,139,.3), rgba(204,31,38,.3));
    animation: spin-slow 18s linear infinite;
    filter: blur(1px);
}

.hero-glow-ring::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--color-dark);
}

.hero-logo-showcase {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-2xl);
    padding: 40px;
    backdrop-filter: blur(20px);
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
}

.hero-logo-showcase img {
    width: 220px;
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 8px 24px rgba(204,31,38,.4));
    animation: float 5s ease-in-out infinite;
}

.hero-logo-showcase .showcase-tagline {
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
}

.hero-logo-showcase .showcase-tagline strong {
    color: var(--brand-gold-light);
    font-style: normal;
    font-weight: 700;
}

/* Floating cards on hero */
.float-card {
    position: absolute;
    background: rgba(255,255,255,.95);
    border-radius: var(--r-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.6);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.float-card-1 { top: -10px; left: -40px; animation-delay: 0s; }
.float-card-2 { bottom: 20px; right: -30px; animation-delay: 1.8s; }
.float-card-3 { top: 50%; left: -50px; transform: translateY(-50%); animation-delay: 3.2s; }

.float-icon-box {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}
.fc-red   { background: var(--grad-flame); }
.fc-navy  { background: var(--grad-navy); }
.fc-cyan  { background: linear-gradient(135deg, var(--brand-cyan), var(--brand-navy)); }

.float-info strong {
    display: block;
    font-size: .88rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}
.float-info span {
    font-size: .75rem;
    color: var(--color-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

@keyframes float-alt {
    0%,100% { transform: translateY(-14px); }
    50%      { transform: translateY(0); }
}

@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: .5; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

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

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    background: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
}

.trust-pill i { color: var(--brand-red); font-size: .95rem; }

.trust-sep {
    width: 5px; height: 5px;
    background: var(--brand-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== ABOUT / WELCOME ===== */
.about-section { background: var(--color-white); }

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

.about-visual {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--grad-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-placeholder {
    font-size: 7rem;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.3));
}

/* Decorative corner accent */
.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,31,38,.15) 0%, transparent 50%, rgba(245,166,35,.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--grad-flame);
    color: #fff;
    padding: 22px 26px;
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-red);
    border: 3px solid #fff;
    z-index: 2;
}

.about-badge .badge-num {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-badge .badge-txt {
    font-size: .78rem;
    font-weight: 600;
    opacity: .9;
    line-height: 1.3;
    margin-top: 4px;
    display: block;
}

.about-deco-ring {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 3px dashed rgba(27,63,139,.2);
    animation: spin-slow 20s linear infinite reverse;
}

.about-text .section-eyebrow { margin-bottom: 14px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }

.about-text > p {
    font-size: 1.02rem;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    background: var(--color-light);
    border-radius: var(--r-md);
    border: 1px solid var(--color-border);
    transition: all .3s;
}

.about-feature:hover {
    border-color: var(--brand-red);
    background: rgba(204,31,38,.04);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.af-icon {
    width: 42px; height: 42px;
    border-radius: var(--r-sm);
    background: var(--grad-flame);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.af-icon.navy { background: var(--grad-navy); }
.af-icon.cyan { background: linear-gradient(135deg, var(--brand-cyan), var(--brand-navy)); }
.af-icon.purple { background: linear-gradient(135deg, var(--brand-purple), var(--brand-navy)); }

.af-text h4 {
    font-size: .95rem;
    color: var(--color-dark);
    margin-bottom: 3px;
}
.af-text p { font-size: .82rem; color: var(--color-muted); margin: 0; line-height: 1.5; }

/* ===== WHY CHOOSE US ===== */
.features-section {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,31,38,.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.feature-card {
    background: var(--color-white);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1.5px solid var(--color-border);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-accent, var(--grad-flame));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card.c1 { --card-accent: var(--grad-flame); }
.feature-card.c2 { --card-accent: var(--grad-navy); }
.feature-card.c3 { --card-accent: linear-gradient(135deg, var(--brand-purple), var(--brand-cyan)); }
.feature-card.c4 { --card-accent: var(--grad-cool); }
.feature-card.c5 { --card-accent: linear-gradient(135deg, #1B9E4B, #43C76E); }
.feature-card.c6 { --card-accent: linear-gradient(135deg, var(--brand-purple), var(--brand-red)); }

.feat-icon {
    width: 78px; height: 78px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: #fff;
    transition: transform .4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.feature-card.c1 .feat-icon { background: var(--grad-flame); }
.feature-card.c2 .feat-icon { background: var(--grad-navy); }
.feature-card.c3 .feat-icon { background: linear-gradient(135deg, var(--brand-purple), var(--brand-cyan)); }
.feature-card.c4 .feat-icon { background: var(--grad-cool); }
.feature-card.c5 .feat-icon { background: linear-gradient(135deg, #1B9E4B, #43C76E); }
.feature-card.c6 .feat-icon { background: linear-gradient(135deg, var(--brand-purple), var(--brand-red)); }

.feature-card:hover .feat-icon { transform: rotate(-8deg) scale(1.12); }

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.feature-card p { font-size: .92rem; color: var(--color-muted); line-height: 1.7; }

/* ===== PROGRAMS ===== */
.programs-section { background: var(--color-white); }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

/* ===== 4-PROGRAM GRID ===== */
.prog4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;   /* equal height */
}

.prog4-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.prog4-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Coloured header panels */
.prog4-header {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p4h-1 { background: linear-gradient(135deg, #FFF0F0, #FFD6D8); }
.p4h-2 { background: linear-gradient(135deg, #FFF7E6, #FFE9B5); }
.p4h-3 { background: linear-gradient(135deg, #F3E8FF, #E2C5FF); }
.p4h-4 { background: linear-gradient(135deg, #1B3F8B, #2563EB); }

.prog4-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.12));
    animation: float 5s ease-in-out infinite;
}
.prog4-card:nth-child(2) .prog4-emoji { animation-delay: 1.2s; }
.prog4-card:nth-child(3) .prog4-emoji { animation-delay: 2.4s; }
.prog4-card:nth-child(4) .prog4-emoji { animation-delay: 3.6s; }

.prog4-age-tag {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(255,255,255,.9);
    color: var(--color-dark);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .6px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.08);
}

.prog4-cbse .prog4-age-tag {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.prog4-new {
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--brand-red);
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 9px;
    border-radius: 20px;
}

/* Card body — flex:1 fills remaining height so all footers align */
.prog4-body {
    flex: 1;
    padding: 24px 22px 16px;
    display: flex;
    flex-direction: column;
}

.prog4-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.prog4-cbse-label {
    display: inline-block;
    background: rgba(27,63,139,.1);
    color: var(--brand-navy);
    border: 1.5px solid rgba(27,63,139,.2);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 9px;
    border-radius: 20px;
    vertical-align: middle;
}

.prog4-body > p {
    font-size: .85rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.prog4-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
}

.prog4-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .82rem;
    color: var(--color-text);
    line-height: 1.45;
}

.prog4-list li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background: var(--grad-flame);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer pinned to bottom of every card */
.prog4-footer {
    padding: 16px 22px 22px;
    border-top: 1px solid var(--color-border);
    margin-top: 18px;
}

.prog4-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--brand-red);
    transition: gap .25s;
}
.prog4-link:hover { gap: 12px; }

.prog-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
}

.prog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.prog-header {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.prog-card:nth-child(1) .prog-header { background: var(--grad-card-1); }
.prog-card:nth-child(2) .prog-header { background: var(--grad-card-2); }
.prog-card:nth-child(3) .prog-header { background: var(--grad-card-3); }
.prog-card:nth-child(4) .prog-header { background: var(--grad-card-4); }

.prog-header .prog-emoji { filter: drop-shadow(0 6px 14px rgba(0,0,0,.15)); animation: float 5s ease-in-out infinite; }
.prog-card:nth-child(2) .prog-emoji { animation-delay: 1s; }
.prog-card:nth-child(3) .prog-emoji { animation-delay: 2s; }
.prog-card:nth-child(4) .prog-emoji { animation-delay: 3s; }

.prog-age {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.95);
    color: var(--brand-red);
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: .75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(204,31,38,.15);
}

.prog-body {
    padding: 26px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prog-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--color-dark); }
.prog-body > p { font-size: .88rem; color: var(--color-muted); margin-bottom: 18px; flex: 1; line-height: 1.65; }

.prog-list { margin-bottom: 22px; }
.prog-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: var(--color-text);
    margin-bottom: 6px;
}
.prog-list li::before {
    content: '';
    width: 18px; height: 18px;
    background: var(--grad-flame);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.prog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-red);
    font-weight: 700;
    font-size: .88rem;
    transition: gap .3s;
}
.prog-link:hover { gap: 12px; }

/* ===== CURRICULUM ===== */
.curriculum-section {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.curriculum-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 20%, rgba(123,45,158,.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(204,31,38,.25) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 50% 50%, rgba(0,168,232,.1) 0%, transparent 60%);
    pointer-events: none;
}

.curriculum-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.curriculum-section .section-eyebrow {
    background: rgba(245,166,35,.12);
    border-color: rgba(245,166,35,.3);
    color: var(--brand-gold-light);
}
.curriculum-section .section-eyebrow::before { background: var(--brand-gold); }
.curriculum-section .section-title { color: #fff; }
.curriculum-section .section-subtitle { color: rgba(255,255,255,.65); }

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 2;
}

.cur-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all .35s ease;
    backdrop-filter: blur(10px);
    cursor: default;
}

.cur-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-8px);
    border-color: rgba(245,166,35,.4);
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.cur-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--grad-flame);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(204,31,38,.3);
    transition: transform .3s;
}

.cur-card:hover .cur-icon { transform: scale(1.12) rotate(-8deg); }

/* Alternate icon colors */
.cur-card:nth-child(2) .cur-icon { background: var(--grad-cool); }
.cur-card:nth-child(3) .cur-icon { background: linear-gradient(135deg, var(--brand-purple), #A855F7); }
.cur-card:nth-child(4) .cur-icon { background: linear-gradient(135deg, #1B9E4B, #43C76E); }
.cur-card:nth-child(5) .cur-icon { background: var(--grad-navy); }
.cur-card:nth-child(6) .cur-icon { background: linear-gradient(135deg, var(--brand-purple), var(--brand-cyan)); }
.cur-card:nth-child(7) .cur-icon { background: var(--grad-warm); }
.cur-card:nth-child(8) .cur-icon { background: linear-gradient(135deg, var(--brand-navy), var(--brand-cyan)); }

.cur-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.cur-card p { color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.55; }

/* ===== FACILITIES ===== */
.facilities-section { background: var(--color-off-white); }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fac-card {
    background: var(--color-white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    transition: all .4s ease;
}

.fac-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.fac-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Alternating gradient backgrounds */
.fac-card:nth-child(1) .fac-thumb { background: linear-gradient(135deg, #FFF0F0, #FFD5D5); }
.fac-card:nth-child(2) .fac-thumb { background: linear-gradient(135deg, #E8F4FF, #BDE0FF); }
.fac-card:nth-child(3) .fac-thumb { background: linear-gradient(135deg, #FFF7E6, #FFE4A3); }
.fac-card:nth-child(4) .fac-thumb { background: linear-gradient(135deg, #F0E8FF, #D4B8FF); }
.fac-card:nth-child(5) .fac-thumb { background: linear-gradient(135deg, #E6F9EE, #A8EDC2); }
.fac-card:nth-child(6) .fac-thumb { background: linear-gradient(135deg, #FFF0F0, #FFD5D5); }
.fac-card:nth-child(7) .fac-thumb { background: linear-gradient(135deg, #E8F4FF, #BDE0FF); }
.fac-card:nth-child(8) .fac-thumb { background: linear-gradient(135deg, #FFF7E6, #FFE4A3); }

.fac-body { padding: 18px 20px 22px; }
.fac-body h4 { font-size: 1rem; color: var(--color-dark); margin-bottom: 6px; }
.fac-body p { font-size: .84rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* ===== BRANCHES ===== */
.branches-section { background: var(--color-light); }

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.branch-card {
    background: var(--color-white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Branch header bands */
.branch-header {
    position: relative;
    padding: 36px 28px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.branch-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.8) 0%, transparent 55%),
                      radial-gradient(circle at 20% 80%, rgba(255,255,255,.5) 0%, transparent 45%);
}

.bh-1 { background: linear-gradient(135deg, var(--brand-red) 0%, #F5A623 100%); }
.bh-2 { background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-purple) 100%); }
.bh-3 { background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-navy) 100%); }

.branch-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.35);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(6px);
}

.branch-number {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,.18);
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
}

/* Branch body */
.branch-body {
    padding: 28px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--brand-red);
    background: rgba(204,31,38,.08);
    border: 1px solid rgba(204,31,38,.15);
    padding: 4px 12px;
    border-radius: var(--r-full);
    margin-bottom: 12px;
}

.branch-card:nth-child(2) .branch-tag {
    color: var(--brand-navy);
    background: rgba(27,63,139,.08);
    border-color: rgba(27,63,139,.15);
}

.branch-card:nth-child(3) .branch-tag {
    color: var(--brand-cyan);
    background: rgba(0,168,232,.08);
    border-color: rgba(0,168,232,.15);
}

.branch-body h3 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.branch-body > p {
    font-size: .9rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 22px;
    flex: 1;
}

.branch-details {
    list-style: none;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branch-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--color-text);
}

.branch-details li i {
    color: var(--brand-red);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: .85rem;
}

.branch-card:nth-child(2) .branch-details li i { color: var(--brand-navy); }
.branch-card:nth-child(3) .branch-details li i { color: var(--brand-cyan); }

.branch-details a {
    color: var(--color-text);
    transition: color .3s;
}
.branch-details a:hover { color: var(--brand-red); }

.branch-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

/* Small button variant */
.btn-sm {
    padding: 10px 22px;
    font-size: .85rem;
    gap: 8px;
}

.branch-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-muted);
    transition: color .3s;
}
.branch-map-link:hover { color: var(--brand-navy); }
.branch-map-link i { font-size: .8rem; }

/* Branches bottom strip */
.branches-strip {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--r-xl);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.bstrip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: var(--color-text);
    white-space: nowrap;
}

.bstrip-item i {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--grad-flame);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}

.bstrip-item strong { color: var(--color-dark); }

.bstrip-sep {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* ===== PROFESSIONAL BRANCH CARDS ===== */
.branches-grid-pro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.branch-pro-card {
    background: var(--color-white);
    border-radius: var(--r-xl);
    border: 1.5px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .35s ease, transform .35s ease;
}

.branch-pro-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
    transform: translateY(-6px);
    border-color: rgba(27,63,139,.2);
}

.bpc-num {
    font-family: var(--font-head);
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-light);
    line-height: 1;
    letter-spacing: -3px;
    padding: 20px 28px 0;
    user-select: none;
}

.bpc-body {
    padding: 4px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bpc-location {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bpc-location i {
    color: var(--brand-red);
    font-size: .85rem;
}

.bpc-body h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.bpc-body > p {
    font-size: .875rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.bpc-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.bpc-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    color: var(--color-text);
}

.bpc-details li i {
    width: 16px;
    text-align: center;
    color: var(--color-muted);
    font-size: .8rem;
    flex-shrink: 0;
}

.bpc-details a {
    color: var(--color-text);
    transition: color .25s;
}
.bpc-details a:hover { color: var(--brand-red); }

.bpc-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bpc-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--brand-navy);
    transition: color .25s;
}
.bpc-map-link:hover { color: var(--brand-red); }
.bpc-map-link i { font-size: .8rem; }

/* ===== NUMBERS BAND ===== */
.numbers-band {
    background: var(--grad-flame);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.numbers-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 80% at 10% 50%, rgba(255,255,255,.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 90% 50%, rgba(0,0,0,.08) 0%, transparent 60%);
    pointer-events: none;
}

.numbers-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    position: relative;
    z-index: 2;
}

.num-item {
    text-align: center;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,.2);
    color: #fff;
}
.num-item:last-child { border-right: none; }

.num-val {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.num-lbl {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    margin-top: 8px;
    display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--color-white); }

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

.testi-card {
    background: var(--color-light);
    border-radius: var(--r-xl);
    padding: 36px 30px;
    border: 1.5px solid var(--color-border);
    position: relative;
    transition: all .35s ease;
    overflow: hidden;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px; right: 24px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--brand-gold);
    line-height: 1;
    opacity: .25;
}

.testi-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-flame);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    background: var(--color-white);
}
.testi-card:hover::after { transform: scaleX(1); }

.testi-stars { color: var(--brand-gold); margin-bottom: 18px; font-size: 1rem; letter-spacing: 3px; }

.testi-text {
    font-size: .96rem;
    color: var(--color-text);
    line-height: 1.78;
    font-style: italic;
    margin-bottom: 26px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.testi-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--grad-flame);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(204,31,38,.25);
}

.testi-card:nth-child(2) .testi-avatar { background: var(--grad-navy); }
.testi-card:nth-child(3) .testi-avatar { background: linear-gradient(135deg, var(--brand-purple), var(--brand-cyan)); }

.testi-meta strong { display: block; font-size: .96rem; color: var(--color-dark); }
.testi-meta span { font-size: .8rem; color: var(--color-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(204,31,38,.25) 0%, transparent 55%),
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(123,45,158,.2) 0%, transparent 55%),
        radial-gradient(ellipse 40% 60% at 50% 0%, rgba(245,166,35,.12) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-block;
    background: rgba(245,166,35,.15);
    border: 1px solid rgba(245,166,35,.35);
    color: var(--brand-gold-light);
    padding: 7px 22px;
    border-radius: var(--r-full);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-section h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-section h2 span {
    background: var(--grad-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.08rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 40px;
    line-height: 1.75;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.55); }

.footer-brand > p {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: all .3s;
}
.footer-social a:hover {
    background: var(--grad-flame);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 3px;
    background: var(--grad-flame);
    border-radius: 2px;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s;
}

.footer-links a::before {
    content: '›';
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-links a:hover { color: var(--brand-gold); transform: translateX(5px); }

.footer-contact-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact-row .ico {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-row p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}
.footer-contact-row a { color: rgba(255,255,255,.55); }
.footer-contact-row a:hover { color: var(--brand-gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom .heart { color: var(--brand-red); }

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: var(--brand-gold); }

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
    background: linear-gradient(135deg, #0a1224 0%, #0F1C3F 40%, #1B3F8B 80%, #2554B8 100%);
    color: #fff;
    padding: 72px 0 68px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Mesh orbs */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 120% at 8% 50%, rgba(204,31,38,.28) 0%, transparent 55%),
        radial-gradient(ellipse 45% 100% at 92% 50%, rgba(245,166,35,.18) 0%, transparent 50%),
        radial-gradient(ellipse 40% 80% at 50% 0%, rgba(123,45,158,.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Dot-grid overlay */
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: .6;
}

/* Decorative bottom wave line */
.page-banner-deco {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-red) 20%, var(--brand-gold) 50%, var(--brand-navy-light) 80%, transparent 100%);
}

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

.page-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,.12);
    border: 1px solid rgba(245,166,35,.28);
    color: var(--brand-gold-light);
    padding: 5px 16px;
    border-radius: var(--r-full);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -.5px;
    text-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.page-banner-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    max-width: 540px;
    margin: 0 auto 22px;
    line-height: 1.75;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: .82rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-full);
    padding: 6px 16px;
    backdrop-filter: blur(8px);
}

.breadcrumb a {
    color: rgba(255,255,255,.7);
    padding: 0 4px;
    transition: color .2s;
}
.breadcrumb a:hover { color: var(--brand-gold-light); }

.breadcrumb .sep {
    color: rgba(255,255,255,.3);
    padding: 0 4px;
    font-size: .6rem;
}

.breadcrumb .bc-current {
    color: #fff;
    font-weight: 600;
    padding: 0 4px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== CONTACT FORM ===== */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }

.contact-info-panel {
    background: var(--grad-hero);
    border-radius: var(--r-xl);
    padding: 44px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245,166,35,.2) 0%, transparent 50%);
    pointer-events: none;
}
.contact-info-panel h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; position: relative; z-index: 1; }
.contact-info-panel > p { opacity: .8; margin-bottom: 32px; position: relative; z-index: 1; }

.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-row .ico { width: 44px; height: 44px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.contact-row span { font-size: .85rem; opacity: .8; }

.contact-form-panel {
    background: var(--color-light);
    border-radius: var(--r-xl);
    padding: 44px 36px;
    border: 1.5px solid var(--color-border);
}
.contact-form-panel h3 { font-size: 1.7rem; margin-bottom: 6px; }
.contact-form-panel > p { color: var(--color-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; color: var(--color-dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: .93rem;
    background: var(--color-white);
    color: var(--color-dark);
    transition: all .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(204,31,38,.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .features-grid    { grid-template-columns: repeat(2, 1fr); }
    .programs-grid    { grid-template-columns: repeat(2, 1fr); }
    .prog4-grid       { grid-template-columns: repeat(2, 1fr); }
    .curriculum-grid  { grid-template-columns: repeat(4, 1fr); }
    .facilities-grid  { grid-template-columns: repeat(2, 1fr); }
    .branches-grid    { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .branches-grid-pro { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
    .testi-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
    .section          { padding: 72px 0; }
    .hero             { min-height: auto; padding: 64px 0 56px; }
    .hero-inner       { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-visual      { order: -1; }
    .hero-cta         { justify-content: center; }
    .hero-stats       { width: 100%; justify-content: center; }
    .hero-desc        { margin-left: auto; margin-right: auto; }
    .about-grid       { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid     { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
    .numbers-grid     { grid-template-columns: repeat(2, 1fr); gap: 1px; }
    .num-item         { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding: 28px 20px; }
    .testi-grid       { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .curriculum-grid  { grid-template-columns: repeat(2, 1fr); }
    .branches-grid    { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .branches-grid-pro { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .prog4-grid       { grid-template-columns: repeat(2, 1fr); }
    .branches-strip   { justify-content: center; gap: 16px; padding: 22px 24px; }
    .bstrip-sep       { display: none; }
    .page-banner        { padding: 56px 0 52px; }
    .page-banner h1     { font-size: clamp(1.8rem, 6vw, 3rem); }
    .page-banner-desc   { font-size: .95rem; }
    .about-text .section-title { text-align: center; }
    .about-text       { text-align: center; }
    .about-features   { grid-template-columns: 1fr 1fr; }
    .about-badge      { bottom: -12px; right: 12px; }
}

@media (max-width: 768px) {
    .container        { padding: 0 18px; }
    .section          { padding: 56px 0; }

    /* ── Nav drawer ── */
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(290px, 85vw);
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 20px 32px;
        gap: 4px;
        box-shadow: -8px 0 40px rgba(0,0,0,.15);
        transition: right .35s cubic-bezier(.4,0,.2,1);
        z-index: 999;
        overflow-y: auto;
    }
    .nav.open         { right: 0; }
    .nav a            { width: 100%; }
    .nav-signin       { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
    .nav-cta          { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
    .menu-toggle      { display: flex; }

    /* ── Top bar ── */
    .top-bar          { padding: 7px 0; }
    .top-bar-info span { display: none; }
    .top-bar-info     { gap: 10px; }
    .top-bar-info a:last-child { display: none; }

    /* ── Header ── */
    .logo img         { height: 52px; }
    .logo-name        { font-size: 1.1rem; }
    .logo-tagline     { font-size: .65rem; }

    /* ── Hero ── */
    .hero             { padding: 52px 0 44px; }
    .hero h1          { font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .hero-desc        { font-size: 1rem; }
    .hero-stats       { flex-wrap: wrap; border-radius: var(--r-md); }
    .stat-item        { padding: 14px 18px; flex: 1; min-width: 120px; }
    .stat-num         { font-size: 1.7rem; }
    .float-card       { display: none; }
    .hero-glow-ring   { width: 280px; height: 280px; }
    .hero-logo-showcase img { width: 140px; }
    .hero-logo-showcase { padding: 28px; }

    /* ── Trust strip ── */
    .trust-strip-inner { justify-content: center; gap: 10px; flex-wrap: wrap; }
    .trust-sep        { display: none; }
    .trust-pill       { font-size: .8rem; }

    /* ── Content grids ── */
    .features-grid    { grid-template-columns: 1fr; }
    .programs-grid    { grid-template-columns: 1fr; }
    .prog4-grid       { grid-template-columns: 1fr 1fr; gap: 16px; }
    .facilities-grid  { grid-template-columns: 1fr 1fr; gap: 14px; }
    .testi-grid       { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
    .numbers-grid     { grid-template-columns: repeat(2, 1fr); }

    /* ── About ── */
    .about-features   { grid-template-columns: 1fr; }
    .about-badge      { bottom: -10px; right: 10px; padding: 14px 16px; }
    .about-badge .badge-num { font-size: 2rem; }

    /* ── Branches (home) ── */
    .branch-footer    { flex-direction: column; align-items: flex-start; gap: 10px; }
    .bpc-footer       { flex-direction: column; align-items: flex-start; gap: 10px; }
    .branches-strip   { padding: 20px 18px; }
    /* ── CTA ── */
    .cta-buttons      { flex-direction: column; align-items: center; }
    .cta-section      { padding: 72px 0; }

    /* ── Forms ── */
    .form-row         { grid-template-columns: 1fr; }

    /* ── Footer ── */
    .footer           { padding: 56px 0 0; }
    .footer-bottom    { flex-direction: column; text-align: center; gap: 10px; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

    /* ── Page banner ── */
    .page-banner        { padding: 48px 0 44px; }
    .page-banner h1     { font-size: clamp(1.6rem, 6.5vw, 2.4rem); margin-bottom: 12px; }
    .page-banner-desc   { font-size: .9rem; margin-bottom: 18px; }
    .page-banner-eyebrow { font-size: .68rem; padding: 4px 12px; }
    .breadcrumb         { font-size: .78rem; flex-wrap: wrap; }

    /* ── Section text ── */
    .section-title    { font-size: clamp(1.55rem, 5.5vw, 2.4rem); }
    .section-subtitle { font-size: .95rem; margin-bottom: 40px; }
}

@media (max-width: 540px) {
    .container        { padding: 0 16px; }
    .section          { padding: 48px 0; }

    .hero             { padding: 44px 0 36px; }
    .hero h1          { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    .hero-badge       { font-size: .75rem; padding: 6px 14px; }
    .hero-cta         { flex-direction: column; align-items: center; width: 100%; }
    .hero-cta .btn    { width: 100%; justify-content: center; }
    .hero-stats       { width: 100%; }
    .stat-item        { padding: 12px 14px; }
    .stat-num         { font-size: 1.5rem; }

    .curriculum-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .facilities-grid  { grid-template-columns: 1fr; }
    .programs-grid    { grid-template-columns: 1fr; }
    .prog4-grid       { grid-template-columns: 1fr 1fr; gap: 14px; }
    .prog4-header     { height: 130px; }
    .prog4-emoji      { font-size: 3.2rem; }

    .numbers-band     { padding: 40px 0; }
    .num-val          { font-size: 2.4rem; }

    .section-title    { font-size: clamp(1.45rem, 7vw, 2rem); }
    .section-eyebrow  { font-size: .72rem; padding: 6px 14px; }

    .btn              { padding: 12px 22px; font-size: .88rem; }
    .btn-sm           { padding: 9px 18px; font-size: .82rem; }

    .footer-grid      { grid-template-columns: 1fr; gap: 24px; }
    .footer-social    { flex-wrap: wrap; }
    .footer           { padding: 44px 0 0; }

    .page-banner        { padding: 36px 0 32px; }
    .page-banner h1     { font-size: clamp(1.4rem, 7.5vw, 2rem); }
    .page-banner-desc   { display: none; }
    .page-banner-eyebrow { font-size: .65rem; letter-spacing: 1px; }

    .branches-strip   { flex-direction: column; align-items: flex-start; gap: 14px; }
    .bstrip-item      { white-space: normal; }

    .testi-card       { padding: 26px 20px; }
}

@media (max-width: 400px) {
    .container        { padding: 0 14px; }
    .logo img         { height: 44px; }
    .logo-name        { font-size: .95rem; }
    .logo-tagline     { display: none; }
    .hero h1          { font-size: 1.6rem; }
    .hero-glow-ring   { width: 240px; height: 240px; }
    .hero-logo-showcase img { width: 110px; }
    .stat-num         { font-size: 1.35rem; }
    .num-val          { font-size: 2rem; }
    .section-title    { font-size: 1.35rem; }
    .facilities-grid  { grid-template-columns: 1fr; }
    .curriculum-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cur-card         { padding: 20px 14px; }
    .footer-bottom-links { gap: 10px; }
}

/* ===== POWERED BY AMIGO SMART TECH ===== */
.powered-by-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 0;
}

.powered-by-bar span {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    letter-spacing: .5px;
    white-space: nowrap;
}

.powered-by-link {
    display: inline-flex;
    align-items: center;
    opacity: .75;
    transition: opacity .3s;
}
.powered-by-link:hover { opacity: 1; }

.amigo-logo-img {
    height: 28px;
    width: auto;
    display: block;
    background: #fff;
    border-radius: 4px;
    padding: 3px 8px;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    z-index: 9000;
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 36px rgba(37,211,102,.65);
    color: #fff;
}
.wa-float i { line-height: 1; }

.wa-tooltip {
    position: absolute;
    right: 68px;
    background: var(--color-dark);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--r-full);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: all .3s ease;
    pointer-events: none;
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp icon in footer social row */
.footer-wa {
    background: #25D366 !important;
    color: #fff !important;
}
.footer-wa:hover { background: #1ebe5a !important; }

/* Nav overlay backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 998;
}
.nav-overlay.show { display: block; }

/* Twitter/X in top bar */
.tb-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== FLOATING WHATSAPP — mobile tweaks ===== */
@media (max-width: 540px) {
    .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.5rem; }
    .wa-tooltip { display: none; }
    .powered-by-bar { flex-wrap: wrap; gap: 8px; }
}

/* ========================================================
   VISUAL UPGRADES — animations, 3D hovers, marquee, etc.
   ======================================================== */

/* ── Scroll-down indicator on hero ── */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 5;
    opacity: .6;
    animation: fadeUp .8s 1.2s both;
}
.hero-scroll-hint span {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}
.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 11px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}
.scroll-wheel {
    width: 3px; height: 7px;
    background: rgba(255,255,255,.7);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateY(0); }
    60%  { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0; transform: translateY(0); }
}

/* ── 3D tilt on program cards ── */
.prog-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease;
}
.prog-card:hover {
    transform: perspective(800px) rotateX(-4deg) rotateY(4deg) translateY(-10px) scale(1.02);
    box-shadow: 0 24px 56px rgba(0,0,0,.14), 0 0 0 1.5px rgba(204,31,38,.2);
}

/* ── 3D tilt on feature cards ── */
.feature-card {
    transform-style: preserve-3d;
    will-change: transform;
}
.feature-card:hover {
    transform: perspective(800px) rotateX(-3deg) rotateY(3deg) translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

/* ── Glowing border on card hover ── */
.prog-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--grad-flame);
    z-index: -1;
    opacity: 0;
    transition: opacity .35s;
}
.prog-card:hover::after { opacity: .25; }

/* ── Staggered reveal with delays ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal[data-delay="6"] { transition-delay: .6s; }

/* ── Auto-scrolling marquee testimonials ── */
.testi-marquee-section { background: var(--color-light); overflow: hidden; padding: 56px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.testi-marquee-section .section-header { text-align: center; margin-bottom: 36px; }
.marquee-track-wrap { overflow: hidden; position: relative; }
.marquee-track-wrap::before,
.marquee-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.marquee-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--color-light), transparent); }
.marquee-track-wrap::after  { right: 0; background: linear-gradient(270deg, var(--color-light), transparent); }
.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-card {
    background: var(--color-white);
    border-radius: var(--r-xl);
    padding: 28px 28px 22px;
    border: 1.5px solid var(--color-border);
    width: 320px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s, border-color .3s;
}
.marquee-card:hover { box-shadow: var(--shadow-md); border-color: rgba(204,31,38,.25); }
.marquee-card .mc-stars { color: var(--brand-gold); font-size: .9rem; margin-bottom: 12px; }
.marquee-card .mc-text { font-size: .9rem; color: var(--color-text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.marquee-card .mc-author { display: flex; align-items: center; gap: 12px; }
.mc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-flame); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.mc-avatar.navy  { background: var(--grad-navy); }
.mc-avatar.purple { background: linear-gradient(135deg,var(--brand-purple),var(--brand-cyan)); }
.mc-avatar.green { background: linear-gradient(135deg,#1B9E4B,#43C76E); }
.mc-avatar.gold  { background: linear-gradient(135deg,var(--brand-gold),var(--brand-red)); }
.mc-meta strong { display: block; font-size: .88rem; color: var(--color-dark); }
.mc-meta span   { font-size: .75rem; color: var(--color-muted); }

/* ── CTA animated gradient ── */
.cta-section::before {
    animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: .7; transform: scale(1.05); }
}

/* ── Glowing footer social buttons ── */
.footer-social a {
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.footer-social a:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 8px 24px rgba(204,31,38,.4);
}

/* ── Custom cursor dot (desktop only) ── */
.cursor-dot {
    display: none;
    position: fixed;
    width: 8px; height: 8px;
    background: var(--brand-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%,-50%);
    transition: transform .08s linear, opacity .3s;
    mix-blend-mode: difference;
}
.cursor-ring {
    display: none;
    position: fixed;
    width: 32px; height: 32px;
    border: 2px solid rgba(204,31,38,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%,-50%);
    transition: transform .18s ease, width .25s ease, height .25s ease, opacity .3s;
}
.cursor-ring.large { width: 48px; height: 48px; border-color: rgba(204,31,38,.3); }
@media (pointer: fine) {
    .cursor-dot, .cursor-ring { display: block; }
}

/* ── Page fade-in transition ── */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.page-transition-wrap {
    animation: pageFadeIn .55s cubic-bezier(.22,1,.36,1) both;
}

/* ── img lazy-load fade ── */
img[loading="lazy"] {
    transition: opacity .4s ease;
}

