/* ===== Hero Slider ===== */
.hero-slider {
    width: 100%;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 900px;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1920px) {
    .hero-slide {
        background-size: cover;
    }
}



.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 0 24px;
}

.hero-slide-content span {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
}

.hero-slide-content h1 {
    color: #E6E6E6;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

/* Swiper Navigation */
.hero-nav {
    color: #fff;
}

.hero-nav::after {
    font-size: 24px;
}

/* Swiper Pagination */
.hero-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 991.98px) {
    .heroSwiper {
        height: 400px;
    }

    .hero-slide-content span {
        font-size: 48px;
    }

    .hero-slide-content h1 {
        font-size: 20px;
    }

    .hero-nav {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .heroSwiper {
        height: 350px;
    }

    .hero-slide-content span {
        font-size: 36px;
    }

    .hero-slide-content h1 {
        font-size: 18px;
    }
}

/* about section */
.about-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.about-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 69px;
    padding-top: 80px;
}


@media (max-width: 992px) and (min-width: 769px) {
    .about-section {
        gap: 32px;
        padding-top: 50px;
    }

    .about-section-content {
        gap: 18px;
    }

    .about-section-content-title h1 {
        font-size: 32px;
    }

    .about-section-content-title span {
        font-size: 15px;
    }

    .about-section-content-text p {
        font-size: 15px;
        max-width: 420px;
    }

    .about-section-image {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        position: relative;
        min-height: 0;
    }

    .about-section-image-1 {
        max-width: 280px;
        max-height: 220px;
        width: 100%;
        display: block;
    }

    .about-section-image-2 {
        position: static;
        bottom: auto;
        left: auto;
        max-width: 280px;
        max-height: 220px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        gap: 36px;
        padding: 48px 16px 8px;
    }

    .about-section-content {
        gap: 20px;
        align-items: flex-start;
        text-align: right;
        width: 100%;
    }

    .about-section-content-title {
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }

    .about-section-content-title span {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.2px;
        text-transform: none;
        gap: 10px;
    }

    .about-section-content-title span::before {
        height: 16px;
        background: #A02842;
    }

    .about-section-content-title h1 {
        font-size: 26px;
        line-height: 1.4;
        text-align: right;
        font-weight: 800;
        letter-spacing: -0.3px;
        color: #0F172A;
        margin: 0;
        text-wrap: balance;
    }

    .about-section-content-text {
        width: 100%;
    }

    .about-section-content-text p {
        font-size: 16px;
        line-height: 1.95;
        max-width: 100%;
        text-align: right;
        margin: 0 0 22px;
        color: #3F4654;
        font-weight: 400;
        word-spacing: 1px;
    }

    /* Layered photo collage on mobile, mirroring the desktop intent at a smaller scale */
    .about-section-image {
        min-width: auto;
        min-height: 320px;
        width: 100%;
        max-width: 100%;
        position: relative;
        display: block;
        padding: 0 8px 24px;
    }

    .about-section-image-1 {
        width: 78%;
        max-width: 78%;
        height: 240px;
        max-height: 240px;
        margin-right: auto;
        margin-left: 0;
        border-radius: 20px;
        display: block;
    }

    .about-section-image-2 {
        position: absolute;
        right: 16px;
        left: auto;
        bottom: 0;
        width: 55%;
        max-width: 55%;
        height: 170px;
        max-height: 170px;
        border-width: 5px;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }
}

@media (max-width: 420px) {
    .about-section-image {
        min-height: 290px;
    }

    .about-section-image-1 {
        height: 215px;
        max-height: 215px;
    }

    .about-section-image-2 {
        height: 150px;
        max-height: 150px;
        right: 8px;
    }
}

.about-section-content-title {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 8px;
}

.about-section-content-title span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    direction: rtl;

    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
}

.about-section-content-title span::before {
    content: '';
    width: 2px;
    height: 20px;
    background: #25376D;
}


.about-section-content-title h1 {
    color: #171A3A;
    font-size: 48px;
    font-weight: 700;
    text-align: start;
}

.about-section-content-text p {
    color: #535965;
    font-size: 18px;
    font-weight: 300;
    max-width: 641px;
    margin-bottom: 24px;
    text-align: justify;
}

.about-section-image {
    width: 100%;
    max-width: 530px;
    min-height: 407px;
    position: relative;
    display: block;
    flex-shrink: 0;
}


.about-section-image-1 {
    max-width: 332px;
    max-height: 276px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    display: block;
}

.about-section-image-2 {
    border: 8px solid #FFF;
    position: absolute;
    bottom: 80px;
    left: 20px;
    max-width: 332px;
    max-height: 276px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    display: block;
}

/* programs section */
.programs-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
}

.programs-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;

}

.programs-section-content p {
    color: var(--Text-Medium);
    text-align: right;
    font-size: 16px;
    font-weight: 300;
}

.programs-section-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 41px;
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 992px) and (min-width: 769px) {
    .programs-section {
        margin-top: 60px;
        gap: 36px;
    }

    .programs-section-content h1 {
        font-size: 28px;
        text-align: center;
    }

    .programs-section-content p {
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .programs-section {
        margin-top: 50px;
        gap: 32px;
    }

    .programs-section-content h1 {
        font-size: 24px;
        text-align: center;
    }

    .programs-section-content p {
        font-size: 14px;
        text-align: center;
    }

    .programs-section-cards {
        flex-direction: column;
    }
}



/* news and events section */



.news-and-events-section-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    gap: 40px;
}

.news-and-events-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
}

.news-and-events-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.news-and-events-section-content p {
    color: #5C5C5C;
    text-align: right;
    font-size: 16px;
    font-weight: 300;
}

.news-and-events-section-image-1 {
    position: relative;
    min-width: 412px;
    max-width: 412px;
    height: 540px;
    border-radius: 24px;
    overflow: hidden;
}

.news-and-events-section-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-and-events-section-image-1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(4, 47, 29, 0) -17.57%,
            #042F1D 100%);
    z-index: 1;
    pointer-events: none;
}

.news-and-events-section-card-1-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 12px 12px 12px 20px;
    border-radius: 24px;
    border: 1px solid #E7EEF3;
    background: linear-gradient(205deg, #F6F8F7 0%, #FFF 78.02%);
    max-width: 788px;
    max-height: 250px;
}

.news-and-events-section-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    overflow: hidden;
}

.news-and-events-section-card-1-image {
    max-width: 244px;
    max-height: 226px;
    width: 244px;
    height: 226px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.news-and-events-section-card-1-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.news-and-events-section-card-1-content h3 {
    color: #171A3A;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-and-events-section-card-1-content p {
    color: #5C5C5C;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card-footer span {
    color: #757B80;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 992px) and (min-width: 769px) {
    .news-and-events-section {
        margin-top: 60px;
        gap: 32px;
    }

    .news-and-events-section-content h1 {
        font-size: 26px;
    }

    .news-and-events-section-content p {
        font-size: 14px;
    }

    .news-and-events-section-cards {
        gap: 28px;
    }

    .news-and-events-section-image-1 {
        min-width: 340px;
        max-width: 340px;
        height: 450px;
    }

    .news-and-events-section-card-1-container {
        max-width: 650px;
        max-height: 220px;
        padding: 10px 10px 10px 18px;
    }

    .news-and-events-section-card-1-image {
        max-width: 200px;
        max-height: 200px;
        width: 200px;
        height: 200px;
    }

    .news-and-events-section-card-1-content h3 {
        font-size: 16px;
    }

    .news-and-events-section-card-1-content p {
        font-size: 13px;
    }

    .card-footer span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .news-and-events-section {
        margin-top: 50px;
        gap: 32px;
    }

    .news-and-events-section-content h1 {
        font-size: 24px;
    }

    .news-and-events-section-content p {
        font-size: 14px;
        text-align: center;
    }

    .news-and-events-section-cards {
        flex-direction: column;
    }

    .news-and-events-section-card {
        flex-direction: column;
    }

    .news-and-events-section-card-1-container {
        max-width: 100%;
        max-height: none;
    }

    .news-and-events-section-image-1 {
        min-width: 100%;
        max-width: 100%;
        height: 400px;
    }
}

/* questions section */
.questions-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
    background: #F6F8F7;
    border-radius: 24px;
    padding: 60px 272px 50px 272px;
    min-width: 800px;
}

.questions-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    background: transparent;
    border: none;
    margin-bottom: 16px;
}

.faq-button {
    width: 100%;
    border-radius: 16px;
    background-color: white;
    padding: 20px;
    outline: none;
    box-shadow: none;
    border: none;
    color: #171A3A;
    font-size: 16px;
    font-weight: 500;
}

.faq-button:hover {
    background-color: white;
}

.faq-button:focus {
    background-color: white;
    box-shadow: none;
}

.accordion-body {
    background-color: #F6F8F7;
    border-radius: 16px;
    padding: 20px;
    margin-top: 12px;
    color: #5C5C5C;
    font-size: 16px;
    font-weight: 300;
}

.faq-icon {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 80px;
    color: white;
    font-size: 18px;
    font-weight: 400;
}

.faq-icon.plus {
    background: #25376D;
}

.faq-icon.minus {
    background: #A02842;
}

@media (max-width: 992px) and (min-width: 769px) {
    .questions-section {
        padding: 45px 50px 40px 50px;
        min-width: auto;
        border-radius: 18px;
        gap: 32px;
        margin-top: 60px;
    }

    .questions-section-content h1 {
        font-size: 26px;
    }

    .questions-section-content p {
        font-size: 14px;
        text-align: center;
    }

    .faq-button {
        padding: 17px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 17px;
        font-size: 14px;
    }

    .faq-item {
        margin-bottom: 13px;
    }
}

@media (max-width: 768px) {
    .questions-section {
        padding: 40px 24px;
        min-width: auto;
        border-radius: 16px;
        gap: 32px;
        margin-top: 60px;
    }

    .questions-section-content {
        gap: 8px;
    }

    .questions-section-content h1 {
        font-size: 24px;
        text-align: center;
    }

    .questions-section-content p {
        font-size: 14px;
        text-align: center;
    }

    .faq-button {
        padding: 16px;
        font-size: 14px;
        border-radius: 12px;
    }

    .accordion-body {
        padding: 16px;
        font-size: 14px;
        border-radius: 12px;
        margin-top: 8px;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .faq-item {
        margin-bottom: 12px;
    }
}


.gallery-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 80px 0;
}

.gallery-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.gallery-item:nth-child(1) {
    width: 408px;
    height: 267px;
}

.gallery-item:nth-child(2) {
    width: 492px;
    height: 267px;
}

.gallery-item:nth-child(3) {
    width: 290px;
    height: 267px;
}

.gallery-item:nth-child(4) {
    width: 290px;
    height: 267px;
}

.gallery-item:nth-child(5) {
    width: 492px;
    height: 267px;
}

.gallery-item:nth-child(6) {
    width: 408px;
    height: 267px;
}

@media (max-width: 992px) and (min-width: 769px) {
    .gallery-section {
        margin: 60px 0;
        gap: 32px;
    }

    .gallery-section-content h1 {
        font-size: 26px;
    }

    .gallery-section-content p {
        font-size: 14px;
    }

    .gallery-grid {
        justify-content: center;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        width: 300px;
        height: 200px;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        width: 360px;
        height: 200px;
    }

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        width: 220px;
        height: 200px;
    }
}

@media (max-width: 768px) {

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        width: 100%;
        height: 250px;
    }
}

/* Mobile programs Swiper */
.programs-swiper {
    padding-bottom: 36px;
    overflow: visible;
    overflow-x: clip;
}

.programs-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.programs-swiper .swiper-slide > * {
    width: 100%;
    display: flex;
}

.programs-swiper .programs-swiper-pagination {
    bottom: 4px;
}

.programs-swiper .programs-swiper-pagination .swiper-pagination-bullet {
    background: #D7DBE7;
    opacity: 1;
}

.programs-swiper .programs-swiper-pagination .swiper-pagination-bullet-active {
    background: #A02842;
    width: 22px;
    border-radius: 4px;
}

/* Mobile gallery Swiper */
.gallery-swiper {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f6fb;

    position: relative;
}

.gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.gallery-swiper .gallery-swiper-nav {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    top: 50%;
    margin-top: -18px;
}

.gallery-swiper .gallery-swiper-nav::after {
    font-size: 16px;
    font-weight: 700;
}

.gallery-swiper .gallery-swiper-pagination {
    bottom: 8px;
}

.gallery-swiper .gallery-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.gallery-swiper .gallery-swiper-pagination .swiper-pagination-bullet-active {
    background: #A02842;
}