/*
	Theme Name: EQuran School
	Theme URI: https://facebook.com/mohsen.elgamasy/
	Description: Modern SaaS-style redesign for EQuran School (Buruj) - Built with ACF Pro & Bootstrap 5
	Author: Dr Mohsen
	Author URI: https://facebook.com/mohsen.elgamasy/
	Version: 3.0
	Text Domain: quran-school
*/

/* ==========================================================================
   TABLE OF CONTENTS
   01. Design tokens
   02. Base & typography
   03. Bootstrap overrides & utilities
   04. Buttons
   05. Section headers
   06. Top bar & header / navigation
   07. Page hero (breadcrumb sections)
   08. Home: hero
   09. Home: about
   10. Features / why-choose / learn cards
   11. Category filters
   12. Course cards
   13. Tutor cards
   14. Video reviews & lightbox
   15. CTA banners
   16. Areas we serve
   17. Testimonials
   18. FAQ accordion
   19. Forms & free-trial section
   20. Footer CTA & footer
   21. Floating buttons & back to top
   22. About page
   23. Contact page
   24. Pricing page
   25. Blog, single post, sidebar & comments
   26. Single course page
   27. Single teacher page
   28. Taxonomy & misc pages (404, thank you)
   29. Reveal animations
   30. Responsive
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand - Yaseen Orange (#ec5b38) */
    --brand: #ec5b38;
    --brand-600: #d94e2c;
    --brand-700: #c0421f;
    --brand-800: #8f3016;
    --brand-50: #fdf1ec;
    --brand-100: #fbe0d6;
    --brand-200: #f4b7a1;
    --brand-rgb: 236, 91, 56;

    /* Accent - Yaseen Sage (#a8a492) */
    --sage: #a8a492;
    --sage-600: #8f8b77;
    --sage-700: #6e6a58;
    --sage-800: #4d4a3d;
    --sage-50: #f6f5ef;
    --sage-100: #eceae0;
    --sage-200: #d6d3c4;
    --sage-rgb: 168, 164, 146;
    --on-sage: #2f2727;

    /* Neutrals - Yaseen Dark (#524646) & Cream (#fcf2e5) */
    --ink: #524646;
    --ink-2: #463b3b;
    --ink-3: #5e5151;
    --ink-rgb: 82, 70, 70;
    --text: #5b4f4f;
    --muted: #857977;
    --subtle: #a89d99;
    --line: #efe4d6;
    --line-2: #e2d5c4;
    --cream: #fcf2e5;
    --surface: #fcf2e5;
    --surface-2: #f5e8d6;
    --white: #ffffff;
    --star: #ec5b38;
    --success: #1faa6b;
    --whatsapp: #25d366;

    /* Typography */
    --font: 'Poppins', 'Noto Kufi Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-ar: 'Noto Kufi Arabic', 'Poppins', system-ui, sans-serif;

    /* Radii */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(var(--ink-rgb), .06);
    --shadow-sm: 0 1px 2px rgba(var(--ink-rgb), .04), 0 4px 12px -4px rgba(var(--ink-rgb), .08);
    --shadow-md: 0 2px 4px rgba(var(--ink-rgb), .03), 0 16px 36px -14px rgba(var(--ink-rgb), .18);
    --shadow-lg: 0 4px 8px rgba(var(--ink-rgb), .04), 0 32px 64px -24px rgba(var(--ink-rgb), .28);
    --shadow-brand: 0 10px 24px -10px rgba(var(--brand-rgb), .6);
    --ring: 0 0 0 4px rgba(var(--brand-rgb), .15);

    /* Motion */
    --ease: cubic-bezier(.2, .8, .2, 1);
    --t-fast: .18s var(--ease);
    --t: .35s var(--ease);

    /* Layout */
    --section-y: clamp(64px, 8vw, 112px);
    --header-h: 78px;

    /* Legacy aliases (inline styles in older templates rely on these) */
    --primary-color: var(--brand);
    --primary-dark: var(--ink);
    --primary-hover: var(--brand-700);
    --secondary-color: var(--sage);
    --dark-text: var(--ink);
    --text-muted: var(--muted);
    --light-bg: var(--surface);
    --font-heading: var(--font);
    --font-body: var(--font);

    /* Bootstrap variables */
    --bs-primary: #ec5b38;
    --bs-primary-rgb: 236, 91, 56;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--text);
    --bs-link-color: var(--brand);
    --bs-link-hover-color: var(--brand-700);
    --bs-border-color: var(--line);
}

/* ==========================================================================
   02. BASE & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html[lang^="ar"] body,
html[dir="rtl"] body,
[lang="ar"] { font-family: var(--font-ar); }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p { margin-bottom: 1rem; }

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}
a:hover { color: var(--brand-700); }

img { max-width: 100%; height: auto; }

::selection { background: var(--brand-100); color: var(--brand-800); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.lead { font-size: 1.125rem; font-weight: 400; color: var(--muted); line-height: 1.7; }

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   03. BOOTSTRAP OVERRIDES & UTILITIES
   ========================================================================== */
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

.text-primary { color: var(--brand) !important; }
.bg-primary { background-color: var(--brand) !important; }
.text-muted { color: var(--muted) !important; }
.text-success { color: var(--success) !important; }

.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }

.bg-surface { background: var(--surface); }

.icon-tile {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--t);
}

.stars { color: var(--star); font-size: .85rem; letter-spacing: 2px; display: inline-flex; gap: 2px; }

.alert-info {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-800);
    border-radius: var(--radius-sm);
}

/* Section spacing */
.about-section,
.features-section,
.courses-section,
.tutors-section,
.why-choose-section,
.video-reviews-section,
.cta-section-main,
.areas-section,
.testimonials-section,
.faqs-section,
.faq-section,
.pricing-section,
.course-overview,
.outcomes-section,
.learn-section,
.related-courses-section,
.full-cta-3 {
    padding: var(--section-y) 0;
    position: relative;
}

.cta-section.alternate { padding: var(--section-y) 0 0; }

/* ==========================================================================
   04. BUTTONS
   ========================================================================== */
.btn { font-family: var(--font); }

.btn-primary-custom,
.btn-outline-custom,
.btn-outline-primary-custom,
.btn-white-custom,
.btn-cta-primary,
.btn-primary,
.pricing-btn,
.btn-whatsapp-outline,
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: .975rem;
    line-height: 1.2;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn-primary-custom i, .btn-outline-custom i, .btn-outline-primary-custom i,
.btn-white-custom i, .btn-cta-primary i, .header-cta i { margin: 0 !important; transition: transform var(--t-fast); }
.btn-primary-custom:hover i.bi-arrow-right, .btn-outline-primary-custom:hover i.bi-arrow-right,
.btn-white-custom:hover i.bi-arrow-right, .btn-cta-primary:hover i.bi-arrow-right { transform: translateX(3px); }

/* Primary */
.btn-primary-custom,
.btn-primary,
.header-cta {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white) !important;
    box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary-custom:hover,
.btn-primary:hover,
.header-cta:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: var(--white) !important;
    transform: translateY(-1px);
}
.btn-primary-custom:active, .btn-primary:active { transform: translateY(0); }
.btn-primary:focus, .btn-primary:active, .btn-primary:focus-visible { background: var(--brand-700) !important; border-color: var(--brand-700) !important; box-shadow: var(--ring) !important; }

/* Secondary - neutral outline (light backgrounds) */
.btn-outline-custom {
    background: var(--white);
    border-color: var(--line-2);
    color: var(--ink) !important;
    box-shadow: var(--shadow-xs);
}
.btn-outline-custom:hover { border-color: var(--ink); color: var(--ink) !important; transform: translateY(-1px); }

/* Brand outline */
.btn-outline-primary-custom {
    background: transparent;
    border-color: var(--line-2);
    color: var(--ink) !important;
}
.btn-outline-primary-custom:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white) !important;
}

/* White (on brand / dark) */
.btn-white-custom,
.btn-cta-primary {
    background: var(--white);
    border-color: var(--white);
    color: var(--brand-700) !important;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35);
}
.btn-white-custom:hover,
.btn-cta-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.btn-lg,
.btn-hero,
.btn-hero-outline { padding: 16px 28px; font-size: 1rem; }

/* ==========================================================================
   05. SECTION HEADERS
   ========================================================================== */
.section-header { margin-left: auto; margin-right: auto; }
.section-header.text-center, .text-center.mb-5 { max-width: 760px; margin-left: auto; margin-right: auto; }

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 6px 14px 6px 12px;
    margin-bottom: 1rem;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-700);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
}
.section-subtitle::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18);
    flex-shrink: 0;
}
.section-subtitle i { display: none; }
.section-subtitle.d-block, .section-subtitle.d-inline-block { display: inline-flex !important; }

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1rem;
}
.section-title span, .section-title em, .section-title strong { color: var(--brand); font-style: normal; }

.section-title-sm { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }

.section-desc,
.section-lead,
.section-header .lead,
.text-center.mb-5 > .lead,
.text-center.mb-5 > p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

/* Dark section variant */
.section-dark .section-subtitle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--brand-200); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc, .section-dark .lead, .section-dark .text-center.mb-5 > p { color: rgba(255, 255, 255, .65); }

/* ==========================================================================
   06. TOP BAR & HEADER / NAVIGATION
   ========================================================================== */
.top-bar {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    position: relative;
    z-index: 1031;
}
.top-bar .container { padding-top: 8px !important; padding-bottom: 8px !important; }
.top-bar .row { width: 100%; margin: 0; }
.top-bar-item { color: rgba(255, 255, 255, .72); }
.top-bar-icon { color: var(--sage); font-size: .8rem; }
.top-bar-link { color: rgba(255, 255, 255, .8); }
.top-bar-link:hover { color: var(--white); }
.top-bar-label { color: rgba(255, 255, 255, .5); }
.top-social-btn {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
}
.top-social-btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

.header-main {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(236, 232, 239, .9);
    z-index: 1030;
    transition: box-shadow var(--t), background-color var(--t);
}
.header-main.is-scrolled { box-shadow: 0 8px 30px -12px rgba(var(--ink-rgb), .15); background: rgba(255, 255, 255, .95); }
.header-main .navbar { min-height: var(--header-h); }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.site-logo { max-height: 50px; max-width: 130px; width: auto; display: block; }

.header-main .navbar-nav { gap: 2px; }
.header-main .navbar-nav > .nav-item { position: relative; display: flex; align-items: center; flex-wrap: wrap; }

.header-main .navbar-nav .nav-link {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
    padding: 10px 14px !important;
    border-radius: 10px;
    line-height: 1.3;
}
.header-main .navbar-nav .nav-link:hover,
.header-main .navbar-nav .nav-item.show > .nav-link { color: var(--ink); background: var(--surface-2); }
.header-main .navbar-nav .nav-item.active > .nav-link { color: var(--brand); }

.header-main .navbar-nav .nav-item.dropdown > .nav-link { padding-right: 4px !important; }

.dropdown-toggle-split,
.dropdown-toggle-split-nested {
    border: 0;
    background: transparent;
    color: var(--muted);
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: .7rem;
    padding: 0;
    cursor: pointer;
    transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.dropdown-toggle-split:hover, .dropdown-toggle-split-nested:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.show > .dropdown-toggle-split { transform: rotate(180deg); color: var(--brand); }

.header-main .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 250px;
    margin: 0;
    background: var(--white);
    list-style: none;
}
.header-main .dropdown-menu .dropdown-submenu-item { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.header-main .dropdown-item {
    flex: 1;
    display: flex; align-items: center; justify-content: space-between;
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
}
.header-main .dropdown-item:hover,
.header-main .dropdown-item:focus,
.header-main .dropdown-submenu-item.show > .dropdown-item { background: var(--brand-50); color: var(--brand-700); }
.header-main .dropdown-submenu-item.active > .dropdown-item { color: var(--brand); }
.dropdown-arrow { color: var(--subtle); font-size: 1rem; margin-left: 8px; }

.nav-cta-wrapper { flex-shrink: 0; }
.header-cta { padding: 11px 20px; font-size: .92rem; }

.navbar-toggler {
    width: 46px; height: 46px;
    padding: 0;
    border: 1px solid var(--line-2) !important;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}
.navbar-toggler:focus { box-shadow: var(--ring); }
.navbar-toggler-icon { width: 1.3em; height: 1.3em; }

@media (min-width: 992px) {
    .header-main .navbar-nav > .nav-item > .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
    }
    .header-main .navbar-nav > .nav-item > .dropdown-menu::before {
        content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
    }
    .header-main .navbar-nav > .nav-item > .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
    .header-main .dropdown-submenu-item > .dropdown-menu {
        position: absolute;
        top: -9px;
        left: calc(100% + 8px);
        display: none;
    }
    .header-main .dropdown-submenu-item > .dropdown-menu::before {
        content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 12px;
    }
    .header-main .dropdown-submenu-item > .dropdown-menu.show { display: block; }
    .header-main .dropdown-submenu-item > .dropdown-menu.dropdown-menu-reverse { left: auto; right: calc(100% + 8px); }
    .dropdown-toggle-split-nested { display: none; }
}

/* ==========================================================================
   07. PAGE HERO (breadcrumb sections)
   ========================================================================== */
.breadcrumb-section,
.contact-hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
    text-align: center;
    background:
        radial-gradient(600px 300px at 12% 0%, rgba(var(--brand-rgb), .10), transparent 70%),
        radial-gradient(520px 280px at 92% 100%, rgba(var(--sage-rgb), .18), transparent 70%),
        var(--surface);
    border-bottom: 1px solid var(--line);
}
.breadcrumb-section::before,
.contact-hero-section::before,
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--ink-rgb), .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}
.breadcrumb-section .container,
.contact-hero-section .container { position: relative; z-index: 1; }

.breadcrumb-section .page-title,
.centered-page-title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 auto .75rem;
    max-width: 900px;
}

.page-hero-eyebrow,
.about-badge,
.contact-badge,
.teacher-badge {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    color: var(--brand-700);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem !important;
}
.page-hero-eyebrow i, .about-badge i, .contact-badge i, .teacher-badge i { color: var(--brand); }

.page-hero-desc,
.about-hero-description,
.contact-hero-description,
.centered-page-description,
.taxonomy-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 1rem;
}

.breadcrumbs, .rank-math-breadcrumb, .breadcrumb-section .breadcrumb {
    display: inline-flex;
    justify-content: center;
    margin-top: .5rem;
}
.rank-math-breadcrumb p,
.breadcrumb-section .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
    font-size: .85rem;
    color: var(--muted);
}
.rank-math-breadcrumb a, .breadcrumb-section .breadcrumb a { color: var(--text); font-weight: 500; }
.rank-math-breadcrumb a:hover, .breadcrumb-section .breadcrumb a:hover { color: var(--brand); }
.rank-math-breadcrumb .separator { color: var(--subtle); padding: 0 2px; }
.rank-math-breadcrumb .last, .breadcrumb-section .breadcrumb-item.active { color: var(--brand-700); font-weight: 500; }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { color: var(--subtle); }

/* ==========================================================================
   08. HOME: HERO
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 6vw, 88px);
    background:
        radial-gradient(700px 420px at 0% 0%, rgba(var(--brand-rgb), .12), transparent 70%),
        radial-gradient(600px 420px at 100% 30%, rgba(var(--sage-rgb), .22), transparent 70%),
        linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}
.hero-section > .container { position: relative; z-index: 1; }
.hero-ambient-glow {
    position: absolute;
    width: 520px; height: 520px;
    right: -160px; top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-rgb), .16), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 5px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
}
.hero-pill-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: var(--white);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.hero-main-title {
    font-size: clamp(2.35rem, 5.2vw, 4.1rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
    color: var(--ink);
    margin: 1.5rem 0 1.25rem;
}
.hero-main-title span, .hero-main-title em, .hero-main-title strong {
    font-style: normal;
    background: linear-gradient(120deg, var(--brand) 10%, var(--brand-700) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--muted);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 0;
}
.hero-content.text-center:not(.text-lg-start) .hero-subtitle { margin-left: auto; margin-right: auto; }
.has-media .hero-main-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-content.text-center:not(.text-lg-start) .hero-actions { justify-content: center; }

.hero-media {
    position: relative;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.hero-media-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--surface-2);
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media-frame::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(var(--ink-rgb), .35));
}
.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: floatY 6s ease-in-out infinite;
}
.hero-chip strong { display: block; font-size: .9rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.hero-chip small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.hero-chip .icon-tile { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
.hero-chip-1 { left: -28px; bottom: 44px; }
.hero-chip-2 { right: -22px; top: 40px; animation-delay: -3s; }
.hero-chip-2 .icon-tile { background: var(--sage-100); color: var(--sage-700); }
.live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(31, 170, 107, .5);
    animation: pulseDot 2s infinite;
    display: inline-block;
    margin-right: 6px;
}

.hero-pill-badge .live-dot { background: var(--white); margin-right: 2px; animation-name: pulseDotLight; }
@keyframes pulseDotLight { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(31, 170, 107, .5); } 70% { box-shadow: 0 0 0 8px rgba(31, 170, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 170, 107, 0); } }

.hero-trust-strip {
    margin: clamp(40px, 5vw, 64px) 0 0 !important;
    padding: 8px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.trust-item {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    text-align: left;
}
.hero-trust-strip > [class*="col-"]:not(:last-child) .trust-item { border-right: 1px solid var(--line); }
.trust-item .icon-tile { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
.hero-trust-strip > [class*="col-"]:nth-child(even) .icon-tile { background: var(--sage-50); color: var(--sage-700); }
.trust-number { display: block; font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.trust-label { display: block; font-size: .83rem; color: var(--muted); line-height: 1.35; }

/* ==========================================================================
   09. HOME: ABOUT
   ========================================================================== */
.about-image-wrapper { position: relative; padding: 0 24px 24px 0; }
.about-image-wrapper::before {
    content: "";
    position: absolute;
    right: 0; bottom: 0;
    width: 75%; height: 75%;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(rgba(var(--sage-rgb), .55) 1.2px, transparent 1.2px) 0 0 / 16px 16px,
        var(--sage-50);
    z-index: 0;
}
.about-image-card {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
}
.about-main-img { width: 100%; height: 100%; object-fit: cover; }
.about-floating-badge {
    position: absolute;
    z-index: 2;
    left: -16px;
    bottom: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    animation: floatY 6s ease-in-out infinite;
}
.about-floating-badge .badge-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand);
    color: var(--white);
    font-size: 1.2rem;
}
.about-floating-badge strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.about-floating-badge span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }

.about-content-wrapper .lead-text { font-size: 1.15rem; color: var(--ink-3); font-weight: 500; line-height: 1.65; }
.about-body-text { color: var(--muted); }
.about-body-text p:last-child { margin-bottom: 0; }


/* ==========================================================================
   10. FEATURES / WHY-CHOOSE / LEARN CARDS
   ========================================================================== */
.features-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.feature-card,
.why-card,
.learn-card,
.mission-card,
.value-card,
.contact-card,
.area-card {
    position: relative;
    height: 100%;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card:hover,
.why-card:hover,
.learn-card:hover,
.mission-card:hover,
.value-card:hover,
.contact-card:hover,
.area-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-md);
}

.feature-icon,
.why-icon,
.learn-card-icon,
.value-icon,
.mission-icon,
.info-icon,
.area-icon,
.highlight-icon,
.contact-feature-icon,
.category-icon-box,
.pricing-icon {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: background-color var(--t), color var(--t), transform var(--t);
}
.feature-card:hover .feature-icon,
.learn-card:hover .learn-card-icon,
.contact-card:hover .info-icon { background: var(--brand); color: var(--white); transform: rotate(-6deg); }

.feature-icon, .why-icon, .learn-card-icon { margin-bottom: 1.25rem; }

.feature-title, .why-title, .why-card h4, .learn-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: .6rem;
}
.feature-desc, .why-desc, .why-card p, .learn-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0; }

/* Why choose - numbered cards */
.why-choose-section { background: var(--white); }
.why-choose-section .row { counter-reset: why; }
.why-card { counter-increment: why; overflow: hidden; }
.why-card::after {
    content: counter(why, decimal-leading-zero);
    position: absolute;
    top: 22px; right: 26px;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--surface-2);
    transition: color var(--t);
}
.why-card:hover::after { color: var(--brand-100); }
.why-icon { background: var(--sage-50); color: var(--sage-700); position: relative; z-index: 1; }
.why-card:hover .why-icon { background: var(--sage); color: var(--on-sage); }
.why-title, .why-card h4 { position: relative; z-index: 1; }

/* Learn cards (single course) */
.learn-section { background: var(--surface); }
.learn-section .row > [class*="col-"] { margin-bottom: 24px; }
.learn-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; align-content: start; }
.learn-card .learn-card-icon { grid-row: span 2; margin-bottom: 0; }
.learn-card:not(:has(.learn-card-icon)) { grid-template-columns: 1fr; }

/* ==========================================================================
   11. CATEGORY FILTERS
   ========================================================================== */
.category-filter-wrapper { display: flex; justify-content: center; }
.category-filters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    max-width: 100%;
}
.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.category-btn i { font-size: .95rem; opacity: .8; }
.category-btn:hover { background: var(--surface-2); color: var(--ink); }
.category-btn.active {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 6px 16px -8px rgba(var(--ink-rgb), .6);
}
.category-btn.active i { opacity: 1; color: var(--brand-200); }

.courses-grid-wrapper, .tutors-grid-wrapper { transition: opacity var(--t); min-height: 120px; }

.no-results, .no-results-tutors, .no-results-filter, .empty-state {
    padding: 56px 24px !important;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px dashed var(--line-2);
    color: var(--muted);
}
.no-results i, .no-results-tutors i, .no-results-filter i, .empty-state i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border-radius: 20px;
    background: var(--brand-50);
    color: var(--brand) !important;
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
}
.no-results h3, .no-results-tutors h3, .no-results-filter h3, .empty-state h3 { font-size: 1.25rem; color: var(--ink) !important; }

/* ==========================================================================
   12. COURSE CARDS
   ========================================================================== */
.courses-section { background: var(--white); }
.related-courses-section { background: var(--surface); }

.course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.course-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
}
.course-thumb > a { display: block; width: 100%; height: 100%; }
.course-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.course-card:hover .course-thumb img { transform: scale(1.06); }
.course-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(var(--ink-rgb), .25) 0%, transparent 35%, transparent 70%, rgba(var(--ink-rgb), .2) 100%);
    pointer-events: none;
}
.course-badge, .course-cat-tag {
    position: absolute;
    top: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .01em;
    z-index: 1;
    pointer-events: none;
}
.course-badge {
    left: 12px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--ink);
}
.course-cat-tag { right: 12px; background: var(--brand); color: var(--white); }

.course-content { flex: 1; display: flex; flex-direction: column; padding: 18px 12px 8px; }
.course-title { font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; margin-bottom: .5rem; }
.course-title a { color: var(--ink); }
.course-title a:hover { color: var(--brand); }
.course-excerpt {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-card-footer { margin-top: auto; }
.btn-course-details {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 18px !important;
    border-radius: var(--radius-sm) !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    transition: var(--t-fast);
}
.btn-course-details i {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: var(--white);
    color: var(--brand);
    box-shadow: var(--shadow-xs);
    transition: var(--t-fast);
}
.course-card:hover .btn-course-details,
.btn-course-details:hover { background: var(--brand) !important; border-color: var(--brand) !important; color: var(--white) !important; }
.course-card:hover .btn-course-details i { transform: translateX(2px); }

/* ==========================================================================
   13. TUTOR CARDS
   ========================================================================== */
.tutors-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.tutor-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.tutor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.tutor-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--brand-50), var(--sage-50));
}
.tutor-image > a { display: block; width: 100%; height: 100%; }
.tutor-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.tutor-card:hover .tutor-image img { transform: scale(1.05); }
.tutor-badge {
    position: absolute;
    left: 10px; bottom: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 600;
    pointer-events: none;
}
.tutor-badge i { color: var(--sage-700); }
.tutor-overlay {
    position: absolute;
    left: 10px; bottom: 10px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .94);
}
.tutor-overlay .stars { font-size: .75rem; }

.tutor-info { flex: 1; display: flex; flex-direction: column; padding: 16px 10px 8px; }
.tutor-info .stars { margin-bottom: .5rem !important; }
.tutor-name { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: .4rem; }
.tutor-name a { color: var(--ink); }
.tutor-name a:hover { color: var(--brand); }
.tutor-position, .tutor-title {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .76rem;
    font-weight: 600;
    margin-bottom: .75rem;
}
.tutor-bio, .tutor-info > p:not(.tutor-position):not(.tutor-title) {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tutor-bio small, .tutor-info > p small { font-size: inherit; }
.tutor-profile-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
}
.tutor-profile-link i { color: var(--brand); transition: transform var(--t-fast); }
.tutor-profile-link:hover { color: var(--brand); }
.tutor-profile-link:hover i { transform: translateX(3px); }
.tutor-social { margin-top: auto; display: flex; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.tutor-social a {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: .9rem;
}
.tutor-social a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ==========================================================================
   14. VIDEO REVIEWS & LIGHTBOX
   ========================================================================== */
.video-reviews-section {
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(var(--brand-rgb), .22), transparent 70%),
        radial-gradient(600px 360px at 0% 100%, rgba(var(--sage-rgb), .14), transparent 70%),
        var(--ink);
    color: rgba(255, 255, 255, .7);
}
.video-reviews-section .section-subtitle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--brand-200); }
.video-reviews-section .section-title { color: var(--white); }
.video-reviews-section .section-desc,
.video-reviews-section .lead { color: rgba(255, 255, 255, .62); }

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    background: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, .08);
    cursor: pointer;
    isolation: isolate;
    transition: transform var(--t), box-shadow var(--t);
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -1; }
.video-card:hover .video-thumbnail { transform: scale(1.06); }
.video-overlay {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(var(--ink-rgb), .05) 0%, rgba(var(--ink-rgb), .2) 45%, rgba(var(--ink-rgb), .85) 100%);
}
.play-button {
    position: relative;
    width: 68px; height: 68px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .95);
    color: var(--brand);
    font-size: 2rem;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5);
    transition: transform var(--t), background-color var(--t), color var(--t);
}
.play-button i { margin-left: 4px; line-height: 1; }
.play-button::before {
    content: "";
    position: absolute; inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);
    animation: ringPulse 2.4s var(--ease) infinite;
}
.play-pulse { display: none; }
.video-card:hover .play-button { transform: scale(1.08); background: var(--brand); color: var(--white); }
.video-title {
    position: absolute;
    left: 20px; right: 20px; bottom: 18px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
}
@keyframes ringPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(var(--ink-rgb), .85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content {
    position: relative;
    width: min(100%, 1000px);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
    transform: scale(.96);
    transition: transform var(--t);
}
.lightbox.active .lightbox-content { transform: none; }
.lightbox-content iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--t-fast);
}
.lightbox-close:hover { background: var(--brand); color: var(--white); }

/* ==========================================================================
   15. CTA BANNERS
   ========================================================================== */
.cta-banner-wrapper {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 70%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    color: rgba(255, 255, 255, .85);
    box-shadow: 0 30px 60px -30px rgba(var(--brand-rgb), .7);
}
.cta-banner-wrapper::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}
.cta-banner-wrapper > .row { position: relative; z-index: 1; }
.cta-banner-wrapper .cta-image img {
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5);
    border: 6px solid rgba(255, 255, 255, .16);
    width: 100%;
    object-fit: cover;
}
.cta-subtitle-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.cta-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-description { color: rgba(255, 255, 255, .85); font-size: 1.05rem; line-height: 1.7; }
.cta-description p:last-child { margin-bottom: 0; }
.cta-section-main .cta-content, .cta-section .cta-banner-wrapper .cta-content { padding-left: clamp(0px, 2vw, 24px); }

/* Alternate (sage, light) */
.cta-banner-alternate {
    background:
        radial-gradient(500px 300px at 0% 100%, rgba(var(--sage-rgb), .35), transparent 70%),
        var(--sage-50);
    border: 1px solid var(--sage-100);
    color: var(--text);
    box-shadow: none;
}
.cta-banner-alternate::before {
    background-image: radial-gradient(rgba(var(--sage-rgb), .5) 1px, transparent 1px);
    -webkit-mask-image: linear-gradient(270deg, transparent, #000);
    mask-image: linear-gradient(270deg, transparent, #000);
}
.cta-banner-alternate .cta-subtitle-pill { background: var(--white); border-color: var(--sage-200); color: var(--sage-800); }
.cta-banner-alternate .cta-heading { color: var(--ink); }
.cta-banner-alternate .cta-description { color: var(--muted); }
.cta-banner-alternate .cta-image img { border-color: var(--white); box-shadow: var(--shadow-lg); }
.cta-banner-alternate .btn-cta-primary { background: var(--brand); border-color: var(--brand); color: var(--white) !important; box-shadow: var(--shadow-brand); }
.cta-banner-alternate .btn-cta-primary:hover { background: var(--ink); border-color: var(--ink); }
.cta-section.alternate .cta-content { padding-left: 0; padding-right: clamp(0px, 2vw, 24px); }

/* ==========================================================================
   16. AREAS WE SERVE
   ========================================================================== */
.areas-section {
    background:
        radial-gradient(rgba(var(--sage-rgb), .35) 1px, transparent 1px) 0 0 / 22px 22px,
        var(--sage-50);
    border-top: 1px solid var(--sage-100);
    border-bottom: 1px solid var(--sage-100);
}
.areas-section .section-subtitle { background: var(--white); border-color: var(--sage-200); color: var(--sage-800); }
.areas-section .section-subtitle::before { background: var(--sage-600); box-shadow: 0 0 0 3px rgba(var(--sage-rgb), .25); }
.area-card { display: flex; gap: 20px; align-items: flex-start; }
.area-card:hover { border-color: var(--sage-200); }
.area-icon { background: var(--sage-100); color: var(--sage-700); }
.area-card:hover .area-icon { background: var(--sage); color: var(--on-sage); }
.area-title { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.area-desc { color: var(--muted); font-size: .95rem; }
.area-desc p:last-child { margin-bottom: 0; }
.area-desc ul { padding-left: 1.1rem; margin-bottom: 0; }

/* ==========================================================================
   17. TESTIMONIALS
   ========================================================================== */
.testimonials-section { background: var(--surface); }
.testimonials-section .carousel { padding: 0 64px; }
.testimonial-card {
    position: relative;
    padding: clamp(32px, 4vw, 52px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 8px 0 24px;
}
.quote-badge {
    width: 56px; height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand);
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-brand);
}
.testimonial-text {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.65;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}
.testimonial-author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.author-image img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--brand-100); }
.author-name { font-size: 1rem; font-weight: 600; margin: 0 0 2px; }
.author-location { font-size: .85rem; color: var(--muted); margin: 0; }
.author-location i { color: var(--brand); }

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next { width: 52px; opacity: 1; }
.custom-carousel-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 1.1rem;
    transition: var(--t-fast);
}
.carousel-control-prev:hover .custom-carousel-btn,
.carousel-control-next:hover .custom-carousel-btn { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ==========================================================================
   18. FAQ ACCORDION
   ========================================================================== */
.faqs-section, .faq-section { background: var(--white); }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro .section-desc { margin-left: 0; }
.faq-help-card {
    margin-top: 2rem;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
}
.faq-help-card h5 { font-size: 1.05rem; font-weight: 600; margin-bottom: .35rem; }
.faq-help-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: none; }
.accordion .accordion-item {
    margin-bottom: 12px;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.accordion .accordion-item:has(.accordion-collapse.show) { border-color: var(--brand-200) !important; box-shadow: var(--shadow-md); }
.accordion .accordion-header { margin: 0; }
.accordion .accordion-button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: transparent !important;
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.accordion .accordion-button:not(.collapsed) { color: var(--brand-700); }
.accordion .accordion-button::after {
    flex-shrink: 0;
    width: 30px; height: 30px;
    margin-left: auto;
    border-radius: 50%;
    background-color: var(--surface-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23524646'%3E%3Cpath d='M8 3.5a.75.75 0 0 1 .75.75v3h3a.75.75 0 0 1 0 1.5h-3v3a.75.75 0 0 1-1.5 0v-3h-3a.75.75 0 0 1 0-1.5h3v-3A.75.75 0 0 1 8 3.5Z'/%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform var(--t), background-color var(--t);
}
.accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    background-color: var(--brand);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M8 3.5a.75.75 0 0 1 .75.75v3h3a.75.75 0 0 1 0 1.5h-3v3a.75.75 0 0 1-1.5 0v-3h-3a.75.75 0 0 1 0-1.5h3v-3A.75.75 0 0 1 8 3.5Z'/%3E%3C/svg%3E");
}
.faq-number {
    flex-shrink: 0;
    min-width: 36px; height: 30px;
    padding: 0 8px;
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .8rem;
    font-weight: 700;
}
.accordion .accordion-body {
    padding: 0 22px 22px;
    color: var(--muted);
    font-size: .97rem;
    line-height: 1.75;
}
.modern-faq-accordion .accordion-body { padding-left: 72px; }
.accordion .accordion-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   19. FORMS & FREE-TRIAL SECTION
   ========================================================================== */
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="url"],
.contact-form-section input[type="number"],
.contact-form-section input[type="date"],
.contact-form-section input[type="time"],
.contact-form-section input[type="password"],
.contact-form-section select,
.contact-form-section textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.sidebar-wrapper input[type="search"],
.sidebar-wrapper input[type="text"],
.form-control,
.form-select {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: .95rem;
    line-height: 1.5;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    -webkit-appearance: none;
    appearance: none;
}
.contact-form-section select, .form-select {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23857977' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.contact-form-section textarea, .comment-form textarea { min-height: 140px; resize: vertical; }
.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder,
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--subtle); }
.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.sidebar-wrapper input:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--ring);
}
.contact-form-section label,
.comment-form label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.contact-form-section p { margin-bottom: 1rem; }

.contact-form-section input[type="submit"],
.contact-form-section button[type="submit"],
.contact-form-section .wpcf7-submit,
.contact-form-section .ff-btn-submit,
.comment-form input[type="submit"],
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 28px;
    border: 0 !important;
    border-radius: var(--radius-sm) !important;
    background: var(--brand) !important;
    color: var(--white) !important;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    transition: background-color var(--t-fast), transform var(--t-fast);
}
.contact-form-section input[type="submit"]:hover,
.contact-form-section button[type="submit"]:hover,
.contact-form-section .wpcf7-submit:hover,
.contact-form-section .ff-btn-submit:hover,
.comment-form input[type="submit"]:hover { background: var(--brand-700) !important; transform: translateY(-1px); }

.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { font-size: .8rem; color: #d33a3a; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output {
    margin: 1rem 0 0 !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm);
    font-size: .9rem;
}
.wpcf7-spinner { margin: 12px auto 0; display: block; }

/* Fluent Forms */
.contact-form-section .ff-el-input--label label { font-weight: 500; }
.contact-form-section .ff-el-form-control { border-radius: var(--radius-sm) !important; }
.contact-form-section .ff-el-group { margin-bottom: 18px; }

/* Choices.js (searchable dropdown) */
.choices { margin-bottom: 0; font-size: .95rem; }
.choices__inner {
    min-height: 50px;
    padding: 8px 12px !important;
    border: 1px solid var(--line-2) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--white) !important;
    box-shadow: var(--shadow-xs);
}
.choices.is-focused .choices__inner, .choices.is-open .choices__inner { border-color: var(--brand) !important; box-shadow: var(--ring); }
.choices__list--dropdown, .choices__list[aria-expanded] {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-lg);
    margin-top: 6px !important;
    z-index: 20 !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted { background: var(--brand-50) !important; color: var(--brand-800); }
.choices[data-type*="select-one"]::after { border-color: var(--muted) transparent transparent !important; right: 16px !important; }

/* intl-tel-input */
.iti { width: 100%; display: block; }
.iti__country-list { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border-color: var(--line); }

/* Free trial section */
.free-trial-section {
    padding: var(--section-y) 0 !important;
    background:
        radial-gradient(640px 360px at 0% 0%, rgba(var(--brand-rgb), .08), transparent 70%),
        radial-gradient(640px 360px at 100% 60%, rgba(var(--sage-rgb), .16), transparent 70%),
        var(--white);
    border-top: 1px solid var(--line);
}
.free-trial-card {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.free-trial-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--sage));
}
.free-trial-header .section-desc { margin-left: 0; margin-bottom: 0; }
.free-trial-guarantees { display: grid; gap: 12px; margin: 2rem 0 0; padding: 0; }
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-3);
}
.guarantee-item i {
    width: 34px; height: 34px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    color: var(--sage-700);
}
.trial-form-container {
    padding: clamp(20px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}

/* Free trial page (trial.php) */
.trial-page-section { padding: var(--section-y) 0; background: var(--white); }

/* ==========================================================================
   20. FOOTER CTA & FOOTER
   ========================================================================== */
.footer-cta-section {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, transparent 50%, var(--ink) 50%);
    z-index: 1;
}
.footer-cta-section .cta-content {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(420px 260px at 0% 0%, rgba(255, 255, 255, .2), transparent 70%),
        radial-gradient(420px 260px at 100% 100%, rgba(var(--sage-rgb), .45), transparent 70%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    box-shadow: 0 30px 60px -30px rgba(var(--brand-rgb), .8);
}
.footer-cta-section .cta-content::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    pointer-events: none;
}
.footer-cta-section .cta-content > * { position: relative; }
.footer-cta-section .cta-title {
    color: var(--white);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    letter-spacing: -0.03em;
    max-width: 760px;
    margin: 0 auto 1rem;
}
.footer-cta-section .cta-desc { color: rgba(255, 255, 255, .85); font-size: 1.08rem; max-width: 620px; margin: 0 auto 2rem; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); font-size: .94rem; position: relative; }
.site-footer .footer-main-area { padding-top: clamp(48px, 6vw, 72px) !important; }
.footer-logo { max-height: 52px; width: auto; }
.footer-about-text { color: rgba(255, 255, 255, .6); line-height: 1.75; max-width: 360px; }
.footer-social-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
}
.footer-social-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }

.footer-widget-title {
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 1.25rem !important;
}
.footer-menu { padding: 0; margin: 0; list-style: none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255, 255, 255, .62); display: inline-flex; align-items: center; }
.footer-menu a::before { content: ""; width: 0; height: 1px; background: var(--brand-200); transition: width var(--t-fast); }
.footer-menu a:hover { color: var(--white); }
.footer-menu a:hover::before { width: 10px; margin-right: 6px; }
.footer-menu .sub-menu { list-style: none; padding-left: 12px; margin-top: 8px; }

.footer-contact-list li { gap: 12px; margin-bottom: 14px !important; align-items: center !important; }
.footer-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(var(--brand-rgb), .16);
    color: var(--brand-200);
    font-size: .85rem;
    margin: 0 !important;
}
.footer-contact-list a, .footer-contact-list span { color: rgba(255, 255, 255, .72); }
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, .08) !important; padding: 22px 0 !important; font-size: .86rem; }
.footer-bottom-bar .text-muted { color: rgba(255, 255, 255, .5) !important; }
.footer-copy-link { color: rgba(255, 255, 255, .85); font-weight: 500; }
.footer-copy-link:hover { color: var(--white); }

/* ==========================================================================
   21. FLOATING BUTTONS & BACK TO TOP
   ========================================================================== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white) !important;
    font-size: 1.5rem;
    box-shadow: 0 14px 30px -10px rgba(var(--ink-rgb), .45);
    transition: transform var(--t-fast);
}
.floating-btn:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-btn { background: var(--whatsapp); }
.trial-btn { background: var(--brand); }
.floating-btn-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translate(6px, -50%);
    padding: 7px 12px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--t-fast);
}
.floating-btn:hover .floating-btn-tooltip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.notification-badge {
    position: absolute;
    top: -6px; right: -6px;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: var(--sage);
    color: var(--on-sage);
    font-size: .62rem;
    font-weight: 700;
    border: 2px solid var(--white);
    line-height: 1.3;
}

.back-to-top {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1040;
    display: none;
    width: 46px; height: 46px;
    padding: 0 !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    box-shadow: var(--shadow-md);
    line-height: 44px;
    text-align: center;
    font-size: 1.1rem;
}
.back-to-top:hover { background: var(--ink) !important; color: var(--white) !important; }

/* ==========================================================================
   22. ABOUT PAGE
   ========================================================================== */
.stats-section { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 24px; }
.stats-container {
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.stats-container .row { --bs-gutter-y: 0; }
.stat-item { text-align: center; padding: 24px 16px; height: 100%; }
.stats-container .row > [class*="col-"]:not(:last-child) .stat-item { border-right: 1px solid var(--line); }
.stat-number {
    display: block;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    background: linear-gradient(120deg, var(--brand), var(--brand-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { margin: 6px 0 0; color: var(--muted); font-size: .92rem; font-weight: 500; }

.story-section { padding: var(--section-y) 0 !important; }
.story-image-wrap { position: relative; padding: 0 24px 24px 0; }
.story-image-wrap::before {
    content: "";
    position: absolute; right: 0; bottom: 0;
    width: 70%; height: 70%;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand-50), var(--sage-100));
}
.story-img-frame { position: relative; z-index: 1; }
.story-img-frame img { border-radius: var(--radius-xl) !important; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.story-badge-floating {
    position: absolute;
    left: -16px; bottom: 32px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    animation: floatY 6s ease-in-out infinite;
}
.story-badge-floating > i {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--brand); color: var(--white);
    font-size: 1.2rem;
}
.story-badge-floating strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.story-badge-floating small { display: block; color: var(--muted); font-size: .8rem; }

.mission-section { padding: var(--section-y) 0 !important; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission-card { padding: 36px; }
.mission-icon { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: var(--white); box-shadow: var(--shadow-brand); }
.mission-title { font-size: 1.35rem; font-weight: 700; }
.mission-desc { color: var(--muted); }
.mission-desc p:last-child { margin-bottom: 0; }

.values-section { padding: var(--section-y) 0 !important; background: var(--white); }
.value-icon { background: var(--sage-50); color: var(--sage-700); }
.value-card:hover .value-icon { background: var(--sage); color: var(--on-sage); }
.value-number { font-size: 1rem; font-weight: 700; color: var(--brand); }
.value-step-badge { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--surface-2); transition: color var(--t); }
.value-card:hover .value-step-badge { color: var(--brand-100); }
.value-title { font-size: 1.15rem; font-weight: 600; }
.value-desc { color: var(--muted); font-size: .95rem; }

.timeline-section { padding: var(--section-y) 0 !important; background: var(--surface); border-top: 1px solid var(--line); }
.timeline-roadmap { position: relative; max-width: 980px; margin: 0 auto; }
.timeline-roadmap::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--brand-200), var(--sage-200));
    border-radius: 2px;
}
.timeline-item { position: relative; width: 50%; padding: 0 44px 32px 0; }
.timeline-item-right { margin-left: 50%; padding: 0 0 32px 44px; }
.timeline-dot {
    position: absolute;
    top: 22px;
    right: -9px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--brand);
    box-shadow: 0 0 0 5px var(--brand-50);
    z-index: 1;
}
.timeline-dot i { display: none; }
.timeline-item-right .timeline-dot { right: auto; left: -9px; }
.timeline-content {
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: var(--t);
}
.timeline-content:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.timeline-year-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .8rem;
    font-weight: 700;
}
.timeline-title { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
.timeline-description { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   23. CONTACT PAGE
   ========================================================================== */
.contact-info-section { padding: var(--section-y) 0 calc(var(--section-y) / 2) !important; }
.contact-card { text-align: left; }
.info-icon { margin-bottom: 1.25rem; }
.whatsapp-icon { background: rgba(37, 211, 102, .12); color: #149447; }
.whatsapp-card:hover .whatsapp-icon { background: var(--whatsapp) !important; color: var(--white) !important; }
.info-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.info-details { color: var(--muted); font-size: .95rem; word-break: break-word; }
.info-details a { color: var(--ink); font-weight: 500; }
.info-details a:hover { color: var(--brand); }

.contact-social-strip {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.social-strip-title { color: var(--muted); font-size: .92rem; font-weight: 500; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-link {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.05rem;
    box-shadow: var(--shadow-xs);
}
.social-link:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }

.contact-form-section:not(.free-trial-section) { padding: calc(var(--section-y) / 2) 0 var(--section-y) !important; }
.contact-lead-desc { color: var(--muted); font-size: 1.05rem; }
.contact-features-list { display: grid; gap: 14px; }
.contact-feature-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
}
.contact-feature-icon { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
.contact-feature-item:nth-child(2) .contact-feature-icon { background: var(--sage-50); color: var(--sage-700); }
.contact-feature-content h6 { font-size: .98rem; font-weight: 600; margin-bottom: 4px; }
.contact-feature-content p { font-size: .9rem; color: var(--muted); margin: 0; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame iframe { width: 100% !important; height: 320px; border: 0; }

.contact-form-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.form-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .78rem;
    font-weight: 600;
}
.form-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: .35rem; }
.form-subtitle { color: var(--muted); margin: 0; }

/* ==========================================================================
   24. PRICING PAGE
   ========================================================================== */
.pricing-section { background: var(--white); }
.pricing-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card .pricing-icon { margin-bottom: 1.25rem; }
.pricing-name { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-description { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.pricing-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.pricing-price { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.pricing-duration { color: var(--muted); font-size: .95rem; font-weight: 500; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 12px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .95rem; }
.pricing-features i { color: var(--sage-700); margin-top: 3px; flex-shrink: 0; }
.pricing-btn { width: 100%; margin-top: auto; }
.pricing-btn-primary { background: var(--brand); color: var(--white) !important; box-shadow: var(--shadow-brand); }
.pricing-btn-primary:hover { background: var(--brand-700); color: var(--white) !important; transform: translateY(-1px); }
.pricing-btn-white { background: var(--white); color: var(--ink) !important; }
.pricing-btn-white:hover { background: var(--brand); color: var(--white) !important; }

.pricing-card.featured {
    background:
        radial-gradient(400px 240px at 100% 0%, rgba(var(--brand-rgb), .35), transparent 70%),
        var(--ink);
    border-color: var(--ink);
    color: rgba(255, 255, 255, .75);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-card.featured .pricing-description,
.pricing-card.featured .pricing-duration,
.pricing-card.featured .pricing-features li { color: rgba(255, 255, 255, .72); }
.pricing-card.featured .pricing-price-wrapper { border-color: rgba(255, 255, 255, .12); }
.pricing-card.featured .pricing-icon { background: var(--brand); color: var(--white); }
.pricing-card.featured .pricing-features i { color: var(--sage); }
.popular-badge {
    position: absolute;
    top: 24px; right: 24px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
}
.pricing-custom-card {
    background:
        radial-gradient(500px 260px at 100% 100%, rgba(var(--sage-rgb), .25), transparent 70%),
        var(--surface);
}
.pricing-custom-card .pricing-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.custom-price { font-size: 2rem; }
.faq-section.faqs-section { padding-top: 0 !important; }

/* ==========================================================================
   25. BLOG, SINGLE POST, SIDEBAR & COMMENTS
   ========================================================================== */
.blog-archive-section, .article, .single-article-section, .default-page-section { padding: var(--section-y) 0 !important; background: var(--white); }

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--brand-50), var(--sage-50));
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--ink-rgb), .2), transparent 40%); pointer-events: none; }
.blog-category {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .94);
    color: var(--brand-700);
    font-size: .74rem;
    font-weight: 600;
}
.blog-content { flex: 1; display: flex; flex-direction: column; padding: 18px 12px 8px; }
.blog-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 500; margin-bottom: .6rem; }
.blog-meta i { color: var(--brand); }
.blog-title { font-size: 1.15rem !important; font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; margin-bottom: .6rem; }
.blog-title a { color: var(--ink); }
.blog-title a:hover { color: var(--brand); }
.blog-excerpt { color: var(--muted); font-size: .92rem; line-height: 1.65; margin-bottom: 1.25rem; }
.blog-card .btn-primary-custom { margin-top: auto; background: var(--surface); border-color: var(--line); color: var(--ink) !important; box-shadow: none; font-size: .9rem; padding: 12px 18px; }
.blog-card:hover .btn-primary-custom { background: var(--brand); border-color: var(--brand); color: var(--white) !important; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.read-more i { color: var(--brand); transition: transform var(--t-fast); }
.read-more:hover i { transform: translateX(3px); }

/* Pagination */
.pagination-wrapper, .navigation.pagination { display: flex; justify-content: center; }
.nav-links, .pagination-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
    min-width: 44px; height: 44px;
    padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
    box-shadow: var(--shadow-xs);
}
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.page-numbers.dots { border: 0; background: transparent; box-shadow: none; }

/* Single post */
.single-post-card, .page-card, .comments-card {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.post-header-meta { font-size: .88rem; color: var(--muted); }
.post-cat-badge {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
    font-size: .78rem;
}
.post-cat-badge:hover { background: var(--brand); color: var(--white); }
.post-meta-item i { color: var(--brand); }
.single-post-thumb img { border-radius: var(--radius-lg) !important; }

.entry-content { color: var(--text); font-size: 1.04rem; line-height: 1.85; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { margin: 2rem 0 1rem; letter-spacing: -0.02em; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.entry-content a:hover { text-decoration-color: var(--brand); }
.entry-content a.mini-cta-btn, .entry-content a.btn-primary-custom { text-decoration: none; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content ul li::marker { color: var(--brand); }
.entry-content ol li::marker { color: var(--brand); font-weight: 600; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry-content figure { margin: 1.75rem 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 20px 24px;
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-50);
    color: var(--ink-3);
    font-size: 1.08rem;
    font-weight: 500;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--surface); color: var(--ink); font-weight: 600; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content iframe { max-width: 100%; border-radius: var(--radius); }

.related-posts .section-title-sm { position: relative; padding-left: 16px; }
.related-posts .section-title-sm::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--brand); }

/* Mini CTA shortcode */
.quran-mini-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 2rem 0;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--brand-50), var(--sage-50));
    border: 1px solid var(--brand-100);
}
.mini-cta-text { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.mini-cta-btn {
    display: inline-flex; align-items: center;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: var(--white) !important;
    font-weight: 600;
    font-size: .92rem;
    box-shadow: var(--shadow-brand);
}
.mini-cta-btn:hover { background: var(--brand-700); color: var(--white) !important; }

/* Sidebar & widgets */
.sidebar-wrapper { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-wrapper .widget {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}
.sidebar-wrapper .widget-title { font-size: 1.05rem !important; font-weight: 600; margin-bottom: 1rem !important; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.sidebar-wrapper ul { list-style: none; padding: 0; margin: 0; }
.sidebar-wrapper ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sidebar-wrapper ul li:last-child { border-bottom: 0; }
.sidebar-wrapper ul li a { color: var(--text); font-weight: 500; }
.sidebar-wrapper ul li a:hover { color: var(--brand); }
.courses-widget { display: grid; gap: 12px; }
.courses-widget .course-item { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius-sm); transition: background-color var(--t-fast); }
.courses-widget .course-item:hover { background: var(--surface); }
.courses-widget .course-thumb { flex-shrink: 0; width: 68px; height: 68px; aspect-ratio: auto; border-radius: 12px; }
.courses-widget .course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.courses-widget .course-title { font-size: .92rem; margin-bottom: 4px; }
.courses-widget .view-course { font-size: .8rem; font-weight: 600; }
.courses-widget .view-all { margin-top: 6px; }
.btn-view-all {
    display: flex; justify-content: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--white) !important;
    font-weight: 600;
    font-size: .9rem;
}
.btn-view-all:hover { background: var(--brand); }

/* Comments */
.comments-title, .comment-reply-title { font-size: 1.35rem; margin-bottom: 1.25rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.comment-form p { margin-bottom: 1rem; }
.comment-form .submit { width: auto; }

/* ==========================================================================
   26. SINGLE COURSE PAGE
   ========================================================================== */
.course-overview { background: var(--white); }
.course-thumbnail {
    position: relative;
    padding: 10px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.course-thumbnail img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.course-badge-lg {
    position: absolute;
    left: 26px; top: 26px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .94);
    color: var(--brand-700);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.course-meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.course-meta-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: .95rem;
}
.course-meta-list li i {
    width: 34px; height: 34px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
}
.course-meta-list li strong { color: var(--ink); font-weight: 600; }

.outcomes-section { background: var(--surface); border-top: 1px solid var(--line); }
.outcomes-section + .outcomes-section { background: var(--white); }
.overview-card {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.overview-content { font-size: 1.02rem; line-height: 1.85; }
.overview-content h2, .overview-content h3, .overview-title { font-size: 1.35rem; margin: 1.5rem 0 .75rem; }
.overview-content > *:first-child { margin-top: 0; }
.overview-content ul li::marker { color: var(--brand); }

.outcomes-section .row > [class*="col-"] { margin-bottom: 24px; }
.outcome-card {
    height: 100%;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t);
}
.outcome-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.outcome-image { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--surface-2); }
.outcome-image img { width: 100%; height: 100%; object-fit: cover; }
.outcome-number {
    position: absolute;
    left: 14px; top: 14px;
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-brand);
}
.outcome-content { padding: 20px 14px 10px; }
.outcome-title { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.outcome-content p { color: var(--muted); font-size: .95rem; margin: 0; }

.full-cta-1 {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0;
    background:
        radial-gradient(600px 320px at 0% 0%, rgba(255, 255, 255, .18), transparent 70%),
        radial-gradient(600px 320px at 100% 100%, rgba(var(--sage-rgb), .4), transparent 70%),
        linear-gradient(135deg, var(--brand), var(--brand-700));
    color: rgba(255, 255, 255, .88);
}
.full-cta-1::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.full-cta-1 .container { position: relative; }
.full-cta-1 .cta-title, .full-cta-2 .cta-title, .cta-section .cta-title {
    color: var(--white);
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.full-cta-1 .cta-description { font-size: 1.1rem; color: rgba(255, 255, 255, .88); }

.full-cta-2 { background: var(--ink); overflow: hidden; }
.cta-image-section { height: 100%; min-height: 440px; background-size: cover; background-position: center; background-color: var(--ink-3); }
.cta-content-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 88px);
    color: rgba(255, 255, 255, .72);
    background: radial-gradient(500px 300px at 100% 0%, rgba(var(--brand-rgb), .3), transparent 70%);
}
.full-cta-2 .cta-description { color: rgba(255, 255, 255, .72); font-size: 1.05rem; }
.cta-features { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 10px; }
.cta-features li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); }
.cta-features i { color: var(--sage); }
.full-cta-2 .btn-white-custom:hover { background: var(--brand); border-color: var(--brand); }

.full-cta-3 { background: var(--white); }
.cta-box-centered {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(36px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(500px 260px at 50% 0%, rgba(var(--brand-rgb), .08), transparent 70%),
        var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.cta-box-centered::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--sage)); }
.cta-box-centered h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.cta-box-centered > p { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto 2rem; }
.cta-box-centered > p.mt-4 { margin: 1.5rem auto 0; font-size: .9rem; color: var(--muted) !important; }

.cta-section:not(.alternate) {
    position: relative;
    padding: clamp(72px, 9vw, 112px) 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    color: rgba(255, 255, 255, .88);
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.cta-section:not(.alternate) .cta-content p { color: rgba(255, 255, 255, .88); }

/* ==========================================================================
   27. SINGLE TEACHER PAGE
   ========================================================================== */
.teacher-single-section { padding: var(--section-y) 0 !important; background: var(--white); }
.teacher-profile-sidebar.sticky-top { top: calc(var(--header-h) + 24px); z-index: 1; }
.teacher-sidebar-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.teacher-avatar-frame {
    width: 168px; height: 168px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, var(--brand), var(--sage), var(--brand));
}
.teacher-avatar-img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 50%; border: 4px solid var(--white); }
.teacher-verified-badge {
    display: inline-flex; align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    color: var(--sage-800);
    font-size: .8rem;
    font-weight: 600;
}
.teacher-verified-badge i { color: var(--sage-700) !important; }
.teacher-sidebar-name { font-size: 1.45rem; font-weight: 700; }
.teacher-position-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .82rem;
    font-weight: 600;
}
.teacher-rating-strip .stars { color: var(--star) !important; }
.teacher-sidebar-quote {
    position: relative;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: .93rem;
    line-height: 1.7;
}
.teacher-meta-box { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.teacher-meta-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: .88rem; }
.teacher-meta-row + .teacher-meta-row { border-top: 1px solid var(--line); }
.meta-label { display: flex; align-items: center; color: var(--muted); font-weight: 500; white-space: nowrap; }
.meta-label i { color: var(--brand) !important; }
.meta-val { color: var(--ink); font-weight: 600; text-align: right; }
.teacher-action-buttons .btn-primary-custom { width: 100%; }
.btn-whatsapp-outline {
    width: 100%;
    background: transparent;
    border-color: rgba(37, 211, 102, .45);
    color: #149447 !important;
}
.btn-whatsapp-outline:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white) !important; }

.teacher-bio-card, .teacher-highlights-card {
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}
.bio-title { font-size: 1.75rem; letter-spacing: -0.03em; }
.highlights-title { font-size: 1.3rem; }
.highlights-title i { color: var(--brand) !important; }
.teacher-highlights-card { background: var(--surface); }
.highlight-item {
    height: 100%;
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}
.highlight-icon { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
.highlight-text h5 { font-size: .98rem; font-weight: 600; margin-bottom: 4px; }
.highlight-text p { font-size: .88rem; color: var(--muted); margin: 0; }
.teacher-cta-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 4vw, 52px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(400px 220px at 100% 100%, rgba(var(--sage-rgb), .45), transparent 70%),
        linear-gradient(135deg, var(--brand), var(--brand-700));
    color: rgba(255, 255, 255, .88);
}
.teacher-cta-banner .cta-title { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.teacher-cta-banner .cta-desc { color: rgba(255, 255, 255, .85); }
.teacher-cta-banner .btn-primary-custom { background: var(--white); border-color: var(--white); color: var(--brand-700) !important; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.teacher-cta-banner .btn-primary-custom:hover { background: var(--ink); border-color: var(--ink); color: var(--white) !important; }

/* ==========================================================================
   28. TAXONOMY & MISC PAGES
   ========================================================================== */
.term-description { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.related-categories-section { padding: var(--section-y) 0 !important; background: var(--surface); border-top: 1px solid var(--line); }
.category-card {
    display: block;
    height: 100%;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.category-icon-box { margin-bottom: 1rem; }
.category-card:hover .category-icon-box { background: var(--brand); color: var(--white); }
.category-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.category-card-desc { color: var(--muted); font-size: .9rem; }
.category-count-badge {
    display: inline-flex; align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--sage-50);
    color: var(--sage-800);
    font-size: .8rem;
    font-weight: 600;
}

.state-section { padding: var(--section-y) 0; background: var(--white); }
.state-card {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.state-icon {
    width: 84px; height: 84px;
    margin: 0 auto 1.5rem;
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 2.4rem;
}
.state-icon.is-success { background: rgba(31, 170, 107, .1); color: var(--success); }
.state-code {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    background: linear-gradient(120deg, var(--brand), var(--sage-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .5rem;
}
.state-card h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.state-card p { color: var(--muted); margin-bottom: 1.75rem; }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   29. REVEAL ANIMATIONS
   ========================================================================== */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   30. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
    .header-main .navbar-nav .nav-link { padding: 10px 10px !important; font-size: .92rem; }
    .hero-chip-1 { left: -8px; }
    .hero-chip-2 { right: -8px; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 70px; }

    .header-main .navbar-collapse {
        margin: 0 -8px 16px;
        padding: 12px;
        border-radius: var(--radius-md);
        background: var(--white);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
    .header-main .navbar-nav { gap: 2px; align-items: stretch !important; }
    .header-main .navbar-nav > .nav-item { justify-content: space-between; }
    .header-main .navbar-nav > .nav-item > .nav-link { flex: 1; }
    .header-main .navbar-nav .dropdown-menu {
        position: static;
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--brand-100);
        border-radius: 0;
        margin: 4px 0 8px 14px;
        padding: 0 0 0 8px;
    }
    .dropdown-toggle-split, .dropdown-toggle-split-nested { width: 36px; height: 36px; background: var(--surface); font-size: .8rem; }
    .dropdown-submenu-item.show > .dropdown-toggle-split-nested { transform: rotate(180deg); color: var(--brand); }
    .nav-cta-wrapper { margin-left: 0 !important; }
    .dropdown-arrow { display: none; }
    .header-cta { width: 100%; padding: 14px 20px; }

    .hero-content.text-lg-start { text-align: center; }
    .hero-content .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-media { max-width: 560px; margin: 16px auto 0; }
    .hero-trust-strip > [class*="col-"]:nth-child(2) .trust-item { border-right: 0 !important; }
    .hero-trust-strip > [class*="col-"]:nth-child(-n+2) .trust-item { border-bottom: 1px solid var(--line); }

    .about-image-wrapper, .story-image-wrap { max-width: 560px; margin: 0 auto; }

    .cta-banner-wrapper .cta-content, .cta-section.alternate .cta-content { padding: 0 !important; text-align: center; }

    .faq-intro { position: static; text-align: center; }
    .faq-intro .section-desc { margin-left: auto; }

    .timeline-roadmap::before { left: 9px; transform: none; }
    .timeline-item, .timeline-item-right { width: 100%; margin-left: 0; padding: 0 0 24px 40px; }
    .timeline-dot, .timeline-item-right .timeline-dot { left: 0; right: auto; }

    .stats-container .row > [class*="col-"]:nth-child(2n) .stat-item { border-right: 0; }

    .contact-form-card, .sidebar-wrapper, .teacher-profile-sidebar.sticky-top { position: static; }

    .cta-image-section { min-height: 300px; }
    .pricing-custom-card .pricing-name, .pricing-custom-card .pricing-description { text-align: center !important; }
    .pricing-custom-card .pricing-features { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
    body { font-size: 15.5px; }
    .container { --bs-gutter-x: 1.5rem; }

    .category-filter-wrapper { justify-content: flex-start; margin-left: -12px; margin-right: -12px; }
    .category-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        border-radius: 16px;
        margin: 0 12px;
    }
    .category-filters::-webkit-scrollbar { display: none; }

    .hero-chip { display: none; }
    .trust-item { padding: 14px; gap: 10px; }
    .trust-item .icon-tile { width: 38px; height: 38px; font-size: 1rem; }
    .trust-number { font-size: 1.05rem; }

    .about-floating-badge, .story-badge-floating { left: 8px; bottom: 32px; }

    .testimonials-section .carousel { padding: 0; }
    .testimonials-section .carousel-control-prev,
    .testimonials-section .carousel-control-next { top: auto; bottom: -36px; width: 48px; }
    .testimonials-section .carousel-control-prev { left: calc(50% - 56px); }
    .testimonials-section .carousel-control-next { right: calc(50% - 56px); }
    .testimonials-section .carousel { margin-bottom: 48px; }

    .modern-faq-accordion .accordion-body { padding-left: 22px; }
    .accordion .accordion-button { padding: 18px; font-size: .98rem; }

    .stats-container .row > [class*="col-"] .stat-item { border-right: 0 !important; }
    .stats-container .row > [class*="col-"]:not(:last-child) .stat-item { border-bottom: 1px solid var(--line); }

    .floating-buttons { right: 14px; bottom: 14px; gap: 10px; }
    .floating-btn { width: 50px; height: 50px; border-radius: 16px; font-size: 1.3rem; }
    .floating-btn-tooltip { display: none; }
    .back-to-top { left: 14px; bottom: 14px; }

    .footer-cta-section .cta-content { border-radius: var(--radius-lg); }
    .footer-bottom-bar { padding-bottom: 84px !important; }

    .learn-card { grid-template-columns: 1fr; }
    .learn-card .learn-card-icon { margin-bottom: 1rem; grid-row: auto; }

    .teacher-meta-row { flex-direction: column; gap: 2px; }
    .meta-val { text-align: left; }

    .cta-content-section { padding: 40px 24px; }
}

@media (max-width: 575.98px) {
    .hero-actions > a { width: 100%; }
    .trust-item { flex-direction: column; text-align: center; }
    .hero-trust-strip > [class*="col-"] .trust-item { border-right: 0 !important; }
    .hero-trust-strip > [class*="col-"]:nth-child(odd) .trust-item { border-right: 1px solid var(--line) !important; }
    .area-card { flex-direction: column; }
    .pricing-card { padding: 28px 22px; }
}

/* ==========================================================================
   31. DUAL-BRAND ACCENTS (#ec5b38 + #a8a492)
   Sage is used as a second primary color across the site.
   ========================================================================== */

/* Top bar & header */
.top-bar { background: var(--sage-800); }
.top-bar-icon { color: var(--sage-200); }
.top-social-btn:hover { background: var(--sage); color: var(--on-sage); }
.header-main { border-bottom: 0; }
.header-main::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 35%, var(--sage) 65%, var(--sage) 100%);
}
.header-main .navbar-nav .nav-link:hover,
.header-main .navbar-nav .nav-item.show > .nav-link { background: var(--sage-50); color: var(--sage-800); }
.header-main .navbar-nav .nav-item.active > .nav-link { color: var(--brand); background: var(--brand-50); }
.header-main .dropdown-menu { border-top: 3px solid var(--sage); }
.header-main .dropdown-item:hover,
.header-main .dropdown-item:focus,
.header-main .dropdown-submenu-item.show > .dropdown-item { background: var(--sage-50); color: var(--sage-800); }

/* Section eyebrows: sage pill with raspberry dot */
.section-subtitle {
    background: var(--sage-100);
    border-color: var(--sage-200);
    color: var(--sage-800);
}
.section-subtitle::before { background: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18); }
.page-hero-eyebrow, .about-badge, .contact-badge, .teacher-badge { border-color: var(--sage-200); background: var(--sage-50); color: var(--sage-800); }
.page-hero-eyebrow i, .about-badge i, .contact-badge i, .teacher-badge i { color: var(--sage-700); }

/* Section titles: short two-tone underline */
.section-header .section-title::after,
.text-center.mb-5 > .section-title::after,
.faq-intro .section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    margin: 18px auto 0;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--brand) 50%, var(--sage) 50%);
}
.faq-intro .section-title::after { margin-left: 0; }

/* Page hero */
.breadcrumb-section, .contact-hero-section {
    background:
        radial-gradient(600px 300px at 12% 0%, rgba(var(--brand-rgb), .10), transparent 70%),
        radial-gradient(620px 320px at 92% 100%, rgba(var(--sage-rgb), .38), transparent 70%),
        var(--sage-50);
    border-bottom: 1px solid var(--sage-100);
}
.rank-math-breadcrumb .last, .breadcrumb-section .breadcrumb-item.active { color: var(--sage-800); }

/* Home hero */
.hero-section {
    background:
        radial-gradient(700px 420px at 0% 0%, rgba(var(--brand-rgb), .12), transparent 70%),
        radial-gradient(700px 480px at 100% 20%, rgba(var(--sage-rgb), .40), transparent 70%),
        linear-gradient(180deg, var(--sage-50) 0%, var(--white) 100%);
}
.hero-main-title span, .hero-main-title em, .hero-main-title strong {
    background-image: linear-gradient(120deg, var(--brand) 10%, var(--brand-700) 90%);
    text-decoration: underline;
    text-decoration-color: var(--sage);
    text-decoration-thickness: .1em;
    text-underline-offset: .14em;
}
.hero-media { background: var(--sage); border-color: var(--sage-600); }
.btn-outline-custom.btn-hero-outline {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--on-sage) !important;
    box-shadow: 0 10px 24px -12px rgba(var(--sage-rgb), .9);
}
.btn-outline-custom.btn-hero-outline i { color: var(--ink) !important; }
.btn-outline-custom.btn-hero-outline:hover { background: var(--sage-700); border-color: var(--sage-700); color: var(--white) !important; }
.btn-outline-custom.btn-hero-outline:hover i { color: var(--white) !important; }
.hero-trust-strip { border-color: var(--sage-200); box-shadow: 0 16px 36px -18px rgba(var(--sage-rgb), .7); }
.hero-trust-strip > [class*="col-"]:nth-child(even) .icon-tile { background: var(--sage); color: var(--on-sage); }
.hero-trust-strip > [class*="col-"]:nth-child(odd) .icon-tile { background: var(--brand); color: var(--white); }

/* Secondary "view all" buttons become sage */
.btn-outline-primary-custom {
    background: var(--sage-100);
    border-color: var(--sage-200);
    color: var(--sage-800) !important;
}
.btn-outline-primary-custom:hover { background: var(--sage); border-color: var(--sage); color: var(--on-sage) !important; }

/* About */
.about-image-wrapper::before { background: var(--sage); }
.about-floating-badge .badge-icon { background: var(--sage); color: var(--on-sage); }
.story-image-wrap::before { background: var(--sage); }
.story-badge-floating > i { background: var(--sage); color: var(--on-sage); }

/* Features: alternate raspberry / sage icons, sage top accent on hover */
.features-section { background: var(--sage-50); border-color: var(--sage-100); }
.features-section .row > [class*="col-"]:nth-child(even) .feature-icon { background: var(--sage-100); color: var(--sage-700); }
.features-section .row > [class*="col-"]:nth-child(even) .feature-card:hover .feature-icon { background: var(--sage); color: var(--on-sage); }
.feature-card, .why-card, .learn-card, .value-card, .mission-card, .contact-card { overflow: hidden; }
.feature-card::before, .value-card::before, .learn-card::before, .contact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--sage));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.feature-card:hover::before, .value-card:hover::before, .learn-card:hover::before, .contact-card:hover::before { transform: scaleX(1); }
.feature-card:hover, .learn-card:hover, .value-card:hover, .contact-card:hover { border-color: var(--sage-200); }

/* Filters */
.category-filters { border-color: var(--sage-200); background: var(--white); }
.category-btn:hover { background: var(--sage-50); color: var(--sage-800); }
.category-btn.active { background: var(--sage); color: var(--on-sage); box-shadow: 0 8px 18px -10px rgba(var(--sage-rgb), .9); }
.category-btn.active i { color: var(--ink); }

/* Course cards */
.course-cat-tag { background: var(--sage); color: var(--on-sage); }
.btn-course-details i { color: var(--sage-700); }
.course-card:hover { box-shadow: 0 30px 60px -28px rgba(var(--sage-rgb), .9); }

/* Tutors */
.tutors-section { background: var(--sage-50); border-color: var(--sage-100); }
.tutor-image { background: linear-gradient(160deg, var(--sage-100), var(--brand-50)); }
.tutor-badge i { color: var(--sage-600); }
.tutor-position, .tutor-title { background: var(--sage-100); color: var(--sage-800); }
.tutor-card:hover { box-shadow: 0 30px 60px -28px rgba(var(--sage-rgb), .9); }

/* Why choose */
.why-icon { background: var(--sage); color: var(--on-sage); }
.why-card:hover .why-icon { background: var(--brand); }
.why-card:hover::after { color: var(--sage-100); }
.why-card { border-bottom: 3px solid var(--sage-200); }
.why-card:hover { border-color: var(--sage); }

/* Video section */
.video-reviews-section {
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(var(--brand-rgb), .25), transparent 70%),
        radial-gradient(700px 380px at 0% 100%, rgba(var(--sage-rgb), .35), transparent 70%),
        var(--ink);
}
.video-reviews-section .section-subtitle { background: rgba(var(--sage-rgb), .18); border-color: rgba(var(--sage-rgb), .4); color: var(--sage-200); }
.video-reviews-section .section-title::after { background: linear-gradient(90deg, var(--brand) 50%, var(--sage) 50%); }
.video-card:hover .play-button { background: var(--sage); color: var(--on-sage); }

/* CTA banners */
.cta-banner-wrapper .cta-subtitle-pill { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }
.cta-banner-alternate {
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .28), transparent 70%),
        linear-gradient(135deg, var(--sage) 0%, var(--sage-600) 100%);
    border: 0;
    color: var(--ink);
    box-shadow: 0 30px 60px -30px rgba(var(--sage-rgb), .95);
}
.cta-banner-alternate::before { background-image: radial-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px); }
.cta-banner-alternate .cta-subtitle-pill { background: var(--white); border-color: var(--white); color: var(--sage-800); }
.cta-banner-alternate .cta-heading { color: var(--ink); }
.cta-banner-alternate .cta-description { color: rgba(var(--ink-rgb), .78); }
.cta-banner-alternate .cta-image img { border-color: rgba(255, 255, 255, .45); }

/* Areas */
.areas-section { background: radial-gradient(rgba(var(--sage-rgb), .5) 1px, transparent 1px) 0 0 / 22px 22px, var(--sage-100); }
.area-icon { background: var(--sage); color: var(--on-sage); }
.area-card:hover .area-icon { background: var(--brand); }

/* Testimonials */
.testimonials-section { background: var(--white); }
.testimonial-card { border-color: var(--sage-200); box-shadow: 0 30px 60px -30px rgba(var(--sage-rgb), .8); }
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: 120px; height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--brand), var(--sage));
}
.author-image img { box-shadow: 0 0 0 2px var(--sage); }
.carousel-control-prev:hover .custom-carousel-btn,
.carousel-control-next:hover .custom-carousel-btn { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }

/* FAQ */
.faq-number { background: var(--sage-100); color: var(--sage-800); }
.accordion .accordion-item:has(.accordion-collapse.show) { border-color: var(--sage) !important; box-shadow: 0 16px 36px -18px rgba(var(--sage-rgb), .8); }
.accordion .accordion-item:has(.accordion-collapse.show) .faq-number { background: var(--sage); color: var(--on-sage); }
.faq-help-card { background: var(--sage-50); border-color: var(--sage-200); }

/* Free trial & forms */
.free-trial-section {
    background:
        radial-gradient(640px 360px at 0% 0%, rgba(var(--brand-rgb), .08), transparent 70%),
        radial-gradient(700px 420px at 100% 60%, rgba(var(--sage-rgb), .35), transparent 70%),
        var(--white);
}
.trial-form-container { background: var(--sage-50); border-color: var(--sage-200); }
.guarantee-item i { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }

/* Footer */
.site-footer { border-top: 0; }
.footer-widget-title { position: relative; padding-bottom: 12px; }
.footer-widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--sage); }
.footer-menu a::before { background: var(--sage); }
.footer-icon { background: rgba(var(--sage-rgb), .18); color: var(--sage-200); }
.footer-social-btn:hover { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }
.footer-cta-section .cta-content .btn-white-custom:hover { background: var(--sage); border-color: var(--sage); color: var(--on-sage) !important; }
.footer-bottom-bar { border-top-color: rgba(var(--sage-rgb), .25) !important; }

/* Floating buttons / back to top */
.back-to-top:hover { background: var(--sage) !important; color: var(--on-sage) !important; border-color: var(--sage) !important; }

/* About page */
.stats-container { border-color: var(--sage-200); border-bottom: 4px solid var(--sage); }
.stats-container .row > [class*="col-"]:nth-child(even) .stat-number { background-image: linear-gradient(120deg, var(--sage-600), var(--sage-800)); }
.mission-section { background: var(--sage-50); border-color: var(--sage-100); }
.value-icon { background: var(--sage); color: var(--on-sage); }
.value-card:hover .value-icon { background: var(--brand); }
.timeline-section { background: var(--sage-50); border-color: var(--sage-100); }
.timeline-item-right .timeline-dot { border-color: var(--sage); box-shadow: 0 0 0 5px var(--sage-100); }
.timeline-item-right .timeline-year-badge { background: var(--sage-100); color: var(--sage-800); }

/* Contact */
.contact-social-strip { background: var(--sage-50); border-color: var(--sage-200); }
.contact-feature-item { border-color: var(--sage-200); }
.contact-feature-item:nth-child(odd) .contact-feature-icon { background: var(--sage); color: var(--on-sage); }
.form-badge { background: var(--sage-100); color: var(--sage-800); }
.contact-form-card { border-top: 4px solid var(--sage); }

/* Pricing */
.pricing-card:not(.featured) .pricing-icon { background: var(--sage-100); color: var(--sage-700); }
.pricing-card:not(.featured) .pricing-features i { color: var(--sage-600); }
.pricing-card.featured { box-shadow: 0 0 0 3px var(--sage), var(--shadow-lg); }
.popular-badge { background: var(--sage); color: var(--on-sage); }
.pricing-custom-card { background: radial-gradient(500px 260px at 100% 100%, rgba(var(--sage-rgb), .45), transparent 70%), var(--sage-50); border-color: var(--sage-200); }

/* Blog & single */
.blog-category { background: var(--sage); color: var(--on-sage); }
.blog-meta i { color: var(--sage-700); }
.entry-content blockquote { border-left-color: var(--sage); background: var(--sage-50); }
.post-cat-badge { background: var(--sage-100); color: var(--sage-800); }
.page-numbers.current { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }
a.page-numbers:hover { border-color: var(--sage); background: var(--sage-50); }
.related-posts .section-title-sm::before { background: linear-gradient(180deg, var(--brand), var(--sage)); }
.sidebar-wrapper .widget { border-top: 3px solid var(--sage); }
.btn-view-all:hover { background: var(--sage); color: var(--on-sage) !important; }
.quran-mini-cta { background: linear-gradient(135deg, var(--sage-100), var(--brand-50)); border-color: var(--sage-200); }

/* Single course */
.course-meta-list li i { background: var(--sage); color: var(--on-sage); }
.course-badge-lg { background: var(--sage); color: var(--on-sage); }
.outcomes-section { background: var(--sage-50); border-color: var(--sage-100); }
.outcome-number { background: var(--sage); color: var(--on-sage); box-shadow: 0 10px 24px -10px rgba(var(--sage-rgb), .9); }
.learn-section { background: var(--sage-50); }
.learn-section .row > [class*="col-"]:nth-child(even) .learn-card-icon { background: var(--sage-100); color: var(--sage-700); }
.cta-features i { color: var(--sage-200); }
.full-cta-2 .cta-content-section { background: radial-gradient(500px 300px at 100% 0%, rgba(var(--sage-rgb), .35), transparent 70%); }
.full-cta-1 .btn-white-custom:hover, .full-cta-2 .btn-white-custom:hover { background: var(--sage); border-color: var(--sage); color: var(--on-sage) !important; }
.related-courses-section { background: var(--sage-50); }
.category-count-badge { background: var(--sage); color: var(--on-sage); }
.related-categories-section { background: var(--sage-50); border-color: var(--sage-100); }

/* Single teacher */
.teacher-sidebar-card { border-top: 4px solid var(--sage); }
.teacher-verified-badge { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }
.teacher-verified-badge i { color: var(--ink) !important; }
.teacher-position-badge { background: var(--sage-100); color: var(--sage-800); }
.teacher-highlights-card { background: var(--sage-50); border-color: var(--sage-200); }
.teacher-highlights-card .row > [class*="col-"]:nth-child(odd) .highlight-icon { background: var(--sage); color: var(--on-sage); }
.meta-label i { color: var(--sage-700) !important; }

/* ==========================================================================
   32. MOBILE MENU FIX
   The theme's bootstrap.min.css sets `.dropdown-menu { display: list-item }`,
   so sub-menus were always visible. Hide them until opened (.show).
   ========================================================================== */
.header-main .dropdown-menu { display: none; }
.header-main .dropdown-menu.show { display: block; }

@media (max-width: 991.98px) {
    .header-main .navbar-nav .dropdown-menu { display: none !important; }
    .header-main .navbar-nav .dropdown-menu.show { display: block !important; }
    .header-main .navbar-nav > .nav-item.dropdown { flex-wrap: wrap; }
    .header-main .dropdown-menu .dropdown-submenu-item { flex-wrap: wrap; }
    .header-main .dropdown-submenu-item > .dropdown-item { flex: 1 1 0; min-width: 0; }
    .dropdown-toggle-split, .dropdown-toggle-split-nested { background: var(--sage-50); color: var(--sage-800); }
    .nav-item.show > .dropdown-toggle-split,
    .dropdown-submenu-item.show > .dropdown-toggle-split-nested { background: var(--sage); color: var(--on-sage); transform: rotate(180deg); }
    .header-main .navbar-nav .dropdown-menu { border-left-color: var(--sage); }
}

@media (min-width: 992px) {
    .header-main .navbar-nav > .nav-item > .dropdown-menu { display: block; }
}

/* Testimonials: don't clip card shadow; tighten gap before the sage banner */
.testimonials-section .carousel-inner { padding: 10px 0 44px; }
.testimonials-section + .cta-section.alternate { padding-top: 0; }


/* ==========================================================================
   33. YASEEN BRAND PATTERN (mihrab arch)
   ========================================================================== */
:root {
    --arch-brand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='72' viewBox='0 0 96 72'%3E%3Cpath d='M14 66 C9 50 16 38 30 29 L42 21 C45 18 47 13 48 7 C49 13 51 18 54 21 L66 29 C80 38 87 50 82 66' fill='none' stroke='%23ec5b38' stroke-opacity='0.07' stroke-width='7'/%3E%3C/svg%3E");
    --arch-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='72' viewBox='0 0 96 72'%3E%3Cpath d='M14 66 C9 50 16 38 30 29 L42 21 C45 18 47 13 48 7 C49 13 51 18 54 21 L66 29 C80 38 87 50 82 66' fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='7'/%3E%3C/svg%3E");
    --arch-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='72' viewBox='0 0 96 72'%3E%3Cpath d='M14 66 C9 50 16 38 30 29 L42 21 C45 18 47 13 48 7 C49 13 51 18 54 21 L66 29 C80 38 87 50 82 66' fill='none' stroke='%23a8a492' stroke-opacity='0.3' stroke-width='7'/%3E%3C/svg%3E");
}
body { background: var(--white); }

/* Page heroes & home hero: arch pattern instead of dots */
.breadcrumb-section::before,
.contact-hero-section::before,
.hero-section::before {
    background-image: var(--arch-brand);
    background-size: 96px 72px;
}
.breadcrumb-section, .contact-hero-section {
    background:
        radial-gradient(600px 300px at 12% 0%, rgba(var(--brand-rgb), .10), transparent 70%),
        radial-gradient(620px 320px at 92% 100%, rgba(var(--sage-rgb), .35), transparent 70%),
        var(--cream);
    border-bottom: 1px solid var(--line-2);
}
.hero-section {
    background:
        radial-gradient(700px 420px at 0% 0%, rgba(var(--brand-rgb), .12), transparent 70%),
        radial-gradient(700px 480px at 100% 20%, rgba(var(--sage-rgb), .38), transparent 70%),
        linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

/* Banners */
.cta-banner-wrapper::before,
.footer-cta-section .cta-content::before,
.full-cta-1::before {
    background-image: var(--arch-white);
    background-size: 96px 72px;
}
.cta-banner-alternate::before { background-image: var(--arch-white); background-size: 96px 72px; }
.areas-section { background: var(--arch-sage) 0 0 / 96px 72px, var(--sage-100); }
.about-image-wrapper::before { background: var(--arch-white) 0 0 / 64px 48px, var(--sage); }

/* Dark sections use the brand dark #524646 */
.site-footer, .video-reviews-section, .full-cta-2 { background-color: var(--ink); }
.top-bar { background: var(--ink); }
.top-bar-icon { color: var(--brand-200); }

/* Mihrab-shaped icon tiles (like the brand icon set) */
.feature-icon, .why-icon, .value-icon, .mission-icon, .area-icon, .pricing-icon, .info-icon, .learn-card-icon {
    border-radius: 50% 50% 14px 14px / 60% 60% 14px 14px;
}
