/* ============================================================
   Hero Slider Section
   ============================================================ */

.waqf-hero-section {
    height: 50vh;
    overflow: hidden;
}

.waqf-hero-swiper {
    height: 100%;
}

.waqf-hero-swiper .swiper-slide {
    height: 100%;
}

/* Split layout: image left + content right */
.waqf-slide-inner {
    display: flex;
    height: 100%;
}

/* Image side */
.waqf-slide-image {
    width: 55%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #c8d8e6;
    /* fallback while image loads */
}

/* Content side */
.waqf-slide-content {
    flex: 1;
    background: linear-gradient(135deg, #2d6a97 0%, #367AAE 60%, #4a90c4 100%);
    display: flex;
    align-items: center;
    padding: 2.5rem 2rem 3.5rem 1.5rem;
    position: relative;
}

.waqf-slide-text {
    flex: 1;
}

.waqf-slide-title {
    color: var(--white-color);
    margin-bottom: 0.75rem;
}

.waqf-slide-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

/* Buttons */
.waqf-slide-btns {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.waqf-btn-donate {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.4rem;
    font-family: var(--font-family);
    border: 1px solid var(--secondary-color);
    transition: opacity 0.2s;
}

.waqf-btn-donate:hover {
    opacity: 0.88;
    color: var(--white-color);
}

.waqf-btn-learn {
    background-color: transparent;
    color: var(--white-color);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.4rem;
    font-family: var(--font-family);
    border: 1px solid var(--white-color);
    transition: background-color 0.2s, color 0.2s;
}

.waqf-btn-learn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
}

/* Next slide arrow */
.waqf-hero-next {
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 10;
    transition: background-color 0.2s, color 0.2s;
}

.waqf-hero-next:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* Pagination - rectangular dashes */
.waqf-hero-pagination {
    position: absolute !important;
    bottom: 18px !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.waqf-hero-pagination .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    margin: 0 !important;
    transition: background-color 0.3s, width 0.3s;
}

.waqf-hero-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    width: 32px;
}

/* ============================================================
   Info Cards Section
   ============================================================ */

.waqf-cards-section {
    background-color: #f4f6f8;
    padding: 2.5rem 0;
}

.waqf-info-card {
    background: var(--white-color);
    padding: 1.5rem;
    height: 100%;
    border-top: 8px solid var(--primary-color);
    box-shadow: 0px 0px 25px 0px #B6B6B64D;

}

/* Middle card gets side borders via modifier */
.waqf-info-card--bordered {
    border-left: 1px solid #57575618;
    border-right: 1px solid #57575618;
}

/* Card header row */
.waqf-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 10px;
}

.waqf-info-card ul li {
    list-style: disc;
}

.waqf-card-title {
    color: var(--primary-color);
    margin: 0;
}

.waqf-card-link {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.2s;
}

.waqf-card-link:hover {
    color: var(--secondary-color);
}

.waqf-card-desc {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.waqf-card-text {
    color: #666;
    margin-bottom: 1rem;
}

/* Bullet list (Card 3) */
.waqf-card-list {
    list-style: disc;
    padding-inline-start: 1.25rem;
    margin-bottom: 1rem;
}

.waqf-card-list li {
    color: #555;
}

/* Stats row (Card 1) */
.waqf-card-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.waqf-stat-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.waqf-stat-val {
    color: var(--dark-blue-color);
}

.waqf-stat-val.waqf-stat-primary {
    color: var(--primary-color);
}

.waqf-stat-year {
    color: #999;
}

.waqf-stat-arrow {
    color: #aaa;
    font-size: 0.9rem;
}

/* Big stat (Cards 2 & 3) */
.waqf-card-big-stat {
    margin-top: 1.25rem;
}

.waqf-big-stat-val {
    color: var(--primary-color);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 991.98px) {
    .waqf-hero-section {
        height: 320px;
    }

    .waqf-slide-content {
        padding: 2rem 1.25rem 3rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .waqf-hero-section {
        height: auto;
    }

    .waqf-slide-inner {
        flex-direction: column;
    }

    .waqf-slide-image {
        width: 100%;
        height: 200px;
    }

    .waqf-slide-content {
        padding: 2rem 1.5rem 3rem;
    }

    .waqf-hero-next {
        left: 50%;
        top: auto;
        bottom: -18px;
        transform: translateX(-50%);
    }

    .waqf-info-card {
        border-left: var(--main-border);
        border-right: var(--main-border);
    }
}

/* ============================================================
   About Page — Page Header Banner
   ============================================================ */



/* ============================================================
   About Page — Content Sections
   ============================================================ */

.about-content-section {
    background-color: var(--white-color);
    padding: 2.5rem 0;
    /* border-bottom: var(--main-border); */
}

.about-section {
    background-color: rgb(54 122 174 / 7%);
}

.about-content-section--gray {
    background-color: #f9fafb;
}

.about-section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.about-section-text {
    text-align: justify;
    margin-bottom: 0.75rem;
}

.about-section-text:last-child {
    margin-bottom: 0;
}

/* ============================================================
   About Page — Source Cards
   ============================================================ */

.about-cards-section {
    background-color: #f4f6f8;
    padding: 2.5rem 0;
}

.about-source-card {
    background: var(--white-color);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0px 0px 25px 0px #B6B6B64D;
}

.about-source-card--bordered {
    border-left: 1px solid #57575618;
    border-right: 1px solid #57575618;
}

.about-source-card-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.about-source-card-text {
    color: #555;
    margin: 0;
}

/* About page responsive */
@media (max-width: 767.98px) {
    .about-source-card {
        border-left: var(--main-border);
        border-right: var(--main-border);
    }

    .about-source-card--bordered {
        border-top: var(--main-border);
        border-top-width: 1px;
        border-top-color: #57575640;
    }
}

.waqf-hero-next {
    display: none;
}

/* ============================================================
   Internal Page — Content Section
   ============================================================ */