/*! 
 * site-enhancements.css — Jamaran Online Quran Academy
 * Shared, additive enhancements for every public page.
 * Loaded AFTER each page's own stylesheet so it only refines
 * layout, never replaces the existing design.
 */

/* =========================================================
   MOBILE NAVIGATION
   All public pages share the same .navbar > .brand + .nav-links
   markup. We add a hamburger button via site.js and turn the
   nav into a slide-down menu on small screens.
   ========================================================= */

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.75);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    padding: 8px 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background-color: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    outline: none;
}

.nav-toggle .nav-toggle-icon {
    display: block;
    pointer-events: none;
}

/* Prevent the page underneath from scrolling while the menu is open */
body.nav-open {
    overflow: hidden;
}

@media (max-width: 992px) {

    .navbar {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* The nav list becomes a full-width dropdown panel */
    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 10px;
        padding: 6px 0 4px;
        border-top: 1px solid rgba(212, 175, 55, 0.35);
    }

    .nav-links.nav-open {
        display: flex;
        animation: navPanelIn 0.22s ease;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        padding: 13px 6px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Dropdown becomes an inline, always-visible sub list */
    .nav-links .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        transform: none;
        left: auto;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.18);
        border-radius: 8px;
        margin: 4px 0 8px;
    }

    .nav-links .dropdown.submenu-open > .dropdown-menu {
        display: block;
    }

    .nav-links .dropdown-menu a {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* On wide screens always show the plain nav list */
@media (min-width: 993px) {
    .nav-links {
        display: flex;
    }
}

/* =========================================================
   LOGO — slightly larger, undistorted, mobile-capped
   ========================================================= */

.logo {
    width: 68px !important;
    height: 68px !important;
}

.logo img {
    object-fit: contain;
    padding: 3px;
}

@media (max-width: 992px) {
    .logo {
        width: 62px !important;
        height: 62px !important;
    }
}

@media (max-width: 600px) {
    .logo {
        width: 52px !important;
        height: 52px !important;
    }
}

/* =========================================================
   COURSE DIRECTORY GRID (courses.html)
   ========================================================= */

.course-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dir-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e3e3dc;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dir-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;
}

.dir-card-head img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    object-fit: cover;
    flex-shrink: 0;
}

.dir-card-head h3 {
    color: #126b3a;
    margin: 0 0 4px;
    font-size: 20px;
}

.dir-level {
    font-size: 12px;
    color: #d4af37;
    font-weight: bold;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.dir-card > p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.dir-card-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.dir-card-actions a {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
}

.dir-learn {
    border: 1px solid #126b3a;
    color: #126b3a;
}

.dir-learn:hover {
    background: #eaf5ee;
}

.dir-enroll {
    background: #126b3a;
    color: #fff;
}

.dir-enroll:hover {
    background: #0b4d29;
}

/* =========================================================
   DYNAMIC HERO IMAGES
   When the admin changes hero images, site.js sets
   --hero-img-1/2/3 and adds .has-dynamic-hero. These keyframes
   then rotate the admin-provided images instead of the
   hard-coded defaults.
   ========================================================= */

.hero.has-dynamic-hero {
    background-image: var(--hero-img-1, url("../images/Image1.png")) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    animation: none !important;
}

/* =========================================================
   DYNAMIC COURSE SLIDER (homepage + courses page)
   ========================================================= */

.dyn-course-slider {
    position: relative;
}

.dyn-course-viewport {
    overflow: hidden;
}

.dyn-course-track {
    display: flex;
    gap: 26px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.dyn-course-track .course-card {
    flex: 0 0 calc((100% - 52px) / 3);
    max-width: calc((100% - 52px) / 3);
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18, 107, 58, 0.1);
    display: flex;
    flex-direction: column;
}

.dyn-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #eef5f1;
}

.dyn-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.dyn-course-track .course-card:hover .dyn-card-img-wrap img {
    transform: scale(1.05);
}

.dyn-course-track .course-card .dyn-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dyn-course-track .course-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #126b3a;
}

.dyn-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dyn-card-header-row .dyn-level {
    margin-bottom: 0 !important;
}

.dyn-course-price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #126b3a;
    background: #e8f5ed;
    border: 1px solid #c2e2cf;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.dyn-course-price i {
    color: #d4af37;
    font-size: 0.78rem;
}

.dyn-course-price .dyn-fee-period {
    font-size: 0.72rem;
    font-weight: normal;
    color: #4a6353;
}

.dyn-course-price-contact {
    background: #f7f7f7;
    border-color: #ddd;
    color: #666;
}

.dyn-course-track .course-card .dyn-level {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #b78a1a;
    background: #fcf8e3;
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.dyn-course-track .course-card p {
    font-size: 0.92rem;
    color: #556;
    line-height: 1.6;
    flex: 1;
}

.dyn-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2ee;
}

.dyn-card-enroll-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #126b3a;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.dyn-card-enroll-btn:hover {
    background: #0d4e2a;
}

.dyn-course-track .course-card .dyn-card-link {
    font-weight: 600;
    color: #126b3a;
    text-decoration: none;
    font-size: 0.88rem;
}

.dyn-course-track .course-card .dyn-card-link:hover {
    color: #b78a1a;
}

/* Directory Grid Price Tag (courses.html) */
.dir-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* Course Details Page Price Display */
.course-fee-container {
    background: #fbfdfc;
    border: 1.5px solid #d4e5db;
    border-left: 5px solid #d4af37;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-fee-label {
    font-size: 13px;
    font-weight: 600;
    color: #3f5547;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-fee-label i {
    color: #d4af37;
}

.course-fee-amount {
    font-size: 24px;
    font-weight: 800;
    color: #126b3a;
}

.course-fee-amount .fee-unit {
    font-size: 14px;
    font-weight: normal;
    color: #667;
}

.course-fee-note {
    font-size: 12px;
    color: #778;
}

.dyn-course-controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.dyn-course-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #126b3a;
    background: #ffffff;
    color: #126b3a;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dyn-course-arrow:hover:not(:disabled) {
    background: #126b3a;
    color: #ffffff;
}

.dyn-course-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dyn-course-status {
    text-align: center;
    color: #667;
    padding: 30px 10px;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .dyn-course-track .course-card {
        flex: 0 0 calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }
}

@media (max-width: 600px) {
    .dyn-course-track {
        gap: 16px;
    }

    .dyn-course-track .course-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .dyn-course-track .course-card img {
        height: 180px;
    }
}

/* =========================================================
   DYNAMIC TEACHER GRID (teacher page)
   ========================================================= */

.dyn-teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.dyn-teacher-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(18, 107, 58, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
    border-bottom: 4px solid #d4af37;
}

.dyn-teacher-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #eaf5ee;
}

.dyn-teacher-photo-fallback {
    width: 100%;
    height: 260px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #126b3a, #0b4d29);
    color: #d4af37;
    font-size: 3.4rem;
}

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

.dyn-teacher-body h3 {
    color: #126b3a;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.dyn-teacher-spec {
    color: #b78a1a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.dyn-teacher-bio {
    color: #556;
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
}

.dyn-teacher-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 0.82rem;
    color: #667;
}

.dyn-teacher-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dyn-teacher-status {
    text-align: center;
    color: #667;
    padding: 24px 10px;
}

/* =========================================================
   REVIEW SLIDER — relationship line
   ========================================================= */

.feedback-relationship {
    display: inline-block;
    font-size: 0.78rem;
    color: #126b3a;
    background: #eaf5ee;
    border-radius: 999px;
    padding: 2px 10px;
    margin-top: 4px;
}

/* =========================================================
   GENERAL RESPONSIVE SAFETY NET
   Keeps tables, images and long words from breaking layout
   on very narrow screens (320px).
   ========================================================= */

img {
    max-width: 100%;
}

@media (max-width: 600px) {
    h1 { font-size: clamp(1.6rem, 7vw, 2.3rem); }

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .social-links,
    .footer-column ul {
        justify-content: center;
    }
}

/* =========================================================
   OVERRIDE: fix mobile navbar layout
   At ≤ 600 px style.css forces the navbar flex-direction:column
   and wraps nav-links inline, fighting with the hamburger nav
   that site.js injects. These rules cancel that behaviour so
   the toggle-based slide-down menu works correctly.
   ========================================================= */

@media (max-width: 992px) {
    /* Keep the navbar in a single row: brand on the left, toggle on the right */
    .navbar {
        flex-direction: row !important;
        flex-wrap: wrap;
        min-height: 72px;
        padding: 8px 4%;
    }

    /* The nav-list is hidden by default; shown when .nav-open is added by JS */
    .nav-links {
        display: none;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        gap: 0 !important;
        justify-content: flex-start !important;
    }

    .nav-links.nav-open {
        display: flex !important;
    }

    /* Prevent layout from jumping when the hero uses margin-top */
    .hero {
        margin-top: 72px !important;
    }
}

/* On narrowest phones keep brand text readable */
@media (max-width: 400px) {
    .brand-name h3 {
        font-size: 13px !important;
    }
    .brand-name span {
        font-size: 8px !important;
    }
    .logo {
        width: 46px !important;
        height: 46px !important;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .dyn-course-track {
        transition: none;
    }

    .nav-links.nav-open {
        animation: none;
    }
}

/* =========================================================
   ABOUT PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .about-academy-container,
    .owner-container {
        flex-direction: column !important;
        text-align: center;
    }

    .about-academy-image img,
    .owner-image img {
        max-width: 240px;
        margin: 0 auto;
    }

    .about-course-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .academy-features {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .about-course-grid {
        grid-template-columns: 1fr !important;
    }

    .students-grid {
        grid-template-columns: 1fr !important;
    }

    .about-benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   HOMEPAGE FEEDBACK SLIDER — mobile full-width
   ========================================================= */

@media (max-width: 480px) {
    .feedback-slider-viewport {
        padding: 0 40px;
    }
    .feedback-card {
        padding: 22px 18px;
    }
    .feedback-submit-cta {
        padding: 18px 16px;
    }
}

/* =========================================================
   REGISTER / ENROL FORM RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
    .register-form-grid,
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   CONTACT PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .contact-container,
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   COURSES PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
    .course-dir-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   HERO — prevent overflow on very small screens
   ========================================================= */

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    .hero-content p {
        font-size: 0.9rem !important;
    }
    .enroll-btn,
    .explore-btn {
        width: 100% !important;
        font-size: 13px !important;
        padding: 11px 15px !important;
    }
}

/* =========================================================
   FOOTER RESPONSIVE — all pages
   ========================================================= */

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-column ul {
        padding-left: 0;
    }
}

/* =========================================================
   REVIEW MODAL — Scrollable Fix (Prevents cutoff on all screens)
   ========================================================= */

.site-modal-card {
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.site-modal-card > form,
#parentReviewForm {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.site-modal-body {
    padding: 22px 26px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #126b3a #f0f4f1;
}

/* Custom styled scrollbar */
.site-modal-body::-webkit-scrollbar {
    width: 8px;
}

.site-modal-body::-webkit-scrollbar-track {
    background: #f0f4f1;
    border-radius: 4px;
}

.site-modal-body::-webkit-scrollbar-thumb {
    background: #126b3a;
    border-radius: 4px;
}

.site-modal-body::-webkit-scrollbar-thumb:hover {
    background: #0d4e2a;
}

.site-modal-footer {
    flex-shrink: 0 !important;
}

@media (max-width: 640px) {
    .site-modal-card {
        max-width: 100%;
        max-height: 94vh !important;
        border-radius: 12px 12px 0 0;
        margin-top: auto;
    }
    .site-modal-body {
        padding: 14px 16px !important;
    }
    .site-modal-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   TABLE OVERFLOW FIX — prevents horizontal page scroll
   ========================================================= */

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
   PROFESSIONAL ISLAMIC BANNERS (HOMEPAGE & ABOUT PAGE)
   ========================================================= */

.islamic-feature-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(11, 77, 41, 0.94), rgba(18, 107, 58, 0.92)), url("../images/Image1.png") center/cover no-repeat;
    color: #ffffff;
    padding: 70px 8%;
    border-top: 4px solid #d4af37;
    border-bottom: 5px solid #d4af37;
    margin: 50px 0;
    text-align: center;
    overflow: hidden;
}

.islamic-banner-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.islamic-calligraphy-frame {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    padding: 30px 24px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bismillah-calligraphy {
    display: block;
    font-family: "Traditional Arabic", "Scheherazade New", serif;
    font-size: 26px;
    color: #d4af37;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.quran-ayah-arabic {
    font-family: "Traditional Arabic", "Scheherazade New", serif;
    font-size: 38px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    line-height: 1.4;
}

.quran-ayah-translation {
    font-size: 17px;
    color: #e2ede5;
    font-style: italic;
    line-height: 1.6;
}

.quran-surah-ref {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    color: #d4af37;
    font-weight: 600;
    font-style: normal;
}

.islamic-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
    text-align: left;
}

.islamic-banner-card {
    background: #ffffff;
    color: #233;
    padding: 24px 22px;
    border-radius: 12px;
    border-top: 4px solid #d4af37;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}

.islamic-banner-card:hover {
    transform: translateY(-4px);
}

.banner-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef7f2;
    color: #126b3a;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 14px;
    border: 1px solid #c8e4d3;
}

.islamic-banner-card h3 {
    color: #126b3a;
    font-size: 17px;
    margin-bottom: 8px;
}

.islamic-banner-card p {
    color: #556;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.islamic-banner-action {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.islamic-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #d4af37;
    color: #0b4d29 !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.islamic-cta-btn:hover {
    background: #ffffff;
    color: #126b3a !important;
    transform: translateY(-2px);
}

.islamic-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.islamic-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    color: #d4af37 !important;
}

/* About Page Dedicated Islamic Hero */
.about-islamic-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 82, 45, 0.94), rgba(18, 107, 58, 0.92)), url("../images/about_page.png") center/cover no-repeat;
    color: #ffffff;
    padding: 140px 8% 70px;
    text-align: center;
    border-bottom: 5px solid #d4af37;
    margin-top: 80px;
}

.about-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.about-arabic-ayah {
    font-family: "Traditional Arabic", "Scheherazade New", serif;
    font-size: 36px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.about-islamic-hero h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.about-hero-lead {
    font-size: 18px;
    color: #d4af37;
    margin-bottom: 14px;
    font-style: italic;
}

.about-hero-desc {
    font-size: 16px;
    color: #e2ede5;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 24px;
}

.about-hero-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.about-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.about-pill i {
    color: #d4af37;
    font-size: 12px;
}

@media (max-width: 900px) {
    .islamic-banner-grid {
        grid-template-columns: 1fr;
    }
    .about-islamic-hero {
        padding: 110px 5% 50px;
    }
    .about-islamic-hero h1 {
        font-size: 26px;
    }
    .quran-ayah-arabic {
        font-size: 28px;
    }
}
