/* ═══════════════════════════════════════════════════════════════
   أكاديمية المتنافسون العالمية — Design System
   "Royal Blue & Gold" — Premium Islamic eLearning Platform
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
    /* ── Islamic Identity Colors ───────────────────────────── */
    /* Deep Emerald — dark section backgrounds */
    --ic-emerald:        #0D2B1F;
    --ic-emerald-mid:    #163d2d;
    --ic-emerald-light:  #1e5240;
    /* Holy Gold — accent, borders, headings */
    --ic-gold:           #C9A84C;
    --ic-gold-light:     #E8D081;
    --ic-gold-deep:      #9A7A28;
    --ic-gold-10:        rgba(201, 168, 76, 0.10);
    --ic-gold-20:        rgba(201, 168, 76, 0.20);
    --ic-gold-40:        rgba(201, 168, 76, 0.40);
    /* Parchment — light section backgrounds */
    --ic-parchment:      #FBF5E6;
    --ic-parchment-dark: #F0E6CC;
    --ic-ink:            #1A1208;
    --ic-ink-soft:       #3D2E10;

    /* Brand — Royal Blue (kept for nav & non-homepage) */
    --ea-primary:        #1B3FA0;
    --ea-primary-dark:   #0d2b7a;
    --ea-primary-light:  #2e5bc8;
    --ea-primary-10:     rgba(27, 63, 160, 0.10);
    --ea-primary-20:     rgba(27, 63, 160, 0.20);

    /* Secondary — Deep Navy */
    --ea-secondary:      #071740;
    --ea-secondary-dark: #040e28;
    --ea-secondary-light:#122566;

    /* Accent — Gold (shared between brand + Islamic system) */
    --ea-gold:           #D4AF37;
    --ea-gold-light:     #E8D081;
    --ea-gold-deep:      #AA8825;

    /* Neutrals */
    --ea-dark:           #0a0a0a;
    --ea-dark-800:       #171717;
    --ea-dark-700:       #262626;
    --ea-gray-700:       #404040;
    --ea-gray-600:       #525252;
    --ea-gray-500:       #737373;
    --ea-gray-400:       #a3a3a3;
    --ea-gray-300:       #d4d4d4;
    --ea-gray-200:       #e5e5e5;
    --ea-gray-100:       #f5f5f5;
    --ea-gray-50:        #fafafa;
    --ea-cream:          #FDFBF7;
    --ea-ivory:          #FBFAF8;
    --ea-white:          #FFFFFF;

    /* Semantic */
    --ea-success:        #10B981;
    --ea-error:          #EF4444;
    --ea-warning:        #F59E0B;

    /* ── Typography ─────────────────────────────────────────── */
    --font-arabic:       'Cairo', 'Amiri', sans-serif;
    --font-arabic-verse: 'Amiri', 'Cairo', serif;
    --font-english:      'Cormorant Garamond', 'Outfit', serif;
    --font-heading-ar:   'Cairo', 'Tajawal', sans-serif;
    --font-heading-en:   'Cormorant Garamond', 'Playfair Display', serif;
    --font-body:         'Inter', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing Scale */
    --space-xs:   0.25rem;
    --space-sm:   0.5rem;
    --space-md:   1rem;
    --space-lg:   1.5rem;
    --space-xl:   2.25rem;
    --space-2xl:  3.25rem;
    --space-3xl:  4.5rem;
    --space-4xl:  6rem;
    --space-5xl:  8rem;
    --space-6xl:  10rem;

    /* Border Radius */
    --radius-sm:  0.375rem;
    --radius-md:  0.5rem;
    --radius-lg:  0.75rem;
    --radius-xl:  1rem;
    --radius-2xl: 1.5rem;
    --radius-full:50%;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm:      0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 12px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg:      0 12px 24px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl:      0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.05);
    --shadow-gold:    0 0 40px rgba(201, 168, 76, 0.25);
    --shadow-glow:    0 0 40px rgba(13, 43, 31, 0.20);

    /* Transitions */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-gentle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration-fast:   150ms;
    --duration-normal: 350ms;
    --duration-slow:   600ms;
    --duration-reveal: 900ms;

    /* Layout */
    --container-max: 80rem;
    --nav-height: 5rem;
}




/* ── Islamic Hero Keyframes ──────────────────────────────── */
@keyframes ih-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ih-lantern-breathe {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 0.75; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes ih-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%       { transform: translateY(6px); opacity: 1; }
}
@keyframes ih-border-shine {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}
@keyframes ih-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: 0.6; }
}

/* ── Motanafesoon Hero Keyframes ─────────────────────────── */

@keyframes mn-orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(3%, 5%) scale(1.05); }
    66%       { transform: translate(-2%, 3%) scale(0.97); }
}
@keyframes mn-orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(-4%, -3%) scale(1.08); }
    75%       { transform: translate(2%, -5%) scale(0.95); }
}
@keyframes mn-orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(4%, -4%) scale(1.06); }
}
@keyframes mn-star-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes mn-ring-pulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%       { opacity: 0.5;  transform: scale(1.04); }
}
@keyframes mn-reveal {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mn-pill-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}
@keyframes mn-btn-shine {
    0%   { left: -120%; }
    100% { left: 120%; }
}
@keyframes mn-stat-float-1 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes mn-stat-float-2 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
@keyframes mn-stat-float-3 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}
@keyframes mn-glow-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.8; transform: scale(1.15); }
}
@keyframes mn-dots-drift {
    0%   { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* ── Keyframe Animations ────────────────────────────────────── */

@keyframes gentleFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes gentleFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes floatBreathe {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.25); }
    50%      { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ea-dark-800);
    background-color: var(--ea-ivory);
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-gentle);
}

ul, ol { list-style: none; }

button, input, select, textarea {
    font: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-en);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ea-dark-800);
    letter-spacing: -0.02em;
}

[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
[lang="ar"] h4, [lang="ar"] h5, [lang="ar"] h6,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: var(--font-heading-ar);
    letter-spacing: 0;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
    color: var(--ea-gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 0;
}

strong, b { font-weight: 700; }

::selection {
    background-color: var(--ea-primary-20);
    color: var(--ea-dark-800);
}


/* ── Layout Utilities ───────────────────────────────────────── */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-wrapper { flex: 1; }

.padding-global {
    padding-left: 5%;
    padding-right: 5%;
}

.container-large {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.padding-section-large {
    padding-top: var(--space-6xl);
    padding-bottom: var(--space-6xl);
}

.padding-section-medium {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
}

.padding-section-small {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.padding-section-xsmall {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.padding-section-xlarge {
    padding-top: 12rem;
    padding-bottom: 12rem;
}

/* Spacing helpers */
.margin-bottom { margin-top: 0; margin-left: 0; margin-right: 0; }
.margin-top    { margin-bottom: 0; margin-left: 0; margin-right: 0; }
.margin-left   { margin-top: 0; margin-bottom: 0; margin-right: 0; }
.margin-right  { margin-top: 0; margin-bottom: 0; margin-left: 0; }

.margin-xsmall  { margin: var(--space-md); }
.margin-small   { margin: var(--space-lg); }
.margin-medium  { margin: var(--space-xl); }
.margin-large   { margin: var(--space-2xl); }

.padding-xsmall { padding: var(--space-md); }
.padding-bottom { padding-top: 0; padding-left: 0; padding-right: 0; }
.padding-top    { padding-bottom: 0; padding-left: 0; padding-right: 0; }

/* Text utilities */
.text-align-center   { text-align: center; }
.text-color-white    { color: var(--ea-white); }
.text-weight-medium  { font-weight: 500; }
.text-weight-semibold{ font-weight: 600; }
.text-weight-bold    { font-weight: 700; }
.text-size-small     { font-size: 0.9375rem; }
.text-size-medium    { font-size: 1.125rem; }
.text-size-regular   { font-size: 1.0625rem; }
.text-link           { color: var(--ea-primary); text-decoration: underline; }
.text-link:hover     { color: var(--ea-primary-dark); }

.max-width-full   { width: 100%; max-width: none; }
.max-width-medium { width: 100%; max-width: 32rem; }
.align-center     { margin-left: auto; margin-right: auto; }

.heading-style-h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.heading-style-h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.heading-style-h5 { font-size: 1.25rem; font-weight: 600; line-height: 1.5; }

.w-layout-grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


/* ── Islamic Pattern Backgrounds ────────────────────────────── */
.islamic-pattern-bg {
    position: relative;
    background-color: var(--ea-cream);
}
.islamic-pattern-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/images/quaraaaaaaan.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}
.islamic-pattern-bg > * {
    position: relative;
    z-index: 1;
}


/* ── Buttons ────────────────────────────────────────────────── */
.button, .w-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ea-white);
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    padding: 0.875rem 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-gentle);
    position: relative;
    overflow: hidden;
    z-index: 1; /* Fix hover text visibility */
}

.button::before, .w-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ea-primary-dark) 0%, var(--ea-primary) 100%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-gentle);
    z-index: -1;
}

.button:active, .w-button:active {
    transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
    .button:hover, .w-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(173, 105, 78, 0.3);
    }
    .button:hover::before, .w-button:hover::before {
        opacity: 1;
    }
}

.button > *, .w-button > * { position: relative; z-index: 1; }

/* Secondary button */
.button.is-secondary {
    color: var(--ea-primary);
    background: transparent;
    border: 2px solid var(--ea-primary);
}
.button.is-secondary::before {
    background: var(--ea-primary);
}
@media (hover: hover) and (pointer: fine) {
    .button.is-secondary:hover {
        color: var(--ea-white);
        border-color: var(--ea-primary);
    }
}

/* Navbar buttons */
.button.is-secondary.is-navbar {
    color: var(--ea-dark-800);
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    background: transparent;
}
.button.is-secondary.is-navbar::before { display: none; }
@media (hover: hover) and (pointer: fine) {
    .button.is-secondary.is-navbar:hover {
        color: var(--ea-primary);
        transform: none;
        box-shadow: none;
    }
}

.button.is-navbar {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
}

/* Gold button */
.button.is-gold {
    background: var(--ea-gold);
    color: var(--ea-dark-800);
    border-color: var(--ea-gold);
}
.button.is-gold::before {
    background: var(--ea-gold-light);
}
@media (hover: hover) and (pointer: fine) {
    .button.is-gold:hover {
        color: var(--ea-dark-900);
        box-shadow: 0 8px 24px rgba(212, 168, 83, 0.4);
    }
}

/* White outline button */
.button.is-white-outline {
    background: transparent;
    color: var(--ea-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.button.is-white-outline::before {
    background: var(--ea-white);
}
@media (hover: hover) and (pointer: fine) {
    .button.is-white-outline:hover {
        color: var(--ea-primary-dark);
        border-color: var(--ea-white);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    }
}

/* Footer button */
.button.is-footer {
    background: var(--ea-primary);
    border-color: var(--ea-primary);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}
.button.is-footer::before { display: none; }
@media (hover: hover) and (pointer: fine) {
    .button.is-footer:hover {
        background: var(--ea-primary-dark);
        transform: translateY(-1px);
    }
}

input.w-button {
    -webkit-appearance: none;
    appearance: none;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}
.button-group.is-center {
    justify-content: center;
}


/* ── Navbar — Motanafesoon Identity 2026 ────────────────────── */
.w-nav {
    z-index: 1000;
    position: relative;
    background: transparent;
}

.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out);
}

.navbar-wrapper.nav-hidden {
    transform: translateY(-120%);
}

/* ── Pill-shaped floating navbar – white glass ── */
.navbar-component {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    min-height: 4.75rem;
    background: rgba(255, 255, 255, 0.88);   /* crisp white, semi-transparent */
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 24px rgba(7, 23, 64, 0.10),
                0 1px 0 rgba(255,255,255,0.9) inset;
    padding: 0 1.75rem;
    display: flex;
    align-items: center;
    transition: all var(--duration-normal) var(--ease-gentle);
    pointer-events: auto;
}

.navbar-component.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 40px rgba(7, 23, 64, 0.14),
                0 0 0 1px rgba(212, 175, 55, 0.22);
    transform: translateY(-3px);
}

/* ── Inner layout ── */
.navbar-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ── Logo — circular badge with gold ring ── */
.navbar-logo-link, .w-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.65);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12),
                0 4px 16px rgba(0, 0, 0, 0.35);
    transition: box-shadow var(--duration-normal) var(--ease-gentle),
                transform var(--duration-normal) var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
    .navbar-logo-link:hover .navbar-logo {
        box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.35),
                    0 6px 20px rgba(0, 0, 0, 0.45);
        transform: scale(1.05);
    }
}

/* ── Nav Menu ── */
.navbar-menu, .w-nav-menu {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    justify-content: center;
}

.navbar-menu-list, .w-list-unstyled {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-menu-list-item {
    margin-bottom: 0;
}

/* ── Nav Links — dark on white ── */
.navbar-link, .w-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ea-gray-700);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: color var(--duration-normal) var(--ease-gentle),
                background var(--duration-normal) var(--ease-gentle);
    position: relative;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .navbar-link:hover, .w-nav-link:hover {
        color: var(--ea-primary);
        background: rgba(27, 63, 160, 0.06);
    }
}

.navbar-link.w--current, .w-nav-link.w--current {
    color: var(--ea-primary);
    font-weight: 600;
    background: rgba(27, 63, 160, 0.07);
}

/* Primary underline accent on hover / active */
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, var(--ea-primary), var(--ea-gold));
    border-radius: var(--radius-pill);
    transition: transform var(--duration-normal) var(--ease-out);
}
.navbar-link:hover::after,
.navbar-link.w--current::after {
    transform: translateX(-50%) scaleX(1);
}

/* ── Right-side wrapper ── */
.div-block {
    flex: 0 auto;
    display: flex;
    align-items: center;
}

.navbar-button-wrapper {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.navbar-lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 4.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(7, 23, 64, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ea-dark-800);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background var(--duration-fast) var(--ease-gentle),
                border-color var(--duration-fast) var(--ease-gentle),
                transform var(--duration-fast) var(--ease-gentle),
                box-shadow var(--duration-fast) var(--ease-gentle);
}

.navbar-lang-switch-option {
    opacity: 0.45;
    transition: opacity var(--duration-fast) var(--ease-gentle),
                color var(--duration-fast) var(--ease-gentle);
}

.navbar-lang-switch-option.is-active {
    opacity: 1;
    color: var(--ea-primary);
}

.navbar-lang-switch-divider {
    opacity: 0.35;
}

@media (hover: hover) and (pointer: fine) {
    .navbar-lang-switch:hover {
        background: #fff;
        border-color: rgba(27, 63, 160, 0.22);
        box-shadow: 0 8px 24px rgba(7, 23, 64, 0.08);
        transform: translateY(-1px);
    }
}

/* ── CTA "Get Started" gold button ── */
.button.is-navbar.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ea-secondary-dark);
    background: linear-gradient(135deg, var(--ea-gold) 0%, #f0c84a 50%, var(--ea-gold) 100%);
    background-size: 200% 100%;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background-position var(--duration-normal) var(--ease-gentle),
                box-shadow var(--duration-normal) var(--ease-gentle),
                transform var(--duration-normal) var(--ease-spring);
    white-space: nowrap;
}

.button.is-navbar.navbar-cta i {
    font-size: 0.7rem;
    opacity: 0.85;
    transition: transform var(--duration-normal) var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
    .button.is-navbar.navbar-cta:hover {
        background-position: 100% 0;
        box-shadow: 0 8px 28px rgba(212, 175, 55, 0.6);
        transform: translateY(-2px);
    }
    .button.is-navbar.navbar-cta:hover i {
        transform: rotate(20deg) scale(1.15);
    }
}
.button.is-navbar.navbar-cta:active {
    transform: translateY(0);
}

/* ── Mobile hamburger button ── */
.navbar-menu-button, .w-nav-button {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1010;
    background: rgba(27, 63, 160, 0.06);
    border: 1px solid rgba(27, 63, 160, 0.15);
    border-radius: var(--radius-md);
    -webkit-tap-highlight-color: transparent;
    transition: background var(--duration-fast) var(--ease-gentle);
}
.navbar-menu-button:hover, .w-nav-button:hover {
    background: rgba(27, 63, 160, 0.12);
}

.menu-icon {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon-line-top,
.menu-icon-line-bottom {
    width: 100%;
    height: 2px;
    background: var(--ea-secondary);
    border-radius: 2px;
    transition: transform var(--duration-normal) var(--ease-out),
                opacity var(--duration-normal) var(--ease-out);
}

.menu-icon-line-middle {
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
}

.menu-icon-line-middle-inner {
    width: 70%;
    height: 2px;
    background: var(--ea-secondary);
    border-radius: 2px;
    transition: width var(--duration-normal) var(--ease-out),
                opacity var(--duration-normal) var(--ease-out);
}

/* Animated hamburger → X */
.w-nav-button.w--open .menu-icon-line-top {
    transform: translateY(7px) rotate(45deg);
}
.w-nav-button.w--open .menu-icon-line-middle-inner {
    width: 0;
    opacity: 0;
}
.w-nav-button.w--open .menu-icon-line-bottom {
    transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown compat */
.w-dropdown { position: relative; display: inline-block; text-align: left; z-index: 900; }
.w-dropdown-toggle { cursor: pointer; display: inline-block; padding: 20px; }
.w-dropdown-list { display: none; position: absolute; min-width: 100%; background: var(--ea-secondary); border-radius: var(--radius-md); }
.navbar-dropdown-toggle-text { font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.78); }
.navbar-dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--duration-normal);
}
.navbar-dropdown-link:hover { color: var(--ea-gold-light); }




/* ═══════════════════════════════════════════════════════════════
   ISLAMIC HERO — Motanafesoon Academy
   Palette: Deep Emerald (#0D2B1F) × Holy Gold (#C9A84C) × Parchment (#FBF5E6)
   Philosophy: Reverence · Spirituality · Light · Sacred Beauty
   ═══════════════════════════════════════════════════════════════ */

/* ── Shell ──────────────────────────────────────────────────── */
.ih-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* ── Photo Background ───────────────────────────────────────── */
.ih-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ih-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    filter: brightness(0.75) saturate(0.9);
}

/* Layer 1 – Deep dark base */
.ih-hero__overlay--base {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 10, 0.72);
}
/* Layer 2 – Warm vignette from edges */
.ih-hero__overlay--vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        transparent 30%,
        rgba(2, 10, 5, 0.65) 100%);
}
/* Layer 3 – Subtle warm amber tint from top (mosque light effect) */
.ih-hero__overlay--warm {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(185, 130, 30, 0.12) 0%,
        transparent 35%,
        transparent 65%,
        rgba(5, 18, 10, 0.5) 100%
    );
}

/* ── Arabesque Pattern Overlay ──────────────────────────────── */
.ih-hero__arabesque {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* SVG-based arabesque star pattern — subtle gold */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L33 27 L60 30 L33 33 L30 60 L27 33 L0 30 L27 27 Z' fill='none' stroke='%23C9A84C' stroke-width='0.4' opacity='0.18'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.6;
}

/* ── Central Lantern Glow ───────────────────────────────────── */
.ih-hero__lantern-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at center,
        rgba(201, 168, 76, 0.18) 0%,
        rgba(185, 130, 30, 0.08) 35%,
        transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: ih-lantern-breathe 6s ease-in-out infinite;
}

/* ── Decorative Borders (top & bottom) ─────────────────────── */
.ih-hero__border-top,
.ih-hero__border-bottom {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 5%;
}
.ih-hero__border-top  { top: 6.5rem; }
.ih-hero__border-bottom { bottom: 3.5rem; }

.ih-border-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(201, 168, 76, 0.6) 30%,
        rgba(201, 168, 76, 0.8) 50%,
        rgba(201, 168, 76, 0.6) 70%,
        transparent);
    background-size: 200% 100%;
    animation: ih-border-shine 4s linear infinite;
}

.ih-border-ornament {
    color: rgba(201, 168, 76, 0.6);
    font-size: 1rem;
}

.ih-border-crescent {
    color: var(--ea-gold);
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ── Content Wrapper ────────────────────────────────────────── */
.ih-hero__content-wrap {
    position: relative;
    z-index: 5;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.ih-hero__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    gap: 0;
}

/* ── Reveal Animation ───────────────────────────────────────── */
.ih-reveal {
    opacity: 0;
    animation: ih-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--ih-delay, 0s);
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ── Bismillah ──────────────────────────────────────────────── */
.ih-bismillah {
    margin-bottom: 1.5rem;
}

.ih-bismillah__text {
    font-family: var(--font-heading-ar);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(201, 168, 76, 0.85);
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

/* ── Quranic Verse Block ────────────────────────────────────── */
.ih-verse-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    width: 100%;
}

.ih-verse-block__ornament-l,
.ih-verse-block__ornament-r {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ea-gold);
    opacity: 0.7;
    line-height: 1;
    flex-shrink: 0;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.ih-verse-block__text {
    font-family: var(--font-heading-ar);
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--ea-white);
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(201, 168, 76, 0.25);
}

[lang="en"] .ih-verse-block__text {
    font-family: var(--font-heading-en);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 600;
}

.ih-verse-ref {
    font-size: 0.8rem;
    color: rgba(201, 168, 76, 0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 1.75rem;
    font-weight: 600;
}

/* ── Academy Badge ──────────────────────────────────────────── */
.ih-academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.9);
    background: rgba(201, 168, 76, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1.25rem;
}

.ih-academy-badge__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ea-gold);
    flex-shrink: 0;
    animation: ih-dot-pulse 2.5s ease-in-out infinite;
}

/* ── Headline ───────────────────────────────────────────────── */
.ih-hero__headline {
    font-family: var(--font-heading-ar);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--ea-white);
    line-height: 1.4;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    letter-spacing: 0;
    max-width: 700px;
}

[lang="en"] .ih-hero__headline {
    font-family: var(--font-heading-en);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* ── Description ────────────────────────────────────────────── */
.ih-hero__desc {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 0 2.25rem;
}

/* ── CTA Buttons ────────────────────────────────────────────── */
.ih-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.ih-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Primary (Gold) */
.ih-btn--primary {
    background: linear-gradient(135deg, #E8D081 0%, #C9A84C 50%, #9A7A28 100%);
    color: #1a0f00;
    font-weight: 800;
    box-shadow:
        0 8px 28px rgba(201, 168, 76, 0.45),
        0 2px 8px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.3);
}
@media (hover: hover) and (pointer: fine) {
    .ih-btn--primary:hover {
        transform: translateY(-3px);
        box-shadow:
            0 14px 40px rgba(201, 168, 76, 0.6),
            0 4px 12px rgba(0,0,0,0.4);
    }
}

/* Outline (Ghost) */
.ih-btn--outline {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(201, 168, 76, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@media (hover: hover) and (pointer: fine) {
    .ih-btn--outline:hover {
        transform: translateY(-3px);
        background: rgba(201, 168, 76, 0.12);
        border-color: rgba(201, 168, 76, 0.8);
        color: #E8D081;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
}

.ih-btn:active { transform: translateY(0) !important; }

/* ── Divider ────────────────────────────────────────────────── */
.ih-hero__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.75rem;
}

.ih-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
}

.ih-divider-star {
    color: var(--ea-gold);
    font-size: 0.65rem;
    opacity: 0.7;
}

/* ── Stats Row ──────────────────────────────────────────────── */
.ih-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 999px;
    padding: 0.75rem 2rem;
}

.ih-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 1.75rem;
}

.ih-stat__num {
    font-family: var(--font-heading-en);
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--ea-gold-light);
    line-height: 1.1;
}

.ih-stat__lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.ih-stat-sep {
    color: rgba(201, 168, 76, 0.35);
    font-size: 0.5rem;
    padding: 0;
}

/* ── Scroll Cue ─────────────────────────────────────────────── */
.ih-scroll-cue {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.ih-scroll-cue__text {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.6);
    font-weight: 600;
}

.ih-scroll-cue__arrow {
    color: rgba(201, 168, 76, 0.7);
    font-size: 0.85rem;
    animation: ih-scroll-bounce 1.8s ease-in-out infinite;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ih-hero__content-wrap {
        padding-top: 1rem;
        padding-bottom: 4rem;
    }
    .ih-verse-block {
        gap: 0.5rem;
    }
    .ih-verse-block__ornament-l,
    .ih-verse-block__ornament-r {
        font-size: 1.75rem;
    }
    .ih-stats-row {
        border-radius: 1.5rem;
        padding: 1rem 1rem;
        gap: 0;
    }
    .ih-stat {
        padding: 0.4rem 1rem;
    }
    .ih-hero__border-top,
    .ih-hero__border-bottom { display: none; }
    .ih-btn {
        padding: 0.8rem 1.75rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .ih-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ih-btn {
        justify-content: center;
    }
    .ih-stats-row {
        border-radius: 1rem;
        gap: 0;
    }
    .ih-stat {
        padding: 0.3rem 0.75rem;
    }
    .ih-stat-sep { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   MOTANAFESOON HERO — Full Design System
   Royal Blue (#1B3FA0) × Gold (#D4AF37) × Deep Navy (#071740)
   ═══════════════════════════════════════════════════════════════ */


/* ── Root Shell ─────────────────────────────────────────────── */
.mn-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ea-secondary-dark);
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 6rem;
}

/* ── Animated Mesh Background ──────────────────────────────── */
.mn-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mn-mesh__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.mn-mesh__orb--1 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle at 40% 40%,
        rgba(27, 63, 160, 0.55) 0%,
        rgba(7, 23, 64, 0.3) 50%,
        transparent 70%);
    top: -15%;
    left: -10%;
    animation: mn-orb-float-1 18s ease-in-out infinite;
}

.mn-mesh__orb--2 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle at 60% 60%,
        rgba(212, 175, 55, 0.22) 0%,
        rgba(170, 136, 37, 0.1) 50%,
        transparent 70%);
    top: 20%;
    right: -8%;
    animation: mn-orb-float-2 22s ease-in-out infinite;
}

.mn-mesh__orb--3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle at 50% 50%,
        rgba(46, 91, 200, 0.3) 0%,
        transparent 65%);
    bottom: -10%;
    left: 30%;
    animation: mn-orb-float-3 16s ease-in-out infinite;
}

/* ── Geometric Ornaments ────────────────────────────────────── */
.mn-hero__ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.mn-orn {
    position: absolute;
}

/* Glowing rings */
.mn-orn--ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.18);
    animation: mn-ring-pulse 6s ease-in-out infinite;
}
.mn-orn--ring::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.12);
}

.mn-orn--tl { top: -80px; left: -80px; }
.mn-orn--br { bottom: -80px; right: 5%; animation-delay: 3s; }

/* Dot grid */
.mn-orn--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 8%;
    right: 4%;
    animation: mn-dots-drift 8s linear infinite;
}

/* Decorative lines */
.mn-orn--line {
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.4), transparent);
    bottom: 15%;
    left: 6%;
}
.mn-orn--line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 40px;
    height: 1px;
    background: rgba(212, 175, 55, 0.25);
}
.mn-orn--line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 40px;
    height: 1px;
    background: rgba(212, 175, 55, 0.25);
}

/* Floating Islamic star ornament */
.mn-orn--star {
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.08);
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    animation: mn-star-spin 40s linear infinite;
}

/* ── Main Layout ────────────────────────────────────────────── */
.mn-hero__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3.5rem;
    align-items: center;
    min-height: calc(100vh - var(--nav-height) - 4rem);
    padding: 3rem 0 4rem;
}

/* ── Glass Card (Left Content) ──────────────────────────────── */
.mn-hero__glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 2rem;
    padding: 3rem 3.5rem;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.mn-hero__glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* ── Reveal animation ── */
.mn-reveal {
    opacity: 0;
    animation: mn-reveal 0.8s var(--ease-out) both;
    animation-delay: var(--mn-delay, 0s);
}

/* ── Tagline Pill ───────────────────────────────────────────── */
.mn-hero__tagline-wrap {
    margin-bottom: 1.5rem;
}

.mn-tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem 0.45rem 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ea-gold-light);
}

.mn-tagline-pill__dot {
    width: 8px;
    height: 8px;
    background: var(--ea-gold);
    border-radius: 50%;
    flex-shrink: 0;
    animation: mn-pill-dot-pulse 2s ease-in-out infinite;
}

/* ── Headline ───────────────────────────────────────────────── */
.mn-hero__headline {
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ea-white);
    margin: 0 0 1.75rem;
    display: block;
}

[lang="ar"] .mn-hero__headline {
    letter-spacing: 0;
    line-height: 1.3;
}

.mn-headline__line {
    display: block;
}

.mn-headline__line--gold {
    background: linear-gradient(135deg, var(--ea-gold-light) 0%, var(--ea-gold) 60%, var(--ea-gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Description ────────────────────────────────────────────── */
.mn-hero__desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 0 2.25rem;
}

/* ── CTA Buttons ────────────────────────────────────────────── */
.mn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.mn-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-gentle);
}

/* Gold CTA */
.mn-btn--gold {
    background: linear-gradient(135deg, var(--ea-gold-light) 0%, var(--ea-gold) 50%, var(--ea-gold-deep) 100%);
    color: var(--ea-secondary-dark);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4),
                0 2px 8px rgba(0,0,0,0.3);
}

.mn-btn__shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .mn-btn--gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(212, 175, 55, 0.55),
                    0 4px 12px rgba(0,0,0,0.35);
    }
    .mn-btn--gold:hover .mn-btn__shine {
        animation: mn-btn-shine 0.55s var(--ease-gentle) forwards;
    }
}

/* Ghost CTA */
.mn-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
    .mn-btn--ghost:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(212, 175, 55, 0.5);
        color: var(--ea-gold-light);
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }
}

.mn-btn:active { transform: translateY(0); }

.mn-btn__icon {
    font-size: 1rem;
    line-height: 1;
}

/* ── Trust Row ──────────────────────────────────────────────── */
.mn-hero__trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mn-trust-avatars {
    display: flex;
}

.mn-trust-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--ea-secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ea-white);
    margin-inline-end: -10px;
    flex-shrink: 0;
}

.mn-trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    padding-inline-start: 14px;
}

.mn-trust-text strong {
    color: var(--ea-gold-light);
    font-weight: 700;
}

/* ── Stats Column (Right Side) ──────────────────────────────── */
.mn-hero__stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mn-stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-gentle);
    cursor: default;
}

.mn-stat-card--primary {
    background: rgba(27, 63, 160, 0.25);
    border-color: rgba(27, 63, 160, 0.5);
    animation: mn-stat-float-1 5s ease-in-out infinite;
}

.mn-stat-card--gold {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    animation: mn-stat-float-2 6.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.mn-stat-card--glass {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    animation: mn-stat-float-3 4.5s ease-in-out infinite;
    animation-delay: 0.7s;
}

@media (hover: hover) and (pointer: fine) {
    .mn-stat-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
}

.mn-stat-card__icon {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.mn-stat-card--primary .mn-stat-card__icon { color: var(--ea-gold-light); }
.mn-stat-card--gold    .mn-stat-card__icon { color: var(--ea-gold); }
.mn-stat-card--glass   .mn-stat-card__icon { color: rgba(255,255,255,0.6); }

.mn-stat-card__value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--ea-white);
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading-en);
}

.mn-stat-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mn-stat-card__glow {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: mn-glow-pulse 4s ease-in-out infinite;
}

.mn-stat-card--primary .mn-stat-card__glow {
    background: radial-gradient(circle, rgba(27, 63, 160, 0.6), transparent);
}
.mn-stat-card--gold .mn-stat-card__glow {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.5), transparent);
}
.mn-stat-card--glass .mn-stat-card__glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
}

/* ── Quran Verse Card ───────────────────────────────────────── */
.mn-verse-card {
    background: linear-gradient(135deg, rgba(27, 63, 160, 0.2) 0%, rgba(7, 23, 64, 0.4) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
}

.mn-verse-card__icon {
    font-size: 1.5rem;
    color: var(--ea-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.mn-verse-card__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ea-gold-light);
    line-height: 1.6;
    margin: 0 0 0.4rem;
    font-family: var(--font-heading-ar);
}

.mn-verse-card__ref {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    letter-spacing: 0.5px;
}

/* ── Bottom Fade ────────────────────────────────────────────── */
.mn-hero__bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--ea-secondary-dark) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .mn-hero__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .mn-hero__stats-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .mn-verse-card {
        grid-column: span 2;
    }
    .mn-orn--star { display: none; }
}

@media (max-width: 768px) {
    .mn-hero {
        padding-top: calc(var(--nav-height) + 1rem);
        padding-bottom: 4rem;
    }
    .mn-hero__glass-card {
        padding: 2rem 1.75rem;
        border-radius: 1.5rem;
    }
    .mn-hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .mn-hero__actions {
        flex-direction: column;
    }
    .mn-btn {
        width: 100%;
        justify-content: center;
    }
    .mn-hero__stats-column {
        grid-template-columns: 1fr 1fr;
    }
    .mn-orn--ring, .mn-orn--line { display: none; }
    .mn-orn--dots { opacity: 0.5; }
}

@media (max-width: 480px) {
    .mn-hero__stats-column {
        grid-template-columns: 1fr;
    }
    .mn-verse-card { grid-column: span 1; }
}

/* ── Old Centered Hero (preserved as legacy fallback) ─────── */
.centered-hero {
    position: relative;
    background-color: var(--ea-dark-900, #040e28);
    padding-top: var(--nav-height);
    padding-bottom: var(--space-3xl);
}


.centered-hero-content {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-md); /* Relaxed bottom padding since stats bar now naturally flows below */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
    max-width: 850px;
    margin: 0 auto;
}

/* Background Effects */
.hero-bg-glow-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.centered-pattern {
    position: absolute;
    inset: 0;
    background-image: url('/images/quaraaaaaaan.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    z-index: 1;
}

.hero-bottom-gradient-centered {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, var(--ea-secondary-dark, #040e28), transparent);
    pointer-events: none;
    z-index: 3;
}

/* Typography Overhauls */
.elite-tagline-centered {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--ea-gold-light);
    padding: 0.4rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.premium-hero-heading-centered {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.25;
    font-weight: 800;
    color: var(--ea-white);
    background: linear-gradient(to bottom right, #ffffff, var(--ea-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.premium-hero-text-centered {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Integrated Bento Stats Bar */
.hero-stats-bar-wrapper {
    position: relative;
    z-index: 6;
    margin-top: var(--space-xl); /* Add a healthy gap below the buttons */
    margin-bottom: var(--space-3xl);
}

.hero-stats-bento {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(7, 23, 64, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1.5rem 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.stat-bento-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 2.5rem;
}

.stat-bento-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.stat-bento-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ea-dark-900);
}

.stat-bento-icon.gold-glow {
    background: linear-gradient(135deg, var(--ea-gold-light) 0%, var(--ea-gold) 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.stat-bento-icon.white-glow {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-bento-icon.green-glow {
    background: linear-gradient(135deg, var(--ea-primary-light) 0%, var(--ea-primary) 100%);
    box-shadow: 0 0 20px rgba(13, 92, 63, 0.4);
    color: var(--ea-white);
}

.stat-bento-text {
    display: flex;
    flex-direction: column;
}

.stat-num {
    color: var(--ea-white);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--font-heading-en);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Reusing Premium Buttons */
.premium-glow-btn {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
    .premium-glow-btn:hover {
        box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
        transform: translateY(-3px);
    }
}

.premium-outline-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
    .premium-outline-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-3px);
    }
}

/* Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Responsive Overrides */
@media screen and (max-width: 991px) {
    .hero-stats-bento {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stat-bento-item {
        flex-direction: column;
        padding: 0;
        gap: 0.75rem;
    }
    
    .stat-bento-divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    }
    
    .hero-stats-bar-wrapper {
        margin-top: 1rem;
    }
}


/* ── Package Cards ──────────────────────────────────────────── */
.package-card {
    background: var(--ea-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    height: 100%;
}

.package-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .package-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 24px 48px rgba(13, 92, 63, 0.12), 0 0 0 1px var(--ea-gold);
    }
    .package-card:hover .package-card-img {
        transform: scale(1.1) rotate(1deg);
    }
    .package-card:hover .package-card-title {
        color: var(--ea-primary);
    }
}

.package-card-img-wrapper {
    width: 100%;
    height: 240px;
    background-color: var(--ea-gray-100);
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--ea-gold);
}

.package-card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 92, 63, 0.4) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.package-card-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.package-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ea-primary-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-card-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-card-title {
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading-en);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--ea-dark-800);
    transition: color var(--duration-normal) var(--ease-gentle);
    text-decoration: none;
    line-height: 1.3;
}

[lang="ar"] .package-card-title, [dir="rtl"] .package-card-title {
    font-family: var(--font-heading-ar);
}

.package-card-desc {
    color: var(--ea-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    flex-grow: 1;
    font-size: 1rem;
}

.package-card-meta {
    display: flex;
    justify-content: space-between;
    background: var(--ea-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size: 0.875rem;
    color: var(--ea-dark-800);
}

.package-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
}
.package-card-meta-item i {
    color: var(--ea-primary);
    font-size: 1.125rem;
}

.package-card-actions {
    display: flex;
    gap: var(--space-md);
}

.package-card-actions .button {
    padding: 0.875rem 1rem;
    text-align: center;
    font-weight: 700;
}
.package-card-actions .btn-info { 
    flex: 1; 
    background: transparent;
    border: 2px solid var(--ea-gray-200);
    color: var(--ea-gray-600);
}
.package-card-actions .btn-info:hover {
    border-color: var(--ea-primary);
    color: var(--ea-primary);
}
.package-card-actions .btn-sub { 
    flex: 4; 
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    color: var(--ea-white);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 92, 63, 0.2);
}
.package-card-actions .btn-sub:hover {
    box-shadow: 0 8px 25px rgba(13, 92, 63, 0.3);
    transform: translateY(-2px);
}


/* ── Section Headings ───────────────────────────────────────── */
.section-title {
    max-width: 37.5rem;
    text-align: center;
    margin: 0 auto var(--space-3xl);
}

.tagline-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}
.tagline-wrapper.center { justify-content: center; }

.tagline-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ea-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tagline-icon {
    font-size: 0.7rem;
    margin-right: 0.375rem;
    color: var(--ea-gold);
}

.tittle-heading-wrapper {
    margin-bottom: var(--space-lg);
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-heading h2 {
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ea-primary), var(--ea-gold));
    border-radius: var(--radius-pill);
}

.section-heading p {
    max-width: 600px;
    margin: var(--space-md) auto 0;
}


/* ── Brand / Logos ──────────────────────────────────────────── */
.section-brand {
    background: var(--ea-cream);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.brand-component {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem 0;
}

.brand-logo {
    max-height: 3rem;
    max-width: 7rem;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all var(--duration-slow) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .brand-logo:hover {
        opacity: 1;
        filter: grayscale(0);
        transform: scale(1.05);
    }
}


/* ── About Section (Home) ───────────────────────────────────── */
.section-home-about {
    background: var(--ea-white);
    overflow: hidden;
}

.home-about-component {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.home-about-content {
    display: flex;
    flex-direction: column;
}

.home-about-content .tagline-text {
    margin-bottom: var(--space-md);
}

.home-about-content .heading-style-h2 {
    margin-bottom: var(--space-lg);
}

.home-about-content .text-size-medium {
    margin-bottom: var(--space-2xl);
}

.home-about-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.home-about-feature-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--ea-gray-50);
    border: 1px solid transparent;
    transition: all var(--duration-normal) var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .home-about-feature-item:hover {
        background: var(--ea-white);
        border-color: var(--ea-primary-20);
        box-shadow: var(--shadow-md);
        transform: translateX(4px);
    }
}

.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background: var(--ea-primary-10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--ea-primary);
    transition: all var(--duration-normal) var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .home-about-feature-item:hover .feature-icon-wrapper {
        background: var(--ea-primary);
        color: var(--ea-white);
    }
}

.home-about-feature-item .heading-style-h4 {
    margin-bottom: 0.25rem;
}

.home-about-feature-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* About image */
.home-about-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.home-about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    transition: transform 6s var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .home-about-image-wrapper:hover .home-about-image {
        transform: scale(1.04);
    }
}

.experience-badge {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ea-primary);
    line-height: 1;
    font-family: var(--font-heading-en);
}

.badge-text {
    font-size: 0.75rem;
    color: var(--ea-gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.animate-float {
    animation: floatBreathe 4s ease-in-out infinite;
}


/* ── Courses / Packages ─────────────────────────────────────── */
.section-courses {
    background: var(--ea-white);
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Package Cards (cleaned — no inline styles) */
.package-card {
    background: var(--ea-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--ea-gray-100);
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-slow) var(--ease-gentle),
                box-shadow var(--duration-slow) var(--ease-gentle),
                border-color var(--duration-slow) var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .package-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
        border-color: var(--ea-primary-20);
    }
}

.package-image-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.package-image-wrapper {
    width: 100%;
    height: 220px;
    background-color: var(--ea-secondary-dark);
    overflow: hidden;
    position: relative;
}

.package-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.8s var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .package-card:hover .package-image-wrapper img {
        transform: scale(1.06);
    }
}

.package-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ea-primary);
}

.package-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-content h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.375rem;
    transition: color var(--duration-normal);
}

.package-content h3 a {
    color: inherit;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .package-content h3 a:hover {
        color: var(--ea-primary);
    }
}

.package-description {
    color: var(--ea-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    font-size: 0.9375rem;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--ea-gray-100);
    border-bottom: 1px solid var(--ea-gray-100);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-xl);
    font-size: 0.9375rem;
    color: var(--ea-primary);
}

.package-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.package-actions {
    display: flex;
    gap: var(--space-sm);
}

.package-actions .button {
    padding: 0.75rem 1rem;
    text-align: center;
}

.package-actions .button:first-child { flex: 1; }
.package-actions .button:last-child { flex: 3; }

/* Legacy course card compat */
.courses-card {
    background: var(--ea-white);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .courses-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
    }
}

.courses-image-wrapper {
    width: 100%;
    border-radius: var(--radius-xl);
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.courses-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.8s var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .courses-card:hover .courses-image {
        transform: scale(1.05);
    }
}

.courses-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    padding: var(--space-lg);
}

.courses-category-link {
    color: var(--ea-gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: color var(--duration-normal);
}
.courses-category-link:hover { color: var(--ea-primary); }

.courses-title-link {
    color: var(--ea-dark-800);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color var(--duration-normal);
}
.courses-title-link:hover { color: var(--ea-primary); }

.course-content-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-lg);
}


/* ── CTA / Contact Section ──────────────────────────────────── */
.section-cta {
    position: relative;
}

.cta-wrapper {
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.cta-background-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--ea-secondary) 0%, var(--ea-secondary-dark) 100%);
}

.cta-background-image-wrapper .image-overlay-layer {
    background: linear-gradient(135deg, rgba(27,67,50,0.95), rgba(15,46,34,0.85));
}

.cta-component {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.cta-content-left { max-width: 28rem; }

.cta-content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-content-right img {
    max-width: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.cta-form-block {
    margin-top: var(--space-xl);
    margin-bottom: 0;
    max-width: 30rem;
}

.signup-form-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.375rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: border-color var(--duration-normal) var(--ease-gentle);
}

.signup-form-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-form-input {
    min-height: 2.75rem;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--ea-white);
    margin-bottom: 0;
    font-size: 0.9375rem;
}
.cta-form-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta-form-input:focus { outline: none; }


/* ── Footer ─────────────────────────────────────────────────── */
.footer-component {
    background: var(--ea-dark);
    color: rgba(255, 255, 255, 0.8);
    border-top-left-radius: var(--radius-2xl);
    border-top-right-radius: var(--radius-2xl);
    margin-top: var(--space-3xl);
}

.footer-top-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: var(--space-3xl);
}

.footer-left-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    margin-bottom: var(--space-lg);
    padding-left: 0;
}

.footer-left-wrapper p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-info {
    margin-top: var(--space-xl);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item i {
    font-size: 0.875rem;
    color: var(--ea-primary-light);
    width: 1rem;
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--duration-normal);
}
@media (hover: hover) and (pointer: fine) {
    .footer-contact-item a:hover { color: var(--ea-primary-light); }
}

.footer-menu-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-link-list .text-weight-bold {
    color: var(--ea-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-link-spacer {
    height: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.55);
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--duration-normal), transform var(--duration-normal);
}
@media (hover: hover) and (pointer: fine) {
    .footer-link:hover {
        color: var(--ea-primary-light);
        transform: translateX(3px);
    }
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.375rem 0;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--duration-normal);
}
@media (hover: hover) and (pointer: fine) {
    .footer-social-link:hover { color: var(--ea-primary-light); }
}

.footer-social-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon-wrapper {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .footer-social-link:hover .footer-social-icon-wrapper {
        background: var(--ea-primary);
        transform: translateY(-2px);
    }
}

.footer-bottom-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: end;
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-wrapper {
    display: flex;
    flex-direction: column;
}

.footer-social-link-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
}

.footer-credit-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8125rem;
}

.footer-form-wrapper { max-width: 100%; }
.footer-form-block { margin-bottom: 0; }

.footer-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 0;
    padding: 0.625rem 1rem;
    color: var(--ea-white);
    font-size: 0.9375rem;
    transition: border-color var(--duration-normal);
}
.footer-form-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.footer-form-input:focus { border-color: var(--ea-primary-light); }


/* ── Forms (Auth) ───────────────────────────────────────────── */
.w-form { margin: 0; }
.w-form-done {
    text-align: center;
    background: var(--ea-success);
    color: var(--ea-white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: none;
}
.w-form-fail {
    background: #fef2f2;
    border: 1px solid var(--ea-error);
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    padding: 0.75rem;
    display: none;
    color: var(--ea-error);
}

.success-message {
    color: var(--ea-white);
    background: var(--ea-success);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.error-message {
    border: 1px solid var(--ea-error);
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    padding: 0.75rem;
    color: var(--ea-error);
}

label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ea-dark-800);
}

.w-input, .w-select {
    width: 100%;
    height: auto;
    min-height: 3rem;
    color: var(--ea-dark-800);
    background: var(--ea-white);
    border: 1.5px solid var(--ea-gray-300);
    border-radius: var(--radius-md);
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.w-input:focus, .w-select:focus {
    border-color: var(--ea-primary);
    box-shadow: 0 0 0 3px var(--ea-primary-10);
    outline: none;
}
.w-input::placeholder, .w-select::placeholder { color: var(--ea-gray-400); }

.sign-up-form-input {
    min-height: 3rem;
    color: var(--ea-dark-800);
    background: var(--ea-white);
    border: 1.5px solid var(--ea-gray-300);
    border-radius: var(--radius-md);
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.sign-up-form-input:focus {
    border-color: var(--ea-primary);
    box-shadow: 0 0 0 3px var(--ea-primary-10);
}
.sign-up-form-input::placeholder { color: var(--ea-gray-400); }

.field-label {
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-field-wrapper { margin-bottom: var(--space-md); }

.login-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ea-dark-800);
}

.password-input-wrapper { position: relative; }
.password-input-wrapper input { padding-right: 3rem; }
.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--ea-gray-400);
    display: flex;
    align-items: center;
    transition: color var(--duration-normal);
}
.toggle-password:hover { color: var(--ea-primary); }

.login-remember-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.back-to-login {
    text-align: center;
    margin-top: var(--space-xl);
}
.back-to-login a {
    color: var(--ea-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration-normal);
}
.back-to-login a:hover { color: var(--ea-primary-dark); }

.password-requirements {
    background: var(--ea-cream);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    color: var(--ea-gray-600);
}
.password-requirements strong { color: var(--ea-dark-800); }
.password-requirements ul { margin-top: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.password-requirements li { margin-bottom: 0.25rem; }

/* Auth layouts */
.section-login,
.section-signup,
.section-forgot-password,
.section-reset-password,
.section-confirm-email {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--ea-cream);
}

.login-component,
.signup-component,
.forgot-password-component,
.reset-password-component,
.confirm-email-component {
    width: 100%;
    max-width: 28rem;
    background: var(--ea-white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    margin: var(--space-2xl) auto;
    animation: gentleFadeUp var(--duration-reveal) var(--ease-gentle);
}

.signup-component { max-width: 32rem; }

.login-form-block,
.signup-form-block,
.forgot-password-form-block,
.reset-password-form-block,
.confirm-email-form-block {
    margin-bottom: 0;
}

.checkbox {
    width: 1rem;
    height: 1rem;
    border: 1.5px solid var(--ea-primary);
    margin-top: 0;
    border-radius: 3px;
}


/* ── About Page ─────────────────────────────────────────────── */
.section-header {
    background: linear-gradient(135deg, var(--ea-secondary) 0%, var(--ea-secondary-dark) 100%);
    color: var(--ea-white);
    padding-top: calc(var(--nav-height) + var(--space-4xl));
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M40 0L44.5 15.5L60 20L44.5 24.5L40 40L35.5 24.5L20 20L35.5 15.5Z'/%3E%3C/g%3E%3C/svg%3E");
}

.header-component {
    text-align: center;
    position: relative;
    z-index: 1;
}

.header-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ea-white);
    margin-bottom: var(--space-md);
}

.section-about { overflow: hidden; }

.about-component {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content {
    padding: var(--space-xl) 0;
}


/* ── WhatsApp FAB ───────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all var(--duration-normal) var(--ease-gentle);
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-icon {
    font-size: 1.75rem;
    color: var(--ea-white);
}


/* ── Scroll Reveal ──────────────────────────────────────────── */
/* GSAP handles initial opacity via fromTo() — no CSS opacity:0 needed */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .my-fade-in-up,
.stagger-children > * {
    will-change: opacity, transform;
}


/* ── Feature Grid ───────────────────────────────────────────── */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.how-it-works-grid::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ea-primary-20), var(--ea-primary), var(--ea-primary-20), transparent);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--ea-primary), var(--ea-primary-dark));
    color: var(--ea-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 8px 24px rgba(173, 105, 78, 0.3);
}

.step-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.step-card p { font-size: 0.9375rem; max-width: 280px; margin: 0 auto; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--ea-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    border: 1px solid var(--ea-gray-200);
    transition: all var(--duration-slow) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--ea-primary-20);
    }
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--ea-primary-10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.5rem;
    color: var(--ea-primary);
    transition: all var(--duration-normal) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover .feature-icon {
        background: var(--ea-primary);
        color: var(--ea-white);
        transform: scale(1.08);
    }
}

.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9375rem; line-height: 1.6; }


/* ── Testimonials (Wall of Love) ────────────────────────────── */
.wall-of-love {
    columns: 3 300px;
    column-gap: var(--space-xl);
    width: 100%;
}

.testimonial-card-v2 {
    break-inside: avoid;
    margin-bottom: var(--space-xl);
    background: var(--ea-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ea-gray-100);
    transition: all var(--duration-slow) var(--ease-gentle);
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    .testimonial-card-v2:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--ea-primary-20);
    }
}

.testimonial-video-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--ea-primary);
    color: var(--ea-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 10px rgba(173, 105, 78, 0.35);
}

.testimonial-stars-v2 {
    color: var(--ea-gold);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text-v2 {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ea-gray-700);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author-v2 {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: auto;
}

.testimonial-avatar-v2 {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ea-primary-10), var(--ea-cream));
    color: var(--ea-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 2px solid var(--ea-primary-20);
}

.testimonial-info-v2 { display: flex; flex-direction: column; }

.testimonial-name-v2 {
    font-weight: 700;
    color: var(--ea-dark-800);
    font-size: 0.95rem;
}

.testimonial-role-v2 {
    font-size: 0.8rem;
    color: var(--ea-gray-500);
}

/* Featured */
.testimonial-card-v2.is-featured {
    background: linear-gradient(135deg, var(--ea-white) 0%, var(--ea-cream) 100%);
    border: 2px solid var(--ea-primary-20);
}


/* ── Stats Section ──────────────────────────────────────────── */
.section-stats {
    background: linear-gradient(135deg, var(--ea-secondary) 0%, var(--ea-secondary-dark) 100%);
    color: var(--ea-white);
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M40 0L44.5 15.5L60 20L44.5 24.5L40 40L35.5 24.5L20 20L35.5 15.5Z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-component {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stats-item {
    text-align: center;
    padding: var(--space-xl) 0;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ea-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading-en);
}

.stats-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* Legacy stat compat */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: var(--space-xl) 0; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--ea-white); line-height: 1; margin-bottom: 0.5rem; font-family: var(--font-heading-en); }
.stat-label { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.65); font-weight: 500; }


/* ── Category Grid ──────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: var(--ea-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    border: 1px solid var(--ea-gray-200);
    transition: all var(--duration-slow) var(--ease-gentle);
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .category-card:hover {
        border-color: var(--ea-primary);
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.category-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--ea-primary-10) 0%, rgba(173, 105, 78, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--ea-primary);
    transition: all var(--duration-normal) var(--ease-gentle);
}
@media (hover: hover) and (pointer: fine) {
    .category-card:hover .category-icon {
        background: var(--ea-primary);
        color: var(--ea-white);
        transform: scale(1.05);
    }
}

.category-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.category-card p { font-size: 0.875rem; color: var(--ea-gray-500); }


/* ── Responsive ─────────────────────────────────────────────── */

/* Tablet (991px) */
@media screen and (max-width: 991px) {
    .padding-section-large {
        padding-top: var(--space-4xl);
        padding-bottom: var(--space-4xl);
    }

    .padding-section-xlarge {
        padding-top: var(--space-5xl);
        padding-bottom: var(--space-5xl);
    }

    .hide-tablet { display: none !important; }

    /* ── Navbar mobile overhaul ─────────────────────────────── */

    /* Remove the pill shape on mobile so the menu overlay isn't clipped */
    .navbar-wrapper {
        padding: 0;
    }

    .navbar-component {
        border-radius: 0;
        min-height: 3.5rem;
        padding: 0 1rem;
        /* CRITICAL: Use solid background instead of backdrop-filter on mobile.
           backdrop-filter creates a containing block that traps position:fixed children,
           preventing the mobile menu overlay from covering the full viewport. */
        background: rgb(251, 250, 248);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar-component.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
    }

    .navbar-logo { width: 6rem; }

    /* Show the hamburger */
    .navbar-menu-button, .w-nav-button {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1020;
    }

    /* Logo stays above the overlay */
    .navbar-logo-link {
        position: relative;
        z-index: 1020;
    }

    /* Full-screen mobile menu overlay */
    .navbar-menu, .w-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(251, 248, 241, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        display: none;
        z-index: 1010;
        padding: 5rem 2rem 3rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-menu.w--open, .w-nav-menu.w--open {
        display: flex !important;
    }

    .navbar-menu-list, .w-list-unstyled {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        text-align: center;
    }

    .navbar-link, .w-nav-link {
        font-size: 1.125rem;
        padding: 0.875rem 1rem;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-md);
        color: var(--ea-gray-800);
        transition: background 0.2s, color 0.2s;
    }

    .navbar-link:hover, .w-nav-link:hover {
        background: var(--ea-primary-10);
        color: var(--ea-primary);
    }

    .navbar-link::after { display: none; }

    .mobile-only-auth {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: var(--space-xl);
        padding-top: var(--space-lg);
        border-top: 1px solid var(--ea-gray-200);
    }
    .mobile-only-auth .button {
        width: 100%;
        justify-content: center;
    }

    .navbar-button-wrapper { margin-left: 0; }

    .navbar-lang-switch {
        min-width: 4rem;
        padding: 0.5rem 0.7rem;
    }

    /* Home hero */
    .home-header-component {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .home-header-content-wrapper .button-group {
        justify-content: center;
    }

    /* About */
    .home-about-component { grid-template-columns: 1fr; gap: 2rem; }
    .about-component { grid-template-columns: 1fr; gap: 2rem; }

    /* Grids */
    .courses-list { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-component, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .wall-of-love { columns: 2 250px; }

    .how-it-works-grid::before { display: none; }

    /* CTA */
    .cta-component { grid-template-columns: 1fr; }
    .cta-content-right { display: none; }
    .cta-wrapper { padding: var(--space-2xl); }

    /* Footer */
    .footer-top-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .footer-menu-wrapper { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (767px) */
@media screen and (max-width: 767px) {
    .padding-section-large {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .brand-component { gap: 2rem; }

    .courses-list { grid-template-columns: 1fr; }
    .how-it-works-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-component, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stats-number, .stat-number { font-size: 2.25rem; }
    .wall-of-love { columns: 1; }

    .login-component,
    .signup-component,
    .forgot-password-component,
    .reset-password-component,
    .confirm-email-component {
        padding: var(--space-xl);
        margin: var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .cta-wrapper { padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-lg); }
}

/* Small Mobile (479px) */
@media screen and (max-width: 479px) {
    .padding-global {
        padding-left: 4%;
        padding-right: 4%;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }

    .feature-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }

    .footer-menu-wrapper { grid-template-columns: 1fr; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.25rem;
        right: 1.25rem;
    }
    .whatsapp-icon { font-size: 1.5rem; }
}


/* ── RTL Support ────────────────────────────────────────────── */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-button-wrapper {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .footer-link:hover {
    transform: translateX(-3px);
}

[dir="rtl"] .home-about-feature-item:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .password-input-wrapper input {
    padding-right: 1rem;
    padding-left: 3rem;
}

[dir="rtl"] .toggle-password {
    right: auto;
    left: 1rem;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 2rem;
}

@media screen and (max-width: 479px) {
    [dir="rtl"] .whatsapp-float {
        left: 1.25rem;
    }
}


/* ── Webflow Compatibility ──────────────────────────────────── */
.w-inline-block { max-width: 100%; display: inline-block; }
.w-embed:before, .w-embed:after { content: ' '; display: table; }
.w-embed:after { clear: both; }
.w-commerce-commercecartwrapper { display: inline-block; position: relative; }
.w-nav:before, .w-nav:after { content: ' '; display: table; }
.w-nav:after { clear: both; }

@font-face {
    font-family: webflow-icons;
    src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBiUAAAC8AAAAYGNtYXDpP+a4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZmhS2XEAAAGAAAADHGhlYWQTFw3HAAAEnAAAADZoaGVhCXYFgQAABNQAAAAkaG10eCe4A1oAAAT4AAAAMGxvY2EDtALGAAAFKAAAABptYXhwABAAPgAABUQAAAAgbmFtZSoCsMsAAAVkAAABznBvc3QAAwAAAAAHNAAAACAAAwP4AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg5gPpA//9//8AAAAAACDmAOkA//3//wAB/+MaBBcIAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBIAAAAyADgAAFAAAJAQcJARcDIP5AQAGA/oBAAcABwED+gP6AQAABAOAAAALgA4AABQAAEwEXCQEH4AHAQP6AAYBAAcABwED+gP6AQAAAAwDAAOADQALAAA8AHwAvAAABISIGHQEUFjMhMjY9ATQmByEiBh0BFBYzITI2PQE0JgchIgYdARQWMyEyNj0BNCYDIP3ADRMTDQJADRMTDf3ADRMTDQJADRMTDf3ADRMTDQJADRMTAsATDSANExMNIA0TwBMNIA0TEw0gDRPAEw0gDRMTDSANEwAAAAABAJ0AtAOBApUABQAACQIHCQEDJP7r/upcAXEBcgKU/usBFVz+fAGEAAAAAAL//f+9BAMDwwAEAAkAABcBJwEXAwE3AQdpA5ps/GZsbAOabPxmbEMDmmz8ZmwDmvxmbAOabAAAAgAA/8AEAAPAAB0AOwAABSInLgEnJjU0Nz4BNzYzMTIXHgEXFhUUBw4BBwYjNTI3PgE3NjU0Jy4BJyYjMSIHDgEHBhUUFx4BFxYzAgBqXV6LKCgoKIteXWpqXV6LKCgoKIteXWpVSktvICEhIG9LSlVVSktvICEhIG9LSlVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoZiEgb0tKVVVKS28gISEgb0tKVVVKS28gIQABAAABwAIAA8AAEgAAEzQ3PgE3NjMxFSIHDgEHBhUxIwAoKIteXWpVSktvICFmAcBqXV6LKChmISBvS0pVAAAAAgAA/8AFtgPAADIAOgAAARYXHgEXFhUUBw4BBwYHIxUhIicuAScmNTQ3PgE3NjMxOAExNDc+ATc2MzIXHgEXFhcVATMJATMVMzUEjD83NlAXFxYXTjU1PQL8kz01Nk8XFxcXTzY1PSIjd1BQWlJJSXInJw3+mdv+2/7c25MCUQYcHFg5OUA/ODlXHBwIAhcXTzY1PTw1Nk8XF1tQUHcjIhwcYUNDTgL+3QFt/pOTkwABAAAAAQAAmM7nP18PPPUACwQAAAAAANciZKUAAAAA1yJkpf/9/70FtgPDAAAACAACAAAAAAAAAAEAAAPA/8AAAAW3//3//QW2AAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAASAEAADgBAAAwAQAAJ0EAP/9BAAAAAQAAAAFtwAAAAAAAAAKABQAHgAyAEYAjACiAL4BFgE2AY4AAAABAAAADAA8AAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADQAAAAEAAAAAAAIABwCWAAEAAAAAAAMADQBIAAEAAAAAAAQADQCrAAEAAAAAAAUACwAnAAEAAAAAAAYADQBvAAEAAAAAAAoAGgDSAAMAAQQJAAEAGgANAAMAAQQJAAIADgCdAAMAAQQJAAMAGgBVAAMAAQQJAAQAGgC4AAMAAQQJAAUAFgAyAAMAAQQJAAYAGgB8AAMAAQQJAAoANADsd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("truetype");
    font-weight: normal;
    font-style: normal;
}


/* ── Quiz Modal ─────────────────────────────────────────────── */
.quiz-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: gentleFadeIn 0.3s var(--ease-gentle);
}

.quiz-modal-content {
    background: var(--ea-white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    position: relative;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: zoomIn 0.4s var(--ease-spring);
}

.quiz-close-btn {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 2rem;
    line-height: 1;
    color: var(--ea-gray-400);
    transition: color var(--duration-normal);
    z-index: 10;
}
.quiz-close-btn:hover { color: var(--ea-primary); }

.quiz-step {
    display: none;
    animation: slideInRight 0.4s var(--ease-out);
}
.quiz-step.active { display: block; }

.quiz-step-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--ea-dark-800);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.quiz-option {
    background: var(--ea-gray-50);
    border: 2px solid var(--ea-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--duration-normal) var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .quiz-option:hover {
        border-color: var(--ea-primary);
        background: var(--ea-primary-10);
        transform: translateY(-4px);
    }
}

.quiz-option-icon {
    font-size: 2rem;
    color: var(--ea-primary);
}

.quiz-option span {
    font-weight: 600;
    color: var(--ea-dark-800);
}

.quiz-result-step { text-align: center; }

.quiz-result-icon {
    font-size: 4rem;
    color: var(--ea-success);
    margin-bottom: var(--space-lg);
}

.quiz-result-description {
    font-size: 1.125rem;
    color: var(--ea-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

@media (max-width: 480px) {
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-modal-content { padding: var(--space-xl); }
}


/* ── Visibility Utilities ───────────────────────────────────── */
@media (max-width: 991px) {
    .hide-on-mobile { display: none !important; }
    .hide-tablet { display: none !important; }
    .mobile-only-auth {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem var(--space-xl);
    }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
    .navbar-component,
    .footer-component,
    .whatsapp-float { display: none !important; }
    body { color: #000; background: #fff; }
}


/* ═══════════════════════════════════════════════════════════════
   HOME PAGE — NEW SECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Services Grid ──────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--ea-white);
    border: 1px solid var(--ea-gray-100);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-normal);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ea-primary), var(--ea-gold));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-gentle);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl), 0 0 0 1px var(--ea-primary-20);
        border-color: transparent;
    }
    .service-card:hover::before { opacity: 1; }
    .service-card:hover .service-card-icon { background: var(--ea-primary); color: var(--ea-white); }
}

.service-card-feature {
    background: linear-gradient(135deg, var(--ea-secondary) 0%, var(--ea-secondary-dark) 100%);
    border-color: transparent;
}
.service-card-feature .service-card-title,
.service-card-feature .service-card-desc { color: var(--ea-white); }
.service-card-feature .service-card-desc { opacity: 0.85; }
.service-card-feature .service-card-icon { background: rgba(255,255,255,0.15); color: var(--ea-gold); }
.service-card-feature .service-card-tag { background: var(--ea-gold); color: var(--ea-dark-800); }
.service-card-feature::before { display: none; }

.service-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-xl);
    background: var(--ea-primary-10);
    color: var(--ea-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-gentle);
}

.service-card-title {
    font-family: var(--font-heading-en);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--ea-dark-800);
    margin-bottom: var(--space-sm);
}
[lang="ar"] .service-card-title, [dir="rtl"] .service-card-title {
    font-family: var(--font-heading-ar);
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--ea-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-card-tag {
    display: inline-block;
    background: var(--ea-primary-10);
    color: var(--ea-primary);
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
    .services-grid { grid-template-columns: 1fr; }
}


/* ── Home FAQ Accordion ─────────────────────────────────────── */
.hfaq-item {
    background: var(--ea-white);
    border: 1px solid var(--ea-gray-100);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
}
.hfaq-item:hover {
    border-color: var(--ea-primary-20);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.hfaq-question {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--ea-dark-800);
    gap: 1rem;
    font-family: var(--font-heading-en);
}
[lang="ar"] .hfaq-question, [dir="rtl"] .hfaq-question { font-family: var(--font-heading-ar); }

.hfaq-question i {
    color: var(--ea-primary);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
    background: var(--ea-primary-10);
    width: 2rem; height: 2rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}
.hfaq-item.open .hfaq-question i {
    transform: rotate(180deg);
    background: var(--ea-primary);
    color: var(--ea-white);
}
.hfaq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 var(--space-xl);
}
.hfaq-item.open .hfaq-answer {
    max-height: 300px;
    padding: 0 var(--space-xl) var(--space-lg);
}
.hfaq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ea-gray-600);
}


/* ── Global Reach ──────────────────────────────────────────── */
.global-reach-card {
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
}
.global-reach-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.global-reach-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.global-reach-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    pointer-events: none;
}
[dir="rtl"] .global-reach-icon {
    right: auto;
    left: -2rem;
}
.global-reach-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: var(--space-lg);
}
.reach-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--ea-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


/* ── Explore Navigation Hub (Bento) ────────────────────────── */
.explore-bento-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.bento-card {
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: var(--ea-white);
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 360px;
}

.bento-wide {
    width: calc(68% - (var(--space-xl) / 2));
}

.bento-narrow {
    width: calc(32% - (var(--space-xl) / 2));
}

.bento-half {
    width: calc(50% - (var(--space-xl) / 2));
}

@media (max-width: 991px) {
    .bento-wide, .bento-narrow, .bento-half { width: 100%; }
}

@media (hover: hover) {
    .bento-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(13, 92, 63, 0.15);
    }
    .bento-card:hover .bento-bg img {
        transform: scale(1.08);
    }
    .bento-card:hover .bento-overlay {
        background: linear-gradient(to top, rgba(13, 92, 63, 0.95) 0%, rgba(13, 92, 63, 0.5) 40%, rgba(0,0,0,0.1) 100%);
    }
}
.bento-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 92, 63, 0.9) 0%, rgba(13, 92, 63, 0.3) 50%, transparent 100%);
    transition: background 0.5s ease;
}
.bento-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: var(--space-3xl) var(--space-2xl);
    color: var(--ea-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
[dir="rtl"] .bento-content { align-items: flex-start; }

.bento-content h3 {
    color: var(--ea-white);
    margin-bottom: var(--space-sm);
    font-size: 2.25rem;
    font-family: var(--font-heading-en);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
[lang="ar"] .bento-content h3, [dir="rtl"] .bento-content h3 { font-family: var(--font-heading-ar); }

.bento-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    font-size: 1.0625rem;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.bento-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: var(--ea-white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
}

.bento-dark {
    background: linear-gradient(135deg, var(--ea-dark-800) 0%, var(--ea-dark-900) 100%);
    color: var(--ea-white);
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bento-dark::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.15) 0%, transparent 60%);
    animation: rotateSlow 20s linear infinite;
    pointer-events: none;
}
@keyframes rotateSlow { 100% { transform: rotate(360deg); } }

.bento-content-center {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 100%;
    justify-content: center;
}
.bento-content-center h3 { 
    color: var(--ea-gold); 
    margin-bottom: var(--space-sm); 
    font-size: 1.75rem; 
    font-family: var(--font-heading-en);
}
[lang="ar"] .bento-content-center h3, [dir="rtl"] .bento-content-center h3 { font-family: var(--font-heading-ar); }
.bento-content-center p { color: rgba(255, 255, 255, 0.7); margin-bottom: 0; line-height: 1.6; }
.bento-icon {
    font-size: 3rem;
    color: var(--ea-white);
    margin-bottom: var(--space-xl);
    background: rgba(255,255,255,0.1);
    width: 6rem; height: 6rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ea-gold);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.0625rem;
}
.bento-link:hover { color: var(--ea-gold-light); transform: translateX(4px); }
[dir="rtl"] .bento-link:hover { transform: translateX(-4px); }

@media (max-width: 991px) {
    .explore-bento-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .bento-large { grid-column: span 1; grid-row: span 1; }
    .bento-content h3 { font-size: 1.75rem; }
}


/* ═══════════════════════════════════════════════════════════════
   Navbar — Mobile Responsive (New Identity)
   ═══════════════════════════════════════════════════════════════ */

/* Show hamburger, hide nav menu on mobile */
@media (max-width: 991px) {
    .navbar-wrapper {
        padding: 0.75rem 1rem;
    }

    .navbar-component {
        padding: 0 1.25rem;
        min-height: 4rem;
        border-radius: 1.5rem;
    }

    /* Show hamburger button */
    .navbar-menu-button,
    .w-nav-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide CTA on very small screens — keep on tablet */
    .button.is-navbar.navbar-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* Full-screen overlay menu */
    .navbar-menu.w-nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 23, 64, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        padding: 2rem;
        animation: navMenuFadeIn 0.35s var(--ease-out) forwards;
    }

    .navbar-menu.w-nav-menu.w--open {
        display: flex;
    }

    .navbar-menu-list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .navbar-menu-list-item {
        width: 100%;
    }

    .navbar-link,
    .w-nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        border-radius: var(--radius-lg);
        border: 1px solid transparent;
        transition: all var(--duration-normal) var(--ease-gentle);
    }

    .navbar-link:hover,
    .w-nav-link:hover {
        background: rgba(255, 255, 255, 0.07);
        color: var(--ea-white);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-link.w--current,
    .w-nav-link.w--current {
        background: rgba(212, 175, 55, 0.12);
        color: var(--ea-gold-light);
        border-color: rgba(212, 175, 55, 0.25);
    }

    /* Hide underline on mobile */
    .navbar-link::after { display: none; }
}

@media (max-width: 480px) {
    .navbar-wrapper {
        padding: 0.625rem 0.75rem;
    }

    .navbar-component {
        border-radius: 1.25rem;
        padding: 0 1rem;
    }

    /* Hide CTA text on small phones — keep icon only */
    .button.is-navbar.navbar-cta {
        padding: 0.5rem 0.75rem;
        font-size: 0;          /* hide text */
        gap: 0;
    }

    .navbar-lang-switch {
        min-width: 3.65rem;
        padding: 0.5rem 0.6rem;
        font-size: 0.74rem;
    }
    .button.is-navbar.navbar-cta i {
        font-size: 1rem;       /* show icon at readable size */
        opacity: 1;
    }
}

/* ── Mobile menu fade-in animation ── */
@keyframes navMenuFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── RTL adjustments for new navbar ── */
[dir="rtl"] .navbar-container {
    flex-direction: row-reverse;
}
[dir="rtl"] .navbar-menu-list {
    flex-direction: row-reverse;
}
[dir="rtl"] .navbar-button-wrapper {
    flex-direction: row-reverse;
}

/* ═══════════════════════════════════════════════════════════════
   Navbar + Footer Redesign Overrides
   ═══════════════════════════════════════════════════════════════ */

.navbar-wrapper {
    padding: 1rem 1.5rem;
}

.navbar-component {
    max-width: 1320px;
    min-height: 5.25rem;
    border: 1px solid rgba(27, 63, 160, 0.08);
    border-radius: 1.75rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.93)),
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 36%);
    box-shadow: 0 18px 48px rgba(7, 23, 64, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    padding: 0 1.25rem 0 1rem;
}

.navbar-component.scrolled {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(249, 251, 255, 0.97)),
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 38%);
    box-shadow: 0 18px 56px rgba(7, 23, 64, 0.14), 0 0 0 1px rgba(212, 175, 55, 0.16);
    transform: translateY(-2px);
}

.navbar-shell {
    gap: 1.25rem;
}

.navbar-logo-link {
    gap: 0.9rem;
}

.navbar-logo-mark {
    width: 3.75rem;
    height: 3.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(27, 63, 160, 0.08), rgba(212, 175, 55, 0.16));
    border: 1px solid rgba(212, 175, 55, 0.25);
    flex-shrink: 0;
}

.navbar-logo {
    width: 2.9rem;
    height: 2.9rem;
    border: none;
    box-shadow: none;
}

.navbar-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.navbar-brand-eyebrow {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(27, 63, 160, 0.72);
    white-space: nowrap;
}

.navbar-brand-name {
    font-family: "Outfit", "Cairo", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ea-secondary);
}

.navbar-menu {
    justify-content: center;
}

.navbar-mobile-panel-head,
.navbar-mobile-actions {
    display: none;
}

.navbar-menu-list {
    gap: 0.25rem;
}

.navbar-link {
    padding: 0.7rem 0.9rem;
    color: rgba(7, 23, 64, 0.78);
    font-size: 0.92rem;
    font-weight: 600;
}

.navbar-link::after {
    bottom: 0.5rem;
}

.navbar-actions-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.navbar-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(27, 63, 160, 0.05);
    border: 1px solid rgba(27, 63, 160, 0.08);
    color: rgba(7, 23, 64, 0.74);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.navbar-trust-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ea-gold), #eccb6d);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.navbar-button-wrapper {
    gap: 0.7rem;
}

.navbar-lang-switch {
    min-width: 4.75rem;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(7, 23, 64, 0.08);
    box-shadow: 0 8px 24px rgba(7, 23, 64, 0.05);
}

.button.is-navbar.navbar-cta {
    min-height: 2.85rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.88rem;
}

.footer-component.footer-redesign {
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 30%),
        linear-gradient(180deg, #071740 0%, #091c4f 55%, #061230 100%);
    color: rgba(255, 255, 255, 0.84);
}

.footer-component.footer-redesign::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.025) 32%, transparent 70%),
        radial-gradient(circle at bottom right, rgba(27, 63, 160, 0.25), transparent 28%);
    pointer-events: none;
}

.footer-redesign-inner {
    position: relative;
    z-index: 1;
}

.footer-hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.95fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.6rem 1.8rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.footer-kicker {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--ea-gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-hero-title {
    margin: 0;
    color: #fff;
    font-family: "Outfit", "Cairo", sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    line-height: 1.25;
}

.footer-hero-text {
    margin: 1rem 0 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.85;
}

.footer-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.button.is-footer.footer-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(27, 63, 160, 0.28);
}

.footer-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 2.5rem;
    align-items: start;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 0;
}

.footer-logo-mark {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.22);
    flex-shrink: 0;
}

.footer-logo-image {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-brand-name {
    color: #fff;
    font-family: "Outfit", "Cairo", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-brand-subtitle {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.footer-brand-description {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.footer-trust-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-card strong {
    color: #fff;
    font-size: 0.92rem;
}

.footer-trust-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    line-height: 1.7;
}

.footer-links-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.footer-link-list {
    padding: 1rem 0 0;
}

.footer-link-list .text-weight-bold {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.footer-link {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact-card {
    align-items: flex-start;
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-card i {
    margin-top: 0.15rem;
    color: var(--ea-gold-light);
}

.footer-contact-card div {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.footer-contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-contact-card a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-credit-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

@media (max-width: 1200px) {
    .navbar-trust-badge {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-wrapper {
        padding: 0.8rem 1rem;
    }

    .navbar-component {
        min-height: 4.65rem;
        padding: 0 1rem;
        border-radius: 1.5rem;
    }

    .navbar-brand-copy {
        gap: 0.1rem;
    }

    .navbar-brand-eyebrow {
        display: none;
    }

    .navbar-brand-name {
        font-size: 0.95rem;
    }

    .navbar-actions-block {
        gap: 0.55rem;
    }

    .navbar-menu.w-nav-menu {
        align-items: stretch;
        justify-content: flex-start;
        padding: 6.5rem 1rem 1.25rem;
        background: linear-gradient(180deg, rgba(7, 23, 64, 0.98), rgba(9, 28, 79, 0.98));
    }

    .navbar-mobile-panel {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.2rem;
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-mobile-panel-head,
    .navbar-mobile-actions {
        display: flex;
        flex-direction: column;
    }

    .navbar-mobile-panel-head {
        gap: 0.55rem;
        text-align: start;
    }

    .navbar-mobile-panel-title {
        color: #fff;
        font-family: "Outfit", "Cairo", sans-serif;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .navbar-mobile-panel-text {
        margin: 0;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.75;
        font-size: 0.94rem;
    }

    .navbar-menu-list {
        max-width: 100%;
        text-align: start;
    }

    .navbar-link,
    .w-nav-link {
        text-align: start;
        border-radius: 1rem;
    }

    .navbar-mobile-actions {
        gap: 0.8rem;
    }

    .navbar-lang-switch-mobile,
    .navbar-cta-mobile {
        display: inline-flex;
        align-self: flex-start;
    }

    .navbar-button-wrapper .navbar-lang-switch,
    .navbar-button-wrapper .navbar-cta {
        display: none;
    }

    .footer-hero-band,
    .footer-main-grid,
    .footer-links-column {
        grid-template-columns: 1fr;
    }

    .footer-hero-band {
        padding: 1.35rem;
    }

    .footer-trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .navbar-wrapper {
        padding: 0.7rem 0.8rem;
    }

    .navbar-component {
        padding: 0 0.9rem;
        min-height: 4.3rem;
        border-radius: 1.3rem;
    }

    .navbar-logo-mark {
        width: 3.2rem;
        height: 3.2rem;
        border-radius: 1rem;
    }

    .navbar-logo {
        width: 2.45rem;
        height: 2.45rem;
    }

    .navbar-brand-name {
        font-size: 0.88rem;
    }

    .footer-component.footer-redesign {
        margin-top: 4rem;
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }

    .footer-hero-title {
        font-size: 1.45rem;
    }

    .footer-credit-text {
        font-size: 0.82rem;
    }
}

[dir="rtl"] .navbar-brand-eyebrow,
[dir="rtl"] .footer-kicker,
[dir="rtl"] .footer-contact-label {
    letter-spacing: normal;
}

[dir="rtl"] .navbar-actions-block,
[dir="rtl"] .footer-bottom-bar,
[dir="rtl"] .footer-social-link-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-logo-link,
[dir="rtl"] .footer-contact-card,
[dir="rtl"] .footer-hero-actions {
    align-items: flex-start;
}

/* Cleanup pass: clearer structure */
.navbar-clean {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left {
    min-width: 0;
}

.navbar-right {
    justify-content: flex-end;
}

.navbar-clean .navbar-menu {
    min-width: 0;
}

.navbar-clean .navbar-menu-list {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
}

.navbar-clean .navbar-link {
    padding: 0.72rem 0.82rem;
    font-size: 0.88rem;
}

.navbar-clean .navbar-brand-copy {
    max-width: 16rem;
}

.navbar-clean .navbar-brand-name {
    font-size: 0.95rem;
}

.navbar-clean .navbar-brand-eyebrow {
    font-size: 0.72rem;
}

.navbar-clean .navbar-button-wrapper {
    flex-wrap: nowrap;
}

.navbar-clean .navbar-lang-switch {
    min-width: 4.25rem;
}

.footer-clean {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 24%),
        linear-gradient(180deg, #07163d 0%, #081a48 52%, #061331 100%);
}

.footer-clean .padding-section-large {
    padding-top: 3rem;
    padding-bottom: 1.4rem;
}

.footer-clean .footer-intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.6rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-clean .footer-intro-title {
    margin: 0.35rem 0 0;
    color: #fff;
    font-family: "Outfit", "Cairo", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.28;
}

.footer-clean .footer-intro-text {
    margin: 0.75rem 0 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-clean .footer-intro-cta {
    min-height: 3rem;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 32px rgba(27, 63, 160, 0.26);
}

.footer-clean .footer-core-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.3fr) minmax(240px, 0.75fr);
    gap: 1.6rem;
    align-items: start;
}

.footer-clean .footer-brand-column {
    gap: 1rem;
}

.footer-clean .footer-brand-description {
    max-width: 42ch;
}

.footer-clean .footer-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-clean .footer-feature-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-clean .footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1.75rem;
}

.footer-clean .footer-link-list {
    padding-top: 0;
}

.footer-clean .footer-contact-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-clean .footer-contact-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-clean .footer-contact-card a {
    color: #fff;
    font-weight: 600;
}

.footer-clean .footer-social-link-wrapper {
    margin-top: 0.5rem;
}

.footer-clean .footer-bottom-bar {
    justify-content: center;
    margin-top: 1rem;
    padding-top: 0.9rem;
}

@media (max-width: 1280px) {
    .navbar-clean .navbar-link {
        padding: 0.68rem 0.7rem;
        font-size: 0.84rem;
    }

    .navbar-clean .navbar-brand-copy {
        max-width: 13.5rem;
    }
}

@media (max-width: 991px) {
    .navbar-clean {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .navbar-clean .navbar-menu {
        grid-column: 1 / -1;
    }

    .navbar-clean .navbar-brand-copy {
        max-width: none;
    }

    .footer-clean .footer-hero-band,
    .footer-clean .footer-core-grid,
    .footer-clean .footer-nav-columns,
    .footer-clean .footer-intro-strip {
        grid-template-columns: 1fr;
    }

    .footer-clean .footer-intro-title,
    .footer-clean .footer-intro-text,
    .footer-clean .footer-brand-description {
        max-width: none;
    }

    .footer-clean .footer-intro-strip {
        align-items: flex-start;
    }

    .footer-clean .padding-section-large {
        padding-top: 2.4rem;
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 640px) {
    .navbar-clean .navbar-brand-eyebrow {
        display: none;
    }

    .navbar-clean .navbar-brand-name {
        font-size: 0.88rem;
    }

    .footer-clean .footer-intro-strip {
        padding: 1rem;
    }

    .footer-clean .padding-section-large {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}

[dir="rtl"] .navbar-clean {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

/* ═══════════════════════════════════════════════════════════════
   ISLAMIC HOME — Full Page Design System
   Parchment (#FBF5E6) × Deep Emerald (#0D2B1F) × Holy Gold (#C9A84C)
   ═══════════════════════════════════════════════════════════════ */
.ic-arabesque-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.ic-arabesque-bg--dark {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.09'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* ── Separators ──────── */
.ic-separator { display:flex;align-items:center;justify-content:center;gap:1.25rem;padding:0.5rem 2rem;background:var(--ic-parchment); }
.ic-sep-line { flex:1;height:1px;background:linear-gradient(to right,transparent,var(--ic-gold-40),transparent); }
.ic-sep-ornament { color:var(--ic-gold);font-size:0.85rem;letter-spacing:0.5em;white-space:nowrap; }
.ic-sep-crescent { color:var(--ic-gold);font-size:1rem; }
/* ── Shared Labels ───── */
.ic-section-label { display:inline-flex;align-items:center;gap:0.5rem;background:var(--ic-gold-10);color:var(--ic-gold-deep);border:1px solid var(--ic-gold-20);border-radius:999px;padding:0.35rem 1rem;font-size:0.8rem;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;margin-bottom:1rem; }
.ic-section-label--light { background:rgba(201,168,76,0.15);color:var(--ic-gold-light);border-color:var(--ic-gold-20); }
.ic-section-header { text-align:center;margin-bottom:3.5rem; }
.ic-section-heading { font-family:var(--font-heading-ar);font-size:clamp(1.8rem,4vw,2.75rem);color:var(--ic-ink);font-weight:700;line-height:1.3;margin-bottom:1rem; }
.ic-section-heading--light { color:#fff; }
.ic-section-verse { display:flex;align-items:center;justify-content:center;gap:0.5rem;color:var(--ic-gold-deep);font-family:var(--font-arabic-verse);font-size:1rem;font-style:italic;margin-bottom:1rem; }
.ic-ornament-bracket { font-size:1.4em;color:var(--ic-gold);line-height:1; }
.ic-tag { display:inline-flex;align-items:center;gap:0.35rem;background:var(--ic-gold-10);border:1px solid var(--ic-gold-40);color:var(--ic-gold-light);border-radius:999px;padding:0.35rem 0.9rem;font-size:0.82rem; }
.ic-outline-btn { display:inline-flex;align-items:center;gap:0.6rem;border:1.5px solid var(--ic-gold-40);color:var(--ic-gold-deep);background:transparent;border-radius:999px;padding:0.7rem 1.75rem;font-size:0.92rem;font-weight:600;cursor:pointer;transition:all 0.3s;text-decoration:none; }
.ic-outline-btn:hover { background:var(--ic-gold);color:#fff;border-color:var(--ic-gold); }
/* ── Trust Bar ────────── */
.ic-trust-bar { background:var(--ic-parchment-dark);padding:2.5rem 0; }
.ic-trust-bar__inner { text-align:center; }
.ic-trust-bar__quote { font-family:var(--font-arabic-verse);font-size:1.05rem;color:var(--ic-ink-soft);font-style:italic;margin-bottom:2rem; }
.ic-trust-bar__logos { display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2rem; }
.ic-trust-logo { height:2.5rem;width:auto;object-fit:contain;filter:sepia(0.6) hue-rotate(10deg) brightness(0.75);opacity:0.75;transition:filter 0.3s,opacity 0.3s; }
.ic-trust-logo:hover { filter:sepia(0.2) brightness(0.9);opacity:1; }
/* ── Global Reach ──────── */
.ic-reach { background:var(--ic-parchment);padding:4rem 0; }
.ic-reach__card { display:grid;grid-template-columns:1fr 280px;gap:3rem;align-items:center;background:var(--ic-emerald);border-radius:1.5rem;padding:3.5rem;position:relative;overflow:hidden;box-shadow:var(--shadow-gold); }
.ic-reach__arabesque { position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");pointer-events:none; }
.ic-reach__content { position:relative;z-index:1; }
.ic-reach__heading { font-size:clamp(1.6rem,3vw,2.2rem);color:#fff;font-weight:700;margin-bottom:1rem; }
.ic-reach__desc { color:rgba(255,255,255,0.8);line-height:1.8;margin-bottom:1.5rem; }
.ic-reach__tags { display:flex;flex-wrap:wrap;gap:0.75rem; }
.ic-reach__visual { position:relative;z-index:1;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center; }
.ic-globe-ring { position:absolute;border-radius:50%;border:1px solid var(--ic-gold-20); }
.ic-globe-ring--1 { width:220px;height:220px;animation:ic-spin 12s linear infinite; }
.ic-globe-ring--2 { width:170px;height:170px;border-color:var(--ic-gold-40);animation:ic-spin 8s linear infinite reverse; }
.ic-globe-ring--3 { width:120px;height:120px;animation:ic-spin 15s linear infinite; }
@keyframes ic-spin { to { transform:rotate(360deg); } }
.ic-globe-icon { font-size:4rem;color:var(--ic-gold);z-index:2;animation:ic-float 4s ease-in-out infinite; }
@keyframes ic-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }
.ic-globe-dot { position:absolute;width:10px;height:10px;border-radius:50%;background:var(--ic-gold);box-shadow:0 0 8px var(--ic-gold);animation:ic-pulse 2s ease-in-out infinite; }
.ic-globe-dot:nth-child(2){animation-delay:.4s}.ic-globe-dot:nth-child(3){animation-delay:.8s}.ic-globe-dot:nth-child(4){animation-delay:1.2s}.ic-globe-dot:nth-child(5){animation-delay:1.6s}
@keyframes ic-pulse { 0%,100%{transform:scale(1);opacity:0.8}50%{transform:scale(1.5);opacity:1} }
/* ── Services ─────────── */
.ic-services { background:var(--ic-parchment);position:relative;padding:5rem 0; }
.ic-services-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem; }
.ic-service-card { background:#fff;border-radius:1rem;border:1px solid var(--ic-parchment-dark);border-top:3px solid var(--ic-gold);padding:2rem 1.75rem;position:relative;display:flex;flex-direction:column;gap:1rem;transition:transform 0.3s var(--ease-out),box-shadow 0.3s; }
.ic-service-card:hover { transform:translateY(-6px);box-shadow:0 20px 40px rgba(201,168,76,0.15); }
.ic-service-card--featured { grid-column:span 1;grid-row:span 2;background:linear-gradient(160deg,var(--ic-emerald) 0%,var(--ic-emerald-mid) 100%); }
.ic-service-card--featured h3 { color:#fff; }
.ic-service-card--featured p { color:rgba(255,255,255,0.8); }
.ic-service-card--featured .ic-service-tag { border-color:rgba(201,168,76,0.4);color:var(--ic-gold-light);background:rgba(201,168,76,0.1); }
.ic-service-card__glyph { font-family:var(--font-arabic-verse);font-size:3rem;font-weight:700;color:var(--ic-gold);line-height:1; }
.ic-service-card--featured .ic-service-card__glyph { font-size:4.5rem; }
.ic-service-card__body h3 { font-size:1.1rem;font-weight:700;color:var(--ic-ink);margin-bottom:0.4rem; }
.ic-service-card__body p { font-size:0.9rem;color:var(--ea-gray-600);line-height:1.7; }
.ic-service-tag { display:inline-block;padding:0.25rem 0.75rem;background:var(--ic-gold-10);color:var(--ic-gold-deep);border:1px solid var(--ic-gold-20);border-radius:999px;font-size:0.78rem;font-weight:600;align-self:flex-start;margin-top:auto; }

/* ═══════════════════════════════════════════════════════
   PREMIUM LEARNING PATHS SECTION (lp-*)
   Parchment background · Emerald hero card · Gold accents
   ═══════════════════════════════════════════════════════ */
@keyframes lp-glyph-float {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-10px) rotate(3deg); }
}
@keyframes lp-progress-grow {
    from { width: 0; }
}
@keyframes lp-dot-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.5; }
}

/* ── Section wrapper ── */
.lp-section {
    background: var(--ic-parchment);
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
}
.lp-arabesque {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.055'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Section header ── */
.lp-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.lp-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ic-gold-10);
    border: 1px solid var(--ic-gold-40);
    border-radius: 999px;
    padding: 0.4rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ic-gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1.25rem;
}
.lp-eyebrow-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--ic-gold);
    animation: lp-dot-pulse 1.8s ease-in-out infinite;
}
.lp-eyebrow-dot:last-child { animation-delay: 0.9s; }
.lp-header__title {
    font-family: var(--font-heading-ar);
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    font-weight: 800;
    color: var(--ic-ink);
    line-height: 1.25;
    margin-bottom: 1.1rem;
    position: relative;
    display: inline-block;
}
.lp-header__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; transform: translateX(-50%);
    width: 72px; height: 3px;
    background: linear-gradient(90deg, var(--ic-gold), var(--ic-gold-light));
    border-radius: 999px;
}
.lp-header__verse {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-arabic-verse);
    font-size: 1rem; font-style: italic;
    color: var(--ic-gold-deep);
    margin: 1.5rem 0 0.75rem;
}
.lp-bracket { font-size: 1.5em; color: var(--ic-gold); line-height: 1; }
.lp-header__sub {
    font-size: 1rem;
    color: var(--ea-gray-600);
    margin: 0 auto;
    max-width: 500px;
}

/* ── Layout: hero left + grid right ── */
.lp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* ── Hero Card (Featured — Quran) ── */
.lp-hero-card {
    background: linear-gradient(160deg, var(--ic-emerald) 0%, var(--ic-emerald-mid) 60%, #1a4a35 100%);
    border-radius: 1.5rem;
    border: 1px solid var(--ic-gold-20);
    padding: 2.5rem 2.25rem 2.25rem;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(13, 43, 31, 0.3), 0 0 0 1px rgba(201,168,76,0.15);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.lp-hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 72px rgba(13, 43, 31, 0.4), 0 0 0 1px rgba(201,168,76,0.3), var(--shadow-gold);
}
.lp-hero-card__bg {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.lp-hero-card__glyph-bg {
    position: absolute;
    bottom: -1.5rem; right: -1rem;
    font-family: var(--font-arabic-verse);
    font-size: 10rem; font-weight: 900;
    color: rgba(201,168,76,0.08);
    line-height: 1;
    animation: lp-glyph-float 6s ease-in-out infinite;
    user-select: none;
}
.lp-hero-card__badge {
    position: absolute;
    top: 1.5rem; left: 1.5rem;
    background: var(--ic-gold);
    color: var(--ic-ink);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 16px rgba(201,168,76,0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lp-hero-card__content {
    position: relative; z-index: 1;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lp-hero-card__glyph {
    font-family: var(--font-arabic-verse);
    font-size: 4rem; font-weight: 900;
    color: var(--ic-gold);
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.lp-hero-card__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}
.lp-hero-card__desc {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}
.lp-hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.lp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201,168,76,0.12);
    border: 1px solid var(--ic-gold-20);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    color: var(--ic-gold-light);
    font-weight: 600;
}
.lp-meta-item i { font-size: 0.75rem; color: var(--ic-gold); }
.lp-hero-card__progress { margin-bottom: 1.75rem; }
.lp-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.45rem;
}
.lp-progress-pct { color: var(--ic-gold); font-weight: 700; }
.lp-progress-track {
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
}
.lp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ic-gold-deep), var(--ic-gold), var(--ic-gold-light));
    border-radius: 999px;
    animation: lp-progress-grow 1.4s var(--ease-out) both;
    animation-delay: 0.5s;
}
.lp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ic-gold);
    color: var(--ic-ink);
    border-radius: 999px;
    padding: 0.8rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.lp-hero-cta:hover {
    background: var(--ic-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201,168,76,0.5);
    color: var(--ic-ink);
}

/* ── Side grid ── */
.lp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.lp-card--wide { grid-column: span 2; }

.lp-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--ic-parchment-dark);
    border-top: 3px solid transparent;
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-top-color 0.3s;
    cursor: pointer;
}
.lp-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--ic-gold-10), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.lp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(201,168,76,0.14);
    border-top-color: var(--ic-gold);
}
.lp-card:hover::before { opacity: 1; }
.lp-card:hover .lp-card__arrow { opacity: 1; transform: translateX(4px); }
[dir="rtl"] .lp-card:hover .lp-card__arrow { transform: translateX(-4px); }

.lp-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.lp-card__glyph-wrap {
    width: 2.75rem; height: 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--ic-emerald), var(--ic-emerald-mid));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-spring);
}
.lp-card:hover .lp-card__glyph-wrap { transform: scale(1.1) rotate(-4deg); }
.lp-card__glyph {
    font-family: var(--font-arabic-verse);
    font-size: 1.4rem; font-weight: 900;
    color: var(--ic-gold);
    line-height: 1;
}
.lp-card__level {
    font-size: 0.7rem; font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lp-card__level--all {
    background: rgba(13,43,31,0.08);
    color: var(--ic-emerald-light);
    border: 1px solid rgba(13,43,31,0.15);
}
.lp-card__level--inter {
    background: rgba(27,63,160,0.08);
    color: var(--ea-primary);
    border: 1px solid rgba(27,63,160,0.2);
}
.lp-card__level--adv {
    background: rgba(201,168,76,0.1);
    color: var(--ic-gold-deep);
    border: 1px solid var(--ic-gold-20);
}
.lp-card__title {
    font-size: 1rem; font-weight: 700;
    color: var(--ic-ink);
    line-height: 1.3;
}
.lp-card__desc {
    font-size: 0.85rem;
    color: var(--ea-gray-600);
    line-height: 1.65;
    flex: 1;
}
.lp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ic-parchment-dark);
}
.lp-card__tag {
    display: inline-block;
    background: var(--ic-gold-10);
    color: var(--ic-gold-deep);
    border: 1px solid var(--ic-gold-20);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.lp-card__arrow {
    color: var(--ic-gold);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s var(--ease-spring);
}

/* ── Trust strip ── */
.lp-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 3rem;
    padding: 1.25rem 2rem;
    background: var(--ic-emerald);
    border-radius: 1rem;
    border: 1px solid var(--ic-gold-20);
}
.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 600;
}
.lp-trust-item i { color: var(--ic-gold); font-size: 0.9rem; }
.lp-trust-divider { color: var(--ic-gold-40); font-size: 0.7rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lp-layout { grid-template-columns: 1fr; }
    .lp-hero-card { min-height: auto; }
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .lp-grid { grid-template-columns: 1fr; }
    .lp-card--wide { grid-column: span 1; }
    .lp-trust-strip { padding: 1rem; gap: 0.5rem 1rem; }
    .lp-trust-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════
   THE GOLDEN ASTROLABE HUB (ix-*)
   Interactive circular intersection point
   ═══════════════════════════════════════════════════════ */
@keyframes ix-spin { 100% { transform: rotate(360deg); } }
@keyframes ix-spin-reverse { 100% { transform: rotate(-360deg); } }
@keyframes ix-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.ix-section {
    background: linear-gradient(145deg, var(--ic-emerald-mid), var(--ic-ink));
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}
.ix-bg-pattern {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(circle at center, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.ix-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Left: Astrolabe ── */
.ix-astrolabe-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ix-astrolabe {
    position: relative;
    width: 440px; height: 440px;
    border-radius: 50%;
}

/* Rings */
.ix-ring {
    position: absolute; inset: 0;
    border-radius: 50%; pointer-events: none;
}
.ix-ring--outer {
    border: 1px dashed rgba(201,168,76,0.3);
    animation: ix-spin 40s linear infinite;
}
.ix-ring--middle {
    inset: 35px;
    border: 1px solid rgba(201,168,76,0.15);
    background: rgba(13,43,31,0.4);
    animation: ix-spin-reverse 30s linear infinite;
}
.ix-ring--inner {
    inset: 80px;
    border: 1px dashed rgba(201,168,76,0.4);
    animation: ix-spin 20s linear infinite;
}

/* Central Core */
.ix-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--ic-gold), var(--ic-gold-deep));
    border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(201,168,76,0.4), inset 0 4px 10px rgba(255,255,255,0.4);
    z-index: 10; pointer-events: none;
}
.ix-core-glow {
    position: absolute; inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.5) 0%, transparent 70%);
    animation: ix-glow-pulse 4s ease-in-out infinite;
    z-index: -1;
}
.ix-core-icon { font-size: 1.8rem; color: var(--ic-ink); margin-bottom: 0.2rem; }
.ix-core-text { font-size: 0.75rem; font-weight: 800; color: var(--ic-ink); text-transform: uppercase; letter-spacing: 0.05em; }

/* Nodes */
.ix-node {
    position: absolute;
    width: 64px; height: 64px;
    transform: translate(-50%, -50%);
    z-index: 20; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
/* Positioning the 4 nodes on the outer ring (radius ~220px) */
.ix-node--top    { top: 0; left: 50%; }
.ix-node--right  { top: 50%; left: 100%; }
.ix-node--bottom { top: 100%; left: 50%; }
.ix-node--left   { top: 50%; left: 0; }

.ix-node-dot {
    width: 50px; height: 50px;
    background: var(--ic-emerald-mid);
    border: 2px solid var(--ic-gold-40);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ic-gold); font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ix-node-label {
    position: absolute;
    white-space: nowrap;
    background: rgba(13,43,31,0.8);
    border: 1px solid var(--ic-gold-20);
    color: var(--ic-gold-light);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem; font-weight: 700;
    pointer-events: none;
    opacity: 0.7;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
/* Adjust label positions */
.ix-node--top .ix-node-label    { top: -45px; left: 50%; transform: translateX(-50%); }
.ix-node--right .ix-node-label  { right: -110px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .ix-node--right .ix-node-label { right: auto; left: -110px; }
.ix-node--bottom .ix-node-label { bottom: -45px; left: 50%; transform: translateX(-50%); }
.ix-node--left .ix-node-label   { left: -110px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .ix-node--left .ix-node-label { left: auto; right: -110px; }

/* Active Node State */
.ix-node.active .ix-node-dot,
.ix-node:hover .ix-node-dot {
    background: var(--ic-gold);
    border-color: var(--ic-gold-light);
    color: var(--ic-ink);
    transform: scale(1.25);
    box-shadow: 0 0 20px rgba(201,168,76,0.5);
}
.ix-node.active .ix-node-label,
.ix-node:hover .ix-node-label {
    opacity: 1;
    background: var(--ic-gold);
    color: var(--ic-ink);
    border-color: var(--ic-gold-light);
    box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

/* Connection Lines (Pseudo-elements from Core to Nodes) */
.ix-astrolabe::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 2px; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.2) 20%, rgba(201,168,76,0.2) 80%, transparent);
    pointer-events: none; z-index: 5;
}
.ix-astrolabe::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 100%; height: 2px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.2) 20%, rgba(201,168,76,0.2) 80%, transparent);
    pointer-events: none; z-index: 5;
}


/* ── Right: Info Panels ── */
.ix-info-wrap {
    display: flex; flex-direction: column;
}
.ix-info-header { margin-bottom: 2rem; }
.ix-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--ic-gold-light); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.ix-title {
    font-family: var(--font-heading-ar);
    font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800;
    color: #fff; line-height: 1.25; margin-bottom: 1rem;
}
.ix-subtitle {
    color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.7;
}

.ix-panels-container {
    position: relative;
    min-height: 320px; /* Prevents jumping */
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}
.ix-panel {
    position: absolute; inset: 0; padding: 2.5rem;
    opacity: 0; pointer-events: none; visibility: hidden;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.ix-panel.active {
    opacity: 1; pointer-events: all; visibility: visible;
    transform: translateY(0);
    position: relative; /* only active gets height */
    inset: auto; padding: 0;
}

.ix-panel-badge {
    align-self: flex-start;
    background: rgba(201,168,76,0.15); color: var(--ic-gold-light);
    border: 1px solid var(--ic-gold-20); border-radius: 999px;
    padding: 0.3rem 0.85rem; font-size: 0.75rem; font-weight: 700;
    margin-bottom: 1.25rem;
}
.ix-panel h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.ix-panel p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; flex-grow: 1; }

.ix-panel-stats {
    display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2rem;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.ix-stat {
    display: flex; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 600;
}
.ix-stat i { color: var(--ic-gold); font-size: 1rem; }

.ix-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.ix-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--ic-gold); color: var(--ic-ink);
    border-radius: 999px; padding: 0.8rem 1.75rem;
    font-size: 0.95rem; font-weight: 700; text-decoration: none;
    transition: all 0.3s; width: fit-content;
}
.ix-btn:hover {
    background: var(--ic-gold-light); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.3); color: var(--ic-ink);
}
.ix-btn-wa {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(37,211,102,0.1); color: #25D366;
    border: 1px solid rgba(37,211,102,0.3);
    border-radius: 999px; padding: 0.8rem 1.75rem;
    font-size: 0.95rem; font-weight: 700; text-decoration: none;
    transition: all 0.3s;
}
.ix-btn-wa:hover {
    background: #25D366; color: #fff;
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ── Navigation Controls ── */
.ix-nav-controls {
    display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: flex-end;
}
.ix-nav-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
    color: var(--ic-gold-light); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ix-nav-btn:hover {
    background: var(--ic-gold); color: var(--ic-ink); border-color: var(--ic-gold-light);
    transform: scale(1.1); box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ix-layout { grid-template-columns: 1fr; gap: 3rem; }
    .ix-astrolabe-wrap { order: 2; margin-top: 2rem; padding-bottom: 2rem; }
    .ix-info-wrap { order: 1; text-align: center; }
    .ix-eyebrow, .ix-panel-badge { margin-inline: auto; }
    .ix-panel-stats { justify-content: center; }
    .ix-actions { justify-content: center; }
}
@media (max-width: 640px) {
    .ix-astrolabe { width: 300px; height: 300px; }
    .ix-node-label { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
    .ix-node--right .ix-node-label { right: -80px; }
    [dir="rtl"] .ix-node--right .ix-node-label { right: auto; left: -80px; }
    .ix-node--left .ix-node-label { left: -80px; }
    [dir="rtl"] .ix-node--left .ix-node-label { left: auto; right: -80px; }
    .ix-panels-container { padding: 1.5rem; }
}
/* ── About ────────────── */
.ic-about { background:var(--ic-parchment);position:relative;padding:5rem 0; }
.ic-about__grid { display:grid;grid-template-columns:1fr 1.1fr;gap:4rem;align-items:center; }
.ic-about__image-wrap { position:relative; }
.ic-about__image-frame { position:relative;border-radius:1.25rem;overflow:hidden; }
.ic-about__image { width:100%;height:500px;object-fit:cover;display:block; }
.ic-about__image-border { position:absolute;inset:-8px;border:2px solid var(--ic-gold);border-radius:1.5rem;pointer-events:none;animation:ic-border-glow 3s ease-in-out infinite alternate; }
@keyframes ic-border-glow { from{box-shadow:0 0 20px rgba(201,168,76,0.2)}to{box-shadow:0 0 40px rgba(201,168,76,0.45)} }
.ic-about__badge { position:absolute;bottom:1.5rem;right:1.5rem;background:var(--ic-emerald);border:1px solid var(--ic-gold-40);border-radius:1rem;padding:1rem 1.25rem;text-align:center;box-shadow:var(--shadow-gold); }
.ic-about__badge-num { display:block;font-size:2rem;font-weight:800;color:var(--ic-gold);line-height:1; }
.ic-about__badge-txt { font-size:0.8rem;color:rgba(255,255,255,0.8);white-space:nowrap; }
.ic-about__heading { font-size:clamp(1.7rem,3.5vw,2.5rem);color:var(--ic-ink);font-weight:700;line-height:1.3;margin-bottom:1.25rem; }
.ic-about__hadith { background:var(--ic-gold-10);border-inline-start:3px solid var(--ic-gold);border-radius:0.5rem;padding:1rem 1.25rem;margin-bottom:1.25rem;font-family:var(--font-arabic-verse);font-size:1.05rem;color:var(--ic-ink-soft);font-style:italic;position:relative; }
.ic-about__hadith-ref { display:block;font-size:0.8rem;color:var(--ic-gold-deep);font-style:normal;margin-top:0.4rem;font-family:var(--font-body); }
.ic-about__desc { color:var(--ea-gray-600);line-height:1.8;margin-bottom:2rem; }
.ic-about__features { display:flex;flex-direction:column;gap:1.25rem; }
.ic-feature { display:flex;align-items:flex-start;gap:1rem; }
.ic-feature__icon { width:2.75rem;height:2.75rem;min-width:2.75rem;border-radius:0.75rem;background:linear-gradient(135deg,var(--ic-emerald),var(--ic-emerald-mid));display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--ic-gold); }
.ic-feature__text h4 { font-size:1rem;font-weight:700;color:var(--ic-ink);margin-bottom:0.25rem; }
.ic-feature__text p { font-size:0.88rem;color:var(--ea-gray-600);line-height:1.6; }
/* ── Testimonials ──────── */
.ic-testimonials { background:var(--ic-emerald);position:relative;padding:5rem 0; }
.ic-swiper { padding-bottom:3rem !important; }
.ic-swiper-pagination { bottom:0 !important; }
.ic-swiper-pagination .swiper-pagination-bullet { background:var(--ic-gold);opacity:0.4; }
.ic-swiper-pagination .swiper-pagination-bullet-active { background:var(--ic-gold);opacity:1; }
.ic-tcard { background:rgba(255,255,255,0.06);backdrop-filter:blur(10px);border:1px solid var(--ic-gold-20);border-radius:1.25rem;padding:2rem 2.25rem;height:100%; }
.ic-tcard__stars { color:var(--ic-gold);font-size:1.1rem;margin-bottom:0.5rem;letter-spacing:0.1em; }
.ic-tcard__quote-icon { font-size:3rem;color:var(--ic-gold);line-height:0.8;margin-bottom:0.75rem;opacity:0.6; }
.ic-tcard__text { color:rgba(255,255,255,0.85);line-height:1.8;font-size:0.95rem;margin-bottom:1.5rem;flex:1; }
.ic-tcard__author { display:flex;align-items:center;gap:0.75rem; }
.ic-tcard__avatar { width:2.75rem;height:2.75rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;color:#fff;flex-shrink:0;border:2px solid var(--ic-gold-40); }
.ic-tcard__name { display:block;font-weight:700;color:#fff;font-size:0.92rem; }
.ic-tcard__role { display:block;font-size:0.8rem;color:var(--ic-gold-light); }
/* ── Stats ────────────── */
.ic-stats { background:var(--ic-emerald);position:relative;padding:4.5rem 0;border-top:1px solid var(--ic-gold-20); }
.ic-stats__grid { display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:1.5rem;align-items:center; }
.ic-stat-item { text-align:center;padding:1.5rem 1rem; }
.ic-stat-item__num { font-size:clamp(2.5rem,5vw,4rem);font-weight:800;color:var(--ic-gold);line-height:1;margin-bottom:0.4rem;font-family:var(--font-heading-ar); }
.ic-stat-item__label { font-size:1rem;font-weight:600;color:#fff;margin-bottom:0.25rem; }
.ic-stat-item__sub { font-size:0.8rem;color:rgba(255,255,255,0.5); }
.ic-stat-sep-v { color:var(--ic-gold-40);font-size:1.25rem;align-self:center; }
/* ── FAQ ──────────────── */
.ic-faq { background:var(--ic-parchment);position:relative;padding:5rem 0; }
.ic-faq__list { display:flex;flex-direction:column;gap:0.75rem;margin-bottom:2.5rem; }
.ic-faq-item { background:#fff;border-radius:0.75rem;border:1px solid var(--ic-parchment-dark);overflow:hidden;transition:box-shadow 0.3s; }
.ic-faq-item:hover { box-shadow:0 4px 16px rgba(201,168,76,0.1); }
.ic-faq-item--open { border-color:var(--ic-gold-40);box-shadow:0 4px 16px rgba(201,168,76,0.12); }
.ic-faq-item--open .ic-faq-icon { transform:rotate(45deg); }
.ic-faq-item--open .ic-faq-a { max-height:200px; }
.ic-faq-q { width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;background:transparent;border:none;cursor:pointer;text-align:start;font-size:0.98rem;font-weight:600;color:var(--ic-ink);border-inline-start:3px solid transparent;transition:border-color 0.3s; }
.ic-faq-item--open .ic-faq-q { border-inline-start-color:var(--ic-gold); }
.ic-faq-icon { font-size:0.8rem;color:var(--ic-gold);transition:transform 0.3s;flex-shrink:0; }
.ic-faq-a { max-height:0;overflow:hidden;transition:max-height 0.4s ease; }
.ic-faq-a p { padding:0 1.5rem 1.25rem;color:var(--ea-gray-600);line-height:1.8;font-size:0.9rem;margin:0; }
.ic-faq__cta { text-align:center;margin-top:2rem; }
/* ── CTA Banner ────────── */
.ic-cta-banner { position:relative;overflow:hidden;padding:8rem 0; }
.ic-cta-banner__bg { position:absolute;inset:0; }
.ic-cta-banner__img { width:100%;height:100%;object-fit:cover; }
.ic-cta-banner__overlay { position:absolute;inset:0;background:linear-gradient(to bottom,rgba(13,43,31,0.85),rgba(10,18,8,0.95)); }
.ic-cta-banner__content { position:relative;z-index:2; }
.ic-cta-banner__center { text-align:center;max-width:720px;margin:0 auto; }
.ic-cta-banner__icon { font-size:2.5rem;color:var(--ic-gold);margin-bottom:1.5rem;display:block; }
.ic-cta-banner__verse { font-family:var(--font-arabic-verse);font-size:clamp(1.5rem,3vw,2rem);color:#fff;font-weight:700;padding:0 0.5rem; }
.ic-cta-banner__ref { color:var(--ic-gold);font-size:0.85rem;margin-bottom:1.5rem;display:block; }
.ic-cta-banner__heading { font-size:clamp(1.8rem,4vw,3rem);color:#fff;font-weight:800;margin-bottom:1rem; }
.ic-cta-banner__desc { color:rgba(255,255,255,0.75);font-size:1.05rem;line-height:1.7;margin-bottom:2.5rem; }
.ic-cta-banner__actions { display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap; }
.ic-verse-block { display:flex;align-items:center;justify-content:center;gap:0.75rem;margin-bottom:1rem; }
/* ── Responsive ────────── */
@media (max-width: 1024px) {
    .ic-services-grid { grid-template-columns:repeat(2,1fr); }
    .ic-service-card--featured { grid-row:span 1; }
    .ic-bento { grid-template-columns:1fr 1fr; }
    .ic-bento-card--wide { grid-column:span 2; }
    .ic-bento-card--contact { grid-column:span 2; }
    .ic-bento-card--half { grid-column:span 1; }
    .ic-about__grid { grid-template-columns:1fr;gap:2.5rem; }
    .ic-about__image { height:350px; }
    .ic-reach__card { grid-template-columns:1fr; }
    .ic-reach__visual { display:none; }
    .ic-stats__grid { grid-template-columns:1fr 1fr;gap:0; }
    .ic-stat-sep-v { display:none; }
}
@media (max-width: 768px) {
    .ic-services-grid { grid-template-columns:1fr; }
    .ic-bento { grid-template-columns:1fr; }
    .ic-bento-card--wide,.ic-bento-card--contact,.ic-bento-card--half { grid-column:span 1; }
    .ic-stats__grid { grid-template-columns:1fr 1fr; }
    .ic-cta-banner { padding:5rem 0; }
    .ic-cta-banner__actions { flex-direction:column;align-items:stretch; }
    .ic-cta-banner__actions .ih-btn { justify-content:center; }
}

/* ═══════════════════════════════════════════════════════════════
   ISLAMIC OVERRIDES — Navbar, Footer, and Section Tweaks
   ═══════════════════════════════════════════════════════════════ */

/* ── Navbar ────────────── */
.navbar-clean {
    background-color: var(--ic-emerald) !important;
    border-bottom: 1px solid rgba(201,168,76,0.3) !important;
}
.navbar-clean .navbar-brand-name { color: #fff !important; }
.navbar-clean .navbar-brand-eyebrow { color: var(--ic-gold) !important; }
.navbar-clean .navbar-link { color: rgba(255,255,255,0.85) !important; font-weight: 600 !important; }
.navbar-clean .navbar-link:hover { color: var(--ic-gold-light) !important; }
.navbar-clean .navbar-lang-switch { border-color: rgba(201,168,76,0.4) !important; }
.navbar-clean .navbar-lang-switch-option { color: var(--ic-gold) !important; }
.navbar-clean .navbar-lang-switch-option.is-active { background: var(--ic-gold) !important; color: var(--ic-ink) !important; }
.navbar-clean .navbar-cta { background: var(--ic-gold) !important; color: var(--ic-ink) !important; border: none !important; font-weight: 700 !important; }
.navbar-clean .navbar-cta:hover { background: var(--ic-gold-light) !important; transform: translateY(-2px); }
.navbar-clean .menu-icon-line-top,
.navbar-clean .menu-icon-line-middle-inner,
.navbar-clean .menu-icon-line-bottom { background-color: var(--ic-gold) !important; }

/* ── Footer ────────────── */
.footer-clean {
    background-color: var(--ic-emerald) !important;
    border-top: 3px solid var(--ic-gold) !important;
}
.footer-clean .footer-intro-strip { background: var(--ic-emerald-mid) !important; border-color: var(--ic-gold-20) !important; }
.footer-clean .footer-intro-title { color: #fff !important; }
.footer-clean .footer-intro-text, .footer-clean .footer-kicker, .footer-clean .footer-brand-subtitle, .footer-clean .footer-brand-description { color: rgba(255,255,255,0.75) !important; }
.footer-clean .footer-intro-cta { background: var(--ic-gold) !important; color: var(--ic-ink) !important; border: none !important; font-weight: 700 !important; }
.footer-clean .footer-intro-cta:hover { background: var(--ic-gold-light) !important; transform: translateY(-2px); }
.footer-clean .footer-brand-name { color: var(--ic-gold) !important; }
.footer-clean .text-weight-bold { color: #fff !important; }
.footer-clean .footer-link { color: rgba(255,255,255,0.7) !important; }
.footer-clean .footer-link:hover { color: var(--ic-gold) !important; padding-inline-start: 5px; transition: all 0.3s ease; }
.footer-clean .footer-contact-label { color: var(--ic-gold) !important; }
.footer-clean .footer-contact-card a { color: #fff !important; }
.footer-clean .footer-contact-card a:hover { color: var(--ic-gold-light) !important; }
.footer-clean .footer-social-link { background: rgba(255,255,255,0.05) !important; border-color: rgba(201,168,76,0.3) !important; color: var(--ic-gold) !important; }
.footer-clean .footer-social-link:hover { background: var(--ic-gold) !important; color: var(--ic-ink) !important; }
.footer-clean .footer-bottom-bar { border-color: rgba(201,168,76,0.15) !important; }
.footer-clean .footer-credit-text { color: rgba(255,255,255,0.5) !important; }
.footer-clean .footer-feature-list span { border-color: rgba(201,168,76,0.3) !important; color: var(--ic-gold-light) !important; background: rgba(201,168,76,0.1) !important; }

/* ── Hero Bolder ────────── */
.ih-hero__headline {
    font-weight: 900 !important;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

/* ── Polish "ماذا نعلم" ── */
.section-services .tittle-heading-wrapper h2 {
    font-family: var(--font-heading-ar) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: var(--ic-ink) !important;
    font-weight: 800 !important;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}
.section-services .tittle-heading-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--ic-gold);
    border-radius: 3px;
}

/* ── Polish About ──────── */
.home-about-content .heading-style-h2 {
    font-family: var(--font-heading-ar) !important;
    font-weight: 800 !important;
    color: var(--ic-ink) !important;
    line-height: 1.3 !important;
}
.home-about-content .text-size-medium {
    background: var(--ic-gold-10) !important;
    border-inline-start: 4px solid var(--ic-gold) !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    color: var(--ic-ink-soft) !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM NAVBAR & HERO REDESIGN (V2)
   ═══════════════════════════════════════════════════════════════ */

/* ── Rounded Floating Navbar ──────── */
.ic-navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1400px;
    z-index: 1000;
    background-color: rgba(13, 43, 31, 0.95) !important; /* Deep Emerald with slight transparency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    border-top: 1px solid rgba(201, 168, 76, 0.4) !important; /* subtle top reflection */
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}

.ic-navbar.nav-hidden {
    transform: translate(-50%, -150%);
}

/* Give hero section breathing room under the floating navbar */
.ih-hero__content-wrap {
    padding-top: 130px;
}

@media (max-width: 991px) {
    .ic-navbar {
        padding: 0.75rem 1rem;
        top: 1rem;
        width: calc(100% - 2rem);
        border-radius: 50px;
    }
}

.ic-navbar__left,
.ic-navbar__right {
    display: flex;
    align-items: center;
}

.ic-navbar__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.ic-navbar__logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.ic-navbar__brand-text {
    display: flex;
    flex-direction: column;
}

.ic-navbar__eyebrow {
    font-size: 0.7rem;
    color: var(--ic-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.ic-navbar__name {
    font-family: var(--font-heading-ar);
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ic-navbar__menu {
    display: flex;
    align-items: center;
}

.ic-navbar__nav-list {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.ic-navbar__link.is-active {
    color: #fff;
    background: rgba(201, 168, 76, 0.12); /* Subtle gold background */
    border: 1px solid rgba(201, 168, 76, 0.4); /* Gold frame */
}

.ic-navbar__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: var(--ic-gold);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.ic-navbar__link:hover {
    color: #fff;
}

/* Don't show hover underline on the active framed link */
.ic-navbar__link:not(.is-active):hover::after {
    transform: translateX(-50%) scaleX(1);
}

.ic-navbar__lang {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    text-decoration: none;
    margin-inline-end: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.ic-navbar__lang-opt {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.ic-navbar__lang-opt.is-active {
    color: var(--ic-gold);
}

.ic-navbar__lang-div {
    color: rgba(255, 255, 255, 0.3);
}

.ic-navbar__cta {
    background: var(--ic-gold);
    color: var(--ic-ink);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, background 0.3s;
}

.ic-navbar__cta:hover {
    background: #dfbc55;
    transform: translateY(-2px);
}

.ic-navbar__mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--ic-gold);
    font-size: 1.5rem;
    margin-inline-start: 1rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ic-navbar__menu { display: none; }
    .ic-navbar__cta { display: none; }
    .ic-navbar__mobile-toggle { display: block; }
}

/* ── Glassmorphic Bottom Bar ──────── */
/* ── Glassmorphic Bottom Bar ──────── */
.ih-hero__bottom-bar {
    position: relative;
    width: 100%;
    background: rgba(13, 43, 31, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 1.5rem 0;
    z-index: 10;
    margin-top: 4rem; /* Adds spacing between buttons and the bar */
}

.ih-hero__bottom-bar .ih-stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}

.ih-hero__bottom-bar .ih-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ih-hero__bottom-bar .ih-stat__num {
    font-family: var(--font-heading-en);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ic-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ih-hero__bottom-bar .ih-stat__lbl {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ih-hero__bottom-bar .ih-stat-sep {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.5), transparent);
}

@media (max-width: 767px) {
    .ih-hero__bottom-bar .ih-stat-sep {
        display: none;
    }
    .ih-hero__bottom-bar .ih-stats-row {
        gap: 2rem;
    }
    .ih-hero__bottom-bar .ih-stat {
        flex: 1 1 40%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HERO UPGRADE: BOLD & STRONG (REFINED)
   ═══════════════════════════════════════════════════════════════ */
.ih-hero--bold .ih-hero__overlay--vignette {
    background: radial-gradient(circle at center, transparent 15%, rgba(13, 43, 31, 0.75) 85%);
    opacity: 1 !important;
}

.ih-hero--bold .ih-hero__overlay--base {
    background: rgba(13, 43, 31, 0.5) !important;
}

/* Supercharge the typography (Refined) */
.ih-hero--bold .ih-bismillah__text {
    font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
    color: var(--ic-gold-light) !important;
}

.ih-hero--bold .ih-verse-block__text {
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    color: var(--ic-gold) !important;
    text-shadow: 0 4px 20px rgba(201,168,76,0.4), 0 2px 8px rgba(0,0,0,0.8) !important;
    margin-bottom: 1.25rem !important;
}

.ih-hero--bold .ih-hero__headline {
    font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8) !important;
    line-height: 1.2 !important;
    margin-bottom: 1.25rem !important;
}

.ih-hero--bold .ih-hero__desc {
    font-size: clamp(1.05rem, 1.5vw, 1.15rem) !important;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
    max-width: 800px !important;
    margin: 0 auto 2.5rem auto !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9) !important;
}

/* Supercharge Buttons (Refined) */
.ih-hero--bold .ih-btn {
    padding: 1rem 2rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
}
.ih-hero--bold .ih-btn--primary {
    box-shadow: 0 6px 20px rgba(201,168,76,0.3) !important;
}
.ih-hero--bold .ih-btn--primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(201,168,76,0.5) !important;
}
.ih-hero--bold .ih-btn--outline {
    border: 2px solid rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(8px) !important;
    background: rgba(255,255,255,0.05) !important;
}
.ih-hero--bold .ih-btn--outline:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #fff !important;
}
/* ═══════════════════════════════════════════════════════════════
   THE MANUSCRIPT LAYOUT (Why Motanafesoon Upgrade)
   ═══════════════════════════════════════════════════════════════ */

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

.ic-about--manuscript {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    background: var(--ic-ink);
}

/* Watermark */
.im-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-arabic-verse);
    font-size: clamp(15rem, 30vw, 35rem);
    color: var(--ic-gold);
    opacity: 0.02; /* Extremely faint */
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Left Column: Image Composition */
.im-composition {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.im-mandala {
    position: absolute;
    width: 120%;
    height: 120%;
    background-image: radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    animation: im-mandala-spin 120s linear infinite;
    z-index: 0;
}

.im-image-primary {
    position: relative;
    width: 85%;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.im-image-primary img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.im-image-border {
    position: absolute;
    inset: 12px;
    border: 2px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    pointer-events: none;
}

.im-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(13, 43, 31, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201,168,76,0.5);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(201,168,76,0.2);
    z-index: 2;
}
[dir="rtl"] .im-experience-badge {
    right: auto;
    left: -20px;
}
.im-badge-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 15px rgba(201,168,76,0.3);
    pointer-events: none;
}
.im-badge-num {
    font-family: var(--font-heading-en);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ic-gold);
    line-height: 1;
}
.im-badge-txt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Right Column: Typography & Cards */
.im-manuscript-quote {
    position: relative;
    padding: 2rem;
    margin: 2rem 0;
    background: linear-gradient(to right, rgba(201,168,76,0.05), transparent);
    border-inline-start: 3px solid var(--ic-gold);
    border-radius: 8px;
}
.im-quote-mark {
    font-size: 3rem;
    color: rgba(201,168,76,0.2);
    position: absolute;
    line-height: 1;
}
.im-quote-mark--left { top: 0.5rem; inset-inline-start: 1rem; }
.im-quote-mark--right { bottom: 0.5rem; inset-inline-end: 1rem; transform: rotate(180deg); }

.im-quote-text {
    font-family: var(--font-arabic-verse);
    font-size: 1.8rem;
    color: var(--ic-gold-light);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.im-quote-ref {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Feature Cards Grid */
.im-feature-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.im-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.im-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(201,168,76,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.im-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(201,168,76,0.1);
}
.im-feature-card:hover::before {
    opacity: 1;
}

.im-feature-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,168,76,0.1);
    border-radius: 50%;
    color: var(--ic-gold);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.im-feature-card:hover .im-feature-card__icon {
    background: var(--ic-gold);
    color: var(--ic-ink);
    box-shadow: 0 0 20px rgba(201,168,76,0.6);
}

.im-feature-card__text {
    position: relative;
    z-index: 1;
}
.im-feature-card__text h4 {
    font-family: var(--font-heading-ar);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.4rem;
}
.im-feature-card__text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .im-composition { min-height: 400px; margin-bottom: 4rem; }
    .im-experience-badge { bottom: -10px; }
}
@media (max-width: 767px) {
    .im-watermark { font-size: 10rem; }
    .im-quote-text { font-size: 1.4rem; }
}
/* ═══════════════════════════════════════════════════════════════
   THE SPIRITUAL JOURNEY (Testimonials Upgrade)
   ═══════════════════════════════════════════════════════════════ */

@keyframes ts-starlight {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
@keyframes ts-halo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ts-spiritual-journey {
    position: relative;
    overflow: hidden;
    background: var(--ic-ink);
}

/* Background Layers */
.ts-starlight-bg {
    position: absolute;
    inset: 0;
    /* Create a subtle starlight pattern using radial gradients */
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.2), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, rgba(201,168,76,0.2), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.1), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, rgba(201,168,76,0.15), rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: ts-starlight 60s linear infinite;
    z-index: 1;
    opacity: 0.6;
}

.ts-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-arabic-verse);
    font-size: clamp(10rem, 25vw, 30rem);
    color: var(--ic-gold);
    opacity: 0.02;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Card Styling */
.ts-swiper {
    padding: 2rem 1rem 4rem 1rem !important; /* Space for shadows and pagination */
}

.ts-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px !important;
    padding: 2.5rem !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ts-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(201,168,76,0.3) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(201,168,76,0.1) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Inner Glow Effect */
.ts-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(201,168,76,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.ts-card:hover .ts-card__glow {
    opacity: 1;
}

/* Gold Accent Line */
.ts-card__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ic-gold), transparent);
    opacity: 0.3;
    transition: opacity 0.5s ease, height 0.3s ease;
}
.ts-card:hover .ts-card__accent {
    opacity: 1;
    height: 4px;
}

/* Typography Overrides */
.ts-quote-icon {
    font-size: 3rem !important;
    color: rgba(201,168,76,0.3) !important;
    text-shadow: 0 0 15px rgba(201,168,76,0.2);
    margin-bottom: 1rem !important;
    transition: color 0.3s ease;
}
.ts-card:hover .ts-quote-icon {
    color: rgba(201,168,76,0.6) !important;
}

/* Avatar & Halo */
.ts-author {
    margin-top: auto !important; /* Push to bottom */
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ts-avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    margin-inline-end: 1rem;
    flex-shrink: 0;
}

.ts-avatar-halo {
    position: absolute;
    inset: -4px;
    border: 1px dashed rgba(201,168,76,0.4);
    border-radius: 50%;
    animation: ts-halo-spin 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease, border-color 0.4s ease;
}
.ts-card:hover .ts-avatar-halo {
    opacity: 1;
    border-color: rgba(201,168,76,0.8);
}

.ts-avatar {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.ts-role {
    color: rgba(201,168,76,0.8) !important;
    font-weight: 500 !important;
}

/* Navigation & Pagination Refinements */
.ts-nav-arrow {
    background: rgba(13, 43, 31, 0.6) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease;
}
.ts-nav-arrow::after {
    font-size: 1.2rem !important;
}
.ts-nav-arrow:hover {
    background: var(--ic-gold) !important;
    color: var(--ic-ink) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(201,168,76,0.4);
}

.ts-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}
.ts-pagination .swiper-pagination-bullet-active {
    background: var(--ic-gold) !important;
    box-shadow: 0 0 10px rgba(201,168,76,0.5);
    transform: scale(1.2);
}
/* ═══════════════════════════════════════════════════════════════
   THE PILLARS OF SUCCESS (Stats Upgrade)
   ═══════════════════════════════════════════════════════════════ */
.ic-stats--pillars {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.ic-stats--pillars .ic-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
@media (max-width: 991px) {
    .ic-stats--pillars .ic-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ic-stats--pillars .ic-stats__grid { grid-template-columns: 1fr; }
}

.im-stat-pillar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.im-stat-pillar:hover {
    transform: translateY(-10px);
    border-color: rgba(201,168,76,0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(201,168,76,0.1);
}

.im-stat-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, rgba(201,168,76,0.15), transparent);
    transition: height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 0;
}
.im-stat-pillar:hover .im-stat-glow {
    height: 100%;
}

.im-stat-num-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.ic-stats--pillars .ic-stat-item__num {
    font-family: var(--font-heading-en);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    /* Metallic Gold Gradient */
    background: linear-gradient(135deg, #FFF6D3, #C9A84C, #8C6A1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

.ic-stats--pillars .ic-stat-item__label {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.ic-stats--pillars .ic-stat-item__sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   THE ILLUMINATED SCROLL (FAQ Upgrade)
   ═══════════════════════════════════════════════════════════════ */
.ic-faq--scroll {
    position: relative;
    overflow: hidden;
    background: var(--ic-ink);
}

.im-scroll-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    background-size: 800px;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.ic-faq--scroll .ic-faq__list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.im-faq-item {
    background: rgba(13, 43, 31, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s ease;
}

.im-faq-item:hover {
    border-color: rgba(201,168,76,0.3);
    background: rgba(13, 43, 31, 0.6);
}

.im-faq-item--open {
    border-color: rgba(201,168,76,0.6);
    background: rgba(201,168,76,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(201,168,76,0.05);
}

.im-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-heading-ar);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
    transition: color 0.3s ease;
}

.im-faq-item:hover .im-faq-q {
    color: var(--ic-gold-light);
}

.im-faq-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ic-gold);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
    margin-inline-start: 1rem;
}

.im-faq-item:hover .im-faq-icon-wrap {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.4);
}

.im-faq-item--open .im-faq-icon-wrap {
    background: var(--ic-gold);
    color: var(--ic-ink);
    transform: rotate(135deg); /* Turns the + into an x */
    box-shadow: 0 0 15px rgba(201,168,76,0.4);
}

.im-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.im-faq-item--open .im-faq-a {
    max-height: 500px;
}

.im-faq-a-inner {
    padding: 0 2rem 1.5rem 2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px dashed rgba(201,168,76,0.2);
    margin-top: -0.5rem;
    padding-top: 1.5rem;
    position: relative;
}

/* Optional: Golden Backlight for Answer */
.im-faq-item--open .im-faq-a-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(201,168,76,0.08), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 767px) {
    .im-faq-q { padding: 1.25rem 1rem; font-size: 1.05rem; }
    .im-faq-a-inner { padding: 0 1rem 1.25rem 1rem; }
}
/* ═══════════════════════════════════════════════════════════════
   FINAL CTA - Big Card Upgrade & FAQ White Text Fix
   ═══════════════════════════════════════════════════════════════ */

/* Fix FAQ text color */
.im-faq-a-inner,
.im-faq-a-inner p {
    color: #ffffff !important;
}

/* Big Card Layout for CTA */
.ic-cta-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 6rem 3rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(201,168,76,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ic-cta-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ic-cta-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ic-cta-card__overlay {
    position: absolute;
    inset: 0;
    /* Deep gradient vignette for the card */
    background: radial-gradient(circle at center, rgba(13, 43, 31, 0.7) 0%, rgba(13, 43, 31, 0.95) 100%);
}

.ic-cta-card__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.ic-cta-card__icon {
    font-size: 3rem;
    color: var(--ic-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(201,168,76,0.5);
}

.ic-cta-card__verse-wrap {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.ic-cta-card__verse {
    font-family: var(--font-arabic-verse);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--ic-gold-light);
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.ic-cta-card__ref {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.ic-cta-card__heading {
    font-family: var(--font-heading-ar);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.ic-cta-card__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ic-cta-card__btn-primary {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 25px rgba(201,168,76,0.4) !important;
}
.ic-cta-card__btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(201,168,76,0.6) !important;
}

.ic-cta-card__btn-outline {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(8px);
}
.ic-cta-card__btn-outline:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #fff !important;
}

@media (max-width: 767px) {
    .ic-cta-card { padding: 4rem 1.5rem; border-radius: 16px; }
    .ic-cta-card__actions { flex-direction: column; width: 100%; gap: 1rem; }
    .ic-cta-card__actions .ih-btn { width: 100%; justify-content: center; }
}
/* ═══════════════════════════════════════════════════════════════
   THE MIHRAB SILHOUETTE (Footer Upgrade)
   ═══════════════════════════════════════════════════════════════ */

.im-footer-mihrab {
    position: relative;
    background-color: var(--ic-ink);
    color: #fff;
    padding-top: 8rem;
    overflow: hidden;
    margin-top: 4rem; /* Space for the archway to overlap above */
}

/* 1. The Archway Edge */
.im-footer-archway {
    position: absolute;
    top: -119px; /* Sit right above the footer */
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 -10px 20px rgba(201,168,76,0.2));
}
.im-footer-archway svg {
    display: block;
    width: 100%;
    height: 100%;
}
.im-archway-shape {
    fill: var(--ic-ink);
}

/* 2. The Skyline Foundation */
.im-footer-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: url('/images/islamic-cta-mosque.jpg');
    background-size: cover;
    background-position: bottom center;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    pointer-events: none;
    z-index: 0;
}

/* 3. The Calligraphic Watermark */
.im-footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-arabic-verse);
    font-size: clamp(8rem, 20vw, 25rem);
    color: var(--ic-gold);
    opacity: 0.03;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Content Wrapper */
.im-footer-content-wrap {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}

/* Grid & Pillars */
.im-footer-grid {
    display: grid;
    grid-template-columns: 2fr auto 1fr auto 1fr auto 1.5fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 4rem;
}

@media (max-width: 1100px) {
    .im-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .im-footer-pillar { display: none; } /* Hide pillars on small screens */
}
@media (max-width: 767px) {
    .im-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.im-footer-pillar {
    width: 1px;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
}

/* Column Content */
.im-footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.im-footer-brand-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
.im-brand-name {
    font-family: var(--font-heading-ar);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ic-gold-light);
}
.im-brand-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.im-footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 90%;
}

.im-footer-heading {
    font-family: var(--font-heading-ar);
    color: var(--ic-gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lantern Socials */
.im-footer-socials {
    display: flex;
    gap: 1rem;
}

.im-lantern-link {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    text-decoration: none;
    overflow: hidden;
}

.im-lantern-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201,168,76,0.6), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

.im-lantern-link:hover {
    color: var(--ic-ink);
    border-color: var(--ic-gold);
    background: var(--ic-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(201,168,76,0.4);
}
.im-lantern-link:hover .im-lantern-glow {
    opacity: 1;
}

/* Navigation Links */
.im-footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.im-nav-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.im-nav-arrow {
    font-size: 0.7rem;
    color: var(--ic-gold);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-inline-end: 0;
    width: 0;
}

.im-nav-link:hover {
    color: var(--ic-gold-light);
    padding-inline-start: 10px;
}
.im-nav-link:hover .im-nav-arrow {
    opacity: 1;
    transform: translateX(0);
    margin-inline-end: 8px;
    width: auto;
}

/* Contact List */
.im-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.im-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.im-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201,168,76,0.1);
    color: var(--ic-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(201,168,76,0.3);
}

.im-contact-text {
    display: flex;
    flex-direction: column;
}

.im-contact-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.2rem;
}

.im-contact-val {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.im-contact-val:hover {
    color: var(--ic-gold);
}

/* Bottom Bar */
.im-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px dashed rgba(201,168,76,0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.im-footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.im-footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.im-legal-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.im-legal-link:hover {
    color: var(--ic-gold);
}
/* ═══════════════════════════════════════════════════════════════
   FINAL CTA CARD - UPGRADE
   ═══════════════════════════════════════════════════════════════ */
.ic-cta-card {
    border: 2px solid rgba(201,168,76,0.4) !important;
    box-shadow: 0 40px 100px rgba(13, 43, 31, 0.15), 0 0 60px rgba(201,168,76,0.15), inset 0 0 40px rgba(201,168,76,0.1) !important;
    transform: translateY(-10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ic-cta-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 120px rgba(13, 43, 31, 0.2), 0 0 80px rgba(201,168,76,0.25), inset 0 0 50px rgba(201,168,76,0.15) !important;
}

.ic-cta-card__overlay {
    background: radial-gradient(circle at center, rgba(13, 43, 31, 0.6) 0%, rgba(13, 43, 31, 0.95) 100%) !important;
}

.ic-cta-card__heading {
    text-shadow: 0 5px 25px rgba(0,0,0,0.9), 0 0 20px rgba(201,168,76,0.2) !important;
}
/* ═══════════════════════════════════════════════════════════════
   THE SACRED TREE OF KNOWLEDGE (شجرة العلم) — Part 1: Layout
   ═══════════════════════════════════════════════════════════════ */
@keyframes st-pulse { 0%,100%{box-shadow:0 0 20px rgba(201,168,76,0.3);} 50%{box-shadow:0 0 40px rgba(201,168,76,0.7);} }
@keyframes st-float-particle { 0%{transform:translateY(0) scale(1);opacity:0;} 10%{opacity:1;} 90%{opacity:0.6;} 100%{transform:translateY(-400px) scale(0);opacity:0;} }

.st-section { position:relative; background:var(--ic-ink); padding:6rem 0; overflow:hidden; }
.st-bg-pattern { position:absolute; inset:0; background-image:radial-gradient(circle, rgba(201,168,76,0.12) 1px, transparent 1px); background-size:36px 36px; opacity:0.12; z-index:0; }
.st-particles { position:absolute; inset:0; z-index:1; pointer-events:none; }
.st-particles::before,.st-particles::after { content:''; position:absolute; width:4px; height:4px; background:var(--ic-gold); border-radius:50%; animation:st-float-particle 6s infinite ease-out; }
.st-particles::before { left:30%; bottom:0; animation-delay:0s; }
.st-particles::after { left:65%; bottom:0; animation-delay:3s; }

.st-verse { font-family:var(--font-arabic-verse); font-size:clamp(1.1rem,2vw,1.5rem); color:rgba(255,255,255,0.7); margin-top:1rem; text-align:center; }

/* Tree Layout */
.st-tree-wrap { position:relative; display:flex; flex-direction:column; align-items:center; padding:4rem 0 2rem; }

/* Trunk */
.st-trunk { position:relative; z-index:5; width:120px; height:120px; border-radius:50%; cursor:pointer; transition:all 0.4s ease; }
.st-trunk-pulse { position:absolute; inset:-8px; border-radius:50%; border:2px dashed rgba(201,168,76,0.4); animation:st-pulse 3s infinite ease-in-out; }
.st-trunk-inner { width:100%; height:100%; border-radius:50%; background:linear-gradient(135deg,rgba(201,168,76,0.2),rgba(13,43,31,0.8)); border:2px solid rgba(201,168,76,0.6); display:flex; flex-direction:column; align-items:center; justify-content:center; backdrop-filter:blur(12px); }
.st-trunk-glyph { font-family:var(--font-arabic-verse); font-size:2.5rem; color:var(--ic-gold); line-height:1; }
.st-trunk-label { font-size:0.85rem; color:rgba(255,255,255,0.8); margin-top:4px; font-weight:600; }
.st-trunk.st-active .st-trunk-inner,.st-trunk:hover .st-trunk-inner { background:linear-gradient(135deg,rgba(201,168,76,0.4),rgba(13,43,31,0.6)); border-color:var(--ic-gold); box-shadow:0 0 30px rgba(201,168,76,0.5); }

/* Branches */
.st-branches { position:absolute; top:50%; left:50%; width:100%; height:100%; z-index:1; pointer-events:none; }
.st-branch { position:absolute; background:rgba(201,168,76,0.15); transition:all 0.5s ease; }
.st-branch--lit { background:rgba(201,168,76,0.6) !important; box-shadow:0 0 10px rgba(201,168,76,0.4); }
.st-branch--1 { width:2px; height:80px; top:-80px; left:calc(50% - 1px); transform-origin:bottom center; transform:rotate(-50deg); }
.st-branch--2 { width:2px; height:80px; top:-80px; left:calc(50% - 1px); transform-origin:bottom center; transform:rotate(-25deg); }
.st-branch--3 { width:2px; height:80px; top:-80px; left:calc(50% - 1px); transform-origin:bottom center; transform:rotate(0deg); }
.st-branch--4 { width:2px; height:80px; top:-80px; left:calc(50% - 1px); transform-origin:bottom center; transform:rotate(25deg); }
.st-branch--5 { width:2px; height:80px; top:-80px; left:calc(50% - 1px); transform-origin:bottom center; transform:rotate(50deg); }
/* Sacred Tree — Part 2: Leaves, Panels, Mobile */
.st-leaves { display:flex; justify-content:center; gap:2rem; margin-top:3rem; flex-wrap:wrap; position:relative; z-index:5; }
.st-leaf { position:relative; width:90px; height:90px; border-radius:50%; background:rgba(255,255,255,0.03); border:1.5px solid rgba(255,255,255,0.1); display:flex; flex-direction:column; align-items:center; justify-content:center; cursor:pointer; transition:all 0.4s ease; backdrop-filter:blur(8px); }
.st-leaf-glow { position:absolute; inset:0; border-radius:50%; background:radial-gradient(circle,rgba(201,168,76,0.3),transparent 70%); opacity:0; transition:opacity 0.4s ease; }
.st-leaf-glyph { font-family:var(--font-arabic-verse); font-size:1.8rem; color:rgba(255,255,255,0.7); line-height:1; transition:color 0.3s ease; position:relative; z-index:2; }
.st-leaf-name { font-size:0.75rem; color:rgba(255,255,255,0.5); margin-top:4px; position:relative; z-index:2; transition:color 0.3s ease; }
.st-leaf:hover,.st-leaf.st-active { border-color:rgba(201,168,76,0.8); transform:scale(1.15) translateY(-5px); box-shadow:0 10px 30px rgba(201,168,76,0.3); }
.st-leaf:hover .st-leaf-glow,.st-leaf.st-active .st-leaf-glow { opacity:1; }
.st-leaf:hover .st-leaf-glyph,.st-leaf.st-active .st-leaf-glyph { color:var(--ic-gold); }
.st-leaf:hover .st-leaf-name,.st-leaf.st-active .st-leaf-name { color:#fff; }

/* Info Panel */
.st-info-panel { position:relative; margin-top:3rem; min-height:250px; }
.st-panel { display:none; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:2.5rem; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); animation:st-panel-in 0.4s ease; }
.st-panel.active { display:block; }
@keyframes st-panel-in { from{opacity:0;transform:translateY(15px);} to{opacity:1;transform:translateY(0);} }
.st-panel h3 { font-family:var(--font-heading-ar); font-size:1.8rem; color:#fff; margin-bottom:1rem; }
.st-panel p { color:rgba(255,255,255,0.8); line-height:1.8; margin-bottom:1.5rem; max-width:700px; }
.st-panel-badge { display:inline-block; background:rgba(201,168,76,0.15); color:var(--ic-gold); font-size:0.85rem; font-weight:600; padding:0.4rem 1rem; border-radius:99px; border:1px solid rgba(201,168,76,0.3); margin-bottom:1rem; }
.st-panel-stats { display:flex; gap:1.5rem; flex-wrap:wrap; margin-bottom:1.5rem; }
.st-panel-stats span { color:rgba(255,255,255,0.7); font-size:0.9rem; display:flex; align-items:center; gap:0.5rem; }
.st-panel-stats i { color:var(--ic-gold); }
.st-panel-cta { display:inline-flex; align-items:center; gap:0.5rem; background:var(--ic-gold); color:var(--ic-ink); padding:0.8rem 2rem; border-radius:99px; font-weight:700; text-decoration:none; transition:all 0.3s ease; }
.st-panel-cta:hover { transform:translateY(-3px); box-shadow:0 10px 25px rgba(201,168,76,0.4); background:#d4b85c; }

@media(max-width:767px){
  .st-leaves { gap:1rem; }
  .st-leaf { width:70px; height:70px; }
  .st-leaf-glyph { font-size:1.4rem; }
  .st-trunk { width:90px; height:90px; }
  .st-trunk-glyph { font-size:2rem; }
  .st-panel { padding:1.5rem; }
  .st-branches { display:none; }
}
/* ═══════════════════════════════════════════════════════════════
   SACRED TREE — AUTHENTIC UPGRADE (Real Tree Shape)
   ═══════════════════════════════════════════════════════════════ */

/* Override: Hide the old geometric branches */
.st-branches { display:none !important; }

/* Redesign: Real SVG Tree Trunk behind everything */
.st-tree-wrap {
    position:relative;
    padding:2rem 0 2rem;
    min-height:500px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* The visible tree trunk & branches SVG */
.st-tree-wrap::before {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:6px;
    height:180px;
    background: linear-gradient(to top, rgba(201,168,76,0.6), rgba(201,168,76,0.15));
    border-radius:3px;
    z-index:1;
    box-shadow: 0 0 15px rgba(201,168,76,0.3);
}

/* Roots at the base */
.st-tree-wrap::after {
    content:'';
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:30px;
    border-bottom:3px solid rgba(201,168,76,0.4);
    border-radius:0 0 50% 50%;
    z-index:1;
}

/* Reposition trunk to be above the branches */
.st-trunk {
    position:relative;
    z-index:5;
    width:130px;
    height:130px;
    margin-bottom:1rem;
}
.st-trunk-inner {
    background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, rgba(13,43,31,0.9) 70%) !important;
    border:2px solid rgba(201,168,76,0.7) !important;
    box-shadow: 0 0 40px rgba(201,168,76,0.3), inset 0 0 20px rgba(201,168,76,0.1);
}

/* Leaves now arranged in an arc (crown of the tree) — ABOVE the trunk */
.st-leaves {
    display:flex;
    justify-content:center;
    gap:1.5rem;
    margin-top:0 !important;
    margin-bottom:2rem;
    position:relative;
    z-index:5;
    order:-1; /* Move leaves ABOVE trunk visually */
}

/* Curved organic branch lines from each leaf down toward the trunk */
.st-leaf {
    position:relative;
}

/* Branch lines growing down from each leaf to trunk */
.st-leaf::after {
    content:'';
    position:absolute;
    bottom:-20px;
    left:50%;
    transform:translateX(-50%);
    width:2px;
    height:20px;
    background:rgba(201,168,76,0.2);
    transition:all 0.4s ease;
    z-index:-1;
}
.st-leaf.st-active::after,
.st-leaf:hover::after {
    background:rgba(201,168,76,0.7);
    height:30px;
    box-shadow: 0 0 8px rgba(201,168,76,0.4);
}

/* Leaf styling — more organic, leaf-shaped */
.st-leaf {
    width:85px !important;
    height:95px !important;
    border-radius:50% 50% 50% 50% / 60% 60% 40% 40% !important; /* Organic leaf shape */
    background: rgba(13,43,31,0.6) !important;
    border:1.5px solid rgba(201,168,76,0.2) !important;
}
.st-leaf:hover,
.st-leaf.st-active {
    background: rgba(13,43,31,0.4) !important;
    border-color:rgba(201,168,76,0.8) !important;
    border-radius:50% 50% 50% 50% / 60% 60% 40% 40% !important;
}

/* Crown canopy glow behind the leaves */
.st-leaves::before {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:500px;
    height:200px;
    background:radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius:50%;
    z-index:-1;
    pointer-events:none;
}

@media(max-width:767px){
    .st-tree-wrap::before { height:100px; }
    .st-leaf { width:65px !important; height:75px !important; }
    .st-leaf-glyph { font-size:1.2rem !important; }
    .st-leaves { gap:0.8rem; }
    .st-leaves::before { width:300px; height:120px; }
}
/* ═══════════════════════════════════════════════════════════════
   SACRED TREE — TOOLTIP CARDS (Small cards over each leaf)
   ═══════════════════════════════════════════════════════════════ */

/* Put tree BELOW the header (natural flow, remove order override) */
.st-leaves { order:unset !important; margin-bottom:0 !important; margin-top:2rem !important; }

/* Hide the big info panel */
.st-info-panel { display:none !important; }

/* Each leaf is the anchor for its own tooltip */
.st-leaf { position:relative !important; }

/* The tooltip — built from data, injected via CSS/JS */
.st-leaf-tooltip {
    position:absolute;
    bottom:calc(100% + 18px);
    left:50%;
    transform:translateX(-50%) translateY(10px);
    width:260px;
    background:rgba(13, 43, 31, 0.95);
    border:1px solid rgba(201,168,76,0.4);
    border-radius:12px;
    padding:1.2rem;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 15px rgba(201,168,76,0.15);
    opacity:0;
    pointer-events:none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index:100;
    text-align:center;
}

/* Arrow pointing down to the leaf */
.st-leaf-tooltip::after {
    content:'';
    position:absolute;
    bottom:-8px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    width:14px;
    height:14px;
    background:rgba(13, 43, 31, 0.95);
    border-right:1px solid rgba(201,168,76,0.4);
    border-bottom:1px solid rgba(201,168,76,0.4);
}

/* Show on hover/active */
.st-leaf:hover .st-leaf-tooltip,
.st-leaf.st-active .st-leaf-tooltip {
    opacity:1;
    transform:translateX(-50%) translateY(0);
    pointer-events:auto;
}

.st-leaf-tooltip h4 {
    font-family:var(--font-heading-ar);
    color:#fff;
    font-size:1.1rem;
    margin:0 0 0.5rem;
}
.st-leaf-tooltip p {
    color:rgba(255,255,255,0.75);
    font-size:0.8rem;
    line-height:1.5;
    margin:0 0 0.8rem;
}
.st-leaf-tooltip .st-tip-badge {
    display:inline-block;
    font-size:0.7rem;
    background:rgba(201,168,76,0.15);
    color:var(--ic-gold);
    padding:0.2rem 0.6rem;
    border-radius:99px;
    border:1px solid rgba(201,168,76,0.3);
    margin-bottom:0.6rem;
}
.st-leaf-tooltip .st-tip-cta {
    display:inline-flex;
    align-items:center;
    gap:0.4rem;
    background:var(--ic-gold);
    color:var(--ic-ink);
    padding:0.5rem 1.2rem;
    border-radius:99px;
    font-size:0.8rem;
    font-weight:700;
    text-decoration:none;
    transition:all 0.3s ease;
}
.st-leaf-tooltip .st-tip-cta:hover {
    background:#d4b85c;
    transform:scale(1.05);
}

/* Also add tooltip for trunk */
.st-trunk { position:relative !important; }
.st-trunk-tooltip {
    position:absolute;
    top:calc(100% + 18px);
    left:50%;
    transform:translateX(-50%) translateY(-10px);
    width:280px;
    background:rgba(13, 43, 31, 0.95);
    border:1px solid rgba(201,168,76,0.5);
    border-radius:12px;
    padding:1.2rem;
    backdrop-filter:blur(16px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 15px rgba(201,168,76,0.2);
    opacity:0;
    pointer-events:none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index:100;
    text-align:center;
}
.st-trunk-tooltip::after {
    content:'';
    position:absolute;
    top:-8px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    width:14px;
    height:14px;
    background:rgba(13, 43, 31, 0.95);
    border-left:1px solid rgba(201,168,76,0.5);
    border-top:1px solid rgba(201,168,76,0.5);
}
.st-trunk:hover .st-trunk-tooltip,
.st-trunk.st-active .st-trunk-tooltip {
    opacity:1;
    transform:translateX(-50%) translateY(0);
    pointer-events:auto;
}
.st-trunk-tooltip h4 { font-family:var(--font-heading-ar); color:#fff; font-size:1.1rem; margin:0 0 0.5rem; }
.st-trunk-tooltip p { color:rgba(255,255,255,0.75); font-size:0.8rem; line-height:1.5; margin:0 0 0.8rem; }
.st-trunk-tooltip .st-tip-badge { display:inline-block; font-size:0.7rem; background:rgba(201,168,76,0.15); color:var(--ic-gold); padding:0.2rem 0.6rem; border-radius:99px; border:1px solid rgba(201,168,76,0.3); margin-bottom:0.6rem; }
.st-trunk-tooltip .st-tip-cta { display:inline-flex; align-items:center; gap:0.4rem; background:var(--ic-gold); color:var(--ic-ink); padding:0.5rem 1.2rem; border-radius:99px; font-size:0.8rem; font-weight:700; text-decoration:none; }

@media(max-width:767px) {
    .st-leaf-tooltip { width:200px; padding:1rem; }
    .st-trunk-tooltip { width:220px; }
}
/* ═══════════════════════════════════════════════════════════════
   SACRED TREE — SIDE LAYOUT (Tree + Square Card)
   ═══════════════════════════════════════════════════════════════ */

/* Hide the tooltips — we are using the side panel instead */
.st-leaf-tooltip, .st-trunk-tooltip { display:none !important; }

/* Show the info panel again */
.st-info-panel { display:block !important; }

/* Two-column layout: Card on left, Tree on right */
.st-tree-wrap {
    display:grid !important;
    grid-template-columns: 1fr 1fr;
    gap:3rem;
    align-items:center;
    padding:3rem 0 !important;
    min-height:auto !important;
}

/* Remove the old trunk/roots pseudo-elements */
.st-tree-wrap::before, .st-tree-wrap::after { display:none !important; }

/* Tree side (right column) */
.st-leaves {
    order:2 !important;
    display:grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap:1.5rem !important;
    margin:0 !important;
    justify-items:center;
}

/* Trunk sits inside the leaves grid, spanning middle */
.st-trunk {
    order:2;
    grid-column: 1 / -1;
    margin:0 auto !important;
    width:110px !important;
    height:110px !important;
}

/* Info panel (left column) */
.st-info-panel {
    order:1 !important;
    margin-top:0 !important;
    min-height:auto !important;
}

/* Make the panel a proper square-ish card */
.st-panel {
    background: rgba(13, 43, 31, 0.6) !important;
    border:1px solid rgba(201,168,76,0.3) !important;
    border-radius:20px !important;
    padding:2.5rem !important;
    min-height:350px;
    display:none;
    flex-direction:column;
    justify-content:center;
}
.st-panel.active { display:flex !important; }

.st-panel h3 { font-size:1.6rem !important; }

/* Leaf shape reset — back to circles for cleaner look */
.st-leaf {
    border-radius:50% !important;
    width:80px !important;
    height:80px !important;
}

/* Crown glow — remove since layout changed */
.st-leaves::before { display:none !important; }

/* Leaf stem lines — remove */
.st-leaf::after { display:none !important; }

@media(max-width:991px) {
    .st-tree-wrap {
        grid-template-columns:1fr !important;
    }
    .st-info-panel { order:2 !important; }
    .st-leaves { order:1 !important; }
    .st-trunk { order:1; }
}
@media(max-width:767px) {
    .st-leaves { grid-template-columns:repeat(3, 1fr) !important; gap:1rem !important; }
    .st-panel { min-height:auto; padding:1.5rem !important; }
}
/* ═══════════════════════════════════════════════════════════════
   SACRED TREE — REVOLUTIONARY PREMIUM LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.st-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem auto;
    max-width: 1200px;
}

/* LEFT: Tree SVG side */
.st-tree-side {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
}

.st-svg-tree {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.1));
}

.st-svg-branch { transition: all 0.4s ease; }
.st-svg-branch.st-branch-active path { 
    stroke: rgba(201,168,76,1) !important; 
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.8)); 
}
.st-svg-branch path { transition: all 0.4s ease; }

.st-node-wrap { position: absolute; inset: 0; width: 100%; max-width: 400px; margin: 0 auto; }

.st-node {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at top left, rgba(20,55,40,0.95), rgba(9,25,18,0.95));
    border: 2px solid rgba(201,168,76,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 0 15px rgba(201,168,76,0.1);
}

.st-node::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(201,168,76,0.3);
    animation: st-spin 15s linear infinite;
    transition: all 0.4s ease;
    pointer-events: none;
}

.st-node::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0);
    transition: all 0.4s ease;
    pointer-events: none;
}

@keyframes st-spin { 100% { transform: rotate(360deg); } }

.st-node-glyph { font-family: var(--font-arabic-verse); font-size: 1.8rem; color: rgba(255,255,255,0.8); line-height: 1; transition: color 0.3s; margin-bottom: 2px; }
.st-node-name { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; transition: color 0.3s; }

.st-node:hover, .st-node.st-active {
    border-color: rgba(201,168,76,0.9);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(201,168,76,0.3), 0 0 30px rgba(201,168,76,0.2);
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 10;
}
.st-node:hover::before, .st-node.st-active::before {
    inset: -8px;
    border-color: rgba(201,168,76,0.8);
    border-style: solid;
    border-width: 2px;
    animation-duration: 5s;
}
.st-node:hover::after, .st-node.st-active::after {
    inset: -16px;
    border-color: rgba(201,168,76,0.2);
}
.st-node:hover .st-node-glyph, .st-node.st-active .st-node-glyph { color: var(--ic-gold); text-shadow: 0 0 10px rgba(201,168,76,0.5); }
.st-node:hover .st-node-name, .st-node.st-active .st-node-name { color: #fff; }

/* Positions matching SVG viewBox 0 0 400 520 */
.st-node--quran  { top: calc(60/520*100%); left: 50%; width: 90px; height: 90px; }
.st-node--tajweed{ top: calc(120/520*100%); left: calc(120/400*100%); }
.st-node--fiqh   { top: calc(120/520*100%); left: calc(280/400*100%); }
.st-node--hadith { top: calc(260/520*100%); left: calc(90/400*100%); }
.st-node--seerah { top: calc(260/520*100%); left: calc(310/400*100%); }
.st-node--arabic { top: calc(380/520*100%); left: 50%; }


/* RIGHT: Premium Card Display */
.st-leaf-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.st-leaf-panel { 
    display: none; 
    flex-direction: column; 
    animation: st-fade-slide 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
}
.st-leaf-panel.st-active { display: flex; }

@keyframes st-fade-slide {
    0% { opacity: 0; transform: translateY(20px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* The Stylized Premium "Leaf" Card */
.st-premium-card {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(16, 46, 33, 0.95) 0%, rgba(8, 25, 17, 0.98) 100%);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 80px 0 80px 0; /* The elegant leaf motif */
    padding: 3.5rem;
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        inset 0 0 0 1px rgba(255,255,255,0.03),
        inset 0 0 30px rgba(201,168,76,0.05);
    overflow: hidden;
}

.st-premium-card::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px dashed rgba(201,168,76,0.25);
    border-radius: 65px 0 65px 0;
    pointer-events: none;
}

/* Subtle arabesque watermark in the card */
.st-premium-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
    border-radius: 50%;
}

.st-lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201,168,76,0.1);
    color: var(--ic-gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    border: 1px solid rgba(201,168,76,0.3);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.st-lp-title {
    font-family: var(--font-heading-ar);
    color: #fff;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.st-lp-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.st-lp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}
.st-lp-meta span { 
    color: rgba(255,255,255,0.85); 
    font-size: 0.95rem; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}
.st-lp-meta i { color: var(--ic-gold); font-size: 1.1rem; }

.st-lp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--ic-gold), #b89438);
    color: var(--ic-ink);
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.st-lp-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}
.st-lp-cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 35px rgba(201,168,76,0.4); 
}
.st-lp-cta:hover::before {
    left: 150%;
}

@media(max-width: 991px) {
    .st-layout { grid-template-columns: 1fr; gap: 3rem; }
    .st-tree-side { height: 450px; }
    .st-premium-card { border-radius: 40px 0 40px 0; padding: 2.5rem; }
}
@media(max-width: 767px) {
    .st-tree-side { height: 350px; }
    .st-node { width: 60px; height: 60px; }
    .st-node--quran { width: 70px; height: 70px; }
    .st-node-glyph { font-size: 1.4rem; }
    .st-premium-card { padding: 1.8rem; border-radius: 30px 0 30px 0; }
    .st-premium-card::before { inset: 10px; border-radius: 20px 0 20px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   SACRED SERENITY — PREMIUM NAVBAR v3 (nb- system)
   ═══════════════════════════════════════════════════════════════ */

/* ── Shell: floating pill, scroll-aware ───────────────────────── */
.nb-shell {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 1380px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.6rem 1rem;
    background: rgba(9, 28, 20, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-top-color: rgba(201, 168, 76, 0.45);
    border-radius: 9999px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 8px 32px rgba(0,0,0,0.45),
        0 1px 0 rgba(201,168,76,0.12) inset;
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.4s ease,
        box-shadow 0.4s ease,
        top 0.4s ease;
    overflow: visible;
}
.nb-shell.nb-scrolled {
    background: rgba(9, 28, 20, 0.92);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 16px 48px rgba(0,0,0,0.6),
        0 1px 0 rgba(201,168,76,0.15) inset;
    border-color: rgba(201, 168, 76, 0.28);
    top: 0.75rem;
}
.nb-shell.nb-hidden {
    transform: translate(-50%, -120%);
}

/* ── Scroll progress bar ──────────────────────────────────────── */
.nb-progress-bar {
    position: absolute;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--ic-gold), #fff8e1, var(--ic-gold));
    border-radius: 9999px;
    transition: width 0.1s linear;
    pointer-events: none;
    z-index: 5;
}

/* ── Brand ────────────────────────────────────────────────────── */
.nb-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}
.nb-brand:hover { opacity: 0.85; }
.nb-brand__logo-ring {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.35), rgba(9,28,20,0.9));
    border: 1.5px solid rgba(201,168,76,0.5);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 12px rgba(201,168,76,0.2), inset 0 0 6px rgba(201,168,76,0.15);
    padding: 2px; flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}
.nb-brand:hover .nb-brand__logo-ring {
    box-shadow: 0 0 20px rgba(201,168,76,0.4), inset 0 0 10px rgba(201,168,76,0.2);
}
.nb-brand__logo { height: 36px; width: auto; border-radius: 50%; object-fit: cover; }
.nb-brand__text { display: flex; flex-direction: column; }
.nb-brand__eyebrow {
    font-size: 0.62rem; color: var(--ic-gold);
    text-transform: uppercase; letter-spacing: 0.1em;
    line-height: 1; margin-bottom: 0.18rem; opacity: 0.85;
}
.nb-brand__name {
    font-family: var(--font-heading-ar);
    font-size: 1.15rem; color: #fff; font-weight: 700;
    line-height: 1.1; letter-spacing: -0.01em;
}

/* ── Desktop Nav ──────────────────────────────────────────────── */
.nb-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.nb-nav__list {
    display: flex; align-items: center; gap: 0.2rem;
    margin: 0; padding: 0; list-style: none;
}
.nb-nav__link {
    position: relative;
    display: inline-flex; align-items: center;
    white-space: nowrap;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem; font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.42rem 0.74rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
/* Golden dot indicator */
.nb-nav__link::before {
    content: '';
    position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--ic-gold);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nb-nav__link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nb-nav__link:hover::before { transform: translateX(-50%) scale(1); }
.nb-nav__link.is-active {
    color: #fff;
    background: rgba(201, 168, 76, 0.14);
    border-color: rgba(201, 168, 76, 0.42);
}
.nb-nav__link.is-active::before {
    transform: translateX(-50%) scale(1);
    background: var(--ic-gold);
}

/* ── Right Actions ────────────────────────────────────────────── */
.nb-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language pill */
.nb-lang {
    display: flex; align-items: center; gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}
.nb-lang:hover { border-color: rgba(201,168,76,0.6); color: #fff; background: rgba(201,168,76,0.08); }
.nb-lang__sep { width: 1px; height: 12px; background: rgba(201,168,76,0.35); }
.nb-lang__opt { transition: color 0.2s; }
.nb-lang__opt.is-active { color: var(--ic-gold); }

/* Primary CTA */
.nb-cta {
    position: relative;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    background: linear-gradient(135deg, #c9a84c, #a07830);
    color: #0d1a0f; font-weight: 700; font-size: 0.9rem;
    border-radius: 9999px; text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(201,168,76,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.nb-cta__icon { font-size: 0.85rem; }
.nb-cta__shine {
    position: absolute; top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-18deg); transition: left 0.5s ease;
}
.nb-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5), 0 1px 0 rgba(255,255,255,0.25) inset; }
.nb-cta:hover .nb-cta__shine { left: 130%; }

/* Hamburger */
.nb-toggle {
    display: none; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50%; cursor: pointer; padding: 8px;
    transition: background 0.3s, border-color 0.3s;
}
.nb-toggle:hover { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.5); }
.nb-toggle__bar {
    display: block; width: 100%; height: 2px;
    background: var(--ic-gold); border-radius: 9999px;
    transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), opacity 0.3s ease, width 0.3s;
    transform-origin: center;
}
.nb-toggle.is-open .nb-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nb-toggle.is-open .nb-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nb-toggle.is-open .nb-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
    .nb-nav, .nb-cta, .nb-lang { display: none; }
    .nb-toggle { display: flex; }
    .nb-shell { width: calc(100% - 1.5rem); top: 0.75rem; padding: 0.55rem 0.75rem; }
}
@media (max-width: 480px) { .nb-brand__text { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   MOBILE DRAWER
   ═══════════════════════════════════════════════════════════════ */
.nb-drawer {
    position: fixed; inset: 0; z-index: 1100;
    pointer-events: none; visibility: hidden;
    transition: visibility 0s linear 0.4s;
}
.nb-drawer.is-open { pointer-events: all; visibility: visible; transition-delay: 0s; }
.nb-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(5, 15, 10, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.4s ease;
}
.nb-drawer.is-open .nb-drawer__backdrop { opacity: 1; }
.nb-drawer__panel {
    position: absolute; top: 0; inset-inline-end: 0;
    width: min(340px, 92vw); height: 100%;
    background: linear-gradient(160deg, rgba(10,32,22,0.98) 0%, rgba(6,18,12,1) 100%);
    border-inline-start: 1px solid rgba(201,168,76,0.2);
    display: flex; flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.45s cubic-bezier(0.25,1,0.5,1);
    overflow-y: auto;
}
[dir="rtl"] .nb-drawer__panel {
    inset-inline-end: auto; inset-inline-start: 0;
    border-inline-start: none; border-inline-end: 1px solid rgba(201,168,76,0.2);
    transform: translateX(-105%);
}
.nb-drawer.is-open .nb-drawer__panel { transform: translateX(0); }
.nb-drawer__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.12);
}
.nb-drawer__brand { display: flex; align-items: center; gap: 0.6rem; }
.nb-drawer__logo { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(201,168,76,0.4); }
.nb-drawer__name { font-family: var(--font-heading-ar); font-size: 1.1rem; color: #fff; font-weight: 700; }
.nb-drawer__close {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.25);
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; transition: all 0.25s ease;
}
.nb-drawer__close:hover { border-color: var(--ic-gold); color: var(--ic-gold); background: rgba(201,168,76,0.1); }
.nb-drawer__ornament {
    display: flex; align-items: center;
    padding: 0.75rem 1.5rem; opacity: 0.5;
}
.nb-drawer__ornament span:not(.nb-drawer__diamond) {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.5), transparent);
}
.nb-drawer__diamond { color: var(--ic-gold); font-size: 0.55rem; padding: 0 0.5rem; flex-shrink: 0; }
.nb-drawer__nav { padding: 0.5rem 1rem; flex: 1; }
.nb-drawer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.nb-drawer__link {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.85rem 1rem; border-radius: 12px;
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 1rem; font-weight: 600;
    border: 1px solid transparent; transition: all 0.25s ease;
}
.nb-drawer__link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nb-drawer__link.is-active { color: #fff; background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.35); }
.nb-drawer__link-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(201,168,76,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--ic-gold); font-size: 0.85rem; flex-shrink: 0;
    transition: background 0.25s;
}
.nb-drawer__link.is-active .nb-drawer__link-icon,
.nb-drawer__link:hover .nb-drawer__link-icon { background: rgba(201,168,76,0.2); }
.nb-drawer__footer {
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid rgba(201,168,76,0.12);
    display: flex; flex-direction: column; gap: 0.75rem;
}
.nb-drawer__lang-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(201,168,76,0.3); border-radius: 9999px;
    color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.9rem;
    text-decoration: none; background: rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}
.nb-drawer__lang-btn:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.55); color: #fff; }
.nb-drawer__cta {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #c9a84c, #a07830);
    color: #0d1a0f; font-weight: 700; font-size: 1rem;
    border-radius: 9999px; text-decoration: none;
    box-shadow: 0 6px 20px rgba(201,168,76,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nb-drawer__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,168,76,0.45); }

/* ═══════════════════════════════════════════════════════════════
   SACRED SERENITY — ISLAMIC NAVBAR LAYER (v4 addons)
   Adds Islamic visual DNA on top of the nb- base system
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Islamic geometric SVG tile pattern overlay ─────────────── */
.nb-geo-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
    overflow: hidden;
}
/* Make sure all nb-shell children sit above the pattern */
.nb-brand, .nb-nav, .nb-actions, .nb-progress-bar { position: relative; z-index: 1; }

/* ── 2. Brand arch ring — SVG horseshoe ring around logo ───────── */
.nb-brand__arch-ring {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nb-brand__arch-svg {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: nb-arch-spin 30s linear infinite;
    pointer-events: none;
}
@keyframes nb-arch-spin { 100% { transform: rotate(360deg); } }
.nb-brand:hover .nb-brand__arch-svg { animation-duration: 8s; }

.nb-brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* ── 3. Basmala micro-ornament ─────────────────────────────────── */
.nb-brand__basmala {
    display: block;
    color: var(--ic-gold);
    font-size: 0.6rem;
    line-height: 1;
    margin-bottom: 0.1rem;
    opacity: 0.7;
    letter-spacing: 0.3em;
}

/* ── 4. ✦ ornamental separators between nav items ──────────────── */
.nb-nav__sep {
    color: rgba(201, 168, 76, 0.35);
    font-size: 0.45rem;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
    align-self: center;
    transition: color 0.3s;
}

/* ── 5. Active nav link: arch-bottom indicator ─────────────────── */
/* Replace the dot with a short golden arch underline */
.nb-nav__link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ic-gold), transparent);
    border-radius: 99px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nb-nav__link::before { display: none; } /* remove the plain dot from v3 */
.nb-nav__link:hover::after,
.nb-nav__link.is-active::after { transform: translateX(-50%) scaleX(1); }

/* Active link: subtle gold left border + tinted bg */
.nb-nav__link.is-active {
    color: var(--ic-gold);
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.35);
}
.nb-nav__link:hover { color: rgba(201,168,76,0.9); }

/* ── 6. Language switcher crescent ─────────────────────────────── */
.nb-lang__crescent {
    font-size: 1rem;
    color: var(--ic-gold);
    opacity: 0.8;
    line-height: 1;
    margin-inline-end: 0.15rem;
    transition: opacity 0.3s;
}
.nb-lang:hover .nb-lang__crescent { opacity: 1; }

/* ── 7. CTA button: pointed-arch top ───────────────────────────── */
.nb-cta {
    font-family: var(--font-heading-ar);
    letter-spacing: 0.03em;
}
/* The arch ornament: a tiny CSS-only pointed arch on top of the button */
.nb-cta__arch {
    display: none; /* decorative — enabled on wider screens */
}
.nb-cta__icon {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
    font-style: normal;
}

/* ── 8. Scrolled shell: gold top border brightens ──────────────── */
.nb-shell.nb-scrolled {
    border-top-color: rgba(201, 168, 76, 0.7);
}

/* ── 9. Drawer Islamic watermark ────────────────────────────────── */
.nb-drawer__watermark {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 220px;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}
[dir="rtl"] .nb-drawer__watermark { right: auto; left: 0; transform: scaleX(-1); }

/* All drawer children sit above the watermark */
.nb-drawer__header, .nb-drawer__ornament, .nb-drawer__nav,
.nb-drawer__footer, .nb-drawer__ornament--bottom { position: relative; z-index: 1; }

/* ── 10. Drawer eyebrow above the name ──────────────────────────── */
.nb-drawer__eyebrow {
    font-size: 0.6rem;
    color: var(--ic-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 0.15rem;
}
.nb-drawer__logo-wrap {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid rgba(201,168,76,0.45);
    background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.25), rgba(9,28,20,0.9));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(201,168,76,0.2);
}

/* ── 11. Drawer Bismillah ornament ───────────────────────────────── */
.nb-drawer__ornament {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
}
.nb-drawer__orn-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent);
}
.nb-drawer__orn-text {
    font-family: var(--font-arabic-verse, "Amiri", serif);
    color: var(--ic-gold);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0.85;
}
.nb-drawer__orn-stars {
    color: var(--ic-gold);
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    opacity: 0.6;
}
.nb-drawer__ornament--bottom { padding-top: 0.5rem; }

/* ── 12. Drawer link arrow ───────────────────────────────────────── */
.nb-drawer__link-text { flex: 1; }
.nb-drawer__link-arrow {
    font-size: 0.7rem;
    color: rgba(201,168,76,0.4);
    transition: color 0.25s, transform 0.25s;
}
[dir="rtl"] .nb-drawer__link-arrow { transform: scaleX(-1); }
.nb-drawer__link:hover .nb-drawer__link-arrow,
.nb-drawer__link.is-active .nb-drawer__link-arrow {
    color: var(--ic-gold);
    transform: translateX(3px);
}
[dir="rtl"] .nb-drawer__link:hover .nb-drawer__link-arrow,
[dir="rtl"] .nb-drawer__link.is-active .nb-drawer__link-arrow {
    transform: scaleX(-1) translateX(3px);
}

/* ── 13. Mobile toggle middle bar shorter (Islamic symmetry) ─────── */
.nb-toggle__bar--short { width: 65%; align-self: center; }

/* ═══════════════════════════════════════════════════════════════
   PARENT MANUSCRIPT — Sacred Serenity (Open Tazhib Design)
   ═══════════════════════════════════════════════════════════════ */
.hp-manuscript {
    position: relative;
    padding: 8.5rem 0;
    background: var(--ic-parchment);
    overflow: hidden;
    text-align: center;
}
.hp-manuscript__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(154,122,40,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(154,122,40,0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0.8) 0%, transparent 80%);
    pointer-events: none;
}
.hp-manuscript__header {
    margin-bottom: 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hp-manuscript__tazhib {
    width: 280px;
    margin-bottom: 1.5rem;
}
.hp-manuscript__label {
    margin-bottom: 1rem;
}
.hp-manuscript__title {
    color: var(--ic-emerald);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 1.5rem;
    font-family: var(--font-heading-ar, "Cairo", sans-serif);
    position: relative;
}
.hp-manuscript__lead {
    color: rgba(26,18,8,0.85);
    font-size: 1.25rem;
    line-height: 2.1;
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--font-body-ar, sans-serif);
}

/* The Golden Thread */
.hp-manuscript__thread-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 2rem 0;
}
.hp-manuscript__thread-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(201,168,76,0.6), transparent);
    transform: translateX(-50%);
    z-index: 0;
}
.hp-manuscript__point {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    z-index: 1;
}
.hp-manuscript__point:last-child {
    margin-bottom: 0;
}
.hp-manuscript__ayah-marker {
    grid-column: 2;
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ic-parchment);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--ic-parchment);
}
.hp-manuscript__ayah-marker svg {
    position: absolute;
    inset: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    animation: rotateSlow 25s linear infinite;
}
.hp-manuscript__ayah-num {
    font-family: var(--font-heading-ar, "Cairo", sans-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ic-gold-deep);
}
.hp-manuscript__point--left .hp-manuscript__content {
    grid-column: 1;
    text-align: left;
}
[dir="rtl"] .hp-manuscript__point--left .hp-manuscript__content {
    text-align: right;
}
.hp-manuscript__point--right .hp-manuscript__content {
    grid-column: 3;
    text-align: right;
}
[dir="rtl"] .hp-manuscript__point--right .hp-manuscript__content {
    text-align: left;
}
.hp-manuscript__content h3 {
    color: var(--ic-emerald);
    font-size: 1.65rem;
    margin: 0 0 0.5rem;
    font-family: var(--font-heading-ar, "Cairo", sans-serif);
}
.hp-manuscript__content p {
    color: rgba(26,18,8,0.78);
    font-size: 1.15rem;
    line-height: 1.85;
    margin: 0;
}
.hp-manuscript__actions {
    margin-top: 3rem;
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hp-manuscript__point {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }
    [dir="rtl"] .hp-manuscript__point {
        grid-template-columns: 1fr 60px;
    }
    .hp-manuscript__thread-line {
        left: 30px;
        transform: none;
    }
    [dir="rtl"] .hp-manuscript__thread-line {
        left: auto;
        right: 30px;
    }
    .hp-manuscript__ayah-marker {
        grid-column: 1;
        width: 60px;
        height: 60px;
    }
    [dir="rtl"] .hp-manuscript__ayah-marker {
        grid-column: 2;
    }
    .hp-manuscript__ayah-marker svg {
        inset: -4px;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
    }
    .hp-manuscript__point--left .hp-manuscript__content,
    .hp-manuscript__point--right .hp-manuscript__content {
        grid-column: 2;
        text-align: left;
    }
    [dir="rtl"] .hp-manuscript__point--left .hp-manuscript__content,
    [dir="rtl"] .hp-manuscript__point--right .hp-manuscript__content {
        grid-column: 1;
        text-align: right;
    }
}
.hp-link,
.hp-amanah__link,
.hp-method__link,
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.hp-link:hover,
.hp-amanah__link:hover,
.hp-method__link:hover,
.pm-btn:hover {
    transform: translateY(-2px);
}
.hp-link--primary,
.hp-amanah__link,
.pm-btn--gold {
    background: linear-gradient(135deg, var(--ic-gold), var(--ic-gold-deep));
    color: #111;
    box-shadow: 0 16px 36px rgba(154,122,40,0.22);
}
.hp-link--primary:hover,
.hp-amanah__link:hover,
.pm-btn--gold:hover {
    color: #111;
}
.hp-link--secondary,
.pm-btn--outline {
    border: 1px solid rgba(201,168,76,0.34);
    color: var(--ic-emerald);
    background: rgba(255,255,255,0.48);
}
.hp-link--secondary:hover,
.pm-btn--outline:hover {
    color: var(--ic-gold-deep);
    border-color: rgba(201,168,76,0.65);
}

.hp-amanah {
    padding: 4.75rem 0;
    background: linear-gradient(180deg, var(--ic-parchment), #fffaf0);
}
.hp-amanah__panel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(201,168,76,0.32);
    border-radius: 8px;
    padding: clamp(1.4rem, 3vw, 2.25rem);
    background:
        linear-gradient(135deg, rgba(13,43,31,0.98), rgba(22,61,45,0.96)),
        var(--ic-emerald);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(13,43,31,0.2);
}
.hp-amanah__panel::before {
    content: "الأمانة";
    position: absolute;
    inset-inline-end: 2rem;
    bottom: -1.4rem;
    color: rgba(232,208,129,0.055);
    font-family: var(--font-arabic-verse);
    font-size: clamp(5rem, 13vw, 10rem);
    line-height: 1;
    pointer-events: none;
}
.hp-amanah__mark {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(251,245,230,0.09);
    color: var(--ic-gold-light);
    border: 1px solid rgba(232,208,129,0.34);
    font-size: 1.75rem;
}
.hp-amanah__copy,
.hp-amanah__link {
    position: relative;
    z-index: 1;
}
.hp-amanah__title {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    margin: 0.5rem 0 0.65rem;
}
.hp-amanah__text {
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    margin: 0;
}

.hp-method {
    position: relative;
    padding: 7rem 0;
    background:
        linear-gradient(135deg, rgba(201,168,76,0.12) 0%, transparent 36%),
        #07150f;
    color: #fff;
    overflow: hidden;
}
.hp-method::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(232,208,129,0.055) 12%, transparent 12.5%, transparent 87%, rgba(232,208,129,0.055) 87.5%, rgba(232,208,129,0.055)),
        linear-gradient(150deg, rgba(232,208,129,0.055) 12%, transparent 12.5%, transparent 87%, rgba(232,208,129,0.055) 87.5%, rgba(232,208,129,0.055));
    background-size: 56px 98px;
    opacity: 0.22;
    pointer-events: none;
}
.hp-method__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hp-method__title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0.75rem 0 1.1rem;
}
.hp-method__lead {
    color: rgba(255,255,255,0.74);
    line-height: 1.9;
    font-size: 1.06rem;
    margin: 0 0 1.8rem;
}
.hp-method__link {
    border: 1px solid rgba(232,208,129,0.42);
    color: var(--ic-gold-light);
    background: rgba(255,255,255,0.055);
}
.hp-method__link:hover {
    color: #fff;
    border-color: rgba(232,208,129,0.7);
}
.hp-method__map {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.hp-method__axis {
    position: absolute;
    inset: 50% 1.5rem auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,208,129,0.55), transparent);
}
.hp-method__node {
    position: relative;
    min-height: 215px;
    border: 1px solid rgba(232,208,129,0.24);
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    padding: 1.35rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.hp-method__node::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(232,208,129,0.1);
    border-radius: 6px;
    pointer-events: none;
}
.hp-method__node span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201,168,76,0.13);
    color: var(--ic-gold-light);
    font-weight: 900;
    margin-bottom: 1rem;
}
.hp-method__node h3 {
    color: #fff;
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
}
.hp-method__node p {
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin: 0;
}

.pm-page {
    background: var(--ic-parchment);
}
.pm-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.pm-hero__bg,
.pm-hero__bg img,
.pm-hero__shade,
.pm-hero__pattern {
    position: absolute;
    inset: 0;
}
.pm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.18) saturate(0.85) brightness(0.74);
}
.pm-hero__shade {
    background:
        linear-gradient(90deg, rgba(7,21,15,0.92) 0%, rgba(7,21,15,0.76) 52%, rgba(7,21,15,0.56) 100%),
        linear-gradient(180deg, rgba(7,21,15,0.32), rgba(7,21,15,0.88));
}
.pm-hero__pattern {
    background-image:
        linear-gradient(90deg, rgba(232,208,129,0.075) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232,208,129,0.055) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.55;
}
.pm-hero__wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 8.5rem;
    padding-bottom: 5rem;
}
.pm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.74fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.pm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(232,208,129,0.34);
    border-radius: 999px;
    background: rgba(201,168,76,0.12);
    color: var(--ic-gold-light);
    padding: 0.45rem 1rem;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pm-kicker--light {
    color: var(--ic-gold-deep);
    border-color: rgba(201,168,76,0.28);
    background: rgba(201,168,76,0.1);
}
.pm-kicker--dark {
    color: var(--ic-gold-light);
    border-color: rgba(232,208,129,0.34);
    background: rgba(255,255,255,0.055);
}
.pm-title {
    max-width: 920px;
    margin: 1rem 0 1.1rem;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
}
.pm-lead {
    max-width: 760px;
    color: rgba(255,255,255,0.78);
    font-size: 1.15rem;
    line-height: 1.95;
    margin: 0 0 2rem;
}
.pm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}
.pm-hero__panel {
    justify-self: end;
    width: min(100%, 430px);
}
.pm-arch-panel {
    position: relative;
    border: 1px solid rgba(232,208,129,0.36);
    border-radius: 8px 8px 110px 110px;
    background: rgba(251,245,230,0.94);
    color: var(--ic-ink);
    padding: 2rem 1.5rem 3rem;
    box-shadow: 0 30px 70px rgba(0,0,0,0.28);
    overflow: hidden;
}
.pm-arch-panel::before {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(154,122,40,0.2);
    border-radius: 6px 6px 92px 92px;
    pointer-events: none;
}
.pm-panel__seal {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.48);
    background: #fffaf0;
    box-shadow: 0 16px 38px rgba(13,43,31,0.12);
}
.pm-panel__seal img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}
.pm-panel__seal--icon {
    background: var(--ic-emerald);
    color: var(--ic-gold-light);
    font-size: 2rem;
}
.pm-panel__eyebrow {
    position: relative;
    z-index: 1;
    color: var(--ic-gold-deep);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
}
.pm-arch-panel h2 {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--ic-emerald);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    margin: 0 0 1.25rem;
}
.pm-panel__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pm-panel__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    color: rgba(26,18,8,0.76);
    line-height: 1.65;
}
.pm-panel__list i {
    margin-top: 0.25rem;
    color: var(--ic-gold-deep);
}
.pm-section {
    position: relative;
    padding: 6.5rem 0;
    overflow: hidden;
}
.pm-section--parchment {
    background: linear-gradient(180deg, #fffaf0, var(--ic-parchment));
}
.pm-section--emerald {
    background: #08160f;
    color: #fff;
}
.pm-section--cta {
    background: linear-gradient(180deg, var(--ic-parchment), #fffaf0);
}
.pm-section-head {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}
.pm-section-head h2 {
    color: var(--ic-emerald);
    font-size: clamp(2rem, 4vw, 3.35rem);
    margin: 0.9rem 0 0.85rem;
}
.pm-section-head p {
    color: rgba(26,18,8,0.7);
    line-height: 1.85;
    font-size: 1.06rem;
    margin: 0;
}
.pm-principles-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.pm-principle-card {
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(201,168,76,0.26);
    border-radius: 8px;
    background: rgba(255,255,255,0.66);
    padding: 1.35rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(13,43,31,0.07);
}
.pm-principle-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 6px;
    pointer-events: none;
}
.pm-card__num {
    position: absolute;
    inset-inline-end: 1.2rem;
    top: 1rem;
    color: rgba(154,122,40,0.2);
    font-size: 2.35rem;
    font-weight: 900;
}
.pm-card__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ic-emerald);
    color: var(--ic-gold-light);
    margin-bottom: 1.3rem;
}
.pm-principle-card h3 {
    color: var(--ic-emerald);
    margin: 0 0 0.65rem;
    font-size: 1.17rem;
}
.pm-principle-card p {
    color: rgba(26,18,8,0.68);
    line-height: 1.75;
    margin: 0;
}
.pm-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.pm-split--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}
.pm-image-frame {
    position: relative;
    min-height: 520px;
    border: 1px solid rgba(232,208,129,0.34);
    border-radius: 8px 8px 120px 120px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.24);
}
.pm-image-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(232,208,129,0.34);
    border-radius: 6px 6px 102px 102px;
    z-index: 2;
    pointer-events: none;
}
.pm-image-frame img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    filter: sepia(0.16) saturate(0.88) brightness(0.85);
}
.pm-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(7,21,15,0.72));
}
.pm-image-caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 3;
    border: 1px solid rgba(232,208,129,0.28);
    border-radius: 8px;
    background: rgba(7,21,15,0.78);
    color: var(--ic-gold-light);
    padding: 1rem 1.25rem;
    font-weight: 800;
    text-align: center;
}
.pm-ledger {
    position: relative;
    z-index: 1;
}
.pm-ledger h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0.85rem 0 1.4rem;
}
.pm-ledger__rows {
    display: grid;
    gap: 0.85rem;
}
.pm-ledger__row {
    display: grid;
    grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    border: 1px solid rgba(232,208,129,0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    padding: 1rem 1.1rem;
}
.pm-ledger__row strong {
    color: var(--ic-gold-light);
}
.pm-ledger__row span {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}
.pm-method-timeline {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.pm-method-step {
    position: relative;
    min-height: 300px;
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 8px;
    background: rgba(255,255,255,0.68);
    padding: 1.45rem;
    box-shadow: 0 18px 44px rgba(13,43,31,0.07);
    overflow: hidden;
}
.pm-method-step::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    right: 1.45rem;
    bottom: 1rem;
    height: 3px;
    background: linear-gradient(90deg, var(--ic-gold), transparent);
}
[dir="rtl"] .pm-method-step::after {
    background: linear-gradient(270deg, var(--ic-gold), transparent);
}
.pm-method-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ic-emerald);
    color: var(--ic-gold-light);
    font-weight: 900;
    margin-bottom: 1.25rem;
}
.pm-method-step h3 {
    color: var(--ic-emerald);
    margin: 0 0 0.7rem;
    font-size: 1.18rem;
}
.pm-method-step p {
    color: rgba(26,18,8,0.68);
    line-height: 1.75;
    margin: 0;
}
.pm-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(201,168,76,0.32);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(13,43,31,0.98), rgba(22,61,45,0.96)),
        var(--ic-emerald);
    color: #fff;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 28px 70px rgba(13,43,31,0.2);
}
.pm-final-cta__eyebrow {
    color: var(--ic-gold-light);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    margin: 0 0 0.65rem;
}
.pm-final-cta h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.65rem);
    margin: 0;
}

/* ── Parents Page Upgrade ───────────────────────────────────── */
.pm-page--parents {
    background:
        linear-gradient(180deg, rgba(251,245,230,0.96), rgba(255,250,240,0.98)),
        var(--ic-parchment);
}
.pm-page--parents .pm-hero__shade {
    background:
        radial-gradient(circle at 18% 34%, rgba(201,168,76,0.24), transparent 28%),
        linear-gradient(90deg, rgba(7,21,15,0.94) 0%, rgba(7,21,15,0.78) 52%, rgba(7,21,15,0.58) 100%),
        linear-gradient(180deg, rgba(7,21,15,0.22), rgba(7,21,15,0.91));
}
.pm-page--parents .pm-hero {
    min-height: 730px;
}
.pm-page--parents .pm-hero__wrap {
    padding-top: 7.4rem;
    padding-bottom: 4.2rem;
}
.pm-page--parents .pm-title {
    max-width: 820px;
    font-size: clamp(2.45rem, 5vw, 4.55rem);
    line-height: 1.08;
}
.pm-page--parents .pm-lead {
    max-width: 720px;
    font-size: 1.06rem;
    line-height: 1.78;
    margin-bottom: 1.45rem;
}
.pm-hero__trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 780px;
    margin-top: 1.25rem;
}
.pm-hero__trust-row > div {
    border: 1px solid rgba(232,208,129,0.24);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    padding: 0.95rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.pm-hero__trust-row strong,
.pm-hero__trust-row span {
    display: block;
}
.pm-hero__trust-row strong {
    color: var(--ic-gold-light);
    font-size: 0.92rem;
}
.pm-hero__trust-row span {
    color: rgba(255,255,255,0.68);
    font-size: 0.86rem;
    line-height: 1.55;
    margin-top: 0.2rem;
}
.pm-arch-panel--assurance {
    background:
        radial-gradient(circle at 50% 0%, rgba(232,208,129,0.28), transparent 34%),
        rgba(251,245,230,0.96);
}
.pm-panel__note {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(154,122,40,0.18);
    padding-top: 1rem;
    color: var(--ic-emerald);
    font-family: var(--font-arabic-verse);
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: center;
}
[lang="en"] .pm-panel__note {
    font-family: var(--font-heading-en);
    font-size: 1rem;
    font-style: italic;
}
.pm-section--ivory {
    background: #fffaf0;
}
.pm-section--deep {
    background:
        linear-gradient(135deg, rgba(201,168,76,0.1), transparent 38%),
        #07150f;
    color: #fff;
}
.pm-section--worries::before,
.pm-section--ivory::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(201,168,76,0.045) 12%, transparent 12.5%, transparent 87%, rgba(201,168,76,0.045) 87.5%, rgba(201,168,76,0.045)),
        linear-gradient(150deg, rgba(201,168,76,0.04) 12%, transparent 12.5%, transparent 87%, rgba(201,168,76,0.04) 87.5%, rgba(201,168,76,0.04));
    background-size: 62px 108px;
    opacity: 0.5;
    pointer-events: none;
}
.pm-worry-grid,
.pm-matching-grid,
.pm-program-grid,
.pm-testimonial-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}
.pm-worry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pm-worry-card,
.pm-match-card,
.pm-program-card,
.pm-parent-quote,
.pm-journey-step,
.pm-standards-list article {
    position: relative;
    border: 1px solid rgba(201,168,76,0.26);
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(13,43,31,0.07);
}
.pm-worry-card::before,
.pm-match-card::before,
.pm-program-card::before,
.pm-parent-quote::before,
.pm-journey-step::before,
.pm-standards-list article::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201,168,76,0.11);
    border-radius: 6px;
    pointer-events: none;
}
.pm-worry-card {
    min-height: 285px;
    padding: 1.35rem;
}
.pm-worry-card h3,
.pm-match-card h3,
.pm-program-card h3,
.pm-journey-step h3,
.pm-standards-list h3 {
    color: var(--ic-emerald);
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
}
.pm-worry-card p,
.pm-match-card p,
.pm-program-card p,
.pm-journey-step p,
.pm-standards-list p {
    color: rgba(26,18,8,0.68);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
}
.pm-section--care {
    background:
        radial-gradient(circle at 78% 14%, rgba(232,208,129,0.14), transparent 28%),
        #08160f;
}
.pm-split--care {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}
.pm-care-copy h2,
.pm-followup-copy h2,
.pm-standards-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    margin: 0.9rem 0 1rem;
}
.pm-care-copy p,
.pm-followup-copy p,
.pm-standards-copy p {
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    margin: 0;
}
.pm-care-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}
.pm-care-pillars span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(232,208,129,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--ic-gold-light);
    padding: 0.62rem 0.95rem;
    font-weight: 800;
}
.pm-progress-note {
    position: relative;
    border: 1px solid rgba(232,208,129,0.34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(251,245,230,0.98), rgba(255,250,240,0.94)),
        var(--ic-parchment);
    padding: clamp(1.2rem, 3vw, 1.8rem);
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    color: var(--ic-ink);
    overflow: hidden;
}
.pm-progress-note::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(154,122,40,0.14);
    border-radius: 6px;
    pointer-events: none;
}
.pm-progress-note__top,
.pm-progress-note__student,
.pm-progress-note__rows {
    position: relative;
    z-index: 1;
}
.pm-progress-note__top,
.pm-report-board__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.pm-progress-note__top {
    border-bottom: 1px solid rgba(154,122,40,0.18);
    padding-bottom: 1rem;
    color: var(--ic-gold-deep);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}
.pm-progress-note__top strong {
    color: var(--ic-emerald);
}
.pm-progress-note__student {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}
.pm-progress-note__student div {
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.54);
    padding: 0.9rem;
}
.pm-progress-note small {
    display: block;
    color: rgba(26,18,8,0.54);
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.pm-progress-note__student strong {
    color: var(--ic-emerald);
    line-height: 1.45;
}
.pm-progress-note__rows {
    display: grid;
    gap: 0.72rem;
}
.pm-progress-note__rows div {
    border-inline-start: 3px solid var(--ic-gold);
    background: rgba(13,43,31,0.055);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}
.pm-progress-note__rows span,
.pm-report-board__note span {
    display: block;
    color: var(--ic-gold-deep);
    font-weight: 900;
    margin-bottom: 0.2rem;
}
.pm-progress-note__rows p {
    color: rgba(26,18,8,0.72);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}
.pm-matching-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pm-match-card {
    min-height: 230px;
    padding: 1.35rem;
}
.pm-match-card span,
.pm-journey-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ic-emerald);
    color: var(--ic-gold-light);
    font-weight: 900;
    margin-bottom: 1rem;
}
.pm-followup-layout,
.pm-standards-layout,
.pm-faq-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.pm-report-board {
    position: relative;
    border: 1px solid rgba(232,208,129,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.075);
    padding: clamp(1.2rem, 3vw, 1.7rem);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 26px 64px rgba(0,0,0,0.22);
}
.pm-report-board__header {
    color: #fff;
    margin-bottom: 1.2rem;
}
.pm-report-board__header small {
    display: block;
    color: var(--ic-gold-light);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}
.pm-report-board__header strong {
    font-size: 1.3rem;
}
.pm-report-board__header i {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232,208,129,0.14);
    color: var(--ic-gold-light);
}
.pm-report-meter {
    display: grid;
    grid-template-columns: minmax(100px, 0.3fr) minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    border-bottom: 1px solid rgba(232,208,129,0.14);
    padding: 0.9rem 0;
}
.pm-report-meter span,
.pm-report-meter strong {
    color: rgba(255,255,255,0.86);
    font-weight: 800;
}
.pm-report-meter div {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}
.pm-report-meter b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ic-gold), var(--ic-gold-light));
}
.pm-report-board__note {
    margin-top: 1.1rem;
    border: 1px solid rgba(232,208,129,0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    padding: 1rem;
}
.pm-report-board__note p {
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin: 0;
}
.pm-journey-line {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
}
.pm-journey-step {
    min-height: 260px;
    padding: 1.2rem;
}
.pm-journey-step::after {
    content: "";
    position: absolute;
    inset-inline-start: 1.2rem;
    inset-inline-end: 1.2rem;
    bottom: 0.9rem;
    height: 3px;
    background: linear-gradient(90deg, var(--ic-gold), transparent);
}
[dir="rtl"] .pm-journey-step::after {
    background: linear-gradient(270deg, var(--ic-gold), transparent);
}
.pm-program-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pm-program-card {
    min-height: 285px;
    padding: 1.35rem;
}
.pm-program-card i {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ic-emerald);
    color: var(--ic-gold-light);
    margin-bottom: 1.15rem;
}
.pm-program-card--featured {
    background:
        linear-gradient(180deg, rgba(13,43,31,0.96), rgba(22,61,45,0.96)),
        var(--ic-emerald);
}
.pm-program-card--featured h3 {
    color: #fff;
}
.pm-program-card--featured p {
    color: rgba(255,255,255,0.74);
}
.pm-program-card--featured i {
    background: rgba(232,208,129,0.14);
}
.pm-section--standards {
    background:
        radial-gradient(circle at 12% 18%, rgba(232,208,129,0.12), transparent 28%),
        #08160f;
}
.pm-standards-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
}
.pm-standards-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.pm-standards-list article {
    min-height: 215px;
    padding: 1.25rem;
    background: rgba(255,255,255,0.07);
    border-color: rgba(232,208,129,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.pm-standards-list article::before {
    border-color: rgba(232,208,129,0.09);
}
.pm-standards-list i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232,208,129,0.13);
    color: var(--ic-gold-light);
    margin-bottom: 1rem;
}
.pm-standards-list h3 {
    color: #fff;
}
.pm-standards-list p {
    color: rgba(255,255,255,0.7);
}
.pm-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pm-parent-quote {
    min-height: 300px;
    padding: 1.45rem;
}
.pm-parent-quote__stars {
    color: var(--ic-gold-deep);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.pm-parent-quote p {
    color: rgba(26,18,8,0.74);
    font-size: 1rem;
    line-height: 1.85;
    margin: 0 0 1.25rem;
}
.pm-parent-quote strong,
.pm-parent-quote span {
    display: block;
}
.pm-parent-quote strong {
    color: var(--ic-emerald);
}
.pm-parent-quote span {
    color: rgba(26,18,8,0.56);
    font-size: 0.92rem;
    margin-top: 0.2rem;
}
.pm-faq-layout {
    align-items: start;
}
.pm-faq-intro h2 {
    color: var(--ic-emerald);
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin: 0.9rem 0 1rem;
}
.pm-faq-intro p {
    color: rgba(26,18,8,0.7);
    line-height: 1.85;
}
.pm-faq-list {
    display: grid;
    gap: 0.75rem;
}
.pm-faq-list details {
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 8px;
    background: rgba(255,255,255,0.74);
    box-shadow: 0 14px 34px rgba(13,43,31,0.055);
    overflow: hidden;
}
.pm-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    color: var(--ic-emerald);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.pm-faq-list summary::-webkit-details-marker {
    display: none;
}
.pm-faq-list summary::after {
    content: "+";
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201,168,76,0.12);
    color: var(--ic-gold-deep);
    font-weight: 900;
}
.pm-faq-list details[open] summary::after {
    content: "-";
}
.pm-faq-list details p {
    border-top: 1px solid rgba(201,168,76,0.16);
    color: rgba(26,18,8,0.68);
    padding: 0 1.1rem 1.1rem;
    line-height: 1.75;
    margin: 0;
}
.pm-final-cta--parents h2 {
    max-width: 860px;
}

@media (max-width: 1100px) {
    .pm-principles-grid,
    .pm-method-timeline,
    .pm-worry-grid,
    .pm-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pm-journey-line {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .hp-method__shell,
    .pm-hero__grid,
    .pm-split,
    .pm-split--reverse,
    .pm-split--care,
    .pm-followup-layout,
    .pm-standards-layout,
    .pm-faq-layout,
    .hp-amanah__panel,
    .pm-final-cta {
        grid-template-columns: 1fr;
    }
    .pm-hero__panel {
        justify-self: stretch;
        width: 100%;
    }
    .pm-image-frame,
    .pm-image-frame img {
        min-height: 420px;
    }
    .hp-amanah__link,
    .pm-final-cta .pm-btn {
        width: 100%;
    }
    .pm-hero {
        min-height: auto;
    }
    .pm-matching-grid,
    .pm-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .hp-method,
    .pm-section {
        padding: 4.5rem 0;
    }
    .pm-hero__wrap {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }
    .hp-method__map,
    .pm-principles-grid,
    .pm-method-timeline,
    .pm-worry-grid,
    .pm-matching-grid,
    .pm-program-grid,
    .pm-testimonial-grid,
    .pm-standards-list,
    .pm-journey-line {
        grid-template-columns: 1fr;
    }
    .pm-hero__trust-row,
    .pm-progress-note__student,
    .pm-report-meter {
        grid-template-columns: 1fr;
    }
    .pm-ledger__row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
    .pm-image-frame,
    .pm-image-frame img {
        min-height: 340px;
    }
    .hp-link,
    .pm-btn {
        width: 100%;
    }
    .pm-principle-card,
    .pm-method-step,
    .pm-worry-card,
    .pm-match-card,
    .pm-program-card,
    .pm-parent-quote,
    .pm-journey-step,
    .pm-standards-list article,
    .hp-method__node {
        min-height: auto;
    }
    .pm-report-meter div {
        width: 100%;
    }
}

/* ── Parents Page: Islamic Editorial Visual Pass ─────────────── */
.pm-page--islamic h1,
.pm-page--islamic h2,
.pm-page--islamic h3 {
    letter-spacing: 0;
}
.pm-page--islamic .pm-section {
    isolation: isolate;
}
.pm-hero__covenant-strip {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 760px;
    margin-top: 1.4rem;
    border-top: 1px solid rgba(232,208,129,0.34);
    border-bottom: 1px solid rgba(232,208,129,0.22);
}
.pm-hero__covenant-strip span {
    position: relative;
    flex: 1 1 170px;
    min-width: 0;
    padding: 0.95rem 1.1rem;
}
.pm-hero__covenant-strip span + span {
    border-inline-start: 1px solid rgba(232,208,129,0.2);
}
.pm-hero__covenant-strip span::before {
    content: "✦";
    color: var(--ic-gold);
    margin-inline-end: 0.45rem;
}
.pm-hero__covenant-strip b,
.pm-hero__covenant-strip small {
    display: inline;
}
.pm-hero__covenant-strip b {
    color: var(--ic-gold-light);
    font-weight: 900;
}
.pm-hero__covenant-strip small {
    color: rgba(255,255,255,0.68);
    font-size: 0.84rem;
    margin-inline-start: 0.25rem;
}
.pm-section__ornament {
    position: absolute;
    inset: 2rem auto auto 50%;
    width: min(52vw, 520px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(201,168,76,0.1) 0deg 8deg, transparent 8deg 16deg),
        radial-gradient(circle, transparent 0 44%, rgba(201,168,76,0.11) 45% 46%, transparent 47%);
    opacity: 0.45;
    pointer-events: none;
    z-index: -1;
}
.pm-section--mihrab {
    background:
        radial-gradient(circle at 50% 8%, rgba(201,168,76,0.16), transparent 28%),
        linear-gradient(180deg, #fffaf0, var(--ic-parchment));
}
.pm-reassurance-mihrab {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: clamp(1.2rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    max-width: 1060px;
    min-height: 520px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 0;
}
.pm-reassurance-mihrab::before {
    content: "";
    position: absolute;
    inset: 0 18%;
    border: 1px solid rgba(154,122,40,0.2);
    border-bottom: 0;
    border-radius: 260px 260px 0 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.3), transparent),
        radial-gradient(circle at 50% 16%, rgba(201,168,76,0.18), transparent 30%);
    pointer-events: none;
}
.pm-reassurance-mihrab::after {
    content: "";
    position: absolute;
    inset: 12% 28%;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 12deg, rgba(13,43,31,0.06) 0deg 12deg, transparent 12deg 24deg);
    opacity: 0.55;
    pointer-events: none;
}
.pm-mihrab-core {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,168,76,0.32);
    border-radius: 180px 180px 8px 8px;
    background:
        linear-gradient(180deg, rgba(13,43,31,0.96), rgba(22,61,45,0.94)),
        var(--ic-emerald);
    color: #fff;
    box-shadow: 0 30px 70px rgba(13,43,31,0.18);
}
.pm-mihrab-core::before,
.pm-mihrab-core::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(232,208,129,0.22);
    pointer-events: none;
}
.pm-mihrab-core::before {
    inset: 12px;
    border-radius: 160px 160px 6px 6px;
}
.pm-mihrab-core::after {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    top: 34px;
    background:
        repeating-conic-gradient(from 0deg, rgba(232,208,129,0.25) 0deg 10deg, transparent 10deg 20deg);
    opacity: 0.55;
}
.pm-mihrab-core__arabic {
    position: relative;
    z-index: 1;
    color: var(--ic-gold-light);
    font-family: var(--font-arabic-verse);
    font-size: clamp(2.7rem, 5vw, 4.2rem);
    line-height: 1;
}
.pm-mihrab-core__latin {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.72);
    margin-top: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 800;
}
.pm-reassurance-point {
    position: relative;
    z-index: 1;
    padding-block: 1rem;
    border-block-start: 1px solid rgba(154,122,40,0.22);
}
.pm-reassurance-point::before {
    content: "";
    position: absolute;
    inset-block-start: -1px;
    inset-inline-start: 0;
    width: 56px;
    height: 2px;
    background: var(--ic-gold);
}
.pm-reassurance-point i {
    color: var(--ic-gold-deep);
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}
.pm-reassurance-point h3 {
    color: var(--ic-emerald);
    font-size: 1.22rem;
    margin: 0 0 0.45rem;
}
.pm-reassurance-point p {
    color: rgba(26,18,8,0.7);
    line-height: 1.8;
    margin: 0;
}
.pm-reassurance-point--one,
.pm-reassurance-point--three {
    text-align: end;
}
.pm-progress-note--manuscript {
    border-radius: 8px 8px 96px 96px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201,168,76,0.16), transparent 28%),
        linear-gradient(180deg, rgba(251,245,230,0.98), rgba(255,250,240,0.94));
}
.pm-section--tessellation {
    background:
        linear-gradient(180deg, #fffaf0, #f8efd9);
}
.pm-tessellation {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    max-width: 1120px;
    margin: 0 auto;
}
.pm-tessellation::before {
    content: "";
    position: absolute;
    inset: 50% 4% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(154,122,40,0.46), transparent);
    z-index: -1;
}
.pm-tessera {
    position: relative;
    min-height: 245px;
    padding: 2.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ic-emerald);
}
.pm-tessera::before {
    content: "";
    position: absolute;
    inset: 0.4rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(251,245,230,0.7));
    clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    border: 1px solid rgba(201,168,76,0.24);
    box-shadow: 0 18px 36px rgba(13,43,31,0.06);
    z-index: -1;
}
.pm-tessera:nth-child(even) {
    transform: translateY(3rem);
}
.pm-tessera span {
    color: var(--ic-gold-deep);
    font-weight: 900;
    margin-bottom: 0.6rem;
}
.pm-tessera h3 {
    color: var(--ic-emerald);
    font-size: 1.16rem;
    margin: 0 0 0.5rem;
}
.pm-tessera p {
    color: rgba(26,18,8,0.66);
    max-width: 150px;
    margin: 0 auto;
    line-height: 1.65;
}
.pm-section--sijil {
    background:
        radial-gradient(circle at 80% 8%, rgba(232,208,129,0.12), transparent 30%),
        #07150f;
}
.pm-report-board--sijil {
    border-radius: 8px 96px 8px 96px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
}
.pm-section--beads {
    background:
        radial-gradient(circle at 50% 0%, rgba(201,168,76,0.14), transparent 28%),
        var(--ic-parchment);
}
.pm-bead-journey {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 2rem 0 0;
    margin: 0;
}
.pm-bead-journey::before {
    content: "";
    position: absolute;
    top: 4.2rem;
    inset-inline: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(154,122,40,0.42), transparent);
    z-index: -1;
}
.pm-bead-journey li {
    position: relative;
    text-align: center;
    padding-top: 5.2rem;
}
.pm-bead-journey li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 76px;
    height: 76px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(232,208,129,0.9), rgba(154,122,40,0.92));
    box-shadow: 0 10px 28px rgba(154,122,40,0.16), inset 0 0 0 9px rgba(255,250,240,0.2);
}
.pm-bead-journey span {
    position: absolute;
    top: 1.55rem;
    left: 50%;
    transform: translateX(-50%);
    color: #161006;
    font-weight: 900;
    z-index: 1;
}
.pm-bead-journey h3 {
    color: var(--ic-emerald);
    font-size: 1.08rem;
    margin: 0 0 0.45rem;
}
.pm-bead-journey p {
    color: rgba(26,18,8,0.68);
    line-height: 1.65;
    margin: 0;
}
.pm-section--scroll-paths {
    background:
        linear-gradient(180deg, #fffaf0, #f8efd9);
}
.pm-path-scroll {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
    border-block: 1px solid rgba(154,122,40,0.28);
}
.pm-path-scroll::before {
    content: "";
    position: absolute;
    inset: -1.6rem 2rem;
    border-inline: 1px solid rgba(154,122,40,0.15);
    pointer-events: none;
}
.pm-path-scroll article {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(150px, 0.36fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(154,122,40,0.16);
}
.pm-path-scroll article:last-child {
    border-bottom: 0;
}
.pm-path-scroll i {
    justify-self: center;
    color: var(--ic-gold-deep);
    font-size: 1.35rem;
}
.pm-path-scroll h3 {
    color: var(--ic-emerald);
    font-size: 1.16rem;
    margin: 0;
}
.pm-path-scroll p {
    color: rgba(26,18,8,0.68);
    line-height: 1.7;
    margin: 0;
}
.pm-path-scroll__featured {
    background: rgba(13,43,31,0.05);
}
.pm-section--pillars {
    background:
        radial-gradient(circle at 14% 20%, rgba(232,208,129,0.12), transparent 26%),
        #08160f;
}
.pm-pillar-court {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: end;
}
.pm-pillar-court article {
    position: relative;
    min-height: 320px;
    padding: 5.4rem 1rem 1.2rem;
    text-align: center;
    border-bottom: 2px solid rgba(232,208,129,0.38);
    color: #fff;
}
.pm-pillar-court article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 112px;
    height: 112px;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid rgba(232,208,129,0.28);
    background: rgba(255,255,255,0.04);
}
.pm-pillar-court article::after {
    content: "";
    position: absolute;
    top: 5.2rem;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, rgba(232,208,129,0.55), transparent);
}
.pm-pillar-court i {
    position: absolute;
    top: 2.35rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ic-gold-light);
    font-size: 1.35rem;
    z-index: 1;
}
.pm-pillar-court h3,
.pm-pillar-court p {
    position: relative;
    z-index: 1;
}
.pm-pillar-court h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}
.pm-pillar-court p {
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin: 0;
}
.pm-section--voices {
    background:
        linear-gradient(180deg, #fffaf0, var(--ic-parchment));
}
.pm-parent-voices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}
.pm-parent-voices article {
    position: relative;
    padding: 0.8rem 0 0.8rem 1.4rem;
    border-inline-start: 2px solid rgba(154,122,40,0.42);
}
[dir="rtl"] .pm-parent-voices article {
    padding: 0.8rem 1.4rem 0.8rem 0;
}
.pm-parent-voices article::before {
    content: "“";
    position: absolute;
    inset-inline-start: 0.1rem;
    top: -1.2rem;
    color: rgba(154,122,40,0.18);
    font-family: var(--font-heading-en);
    font-size: 5rem;
    line-height: 1;
}
.pm-parent-voices p {
    position: relative;
    color: rgba(26,18,8,0.74);
    font-size: 1.03rem;
    line-height: 1.9;
    margin: 0 0 1rem;
}
.pm-parent-voices strong,
.pm-parent-voices span {
    display: block;
}
.pm-parent-voices strong {
    color: var(--ic-emerald);
}
.pm-parent-voices span {
    color: rgba(26,18,8,0.55);
    font-size: 0.9rem;
}
.pm-faq-list--manuscript details {
    border: 0;
    border-bottom: 1px solid rgba(154,122,40,0.24);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.pm-faq-list--manuscript summary {
    padding-inline: 0;
}
.pm-faq-list--manuscript details p {
    border-top: 0;
    padding-inline: 0;
}

@media (max-width: 1100px) {
    .pm-tessellation,
    .pm-pillar-court,
    .pm-parent-voices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pm-tessera:nth-child(even) {
        transform: none;
    }
    .pm-bead-journey {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 2rem;
    }
    .pm-bead-journey::before {
        display: none;
    }
}
@media (max-width: 820px) {
    .pm-reassurance-mihrab {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 560px;
    }
    .pm-reassurance-mihrab::before,
    .pm-reassurance-mihrab::after {
        display: none;
    }
    .pm-mihrab-core {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
        order: -1;
    }
    .pm-reassurance-point,
    .pm-reassurance-point--one,
    .pm-reassurance-point--three {
        text-align: start;
    }
}
@media (max-width: 640px) {
    .pm-hero__covenant-strip {
        display: grid;
        grid-template-columns: 1fr;
    }
    .pm-hero__covenant-strip span + span {
        border-inline-start: 0;
        border-top: 1px solid rgba(232,208,129,0.18);
    }
    .pm-tessellation,
    .pm-pillar-court,
    .pm-parent-voices,
    .pm-bead-journey {
        grid-template-columns: 1fr;
    }
    .pm-tessera {
        min-height: 190px;
    }
    .pm-path-scroll article {
        grid-template-columns: 48px 1fr;
        gap: 0.7rem;
    }
    .pm-path-scroll article p {
        grid-column: 2;
    }
    .pm-pillar-court article {
        min-height: auto;
        padding: 5rem 1rem 1.4rem;
    }
}
