/* Custom Alfajir Frontend Styles */

/* Counter & Goal Cards */
.counter-card-static {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
}
.counter-card-static .counter-number {
    color: var(--primary-color, #5bc0be);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1.2;
    display: inline-block;
}
.counter-card-static .counter-text {
    color: var(--secondary-color, #44525d);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 4px;
}
.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, #5bc0be);
    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;
}

/* Partners Slider Styles */
.partners-section {
    background-color: var(--site-footer-bg-color, #44525d);
    position: relative;
}
.partners-slider-container {
    position: relative;
    padding: 0 55px;
}
@media (max-width: 576px) {
    .partners-slider-container {
        padding: 0 15px;
    }
}
.partners-swiper {
    padding: 10px 5px 50px 5px !important;
    overflow: hidden;
}
.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 {
    /* transform: translateY(-6px); */
    background-color: rgba(255, 255, 255, 0.16);
    border-color: var(--primary-color, #5bc0be);
    /* box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); */
}
.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, #5bc0be);
    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;
}
.partners-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.partners-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color, #5bc0be) !important;
    width: 24px;
    border-radius: 12px;
}
.partners-swiper-prev,
.partners-swiper-next {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease !important;
    top: 42% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}
.partners-swiper-prev {
    left: 0 !important;
}
.partners-swiper-next {
    right: 0 !important;
}
.partners-swiper-prev:after,
.partners-swiper-next:after {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
}
.partners-swiper-prev:hover,
.partners-swiper-next:hover {
    background: var(--primary-color, #5bc0be) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #5bc0be) !important;
    box-shadow: 0 6px 18px rgba(91, 192, 190, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Category Filter Tabs Styling */
.news-section .btn-outline-secondary,
.news-section .custom-btn,
.section-padding .btn-outline-secondary,
.section-padding .custom-btn,
.category-filter-wrapper .category-filter-btn,
a.category-filter-btn {
    font-family: 'Cairo', system-ui, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    color: #4a5568 !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.news-section .btn-outline-secondary:hover,
.news-section .custom-btn:hover,
.section-padding .btn-outline-secondary:hover,
.section-padding .custom-btn:hover,
.category-filter-wrapper .category-filter-btn:hover,
a.category-filter-btn:hover {
    color: #5bc1ac !important;
    background-color: #f0fdf9 !important;
    border-color: #5bc1ac !important;
    /* transform: translateY(-2px) !important; */
    /* box-shadow: 0 4px 14px rgba(91, 193, 172, 0.2) !important; */
}

.news-section .custom-btn.active,
.news-section .btn-outline-secondary.active,
.section-padding .custom-btn.active,
.section-padding .btn-outline-secondary.active,
.category-filter-wrapper .category-filter-btn.active,
a.category-filter-btn.active,
a.category-filter-btn.active:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #5bc1ac 0%, #3ca893 100%) !important;
    border-color: #5bc1ac !important;
    font-weight: 700 !important;
    /* box-shadow: 0 4px 16px rgba(91, 193, 172, 0.4) !important; */
    /* transform: translateY(-2px) !important; */
}

/* SweetAlert2 Toast Compact & Sleek Styling */
.swal2-toast {
    font-family: 'Cairo', system-ui, sans-serif !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    align-items: center !important;
}
.swal2-toast .swal2-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 8px !important;
    line-height: 1.4 !important;
    color: #2c3e50 !important;
}


/* Make Hero Slider Control Arrows permanently visible with sleek circular style like Partners section */
.hero-controls-wrapper .carousel-control-prev,
.hero-controls-wrapper .carousel-control-next {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
}

#hero-slide .carousel-control-prev-icon,
#hero-slide .carousel-control-next-icon,
.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    opacity: 0.9 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background-color: rgba(92, 107, 115, 0.75) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    background-size: 45% 45% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
}

#hero-slide .carousel-control-prev-icon:hover,
#hero-slide .carousel-control-next-icon:hover,
.hero-section .carousel-control-prev-icon:hover,
.hero-section .carousel-control-next-icon:hover {
    opacity: 1 !important;
    background-color: var(--primary-color, #5bc1ac) !important;
    border-color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* ==========================================================================
   Comprehensive Global Responsiveness & Elegance Enhancements
   ========================================================================== */

/* Prevent horizontal overflow on small devices */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

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

/* Counter & Stat Cards Mobile Responsiveness */
.counter-card-static {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    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;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.counter-card-static:hover {
    /* transform: translateY(-3px); */
    /* box-shadow: 0 8px 24px rgba(91, 193, 172, 0.12); */
    border-color: rgba(91, 193, 172, 0.3);
}

.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;
}

/* Campaign Category Card Polish */
.featured-block {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 16px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
}

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

.featured-block-image {
    width: clamp(52px, 12vw, 70px) !important;
    height: clamp(52px, 12vw, 70px) !important;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.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.85rem, 2vw, 1rem);
    margin-top: 10px;
    margin-bottom: 0;
}

/* Responsive Category Tabs Bar & Mobile Scroll Indicator */
.category-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .category-filter-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px 16px 12px 16px;
        margin: 0 -15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color, #5bc1ac) rgba(0, 0, 0, 0.05);
    }
    
    /* Sleek visible mini scrollbar on mobile */
    .category-filter-wrapper::-webkit-scrollbar {
        height: 5px;
    }
    .category-filter-wrapper::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 10px;
    }
    .category-filter-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #5bc1ac, #3ca893);
        border-radius: 10px;
    }
    
    .category-filter-wrapper .category-filter-btn {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
        font-size: 0.88rem !important;
        padding: 8px 18px !important;
    }
}

/* Responsive Donation Amount Selector (Grid on Mobile) */
.donation-amount-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

@media (max-width: 575.98px) {
    .donation-amount-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #hero-slide .carousel-control-prev-icon,
    #hero-slide .carousel-control-next-icon,
    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        width: 34px !important;
        height: 34px !important;
        background-size: 38% 38% !important;
    }
}

.donation-amount-wrapper .btn-check + .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* Header Top Bar Mobile Polish */
@media (max-width: 991.98px) {
    .site-header {
        padding: 8px 0;
    }
    .site-header p {
        font-size: 0.82rem;
    }
    .site-header .social-icon-link {
        margin-left: 8px !important;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }
}

/* Desktop Navbar Menu Single Line & No-Wrap Rules */
.navbar-nav .nav-link {
    font-size: 16px !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-wrap: nowrap !important;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        white-space: nowrap !important;
        padding: 8px 10px !important;
        font-size: 16px !important;
    }
}

/* Mobile Navbar Collapsible Drawer Polish */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 16px;
        padding: 16px 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;
        text-align: right;
    }

    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-radius: 8px;
        font-weight: 600;
    }

    .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 {
        margin-left: 0 !important;
        margin-top: 10px;
    }
    
    .navbar-nav .custom-btn {
        width: 100%;
        text-align: center;
    }
}

/* Cause Card Mobile Polish */
.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-wrap:hover {
    /* transform: translateY(-4px); */
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
}

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

/* Opinion Poll Container Polish */
/* Floating Back To Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color, #5bc1ac);
    color: #ffffff !important;
    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: 9999;
    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: 25px;
}

.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 !important;
    /* transform: translateY(-4px) scale(1.08); */
    /* box-shadow: 0 8px 25px rgba(68, 82, 93, 0.45); */
}

/* Premium Modern Modal Styling */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.65) !important;
}

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

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

.custom-modal-header .modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    display: flex;
    align-items: center;
}

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

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

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

.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) !important;
    background-color: #f8fafc !important;
    padding: 14px 24px !important;
}

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

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

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

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

.alfajir-notice-banner .notice-icon-wrap iconify-icon {
    font-size: 1.25rem;
    color: #2563eb !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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;
}

/* ==========================================================================
   FAJR RELIEF MODERN DESIGN SYSTEM & CAIRO TYPOGRAPHY
   ========================================================================== */

:root {
    --primary-color: #006838;
    --primary-light: #0e9f6e;
    --primary-hover: #004d29;
    --secondary-color: #1e293b;
    --accent-amber: #d97706;
    --accent-amber-hover: #b45309;
    --bg-light: #f8fafc;
    --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(0, 104, 56, 0.15);
}

html, body, *, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
}

body {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

/* Distinctive "تبرع الآن" Button */
.btn-donate-cta,
.custom-btn.btn-donate {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 10px 26px !important;
    border-radius: 50px !important;
    border: none !important;
    /* box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important; */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0.2px;
}

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

/* Modern Card Layouts */
.custom-block-wrap,
.cause-card-modern {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-block-wrap:hover,
.cause-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 104, 56, 0.2);
}

.custom-block-image {
    height: 230px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.custom-block-wrap:hover .custom-block-image {
    transform: scale(1.04);
}

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

.custom-progress .progress-bar {
    background: linear-gradient(90deg, #006838 0%, #0e9f6e 100%) !important;
    border-radius: 30px;
    transition: width 1s ease-in-out;
}

/* Category Pills & Sidebar Filter */
.category-filter-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.category-filter-sidebar .filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.category-filter-sidebar .filter-item:hover,
.category-filter-sidebar .filter-item.active {
    background-color: #f0fdf4;
    color: #006838;
}

/* Social Share Buttons */
.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-left: 8px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.social-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.social-share-btn.whatsapp { background-color: #25d366; }
.social-share-btn.telegram { background-color: #0088cc; }
.social-share-btn.twitter { background-color: #1da1f2; }
.social-share-btn.facebook { background-color: #1877f2; }
.social-share-btn.copy { background-color: #64748b; }

/* Unified Heading & Section Header Hierarchy */
.section-padding h2,
h2.fw-bold,
.news-detail-header-section h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--secondary-color, #1e293b);
    letter-spacing: -0.3px;
}

.tracking-wider {
    letter-spacing: 0.5px;
    font-size: 0.85rem !important;
}

.hover-primary:hover {
    color: var(--primary-color, #006838) !important;
}

/* High Contrast Footer Helper Classes & Form Overrides */
.text-light-gray {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}

.text-light-gray:hover,
.hover-success:hover {
    color: #34d399 !important;
}

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

/* Remove Template's White Box Padding on Footer Newsletter Form */
.site-footer .subscribe-form,
.site-footer .custom-form,
footer .custom-form {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

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

.site-footer .subscribe-form .form-control::placeholder {
    color: #64748b !important;
}

.btn-success {
    background: linear-gradient(135deg, #006838 0%, #0e9f6e 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    /* box-shadow: 0 4px 12px rgba(0, 104, 56, 0.35) !important; */
    transition: all 0.25s ease !important;
    /* width: 100% !important; */
}

.btn-success:hover {
    background: linear-gradient(135deg, #004d29 0%, #006838 100%) !important;
    /* transform: translateY(-2px) !important; */
    /* box-shadow: 0 6px 18px rgba(0, 104, 56, 0.5) !important; */
}

/* Custom SVG Heart Handshake Icon Mask */
.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;
}

/* Sleek Hover Animation for "اقرأ التفاصيل" / "اقرأ الخبر كاملاً" Links */
.read-more-link {
    color: #006838 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    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) !important;
    display: inline-block !important;
}

/* Hover on link itself or card container */
.read-more-link:hover,
.news-block:hover .read-more-link {
    color: #0e9f6e !important;
}

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) !important;
}

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) !important;
}

/* Cause Hero Header Styling */
.cause-header-hero {
    position: relative !important;
    padding-top: 140px !important;
    padding-bottom: 90px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.cause-header-hero .section-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 104, 56, 0.90) 0%, rgba(15, 23, 42, 0.93) 100%) !important;
    z-index: 1 !important;
}










