/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE: Authentic Islamic Tone (Part 1: The Hero)
   Colors: Deep Emerald & Holy Gold
   ══════════════════════════════════════════════════════════════════ */

.ab-hero-islamic {
    position: relative;
    min-height: 80vh;
    background: var(--ic-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-6xl) 0 var(--space-4xl);
}

/* Background Image Layer (Deeply Tinted) */
.ab-hero-islamic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/islamic-hero-bg.jpg') center/cover;
    opacity: 0.15;
    mix-blend-mode: luminosity;
}

/* Base Emerald Overlay for richness */
.ab-hero-islamic::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(13, 43, 31, 0.4) 0%, rgba(13, 43, 31, 1) 100%);
    pointer-events: none;
}

/* The Grand Mihrab Arch */
.ab-mihrab-frame {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid rgba(201,168,76,0.3);
    border-bottom: none;
    border-radius: 500px 500px 0 0; /* Huge arch shape */
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(201,168,76,0.05) 0%, rgba(13,43,31,0) 100%);
    box-shadow: inset 0 30px 60px rgba(201,168,76,0.05);
}

/* Double border for the arch */
.ab-mihrab-frame::before {
    content: '';
    position: absolute;
    inset: 15px 15px 0 15px;
    border: 1px dashed rgba(201,168,76,0.4);
    border-bottom: none;
    border-radius: 485px 485px 0 0;
    pointer-events: none;
}

/* Hanging Lanterns */
.ab-lantern {
    position: absolute;
    top: -20px;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(201,168,76,0) 0%, rgba(201,168,76,0.8) 100%);
}

.ab-lantern::after {
    content: '\f8e1'; /* FontAwesome Mosque/Lantern icon approximation, we will use an icon element in HTML for better control */
}

/* We will place the lanterns using HTML and style their glow here */
.ab-lantern-icon {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--ic-gold);
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.8));
    animation: swing 6s ease-in-out infinite alternate;
    transform-origin: top center;
}

.ab-lantern--left { left: 15%; height: 120px; }
.ab-lantern--right { right: 15%; height: 160px; animation-delay: -3s; }

@keyframes swing {
    0% { transform: translateX(-50%) rotate(3deg); }
    100% { transform: translateX(-50%) rotate(-3deg); }
}

/* Golden Seal (Instead of modern badge) */
.ab-gold-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid var(--ic-gold);
    border-radius: 50%;
    background: var(--ic-emerald-dark);
    color: var(--ic-gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(201,168,76,0.3), inset 0 0 15px rgba(201,168,76,0.2);
    position: relative;
}

/* Eight-pointed star rotation */
.ab-gold-seal::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(201,168,76,0.6);
    transform: rotate(45deg);
    transition: transform 10s linear infinite;
}

/* Elegant Typography */
.ab-hero-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.ab-hero-title span {
    color: var(--ic-gold);
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 0.5rem;
    font-family: var(--font-arabic-verse);
}

.ab-hero-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    line-height: 1.9;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-arabic);
}

/* Subtle glowing dust particles */
.ab-hero-dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ic-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ic-gold);
    animation: floatUp 15s linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-20vh); opacity: 0; }
}

@media (max-width: 767px) {
    .ab-mihrab-frame {
        width: 100%;
        border-radius: 200px 200px 0 0;
        padding: 5rem 1rem 3rem;
        border-left: none;
        border-right: none;
    }
    .ab-mihrab-frame::before {
        inset: 10px 0 0 0;
        border-radius: 190px 190px 0 0;
        border-left: none;
        border-right: none;
    }
    .ab-lantern { display: none; } /* Hide on small screens to save space */
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE: Authentic Islamic Tone (Part 2: The Manuscript)
   Colors: Parchment & Gold
   ══════════════════════════════════════════════════════════════════ */

.ab-manuscript-section {
    padding: var(--space-6xl) 0;
    background-color: var(--ic-parchment);
    position: relative;
    color: var(--ic-ink);
    border-top: 5px solid var(--ic-gold);
}

/* Subtle paper texture overlay */
.ab-manuscript-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.ab-manuscript-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.ab-manuscript-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--ic-emerald);
    margin-bottom: 1rem;
}

.ab-manuscript-subtitle {
    font-size: 1.2rem;
    color: var(--ic-ink-soft);
    font-family: var(--font-arabic);
}

/* The Pages Grid */
.ab-manuscript-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Individual Page (Curriculum Subject) */
.ab-manuscript-page {
    position: relative;
    background: var(--ea-white); /* Pure white pages on parchment bg */
    padding: 3rem 2rem;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05), inset 0 0 20px rgba(201,168,76,0.05);
    transition: transform 0.4s ease;
}

/* Classic Islamic Corner Borders */
.ab-manuscript-page::before,
.ab-manuscript-page::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--ic-gold);
    pointer-events: none;
}

/* Top Left */
.ab-manuscript-page::before {
    top: 15px; left: 15px;
    border-right: none; border-bottom: none;
}

/* Bottom Right */
.ab-manuscript-page::after {
    bottom: 15px; right: 15px;
    border-left: none; border-top: none;
}

/* Additional corners (using an inner wrapper for the other two) */
.ab-page-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ab-page-inner::before,
.ab-page-inner::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--ic-gold);
    pointer-events: none;
}

/* Top Right */
.ab-page-inner::before {
    top: -15px; right: -5px; /* Offset to match the outer padding */
    border-left: none; border-bottom: none;
}

/* Bottom Left */
.ab-page-inner::after {
    bottom: -15px; left: -5px;
    border-right: none; border-top: none;
}

/* The Giant Watermark Letter */
.ab-page-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-family: var(--font-arabic-verse);
    color: var(--ic-gold);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.ab-manuscript-page:hover {
    transform: translateY(-5px);
}
.ab-manuscript-page:hover .ab-page-watermark {
    opacity: 0.1;
    color: var(--ic-emerald);
}

.ab-page-icon {
    font-size: 2.5rem;
    color: var(--ic-emerald);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.ab-page-title {
    font-family: var(--font-arabic-heading);
    font-size: 1.8rem;
    color: var(--ic-emerald);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Decorative separator line under title */
.ab-page-title::after {
    content: '◈';
    display: block;
    font-size: 0.8rem;
    color: var(--ic-gold);
    margin-top: 0.5rem;
    letter-spacing: 20px; /* To give space if we wanted more diamonds, but one is fine */
}

.ab-page-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ic-ink-soft);
    text-align: center;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE: Authentic Islamic Tone (Part 3: The Golden Medallions)
   Colors: Deep Emerald & Holy Gold
   ══════════════════════════════════════════════════════════════════ */

.ab-medallion-section {
    padding: var(--space-6xl) 0;
    background: var(--ic-emerald);
    position: relative;
    overflow: hidden;
}

/* Subtle rotating background rings symbolizing continuous knowledge */
.ab-medallion-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vw;
    border: 1px dashed rgba(201,168,76,0.05);
    border-radius: 50%;
    animation: slowRotate 120s linear infinite;
    pointer-events: none;
}
.ab-medallion-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    border: 1px dashed rgba(201,168,76,0.08);
    border-radius: 50%;
    animation: slowRotate 90s linear infinite reverse;
    pointer-events: none;
}

.ab-medallion-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.ab-medallion-header-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.ab-medallion-header-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-arabic);
}

/* The Chain Container */
.ab-medallion-chain {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    position: relative;
    z-index: 2;
    padding: 2rem 0 6rem; /* Extra padding for the tooltip */
}

/* The Golden Thread connecting them */
.ab-medallion-chain::before {
    content: '';
    position: absolute;
    top: 60px; /* Center of medallion */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(201,168,76,0) 0%, 
        rgba(201,168,76,0.6) 50%, 
        rgba(201,168,76,0) 100%);
    z-index: 0;
}

/* Individual Medallion Container */
.ab-medallion-node {
    position: relative;
    z-index: 2;
    cursor: pointer;
    perspective: 1000px;
}

/* The Medallion Seal */
.ab-medallion-seal {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--ic-emerald-dark);
    border: 3px solid var(--ic-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--ic-gold);
    font-family: var(--font-arabic-verse);
    box-shadow: 0 0 0 6px rgba(13, 43, 31, 1), 0 0 20px rgba(201,168,76,0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner decorative ring */
.ab-medallion-seal::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(201,168,76,0.5);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

/* Hover Effects */
.ab-medallion-node:hover .ab-medallion-seal {
    transform: scale(1.1);
    background: var(--ic-gold);
    color: var(--ic-emerald);
    box-shadow: 0 0 0 6px rgba(13, 43, 31, 1), 0 0 40px rgba(201,168,76,0.8);
}
.ab-medallion-node:hover .ab-medallion-seal::before {
    border-color: rgba(13, 43, 31, 0.5);
    transform: rotate(45deg);
}

/* The Scroll Tooltip (Scholar Details) */
.ab-medallion-scroll {
    position: absolute;
    top: 130px; /* Below the medallion */
    left: 50%;
    transform: translateX(-50%) rotateX(-20deg);
    transform-origin: top center;
    width: 280px;
    background: rgba(251, 245, 230, 0.05); /* Very faint parchment */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201,168,76,0.3);
    border-top: 3px solid var(--ic-gold);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 50px rgba(0,0,0,0.6);
}

/* The glowing connection point */
.ab-medallion-scroll::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--ic-emerald);
    border-left: 1px solid rgba(201,168,76,0.3);
    border-top: 1px solid rgba(201,168,76,0.3);
}

.ab-medallion-node:hover .ab-medallion-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) rotateX(0deg);
}

.ab-medallion-title {
    color: var(--ic-gold);
    font-family: var(--font-arabic-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.ab-medallion-role {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(201,168,76,0.3);
}

.ab-medallion-cert {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .ab-medallion-chain { flex-direction: column; gap: 3rem; padding-bottom: 2rem; }
    .ab-medallion-chain::before {
        top: 10%; bottom: 10%;
        left: 50px; right: auto;
        width: 2px; height: auto;
        background: linear-gradient(to bottom, rgba(201,168,76,0) 0%, rgba(201,168,76,0.6) 50%, rgba(201,168,76,0) 100%);
    }
    html[lang="ar"] .ab-medallion-chain::before {
        left: auto; right: 50px;
    }
    .ab-medallion-scroll {
        top: 50%; left: 140px;
        transform: translateY(-50%) rotateY(20deg);
        transform-origin: left center;
    }
    .ab-medallion-node:hover .ab-medallion-scroll {
        transform: translateY(-50%) rotateY(0deg);
    }
    .ab-medallion-scroll::before {
        top: 50%; left: -8px;
        transform: translateY(-50%) rotate(-45deg);
        border-top: none; border-bottom: 1px solid rgba(201,168,76,0.3);
    }
    html[lang="ar"] .ab-medallion-scroll {
        left: auto; right: 140px;
        transform-origin: right center;
        transform: translateY(-50%) rotateY(-20deg);
    }
    html[lang="ar"] .ab-medallion-node:hover .ab-medallion-scroll {
        transform: translateY(-50%) rotateY(0deg);
    }
    html[lang="ar"] .ab-medallion-scroll::before {
        left: auto; right: -8px;
        transform: translateY(-50%) rotate(135deg);
    }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE: Authentic Islamic Tone (Part 4: The Final CTA)
   ══════════════════════════════════════════════════════════════════ */
.ab-cta-section {
    padding: var(--space-4xl) 0 var(--space-6xl);
    background: var(--ic-emerald);
}

.ab-cta-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background image with heavy emerald tint */
.ab-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/islamic-hero-bg.jpg') center/cover;
    opacity: 0.2;
    mix-blend-mode: luminosity;
}

/* Dark emerald gradient overlay */
.ab-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,43,31,0.7) 0%, rgba(13,43,31,0.95) 100%);
}

.ab-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.ab-cta-icon {
    font-size: 3.5rem;
    color: var(--ic-gold);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.5));
}

.ab-cta-verse {
    font-family: var(--font-arabic-verse);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--ic-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.ab-cta-verse-ref {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-family: var(--font-arabic);
}

.ab-cta-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.ab-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ab-btn-primary {
    background: var(--ic-gold);
    color: var(--ic-emerald-dark);
    padding: 1.25rem 3rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid var(--ic-gold);
}
.ab-btn-primary:hover {
    background: #fff;
    color: var(--ic-emerald-dark);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201,168,76,0.4);
}

.ab-btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 1.25rem 3rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.ab-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE: Narrative Sections (Story, Features, Stats)
   ══════════════════════════════════════════════════════════════════ */

/* --- 1. Our Story (Parchment) --- */
.ab-story-section {
    padding: var(--space-6xl) 0;
    background-color: var(--ic-parchment);
    position: relative;
    color: var(--ic-ink);
}

/* Paper texture */
.ab-story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.ab-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ab-story-content {
    padding-right: 2rem;
}
html[lang="ar"] .ab-story-content {
    padding-right: 0;
    padding-left: 2rem;
}

.ab-story-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--ic-emerald-dark);
    margin-bottom: 1.5rem;
}

.ab-story-desc {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--ic-ink-soft);
    margin-bottom: 1.5rem;
}

/* Authentic Image Frame */
.ab-story-image-wrapper {
    position: relative;
    border-radius: 20px 100px 20px 100px;
    overflow: hidden;
    border: 4px solid var(--ic-gold);
    box-shadow: 0 30px 60px rgba(13,43,31,0.15);
}
.ab-story-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(201,168,76,0.8);
    border-radius: 12px 90px 12px 90px;
    z-index: 2;
    pointer-events: none;
}
.ab-story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.2);
}

/* --- 2. Features / Why Choose Us (Emerald) --- */
.ab-features-section {
    padding: var(--space-6xl) 0;
    background: var(--ic-emerald);
    position: relative;
    color: #fff;
}

.ab-features-header {
    text-align: center;
    margin-bottom: 5rem;
}

.ab-features-title {
    font-family: var(--font-arabic-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.ab-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* Elegant Plaque Style */
.ab-feature-plaque {
    background: var(--ic-emerald-dark);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.ab-feature-plaque::before,
.ab-feature-plaque::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ic-gold);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.ab-feature-plaque::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.ab-feature-plaque::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.ab-feature-plaque:hover {
    transform: translateY(-10px);
    border-color: rgba(201,168,76,0.6);
    box-shadow: inset 0 0 40px rgba(201,168,76,0.1), 0 20px 40px rgba(0,0,0,0.4);
}
.ab-feature-plaque:hover::before,
.ab-feature-plaque:hover::after {
    opacity: 1;
}

.ab-feature-icon {
    font-size: 2.5rem;
    color: var(--ic-gold);
    margin-bottom: 1.5rem;
}

.ab-feature-title {
    font-family: var(--font-arabic-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.ab-feature-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* --- 3. Impact Stats (Parchment) --- */
.ab-stats-section {
    padding: 4rem 0;
    background-color: var(--ic-parchment);
    border-top: 1px solid rgba(201,168,76,0.3);
    border-bottom: 1px solid rgba(201,168,76,0.3);
    position: relative;
}

.ab-stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.ab-stat-item {
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.ab-stat-item:not(:last-child)::after {
    content: '◈';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ic-gold);
    font-size: 0.8rem;
    opacity: 0.5;
}
html[lang="ar"] .ab-stat-item:not(:last-child)::after {
    right: auto;
    left: -1rem;
}

.ab-stat-num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--ic-emerald-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-english);
}

.ab-stat-label {
    font-size: 1.1rem;
    color: var(--ic-ink-soft);
    font-weight: 600;
    font-family: var(--font-arabic);
}

@media (max-width: 991px) {
    .ab-story-grid { grid-template-columns: 1fr; }
    .ab-story-content { padding: 0; text-align: center; }
    html[lang="ar"] .ab-story-content { padding: 0; text-align: center; }
    .ab-stat-item:not(:last-child)::after { display: none; }
    .ab-stat-item { padding: 1rem; width: 40%; }
}
