/* ==========================================================================
   ALFAJIR CLEAN PRODUCTION STYLESHEET (style.css)
   Clean, Optimized, Idiomatic CSS without redundant !important rules.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
    --primary-color: #5bc1ac;
    --primary-light: #72cca8;
    --primary-hover: #4ca896;
    --primary-soft: rgba(91, 193, 172, 0.08);
    --secondary-color: #1e293b;
    --accent-amber: #d97706;
    --accent-amber-hover: #b45309;
    --bg-light: #f8fafc;
    --section-bg-color: #f8fafc;
    --surface-card: #ffffff;
    --border-color: #f1f5f9;
    --site-footer-bg-color: #0f172a;
    --text-muted: #64748b;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 20px 35px -10px rgba(91, 193, 172, 0.2);
}

/* ==========================================================================
   2. GLOBAL BASE & TYPOGRAPHY
   ========================================================================== */
html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .nav-link, .btn, p, span, a, label {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* Ensure Icon Fonts are NEVER overridden by general typography */
i.hgi, .hgi, [class^="hgi-"], [class*=" hgi-"], .hgi-stroke {
    font-family:  "hugeicons-stroke-rounded" !important;
}

i.bi, .bi, [class^="bi-"], [class*=" bi-"] {
    font-family: "bootstrap-icons" !important;
}

html {
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-size: 16px;
    line-height: 1.6;
    background-color: #ffffff;
    color: var(--secondary-color);
    overflow-x: hidden;
    width: 100%;
}

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

/* Harmonious Section Rhythm & Clear Background Contrast */
.section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-bg {
    background-color: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

/* ==========================================================================
   3. DIRECTION ENGINE (RTL / LTR)
   ========================================================================== */
html[dir="rtl"], body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"], body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* LTR: Flip forward-pointing action arrows in links and footer lists to point right */
html[dir="ltr"] a i.hgi-arrow-left-01,
[dir="ltr"] a i.hgi-arrow-left-01,
html[dir="ltr"] .custom-btn i.hgi-arrow-left-01,
[dir="ltr"] .custom-btn i.hgi-arrow-left-01,
html[dir="ltr"] .section-action-btn i.hgi-arrow-left-01,
[dir="ltr"] .section-action-btn i.hgi-arrow-left-01 {
    transform: scaleX(-1);
    display: inline-block;
}

/* RTL Hero Carousel Caption */
html[dir="rtl"] #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 120px, 0 100%);
    right: 0;
    left: auto;
    text-align: right;
    padding: 220px 40px 50px 140px;
    min-width: 600px;
}

html[dir="rtl"] #hero-slide .carousel-caption h1 {
    color: var(--secondary-color);
    text-align: right;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

html[dir="rtl"] #hero-slide .carousel-caption p {
    color: var(--secondary-color);
    text-align: right;
    font-size: 1.05rem;
    line-height: 1.5;
}

html[dir="rtl"] #hero-slide .carousel-indicators {
    margin-left: 0;
    margin-right: 22px;
}

@media screen and (max-width: 768px) {
    html[dir="rtl"] #hero-slide .carousel-caption {
        min-width: 100%;
        padding: 40px 20px;
        clip-path: none;
    }
}

/* RTL Decorative Background Shapes */
html[dir="rtl"] .volunteer-section::after { right: auto; left: -80px; }
html[dir="rtl"] .cta-section::before { left: auto; right: -30px; }
html[dir="rtl"] .cta-section::after { right: auto; left: 0; }
html[dir="rtl"] .testimonial-section::before { left: auto; right: -30px; }
html[dir="rtl"] .testimonial-section::after { right: auto; left: -80px; }

/* RTL Navbar & Header */
html[dir="rtl"] .navbar-brand img {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .site-header .social-icon {
    text-align: left;
}

html[dir="rtl"] .site-header .social-icon-link {
    margin-right: 0;
    margin-left: 15px;
}



html[dir="rtl"] .donate-form .form-check-group-donation-frequency {
    padding-left: 0;
    padding-right: 12px;
}

html[dir="rtl"] .form-check-group-donation-frequency + .form-check-group-donation-frequency {
    padding-left: 12px;
    padding-right: 0;
}

html[dir="rtl"] #DonationFrequencyOne {
    border-radius: .25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

html[dir="rtl"] #DonationFrequencyMonthly {
    border-radius: .25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

html[dir="rtl"] .news-block-two-col-image-wrap {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .tags-block-link, 
html[dir="rtl"] .news-category-block .category-block-link,
html[dir="rtl"] .footer-menu-link {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .copyright-text {
    margin-right: 0;
    margin-left: 30px;
}

html[dir="rtl"] .custom-text-box-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* ==========================================================================
   4. HERO CAROUSEL CONTROLS (GLASSMORPHIC MATCHING PARTNERS)
   ========================================================================== */
.hero-carousel-btn {
    pointer-events: auto !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
}

.hero-carousel-btn i {
    font-size: 1.35rem !important;
    line-height: 1 !important;
    color: #ffffff !important;
    transition: transform 0.25s ease !important;
}

.hero-carousel-btn:hover {
    background-color: var(--primary-color, #5bc1ac) !important;
    border-color: var(--primary-color, #5bc1ac) !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(91, 193, 172, 0.55) !important;
}

@media (max-width: 767.98px) {
    .hero-carousel-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
    .hero-carousel-btn i {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
    .hero-carousel-btn i {
        font-size: 1.05rem !important;
    }
}

/* ==========================================================================
   5. NAVBAR & HEADER POLISH
   ========================================================================== */
.brand-text {
    max-width: 320px;
    line-height: 1.25;
}

.brand-title-text {
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-subtitle-text {
    font-size: 0.72rem;
    letter-spacing: 0.2px;
}

.navbar-nav .nav-link {
    font-size: 15px;
    color: var(--secondary-color);
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color, #5bc1ac) !important;
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
    .brand-text {
        max-width: 200px;
    }
    .brand-title-text {
        font-size: 0.82rem !important;
        line-height: 1.15;
    }
    .brand-subtitle-text {
        font-size: 0.62rem !important;
    }
    .navbar-expand-xl .navbar-nav {
        flex-wrap: nowrap;
        gap: 0 !important;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        white-space: nowrap;
        padding: 4px 4px !important;
        font-size: 12px !important;
    }
    .btn-supporter-cta,
    .btn-donate-cta {
        padding: 4px 7px !important;
        font-size: 0.74rem !important;
        white-space: nowrap !important;
    }
    .btn-supporter-cta i,
    .btn-donate-cta .svg-donate-icon {
        font-size: 0.78rem !important;
        margin-inline-end: 2px !important;
    }
}

@media (min-width: 1500px) {
    .brand-text {
        max-width: 280px;
    }
    .brand-title-text {
        font-size: 0.95rem;
    }
    .brand-subtitle-text {
        font-size: 0.70rem;
    }
    .navbar-expand-xl .navbar-nav {
        flex-wrap: nowrap;
        gap: 2px !important;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        white-space: nowrap;
        padding: 6px 7px;
        font-size: 13.5px;
    }
    .btn-supporter-cta,
    .btn-donate-cta {
        padding: 5px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 16px;
        padding: 18px 20px;
        margin-top: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-item {
        margin-bottom: 6px;
        width: 100%;
    }

    html[dir="rtl"] .navbar-nav .nav-item {
        text-align: right;
    }

    .navbar-nav .nav-link {
        padding: 10px 14px;
        border-radius: 8px;
        font-weight: 600;
        white-space: normal;
        display: block;
        width: 100%;
    }

    .navbar-nav .nav-link.active {
        background-color: rgba(91, 193, 172, 0.1);
        color: var(--primary-color, #5bc1ac) !important;
    }

    .navbar-nav .nav-item.ms-3,
    .navbar-nav .nav-item.ms-xl-2 {
        margin-left: 0 !important;
        margin-top: 10px;
    }
    
    .navbar-nav .btn-donate-cta,
    .navbar-nav .btn-supporter-cta {
        width: 100% !important;
        text-align: center;
    }
}

/* ==========================================================================
   6. BRAND COLOR SYSTEM (#5bc1ac)
   ========================================================================== */
.bg-success,
.badge.bg-success {
    background-color: var(--primary-color, #5bc1ac) !important;
    color: #ffffff !important;
}

.bg-success.bg-opacity-10,
.badge-soft-success,
.bg-success-subtle {
    background-color: rgba(91, 193, 172, 0.15) !important;
    color: var(--primary-color, #5bc1ac) !important;
}

.text-success {
    color: var(--primary-color, #5bc1ac) !important;
}

.border-success {
    border-color: var(--primary-color, #5bc1ac) !important;
}

.btn-success,
.custom-form button[type="submit"],
.contact-form button[type="submit"] {
    background: linear-gradient(135deg, #5bc1ac 0%, #4ca896 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(91, 193, 172, 0.3) !important;
    transition: all 0.25s ease !important;
}

.btn-success:hover,
.custom-form button[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #4ca896 0%, #3ea08e 100%) !important;
    box-shadow: 0 6px 20px rgba(91, 193, 172, 0.5) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline-success {
    color: var(--primary-color, #5bc1ac);
    border-color: var(--primary-color, #5bc1ac);
}

.btn-outline-success:hover,
.btn-outline-success:active {
    background-color: var(--primary-color, #5bc1ac);
    border-color: var(--primary-color, #5bc1ac);
    color: #ffffff;
}

.alert-success {
    background-color: rgba(91, 193, 172, 0.12);
    border: 1px solid rgba(91, 193, 172, 0.3);
    border-right: 4px solid var(--primary-color, #5bc1ac);
    color: #164e43;
    border-radius: 12px;
    font-weight: 600;
}

html[dir="ltr"] .alert-success {
    border-right: 1px solid rgba(91, 193, 172, 0.3);
    border-left: 4px solid var(--primary-color, #5bc1ac);
}

.alert-success .alert-link {
    color: #0d3830;
    font-weight: 700;
}

.alert-success i,
.alert-success svg,
.alert-success .hgi {
    color: var(--primary-color, #5bc1ac);
}

.form-check-input:checked {
    background-color: var(--primary-color, #5bc1ac);
    border-color: var(--primary-color, #5bc1ac);
}

/* ==========================================================================
   7. COUNTERS, GOALS, AND CATEGORY CARDS
   ========================================================================== */
.counter-card-static {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 24px) clamp(10px, 1.5vw, 16px);
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.counter-card-static .counter-number {
    color: var(--primary-color, #5bc1ac);
    font-weight: 800;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    line-height: 1.15;
    display: inline-block;
}

.counter-card-static .counter-text {
    color: var(--secondary-color, #44525d);
    font-weight: 700;
    font-size: clamp(0.78rem, 2vw, 0.95rem);
    margin-top: 4px;
    line-height: 1.3;
}

.goal-card-static {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.goal-card-static:hover {
    border-color: var(--primary-color, #5bc1ac);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.goal-card-title {
    color: var(--secondary-color, #212529);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.featured-block {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 24px 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.featured-block:hover {
    border-color: var(--primary-color, #5bc1ac);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(91, 193, 172, 0.15);
}

.featured-block-image-wrap {
    width: clamp(78px, 15vw, 105px);
    height: clamp(78px, 15vw, 105px);
    border-radius: 50%;
    overflow: hidden;
    background: #f8fafc;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.featured-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-block:hover .featured-block-image-wrap {
    transform: scale(1.06);
    border-color: var(--primary-color, #5bc1ac);
}

.featured-block:hover .featured-block-image {
    transform: scale(1.08);
}

.featured-block-text {
    color: var(--secondary-color, #44525d);
    font-weight: 700;
    font-size: clamp(0.92rem, 2.2vw, 1.08rem);
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-block:hover .featured-block-text {
    color: var(--primary-color, #5bc1ac);
}

/* Causes & Projects Cards */
.custom-block-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-progress {
    height: 10px;
    border-radius: 30px;
    background-color: #e2e8f0;
    overflow: hidden;
}

html[dir="rtl"] .custom-progress,
html[dir="rtl"] .progress {
    direction: rtl;
}

html[dir="ltr"] .custom-progress,
html[dir="ltr"] .progress {
    direction: ltr;
}

.custom-progress .progress-bar {
    background: linear-gradient(135deg, #5bc1ac 0%, #4ca896 100%);
    border-radius: 30px;
    transition: width 1s ease-in-out;
}

/* ==========================================================================
   8. PARTNERS SECTION & SWIPER
   ========================================================================== */
.partners-section {
    background-color: var(--site-footer-bg-color, #44525d);
    position: relative;
}

.partners-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

@media (max-width: 767.98px) {
    .partners-slider-wrapper {
        padding: 0 10px;
    }
}

.partners-swiper {
    padding: 10px 5px !important;
    overflow: hidden;
}

.partners-swiper .swiper-wrapper {
    align-items: stretch;
}

.partner-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    background-color: rgba(255, 255, 255, 0.16);
    border-color: var(--primary-color, #5bc1ac);
}

.partner-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.partner-card:hover .partner-img-wrapper {
    border-color: var(--primary-color, #5bc1ac);
    transform: scale(1.05);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Dedicated Navigation Buttons Outside Swiper */
.partners-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    padding: 0;
    outline: none;
}

.partners-nav-btn i {
    font-size: 1.35rem;
    line-height: 1;
    color: #ffffff;
    transition: transform 0.25s ease;
}

.partners-nav-btn:hover {
    background-color: var(--primary-color, #5bc1ac);
    border-color: var(--primary-color, #5bc1ac);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(91, 193, 172, 0.55);
}

.partners-prev-btn {
    right: 0;
}

.partners-next-btn {
    left: 0;
}

html[dir="ltr"] .partners-prev-btn {
    left: 0;
    right: auto;
}

html[dir="ltr"] .partners-next-btn {
    right: 0;
    left: auto;
}

@media (max-width: 575.98px) {
    .partners-nav-btn {
        width: 38px;
        height: 38px;
    }
    .partners-nav-btn i {
        font-size: 1.1rem;
    }
}

/* Dedicated Pagination Below Slider */
.partners-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.partners-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    border: none !important;
    outline: none !important;
}

.partners-pagination .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

.partners-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color, #5bc1ac) !important;
    width: 28px !important;
    border-radius: 14px !important;
    box-shadow: 0 0 14px rgba(91, 193, 172, 0.7) !important;
}

/* ==========================================================================
   9. CTA & VIDEO PLAY BUTTONS
   ========================================================================== */
.btn-donate-cta,
.custom-btn.btn-donate {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 26px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.2px;
}

.btn-donate-cta:hover,
.custom-btn.btn-donate:hover {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.5);
}

.video-play-btn:hover {
    background: var(--primary-color, #5bc1ac);
    border-color: var(--primary-color, #5bc1ac);
    box-shadow: 0 12px 40px rgba(91, 193, 172, 0.45);
}

.video-play-icon {
    color: var(--primary-color, #5bc1ac);
}

.video-play-icon i,
.video-play-icon .hgi {
    font-size: 1.25rem;
    line-height: 1;
    margin-right: -2px;
}

/* ==========================================================================
   10. CATEGORY STREAM WITH HORIZONTAL OVERFLOW & SCROLL CHEVRONS
   ========================================================================== */
.category-filter-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.category-filter-container::before,
.category-filter-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 12px;
    width: 50px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.category-filter-container.has-overflow-right::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 1;
}

.category-filter-container.has-overflow-left::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 1;
}

.category-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 18px 14px 18px;
    flex-wrap: nowrap;
    width: 100%;
    scroll-behavior: smooth;
}

.category-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.category-scroll-btn {
    position: absolute;
    top: calc(50% - 6px);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--secondary-color, #1e293b);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-scroll-btn:hover {
    background-color: var(--primary-color, #5bc1ac);
    color: #ffffff;
    border-color: var(--primary-color, #5bc1ac);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(91, 193, 172, 0.4);
}

.category-scroll-btn.scroll-prev { right: -4px; }
.category-scroll-btn.scroll-next { left: -4px; }

.category-filter-container.has-overflow-left .category-scroll-btn.scroll-next {
    display: inline-flex;
}

.category-filter-container.has-overflow-right .category-scroll-btn.scroll-prev {
    display: inline-flex;
}

.category-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.category-filter-btn:hover {
    border-color: var(--primary-color, #5bc1ac);
    color: var(--primary-color, #5bc1ac);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 193, 172, 0.18);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, #5bc1ac 0%, #4ca896 100%);
    color: #ffffff;
    border-color: #5bc1ac;
    box-shadow: 0 4px 16px rgba(91, 193, 172, 0.38);
    transform: translateY(-1px);
}

.category-filter-btn .category-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    line-height: 1;
    transition: all 0.2s ease;
}

.category-filter-btn:hover .category-count-badge {
    background-color: rgba(91, 193, 172, 0.15);
    color: var(--primary-color, #5bc1ac);
    border-color: rgba(91, 193, 172, 0.3);
}

.category-filter-btn.active .category-count-badge {
    background-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   11. MODALS, NOTICES, FOOTER & BACK TO TOP
   ========================================================================== */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.65);
}

.custom-modal-content {
    background: #ffffff;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
}

.custom-modal-header {
    background: linear-gradient(135deg, #5bc1ac 0%, #3ca893 100%);
    padding: 18px 24px;
    border-bottom: none;
}

.custom-modal-header .modal-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

.custom-modal-header .btn-close {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
    border-radius: 50%;
    padding: 10px;
    transition: all 0.25s ease;
}

.custom-modal-header .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.custom-modal-body {
    padding: 28px 24px;
}

.custom-modal-body .goal-description-box {
    background-color: #f8fafc;
    border-right: 4px solid var(--primary-color, #5bc1ac);
    border-radius: 12px;
    padding: 20px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #334155;
    font-weight: 500;
}

html[dir="ltr"] .custom-modal-body .goal-description-box {
    border-right: none;
    border-left: 4px solid var(--primary-color, #5bc1ac);
}

.custom-modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #f8fafc;
    padding: 14px 24px;
}

.custom-modal-footer .btn-close-modal {
    background-color: var(--secondary-color, #44525d);
    color: #ffffff;
    border-radius: 50px;
    padding: 8px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    transition: all 0.25s ease;
}

.custom-modal-footer .btn-close-modal:hover {
    background-color: var(--primary-color, #5bc1ac);
    transform: translateY(-2px);
}

/* Floating Back To Top Button (مرتب عمودياً فوق زر الواتساب بدون أي تداخل) */
.back-to-top-btn {
    position: fixed;
    bottom: 98px;
    left: 35px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color, #5bc1ac);
    color: #ffffff;
    border: none;
    outline: none;
    box-shadow: 0 6px 20px rgba(91, 193, 172, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top-btn i,
.back-to-top-btn iconify-icon {
    font-size: 1.55rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[dir="ltr"] .back-to-top-btn {
    left: auto;
    right: 35px;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--secondary-color, #44525d);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 575.98px) {
    .back-to-top-btn {
        bottom: 80px;
        left: 24px;
        width: 42px;
        height: 42px;
    }
    html[dir="ltr"] .back-to-top-btn {
        left: auto;
        right: 24px;
    }
}

/* Full-Width Notice Banner */
.alfajir-notice-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 999999;
    pointer-events: auto;
}

.alfajir-notice-banner .notice-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alfajir-notice-banner .notice-icon-wrap iconify-icon {
    font-size: 1.25rem;
    color: #2563eb;
}

.alfajir-notice-banner .btn-close-notice {
    background: transparent;
    border: none;
    outline: none;
    color: #64748b;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.alfajir-notice-banner .btn-close-notice:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

/* Read more link animations */
.read-more-link {
    color: var(--primary-color, #5bc1ac);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.read-more-link i,
.read-more-link iconify-icon,
.read-more-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.read-more-link:hover,
.news-block:hover .read-more-link {
    color: var(--primary-light, #72cca8);
}

html[dir="rtl"] .read-more-link:hover i,
html[dir="rtl"] .read-more-link:hover iconify-icon,
html[dir="rtl"] .news-block:hover .read-more-link i,
html[dir="rtl"] .news-block:hover .read-more-link iconify-icon {
    transform: translateX(-7px);
}

html[dir="ltr"] .read-more-link:hover i,
html[dir="ltr"] .read-more-link:hover iconify-icon,
html[dir="ltr"] .news-block:hover .read-more-link i,
html[dir="ltr"] .news-block:hover .read-more-link iconify-icon {
    transform: translateX(7px);
}

.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
}

.site-footer .subscribe-form,
.site-footer .custom-form,
footer .custom-form {
    background: transparent;
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.site-footer .subscribe-form .form-control,
.site-footer input[type="email"] {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.9rem;
    height: 48px;
}

.svg-donate-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: -0.22em;
    background-color: currentColor;
    -webkit-mask: url('../images/icons/heart-handshake.svg') no-repeat center / contain;
    mask: url('../images/icons/heart-handshake.svg') no-repeat center / contain;
    -webkit-mask-image: url('/assets/images/icons/heart-handshake.svg');
    mask-image: url('/assets/images/icons/heart-handshake.svg');
}

/* ==========================================================================
   12. MODERN NEWS SEARCH WIDGET
   ========================================================================== */
.news-search-form {
    position: relative;
    width: 100%;
}

.news-search-form .search-input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.news-search-form .search-input {
    width: 100%;
    height: 48px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    transition: all 0.25s ease;
}

html[dir="rtl"] .news-search-form .search-input {
    padding: 10px 18px 10px 48px;
    text-align: right;
}

html[dir="ltr"] .news-search-form .search-input {
    padding: 10px 48px 10px 18px;
    text-align: left;
}

.news-search-form .search-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-color, #5bc1ac);
    box-shadow: 0 0 0 4px rgba(91, 193, 172, 0.15);
    outline: none;
}

.news-search-form .search-submit-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5bc1ac 0%, #4ca896 100%);
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
}

html[dir="rtl"] .news-search-form .search-submit-btn {
    left: 6px;
    right: auto;
}

html[dir="ltr"] .news-search-form .search-submit-btn {
    right: 6px;
    left: auto;
}

.news-search-form .search-submit-btn:hover {
    background: linear-gradient(135deg, #4ca896 0%, #3ea08e 100%);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(91, 193, 172, 0.4);
}

.news-search-form .search-submit-btn i {
    font-size: 1.15rem;
    line-height: 1;
    color: #ffffff;
}

/* ==========================================================================
   13. OPINION POLL SECTION & CARDS
   ========================================================================== */
.poll-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf7f5 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.poll-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 193, 172, 0.12) 0%, rgba(91, 193, 172, 0) 70%);
    pointer-events: none;
}

.poll-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 193, 172, 0.12) 0%, rgba(91, 193, 172, 0) 70%);
    pointer-events: none;
}

.poll-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    /* box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(91, 193, 172, 0.12); */
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

@media (max-width: 575.98px) {
    .poll-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
}

.poll-badge {
    background: rgba(91, 193, 172, 0.12);
    color: #246d60;
    border: 1px solid rgba(91, 193, 172, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.poll-nav-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: var(--secondary-color, #44525d);
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.poll-nav-btn:hover {
    background: linear-gradient(135deg, #5bc1ac 0%, #4ca896 100%);
    border-color: #5bc1ac;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(91, 193, 172, 0.35);
}

.poll-question-box {
    background: linear-gradient(135deg, rgba(91, 193, 172, 0.09) 0%, rgba(91, 193, 172, 0.02) 100%);
    border: 1px solid rgba(91, 193, 172, 0.22);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.poll-question-text {
    color: #1e293b;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .poll-question-text {
        font-size: 1.1rem;
    }
}

.custom-poll-option {
    border: 2px solid #e2e8f0;
    background-color: #ffffff;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
}

.custom-poll-option:hover {
    border-color: var(--primary-color, #5bc1ac);
    background-color: rgba(91, 193, 172, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 193, 172, 0.12);
}

.custom-poll-option:has(input:checked),
.custom-poll-option.is-checked {
    border-color: var(--primary-color, #5bc1ac) !important;
    background-color: rgba(91, 193, 172, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(91, 193, 172, 0.2), 0 4px 12px rgba(91, 193, 172, 0.1) !important;
}

.custom-poll-option .form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color, #5bc1ac);
    margin: 0 10px 0 0;
    cursor: pointer;
}

html[dir="rtl"] .custom-poll-option .form-check-input {
    margin: 0 0 0 12px;
}

.poll-option-title {
    font-weight: 700;
    color: #334155;
    font-size: 0.98rem;
    flex-grow: 1;
}

.custom-poll-option:has(input:checked) .poll-option-title,
.custom-poll-option.is-checked .poll-option-title {
    color: #0f172a;
    font-weight: 800;
}

.poll-result-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.poll-result-item:hover {
    border-color: rgba(91, 193, 172, 0.4);
    box-shadow: 0 4px 12px rgba(91, 193, 172, 0.08);
}

/* ==========================================================================
   14. ABOUT US & COUNTERS SECTION
   ========================================================================== */
.counter-card-modern {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(91, 193, 172, 0.15);
    border-color: rgba(91, 193, 172, 0.3);
}

.counter-card-modern .counter-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color, #5bc1ac);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.counter-card-modern .counter-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-top: 6px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-content-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 575.98px) {
    .about-content-card {
        padding: 24px 20px;
    }
}

.about-goal-pill {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="ltr"] .about-goal-pill {
    text-align: left;
}

.about-goal-pill:hover {
    background-color: rgba(91, 193, 172, 0.08);
    border-color: var(--primary-color, #5bc1ac);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 193, 172, 0.12);
}

.about-goal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.about-goal-pill:hover .about-goal-title {
    color: var(--primary-color, #5bc1ac);
}

/* ==========================================================================
   15. SOCIAL SHARE BUTTONS & DETAIL PAGE ENHANCEMENTS
   ========================================================================== */
.social-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    border: none;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.social-share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    color: #ffffff !important;
}

.social-share-btn i,
.social-share-btn .hgi {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    line-height: 1;
}

.social-share-btn.whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.social-share-btn.telegram { background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%); }
.social-share-btn.twitter { background: #000000; }
.social-share-btn.facebook { background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%); }
.social-share-btn.copy { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }

.cause-callout-box {
    background-color: rgba(91, 193, 172, 0.07);
    border-radius: 16px;
    padding: 22px 24px;
    border-right: 4px solid var(--primary-color, #5bc1ac);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.85;
    color: #1e293b;
}

html[dir="ltr"] .cause-callout-box {
    border-right: none;
    border-left: 4px solid var(--primary-color, #5bc1ac);
}

/* ==========================================================================
   16. COMMENT FORM & COMMENTS SECTION
   ========================================================================== */
.comment-form {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.comment-form .form-control {
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-size: 0.98rem !important;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease !important;
}

.comment-form .form-control::placeholder {
    color: #94a3b8 !important;
    font-size: 0.92rem;
}

.comment-form .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--primary-color, #5bc1ac) !important;
    box-shadow: 0 0 0 4px rgba(91, 193, 172, 0.15) !important;
    outline: none !important;
}

.comment-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.author-comment-item {
    background-color: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.author-comment-item:hover {
    background-color: #ffffff;
    border-color: rgba(91, 193, 172, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.author-avatar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(91, 193, 172, 0.12);
    color: var(--primary-color, #5bc1ac);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/*---------------------------------------
  17. CUSTOM SWIPER GALLERY PAGINATION
-----------------------------------------*/
.news-gallery-swiper .swiper-pagination,
.cause-gallery-swiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.news-gallery-swiper .swiper-pagination-bullet,
.cause-gallery-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1;
    opacity: 0.8;
    border-radius: 10px;
    margin: 0 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.news-gallery-swiper .swiper-pagination-bullet:hover,
.cause-gallery-swiper .swiper-pagination-bullet:hover {
    background-color: var(--primary-color, #5bc1ac);
    opacity: 0.9;
}

.news-gallery-swiper .swiper-pagination-bullet-active,
.cause-gallery-swiper .swiper-pagination-bullet-active {
    width: 26px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color, #5bc1ac) 0%, #4ba08f 100%) !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(91, 193, 172, 0.45);
}

/* ==========================================================================
   18. HERO SLIDER RESPONSIVE DIMENSIONS (سلايدر متجاوب بدقة 1920 × 750)
   المقاس الموصى به لرفع صور البانر: 1920 × 750 بكسل
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    background: transparent;
    padding: 0;
    margin: 0;
    aspect-ratio: 1920 / 750;
}

#hero-slide {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    aspect-ratio: 1920 / 750;
}

#hero-slide .carousel-inner,
#hero-slide .carousel-item {
    width: 100%;
    height: 100% !important;
    background: transparent;
    aspect-ratio: 1920 / 750;
}

.carousel-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1920 / 750;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.hero-carousel-dots {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 20 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
}

html[dir="rtl"] .hero-carousel-dots,
[dir="rtl"] .hero-carousel-dots {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.hero-carousel-dots button {
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    background-color: rgba(255, 255, 255, 0.55) !important;
    opacity: 0.8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.hero-carousel-dots button.active {
    width: 32px !important;
    height: 11px !important;
    border-radius: 10px !important;
    background: #5bc1ac !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

/* Laptops / Desktops Medium (992px - 1199.98px) */
@media (max-width: 1199.98px) {
    .hero-carousel-dots {
        bottom: 20px !important;
    }
}

/* Tablets (768px - 991.98px) */
@media (max-width: 991.98px) {
    .hero-carousel-dots {
        bottom: 16px !important;
    }
}

/* Mobile Screens (576px - 767.98px) */
@media (max-width: 767.98px) {
    .hero-carousel-dots {
        bottom: 12px !important;
        gap: 6px !important;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575.98px) {
    .hero-carousel-dots button {
        width: 8px !important;
        height: 8px !important;
    }
    .hero-carousel-dots button.active {
        width: 22px !important;
        height: 8px !important;
    }
    .hero-carousel-dots {
        bottom: 8px !important;
    }
}

/* ==========================================================================
   27. HERO CORNER SCROLL DOWN INDICATOR (مؤشر التمرير السابق في الزاوية اليمنى)
   ========================================================================== */
.hero-scroll-down {
    position: absolute !important;
    bottom: 24px !important;
    right: 36px !important;
    left: auto !important;
    transform: none !important;
    z-index: 25 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #ffffff !important;
    opacity: 0.92;
    transition: all 0.3s ease;
    cursor: pointer;
}

html[dir="ltr"] .hero-scroll-down,
[dir="ltr"] .hero-scroll-down {
    right: auto !important;
    left: 36px !important;
}

.hero-scroll-down:hover {
    opacity: 1;
    transform: translateY(3px) !important;
    color: var(--primary-color, #5bc1ac) !important;
}

.scroll-mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(4px);
    background: rgba(15, 23, 42, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.hero-scroll-down:hover .scroll-mouse-icon {
    border-color: var(--primary-color, #5bc1ac);
    background: rgba(91, 193, 172, 0.25);
    box-shadow: 0 6px 16px rgba(91, 193, 172, 0.4);
}

.scroll-mouse-wheel {
    width: 3.5px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    animation: scrollWheelPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-chevron-icon {
    font-size: 1rem;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.85);
    animation: scrollChevronBounce 1.8s infinite ease-in-out;
}

@keyframes scrollWheelPulse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateY(9px);
    }
    100% {
        opacity: 0;
        transform: translateY(13px);
    }
}

@keyframes scrollChevronBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .hero-scroll-down {
        bottom: 18px !important;
        right: 20px !important;
    }
    html[dir="ltr"] .hero-scroll-down,
    [dir="ltr"] .hero-scroll-down {
        left: 20px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-scroll-down {
        display: none !important;
    }
}

/* ==========================================================================
   19. FLOATING WHATSAPP BUTTON (تثبيت ايقونة واتساب على كامل الموقع)
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    z-index: 1060;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    outline: none;
}

[dir="ltr"] .floating-whatsapp-btn {
    left: auto;
    right: 28px;
}

.floating-whatsapp-btn .whatsapp-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
    color: #ffffff !important;
}

.floating-whatsapp-btn:hover .whatsapp-icon-inner {
    transform: rotate(12deg);
}

.floating-whatsapp-btn .whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.45);
    animation: whatsappPulse 2.2s infinite ease-in-out;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 575.98px) {
    .floating-whatsapp-btn {
        bottom: 18px;
        left: 18px;
        width: 52px;
        height: 52px;
    }
    [dir="ltr"] .floating-whatsapp-btn {
        left: auto;
        right: 18px;
    }
    .floating-whatsapp-btn .whatsapp-icon-inner {
        font-size: 27px;
    }
}

/* ==========================================================================
   20. SUPPORTER CTA BUTTON & MODAL (زر وبوب اب انضم كداعم)
   ========================================================================== */
.btn-supporter-cta {
    background-color: rgba(91, 193, 172, 0.1);
    color: var(--primary-color, #5bc1ac) !important;
    border: 1.5px solid var(--primary-color, #5bc1ac);
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--border-radius-large, 100px);
    transition: all 0.3s ease;
}

.btn-supporter-cta:hover {
    background-color: var(--primary-color, #5bc1ac);
    color: #ffffff !important;
    border-color: var(--primary-color, #5bc1ac);
    box-shadow: 0 4px 14px rgba(91, 193, 172, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   21. FAQ ACCORDION STYLES (الأسئلة الشائعة)
   ========================================================================== */
.custom-faq-accordion .faq-card-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease;
}

.custom-faq-accordion .faq-card-item:hover {
    border-color: rgba(91, 193, 172, 0.5) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.custom-faq-accordion .faq-btn {
    background-color: #ffffff;
    color: #1e293b !important;
    border: none;
    box-shadow: none !important;
    border-radius: 16px !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.custom-faq-accordion .faq-btn:not(.collapsed) {
    background-color: #f0fdf4 !important;
    color: #0f172a !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.custom-faq-accordion .faq-number {
    font-size: 1.15rem;
    min-width: 32px;
}

.custom-faq-accordion .faq-body {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   22. GOALS LIGHTBOX MODAL (عرض الصورة فقط بنظام فانس بوكس)
   ========================================================================== */
#goalLightboxModal .modal-content {
    background: transparent !important;
    border: none !important;
}

#goalLightboxImg {
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    max-width: 95%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.about-goal-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    cursor: pointer;
}

.about-goal-pill:hover {
    background: #ffffff;
    border-color: var(--primary-color, #5bc1ac);
    box-shadow: 0 4px 14px rgba(91, 193, 172, 0.2);
    transform: translateY(-2px);
}

.about-goal-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
}

.about-goal-pill:hover .about-goal-title {
    color: var(--primary-color, #5bc1ac);
}

/* ==========================================================================
   23. NAVBAR BRAND RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 575.98px) {
    .navbar-brand img.logo {
        max-height: 42px !important;
    }
    .brand-title-text {
        font-size: 0.95rem !important;
    }
    .brand-subtitle-text {
        font-size: 0.68rem !important;
    }
}

/* ==========================================================================
   24. JOIN SUPPORTER MODAL & FORM CONTROLS POLISH (تنسيق الحقول والمودال)
   ========================================================================== */
#joinSupporterModal .modal-content {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: none;
}

#joinSupporterModal .modal-header {
    border-bottom: none;
}

/* Ensure all form inputs start cleanly next to the icon in RTL */
[dir="rtl"] .custom-form .input-group .form-control,
html[dir="rtl"] .custom-form .input-group .form-control,
body.rtl .custom-form .input-group .form-control {
    text-align: right !important;
    direction: rtl !important;
}

[dir="rtl"] .custom-form .input-group .form-control::placeholder,
html[dir="rtl"] .custom-form .input-group .form-control::placeholder {
    text-align: right !important;
    direction: rtl !important;
}

[dir="ltr"] .custom-form .input-group .form-control,
html[dir="ltr"] .custom-form .input-group .form-control {
    text-align: left !important;
    direction: ltr !important;
}

.custom-form .input-group {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.25s ease;
}

.custom-form .input-group:focus-within {
    background-color: #ffffff !important;
    border-color: var(--primary-color, #5bc1ac) !important;
    box-shadow: 0 0 0 4px rgba(91, 193, 172, 0.15) !important;
}

.custom-form .input-group .form-control {
    color: #1e293b !important;
    font-size: 0.95rem !important;
}

.custom-form .input-group .form-control::placeholder {
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
}

/* ==========================================================================
   25. REAL FANCYBOX LIGHTBOX MODAL FOR GOALS (معرض فانس بوكس حقيقي)
   ========================================================================== */
#goalLightboxModal {
    background-color: rgba(10, 15, 29, 0.88) !important;
    backdrop-filter: blur(8px);
}

.goal-fancybox-close-fixed {
    position: fixed !important;
    top: 24px !important;
    left: 28px !important;
    z-index: 1075 !important;
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-radius: 50% !important;
    opacity: 0.9 !important;
    transition: all 0.25s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[dir="rtl"] .goal-fancybox-close-fixed,
html[dir="rtl"] .goal-fancybox-close-fixed {
    left: 28px !important;
    right: auto !important;
}

.goal-fancybox-close-fixed:hover {
    background-color: rgba(239, 68, 68, 0.85) !important;
    opacity: 1 !important;
    transform: scale(1.1) rotate(90deg);
}

.goal-fancybox-nav-btn {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    cursor: pointer !important;
    z-index: 1070 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.goal-fancybox-nav-btn:hover {
    background-color: var(--primary-color, #5bc1ac) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-50%) scale(1.12) !important;
    box-shadow: 0 12px 35px rgba(91, 193, 172, 0.6) !important;
}

.goal-fancybox-btn-right {
    right: 28px !important;
    left: auto !important;
}

.goal-fancybox-btn-left {
    left: 28px !important;
    right: auto !important;
}

.goal-fancybox-counter-fixed {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(15, 23, 42, 0.85) !important;
    color: #ffffff !important;
    padding: 6px 22px !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    z-index: 1070 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 767.98px) {
    .goal-fancybox-nav-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
    }
    .goal-fancybox-btn-right {
        right: 12px !important;
    }
    .goal-fancybox-btn-left {
        left: 12px !important;
    }
    .goal-fancybox-close-fixed {
        top: 14px !important;
        left: 14px !important;
        width: 38px !important;
        height: 38px !important;
    }
    .goal-fancybox-counter-fixed {
        bottom: 14px !important;
        font-size: 0.82rem !important;
        padding: 4px 14px !important;
    }
}

/* ==========================================================================
   26. FAQ ACCORDION SECTION (تصميم وتنسيق سكشن الأسئلة الشائعة)
   ========================================================================== */
.custom-faq-accordion .accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.custom-faq-accordion .accordion-item:hover {
    border-color: rgba(91, 193, 172, 0.4) !important;
    box-shadow: 0 8px 24px rgba(91, 193, 172, 0.08);
}

.custom-faq-accordion .accordion-button {
    background-color: #ffffff;
    color: #1e293b;
    border-radius: 16px !important;
    font-size: 1.05rem;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--primary-color, #5bc1ac);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.faq-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.custom-faq-accordion .accordion-button:not(.collapsed) .faq-number-badge {
    background-color: var(--primary-color, #5bc1ac);
    color: #ffffff;
}

.custom-faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transition: transform 0.25s ease, background-image 0.25s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235bc1ac'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.custom-faq-accordion .accordion-body {
    background-color: #f8fafc;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}







