@font-face {
    font-family: 'Yulltan';
    src: url('../fonts/Yulltan-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   TA'LIM-E-URDU (TEU) — EXACT PIXEL-PERFECT DESIGN SYSTEM
   Darshan Education Foundation
========================================================= */

:root {
    /* Color Palette */
    --teu-cream-bg: #FFFDF2;
    --teu-ivory: #FFFDF2;
    --teu-sand-wave: #EFE6D8;
    --teu-card-bg: #FFFFFF;

    /* Signature Theme Color (Extracted from Artwork: Warm Terracotta / Bronze) */
    --teu-theme: #B86834;
    --teu-theme-hover: #9E5429;
    --teu-theme-light: #C87A3E;
    --teu-theme-dark: #6E3A14;
    --teu-theme-subtle: #FAF3EC;
    --teu-theme-glow: rgba(184, 104, 52, 0.28);

    /* Text & Action Blue Color (#005284) */
    --teu-navy-deep: #005284;
    --teu-navy-primary: #005284;
    --teu-navy-button: #005284;
    --teu-navy-button-hover: #003b60;

    --teu-warm-terracotta: #B86834;
    --teu-deep-ink: #60330A;
    --teu-emerald-btn: #005284;
    --teu-emerald-btn-hover: #003b60;

    --teu-gold-accent: #B86834;
    --teu-gold-light: #C87A3E;
    --teu-gold-subtle: rgba(184, 104, 52, 0.18);

    --teu-text-dark: #1F2937;
    --teu-text-muted: #5B6B7C;
    --teu-text-light: #7E8E9F;

    /* Badges colors */
    --badge-teal-bg: #FAF3EC;
    --badge-teal-color: #B86834;
    --badge-gold-bg: #FAF3EC;
    --badge-gold-color: #B86834;
    --badge-purple-bg: #EAE3F5;
    --badge-purple-color: #6D4CA0;
    --badge-olive-bg: #EFEBD2;
    --badge-olive-color: #7B7020;
    --badge-mint-bg: #F5EBE1;
    --badge-mint-color: #B86834;

    /* Fonts */
    --teu-font-display: 'Fraunces', 'Amiri', 'Georgia', serif;
    --teu-font-urdu: 'Noto Nastaliq Urdu', 'Amiri', 'Traditional Arabic', serif;
    --teu-font-yulltan: 'Yulltan', 'Noto Nastaliq Urdu', 'Amiri', serif;
    --teu-font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Page Reset & Base — Warm #FFFDF2 Canvas */
.teu-body {
    background-color: #FFFDF2;
    color: var(--teu-text-dark);
    font-family: var(--teu-font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.teu-main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 75px; /* Offset fixed DEF navbar */
    background-color: #FFFDF2;
}

/* Top Screen Background Artwork (Exact Uncropped Native Ratio) */
.teu-top-screen-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.teu-top-screen-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================================
   1. HERO SECTION (EXACT REFERENCE REPLICATION)
========================================================= */
.teu-hero-section {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 30px 4.5% 70px 4.5%;
    overflow: hidden;
    z-index: 2;
}

/* Organic bottom wave curve */
.teu-hero-bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;
    z-index: 1;
}

.teu-hero-bottom-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.teu-hero-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 20px 4%;
    display: grid;
    grid-template-columns: 1.1fr 1.25fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* LEFT COLUMN — EDITORIAL CONTENT */
.teu-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    padding-right: 15px;
}

/* Badge Highlight in Hero Heading (Exact Sharp-edged Box, Google font, Brown theme) */
.teu-badge-highlight {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.22em;
    font-weight: 700;
    display: inline-block;
    background: var(--teu-theme); /* Brown Theme Color #B86834 */
    color: #ffffff !important;
    padding: 6px 20px 6px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(184, 104, 52, 0.28);
    margin-bottom: 4px;
}

/* Main Heading */
.teu-hero-title {
    font-family: var(--teu-font-display);
    font-size: clamp(1.5rem, 2.22vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--teu-navy-deep);
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
    display: block;
}

/* Enforced Single-Line Row per Item */
.teu-title-line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .teu-title-line {
        white-space: normal;
    }
}

.teu-title-accent {
    color: #005284;
    font-weight: 700;
    text-shadow: none;
}

/* =========================================================
   HERO MASTER FEATURE & ACTION BOX (ALL-IN-ONE CONTAINER)
========================================================= */
.teu-hero-action-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 253, 242, 0.45) 100%);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 24px 26px 22px 26px;
    margin-left: -26px;
    box-shadow:
        inset 0 1.5px 3px rgba(255, 255, 255, 0.95),
        inset 0 0 16px rgba(255, 255, 255, 0.35),
        0 14px 32px rgba(0, 82, 132, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 580px;
}

@media (max-width: 768px) {
    .teu-hero-action-box {
        margin-left: 0;
        padding: 20px;
    }
}

/* Editorial Description inside Master Action Box */
.teu-hero-editorial-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--teu-navy-deep);
    margin: 0;
    opacity: 0.92;
}

/* Action Buttons Inside Master Box */
.teu-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.teu-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--teu-navy-deep);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 1.5px 3px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(0, 0, 0, 0.04),
        0 10px 28px rgba(0, 82, 132, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%);
    border-color: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
    color: #005284;
    box-shadow: 0 14px 34px rgba(0, 82, 132, 0.25);
}

.teu-btn-arrow {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform 0.25s ease;
}

.teu-btn-primary:hover .teu-btn-arrow {
    transform: translateX(4px);
}

.teu-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teu-navy-deep);
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(0, 82, 132, 0.06);
    transition: all 0.25s ease;
}

.teu-btn-download:hover {
    color: #005284;
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(0, 82, 132, 0.2);
    transform: translateY(-2px);
}

.teu-btn-download-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

/* =========================================================
   RIGHT COLUMN — VISUAL STAGE & SLIDER SHOWCASE (GLASSMORPHISM)
========================================================= */
.teu-hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Display Frame with Liquid Glass Border */
.teu-visual-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 640px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 50px rgba(0, 82, 132, 0.15), 0 4px 16px rgba(0, 82, 132, 0.12);
}

/* Slides Track */
.teu-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.teu-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.03);
}

.teu-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.teu-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Soft Left Gradient Overlay on Image for smooth blending */
.teu-visual-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 253, 242, 0.25) 0%, rgba(255, 253, 242, 0) 30%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Floating Quote Callout (Top Right) - 3D Liquid Glassmorphism */
.teu-floating-quote-badge {
    position: absolute;
    top: 28px;
    right: 32px;
    z-index: 6;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 253, 242, 0.4) 100%);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    padding: 12px 24px;
    border-radius: 999px;
    box-shadow:
        inset 0 2px 3.5px rgba(255, 255, 255, 0.95),
        inset 0 -2.5px 5px rgba(0, 82, 132, 0.06),
        0 16px 36px rgba(0, 82, 132, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    animation: floatingBadge 4s ease-in-out infinite alternate;
}

.teu-quote-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.teu-quote-line {
    font-family: var(--teu-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--teu-navy-deep);
    line-height: 1.25;
}

.teu-quote-line.highlight {
    color: #005284;
    font-weight: 700;
}

/* Floating Navigation Arrows - Glassmorphism */
.teu-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: var(--teu-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 8px 24px rgba(0, 82, 132, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-slider-nav-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    color: #005284;
    box-shadow: 0 12px 28px rgba(0, 82, 132, 0.25);
}

.teu-slider-nav-prev {
    left: 18px;
}

.teu-slider-nav-next {
    right: 18px;
}

.teu-nav-arrow-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}

/* Bottom Floating Thumbnail Carousel Card */
.teu-floating-strip-card {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 16px 10px 16px;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 82, 132, 0.14), 0 4px 14px rgba(0, 82, 132, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 90%;
}

.teu-thumbnails-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.teu-thumb-btn {
    position: relative;
    width: 64px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #e2e8f0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teu-thumb-btn.active {
    border-color: #005284;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 82, 132, 0.35);
}

.teu-pagination-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.teu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 82, 132, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
}

.teu-dot.active {
    width: 18px;
    border-radius: 999px;
    background: #005284;
}

@media (max-width: 1024px) {
    .teu-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .teu-hero-visual {
        min-height: 450px;
    }
    .teu-visual-frame {
        min-height: 440px;
    }
}


/* =========================================================
   2. SECTION 2: WHY WE INTRODUCE TA'LIM-E-URDU IN LANGUAGE INITIATIVE?
========================================================= */
.teu-pillars-section {
    width: 100%;
    background: #FFFDF2;
    border-top: none;
    border-bottom: none;
    padding: 60px 4.5% 68px 4.5%;
    position: relative;
}

.teu-pillars-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(64px, 6.2vw, 96px);
}

/* Question & Answer 2-Column Showcase (Left: Question, Right: Answer) */
.teu-intro-qa-grid {
    display: grid;
    grid-template-columns: 1.12fr 1.38fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.teu-intro-question-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teu-intro-question-title {
    font-family: var(--teu-font-display);
    font-size: clamp(1.9rem, 2.7vw, 2.55rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--teu-navy-deep);
    margin: 0;
    letter-spacing: -0.015em;
}

.teu-intro-question-title span {
    color: var(--teu-theme); /* Brown Theme Color #B86834 */
    position: relative;
}

.teu-intro-answer-col {
    display: flex;
    flex-direction: column;
}

.teu-intro-answer-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 26px;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 82, 132, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1);
    border-left: 4.5px solid var(--teu-theme);
}

.teu-intro-question-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--teu-text-muted);
    margin: 0;
}

.teu-intro-question-desc strong {
    color: var(--teu-theme); /* Brown Theme Color #B86834 */
    font-weight: 700;
}

@media (max-width: 900px) {
    .teu-intro-qa-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================
   Mystical Words / Spiritual Lexicon Showcase Header
========================================================= */
.teu-glossary-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.teu-glossary-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.teu-glossary-badge {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #005284;
    background: rgba(0, 82, 132, 0.08);
    padding: 5px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 82, 132, 0.22);
    margin-bottom: 12px;
}

.teu-glossary-title {
    font-family: var(--teu-font-display);
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 700;
    color: var(--teu-navy-deep);
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.teu-glossary-title span {
    color: #005284;
    position: relative;
}

.teu-glossary-subtitle {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--teu-text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 760px;
}

/* =========================================================
   Sufi / Ruhani Glossary Capsule Bar (Click to Stream)
========================================================= */
.teu-glossary-ticker-wrap {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 252, 244, 0.98) 100%);
    border: 1.5px solid rgba(184, 104, 52, 0.28);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow:
        0 10px 30px -6px rgba(90, 45, 10, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 2px rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.teu-glossary-ticker-wrap:hover {
    box-shadow:
        0 14px 38px -6px rgba(90, 45, 10, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(184, 104, 52, 0.45);
}

.teu-glossary-ticker-wrap.is-expanded {
    width: 100%;
    padding: 8px 16px 8px 10px;
    gap: 16px;
    box-shadow:
        0 16px 42px -6px rgba(90, 45, 10, 0.14),
        0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(184, 104, 52, 0.5);
}

.teu-glossary-pills-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.teu-glossary-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(184, 104, 52, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: var(--teu-navy-deep);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.teu-glossary-pill:hover {
    background: rgba(184, 104, 52, 0.12);
    border-color: var(--teu-theme);
    transform: translateY(-1px);
    color: var(--teu-navy-deep);
}

.teu-glossary-pill.active {
    background: linear-gradient(135deg, #005284 0%, #003657 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow:
        0 4px 14px rgba(0, 82, 132, 0.32),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.teu-pill-urdu {
    font-family: var(--teu-font-yulltan), serif;
    font-size: 1.22rem;
    line-height: 1;
    color: #B86834;
    transition: color 0.35s ease;
}

.teu-glossary-pill.active .teu-pill-urdu {
    color: #F8D8A0;
}

.teu-pill-en {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

/* Stream track container - Hidden when idle, expands when word clicked */
.teu-ticker-track-wrap {
    max-width: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    pointer-events: none;
    cursor: default;
    transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
}

.teu-glossary-ticker-wrap.is-expanded .teu-ticker-track-wrap {
    max-width: 1400px;
    width: 100%;
    flex: 1;
    opacity: 1;
    pointer-events: auto;
    mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.teu-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    will-change: transform;
    transform: translateX(0);
}

.teu-ticker-track.streaming {
    animation-name: teuStreamRightToLeft;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

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

.teu-ticker-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 32px;
}

.teu-ticker-badge-term {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #005284;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    margin-right: 8px;
    letter-spacing: -0.01em;
}

.teu-ticker-badge-term .teu-t-urdu {
    font-family: var(--teu-font-yulltan), serif;
    font-size: 1.25rem;
    line-height: 1;
    color: #B86834;
}

.teu-ticker-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #4a2810;
    letter-spacing: -0.005em;
    line-height: 1.4;
}

.teu-ticker-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(184, 104, 52, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #8b4a1b;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    padding: 0;
    line-height: 1;
    z-index: 3;
}

.teu-glossary-ticker-wrap.is-expanded .teu-ticker-close-btn {
    display: flex;
}

.teu-ticker-close-btn:hover {
    background: #005284;
    color: #ffffff;
    border-color: #005284;
    transform: scale(1.08);
}

@keyframes teuStreamRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - var(--teu-container-width, 1000px)));
    }
}

@media (max-width: 900px) {
    .teu-glossary-ticker-wrap {
        width: 100%;
        border-radius: 24px;
    }
    .teu-glossary-ticker-wrap.is-expanded {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
        gap: 10px;
    }
    .teu-glossary-pills-group {
        width: 100%;
        justify-content: flex-start;
    }
    .teu-ticker-track-wrap {
        width: 100%;
    }
    .teu-ticker-close-btn {
        position: absolute;
        top: 10px;
        right: 12px;
    }
}

/* Inspiring Quote & Profile Card 2-Column Showcase */
.teu-quote-showcase-grid {
    display: grid;
    grid-template-columns: 1.12fr 1.38fr;
    gap: 40px;
    align-items: center;
    padding: 0;
    margin-top: 10px;
}

.teu-quote-col {
    display: flex;
    flex-direction: column;
}

.teu-quote-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.teu-quote-mark {
    font-family: var(--teu-font-yulltan), var(--teu-font-display);
    font-size: clamp(3rem, 4.2vw, 4.2rem);
    line-height: 1;
    color: var(--teu-theme);
    user-select: none;
    flex-shrink: 0;
    display: inline-block;
}

.teu-quote-mark.open {
    margin-top: -4px;
}

.teu-quote-mark.close {
    align-self: flex-end;
    line-height: 1;
    margin-top: 12px;
    margin-bottom: 0;
}

.teu-quote-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.teu-quote-text {
    font-family: var(--teu-font-yulltan);
    font-size: clamp(1.85rem, 2.85vw, 2.65rem);
    font-weight: 500;
    color: var(--teu-navy-deep);
    line-height: 1.34;
    letter-spacing: 0.025em;
    margin: 0;
}

.teu-quote-img-col {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* Sant Darshan Singh Ji Maharaj — Profile Card (Clean Snug Backdrop) */
.teu-quote-bio-card {
    width: 100%;
    max-width: 760px;
    border-radius: 32px;
    border: none;
    background: url('../images/teu_bio_card_bg.png') no-repeat center center;
    background-size: 100% 100%;
    box-shadow:
        0 22px 50px -10px rgba(90, 45, 10, 0.14),
        0 4px 14px -3px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px 34px 22px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.teu-quote-bio-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 30px 60px -12px rgba(90, 45, 10, 0.20),
        0 8px 22px -4px rgba(0, 0, 0, 0.06);
}

.teu-bio-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.teu-bio-photo {
    width: 100%;
    max-width: 230px;
    height: auto;
    max-height: 255px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(80, 35, 8, 0.17));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.teu-quote-bio-card:hover .teu-bio-photo {
    transform: scale(1.03);
    filter: drop-shadow(0 14px 28px rgba(80, 35, 8, 0.24));
}

.teu-bio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 6px 0;
}

.teu-bio-name {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.35rem, 1.62vw, 1.78rem);
    font-weight: 800;
    color: #4a2007;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.teu-bio-item {
    margin: 0;
}

.teu-bio-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.88rem, 0.96vw, 0.98rem);
    font-weight: 500;
    color: #4e2912;
    line-height: 1.44;
    margin: 0;
    letter-spacing: -0.01em;
}

.teu-bio-divider {
    width: 100%;
    height: 1px;
    background: rgba(110, 65, 25, 0.22);
    margin: 9px 0;
}

@media (max-width: 1100px) {
    .teu-quote-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .teu-quote-bio-card {
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .teu-quote-bio-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
        border-radius: 26px;
        text-align: center;
        background-size: cover;
    }
    .teu-bio-photo-wrap {
        max-width: 170px;
        margin: 0 auto;
    }
    .teu-bio-content {
        text-align: center;
        padding: 0;
    }
    .teu-bio-divider {
        background: linear-gradient(90deg, transparent 0%, rgba(110, 65, 25, 0.22) 50%, transparent 100%);
    }
}


/* =========================================================
   3. OUR CLASSES (SHOWCASE STRIP)
========================================================= */
.teu-classes-showcase-section {
    width: 100%;
    background: #FFFDF2;
    border-top: none;
    border-bottom: none;
    padding: 56px 4.5% 60px 4.5%;
}

.teu-classes-showcase-container {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
}

/* Left Title Block */
.teu-classes-title-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 8px 0;
}

.teu-classes-showcase-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teu-classes-title-light {
    font-family: 'Outfit', var(--teu-font-sans);
    font-size: clamp(2.4rem, 3.2vw, 3.6rem);
    font-weight: 800;
    color: var(--teu-navy-deep);
    line-height: 1.04;
    letter-spacing: -0.035em;
    display: block;
}

.teu-classes-title-bold {
    font-family: 'Outfit', var(--teu-font-sans);
    font-size: clamp(2.4rem, 3.2vw, 3.6rem);
    font-weight: 800;
    color: #005284;
    line-height: 1.04;
    letter-spacing: -0.035em;
    display: block;
}

/* 4 Feature Cards Grid */
.teu-classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Reference Card with Emerald Green Radial Glow Blobs */
.teu-class-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: clamp(14px, 1.6vw, 20px);
    aspect-ratio: 1 / 1;
    min-height: 240px;
    padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.2vw, 28px);
    border-radius: 36px;
    border: none;
    background:
        radial-gradient(circle at -4% 24%, rgba(184, 104, 52, 0.38) 0%, rgba(184, 104, 52, 0) 52%),
        radial-gradient(circle at 90% 88%, rgba(184, 104, 52, 0.44) 0%, rgba(184, 104, 52, 0) 56%),
        #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 82, 132, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.teu-class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 82, 132, 0.25);
}

.teu-class-card-heading {
    font-family: 'Outfit', var(--teu-font-sans);
    font-size: clamp(1.8rem, 2.3vw, 2.7rem);
    font-weight: 800;
    color: #60330A;
    line-height: 1.06;
    margin: 0;
    letter-spacing: -0.03em;
    word-break: normal;
}

.teu-class-card-heading.heading-long {
    font-size: clamp(1.6rem, 2.05vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.teu-class-card-text {
    font-family: 'Outfit', var(--teu-font-sans);
    font-size: clamp(0.94rem, 1.06vw, 1.12rem);
    font-weight: 400;
    line-height: 1.4;
    color: #60330A;
    margin: 0;
    letter-spacing: -0.012em;
    opacity: 0.96;
}


/* =========================================================
   4. GLIMPSES FROM OUR CLASSES (GALLERY)
========================================================= */
.teu-gallery-section {
    width: 100%;
    padding: 55px 4.5% 65px 4.5%;
    background: #FFFDF2;
    position: relative;
    overflow: hidden;
}

.teu-gallery-header {
    text-align: center;
    margin-bottom: 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.teu-gallery-title {
    font-family: var(--teu-font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--teu-navy-deep);
    margin: 0;
}

.teu-header-leaf {
    width: 22px;
    height: auto;
    opacity: 0.8;
}

/* 5 Photo Cards Gallery */
.teu-gallery-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 16px;
    align-items: center;
}

.teu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.teu-gallery-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 82, 132, 0.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 82, 132, 0.14);
}

.teu-gallery-img-wrap {
    width: 100%;
    height: 135px;
    overflow: hidden;
}

.teu-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.teu-gallery-card:hover .teu-gallery-img {
    line-height: 1.25;
}

/* Quill & Inkpot Flourish on right side of gallery */
.teu-gallery-quill-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teu-gallery-quill-img {
    width: 100%;
    max-width: 90px;
    height: auto;
    display: block;
}


/* =========================================================
   5. CALL TO ACTION BANNER (HERO GLASS BANNER WITH AUTO-MOTION)
========================================================= */
.teu-cta-banner-section {
    position: relative;
    width: 100%;
    padding: 75px 4% 95px 4%;
    background: #FFFDF4;
    overflow: hidden;
}

.teu-cta-orbs-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    filter: blur(45px);
    -webkit-filter: blur(45px);
}

.teu-cta-banner-container {
    max-width: 1480px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Master Glass Banner Card (Transparent & Blurry) */
.teu-cta-master-card {
    position: relative;
    min-height: 380px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(45px) saturate(190%);
    -webkit-backdrop-filter: blur(45px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 30px 80px -15px rgba(0, 82, 132, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.85);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.teu-cta-master-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Left Integrated Photo with Seamless Right Gradient Fade */
.teu-cta-left-visual {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 40%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 40%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 100%);
}

.teu-cta-faded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: saturate(1.05);
}

.teu-cta-fade-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.35) 85%, rgba(255, 255, 255, 0.6) 100%);
    pointer-events: none;
}

/* Right-Shifted Content & Actions Panel */
.teu-cta-content-panel {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 58%;
    max-width: 760px;
    padding: 48px 56px 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.teu-cta-heading {
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
    font-size: clamp(1.95rem, 2.9vw, 2.7rem);
    font-weight: 800;
    color: var(--teu-navy-deep);
    line-height: 1.22;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.7);
}

.teu-cta-subtext {
    font-size: 1.04rem;
    line-height: 1.62;
    color: #1e293b;
    font-weight: 500;
    margin: 14px 0 24px 0;
    max-width: 620px;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.6);
}

/* Action Buttons Cluster */
.teu-cta-actions-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.teu-cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #005284 0%, #0077be 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 14px 32px rgba(0, 82, 132, 0.28),
        inset 0 1px 2px rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-cta-btn-main:hover {
    background: linear-gradient(135deg, #0077be 0%, #005284 100%);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 18px 42px rgba(0, 82, 132, 0.38),
        inset 0 1px 3px rgba(255, 255, 255, 0.6);
}

.teu-cta-btn-main .teu-btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.teu-cta-btn-main:hover .teu-btn-arrow {
    transform: translateX(4px);
}

.teu-cta-btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #005284;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 12px 28px rgba(0, 82, 132, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.teu-cta-btn-brochure:hover {
    background: #003b60;
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 16px 36px rgba(184, 104, 52, 0.44),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.teu-cta-btn-brochure svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

/* Website Pill Link */
.teu-cta-website-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(0, 82, 132, 0.08);
    border: 1px solid rgba(0, 82, 132, 0.14);
    color: #005284;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.28s ease;
}

.teu-cta-website-pill:hover {
    background: rgba(0, 82, 132, 0.15);
    border-color: rgba(0, 82, 132, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 132, 0.15);
}

.teu-web-icon-wrap svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.teu-cta-website-pill .teu-link-arrow {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}

.teu-cta-website-pill:hover .teu-link-arrow {
    transform: translateX(3px);
}

.teu-select-wrapper {
    position: relative;
    width: 100%;
}

.teu-select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005284' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.teu-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 42px;
    background: #ffffff;
}

/* Responsiveness for Section 5 */
@media (max-width: 1200px) {
    .teu-cta-master-card {
        flex-direction: column;
        min-height: auto;
        padding: 0;
    }

    .teu-cta-left-visual {
        position: relative;
        width: 100%;
        height: 280px;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 55%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 55%, rgba(0, 0, 0, 0) 100%);
    }

    .teu-cta-fade-mask {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.6) 85%, rgba(255, 255, 255, 0.9) 100%);
    }

    .teu-cta-content-panel {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 24px 36px 44px 36px;
        align-items: center;
        text-align: center;
    }

    .teu-cta-actions-cluster {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .teu-cta-banner-section {
        padding: 40px 3% 55px 3%;
    }

    .teu-cta-master-card {
        border-radius: 26px;
    }

    .teu-cta-left-visual {
        height: 220px;
    }

    .teu-cta-content-panel {
        padding: 18px 18px 36px 18px;
    }

    .teu-cta-heading {
        font-size: 1.85rem;
    }

    .teu-cta-actions-cluster {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .teu-cta-btn-main,
    .teu-cta-btn-brochure {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}


/* =========================================================
   6. FOOTER (DARSHAN EDUCATION FOUNDATION)
========================================================= */
.teu-footer {
    background: #06445e;
    color: #FFFFFF;
    padding: 55px 4.5% 28px 4.5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.teu-footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.teu-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
    gap: 36px;
    margin-bottom: 44px;
}

.teu-footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.teu-footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
}

.teu-footer-logo-img {
    height: 46px;
    width: auto;
}

.teu-footer-logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    margin: 0;
}

.teu-footer-logo-sub {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    opacity: 0.92;
    margin: 0;
}

.teu-footer-brand-desc {
    font-size: 0.86rem;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.92;
    margin: 0;
    max-width: 300px;
}

.teu-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.teu-social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.25s ease;
}

.teu-social-icon-btn:hover {
    background: #FFFFFF;
    color: #06445e;
    transform: translateY(-2px);
}

.teu-social-icon-btn svg {
    width: 16px;
    height: 16px;
}

.teu-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teu-footer-col-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    letter-spacing: 0.02em;
}

.teu-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teu-footer-nav-list a {
    color: #FFFFFF;
    opacity: 0.88;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.teu-footer-nav-list a:hover {
    color: #FFFFFF;
    opacity: 1;
    transform: translateX(2px);
}

.teu-footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    opacity: 0.9;
    font-size: 0.86rem;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.teu-footer-contact-link:hover {
    color: #FFFFFF;
    opacity: 1;
}

.teu-footer-contact-link svg {
    width: 16px;
    height: 16px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.teu-footer-bottom-bar {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #FFFFFF;
    opacity: 0.88;
    flex-wrap: wrap;
    gap: 12px;
}

.teu-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.teu-footer-legal-links a {
    color: #FFFFFF;
    opacity: 0.88;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.teu-footer-legal-links a:hover {
    color: #FFFFFF;
    opacity: 1;
}


/* =========================================================
   7. MODALS
========================================================= */
.teu-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 82, 132, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

.teu-modal-card {
    background: #FFFFFF;
    border-radius: 18px;
    width: 100%;
    max-width: 520px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.teu-modal-overlay.active .teu-modal-card {
    transform: translateY(0) scale(1);
}

.teu-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.teu-modal-close-btn:hover {
    background: var(--teu-navy-deep);
    color: #FFFFFF;
}

.teu-form-group {
    margin-bottom: 16px;
}

.teu-form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--teu-navy-deep);
    margin-bottom: 6px;
}

.teu-form-input,
.teu-form-select,
.teu-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--teu-navy-deep);
    background: #FAFAFA;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.teu-form-input:focus,
.teu-form-select:focus,
.teu-form-textarea:focus {
    outline: none;
    border-color: #005284;
    background: #FFFFFF;
}

.teu-modal-status-msg {
    display: none;
    padding: 12px;
    border-radius: 8px;
    margin-top: 14px;
    font-size: 0.9rem;
    text-align: center;
}

.teu-modal-status-msg.success {
    display: block;
    background: #F0F9FF;
    color: #005284;
    border: 1px solid #BAE6FD;
}


/* =========================================================
   8. RESPONSIVENESS
========================================================= */
@media (max-width: 1200px) {
    .teu-hero-container {
        grid-template-columns: 1fr 1fr;
    }

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

    .teu-classes-showcase-container {
        grid-template-columns: 1fr;
    }

    .teu-gallery-container {
        grid-template-columns: 1fr;
    }

    .teu-gallery-quill-wrap {
        display: none;
    }

    .teu-cta-card {
        grid-template-columns: 200px 1fr auto;
    }

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

@media (max-width: 1100px) {
    .teu-classes-showcase-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .teu-classes-title-block {
        text-align: center;
        align-items: center;
        padding: 0 0 10px 0;
    }

    .teu-classes-showcase-title {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .teu-hero-container {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .teu-title-main {
        font-size: 2.6rem;
    }

    .teu-title-sub {
        font-size: 1.35rem;
    }

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

    .teu-classes-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .teu-class-card {
        padding: 28px 24px 24px;
    }

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

    .teu-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teu-cta-books-wrap {
        max-width: 240px;
        margin: 0 auto;
    }

    .teu-cta-btn-group {
        justify-content: center;
    }

    .teu-cta-right-wrap {
        justify-content: center;
    }

    .teu-footer-grid {
        grid-template-columns: 1fr;
    }

    .teu-footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .teu-gallery-grid {
        grid-template-columns: 1fr;
    }
}
