﻿:root {
    scroll-behavior: smooth;
    --green: #039D8F;
    --blue: #045977;
    --dark-blue: #05455C;
    --green-light: #33BF84;
    --sky-blue: #0CCBB9;
    --white: #FFFFFF;
    --gray: #888888;
    --trans: 0.3s ease-in-out;
    --subtitle-color: #969898;
}

.main-title {
    position: relative;
    padding-inline-start: 16px;
    min-height: 50px;
}

    .main-title::before {
        content: '';
        position: absolute;
        inset: 0;
        height: 40%;
        background-color: var(--green-light);
        width: 8px;
        right: -5px;
        z-index: 1;
    }

    .main-title::after {
        content: '';
        position: absolute;
        inset: 0;
        height: 100%;
        background-color: #12AB71;
        width: 4px;
    }

    .main-title h3 {
        font-size: 22px;
        color: var(--white);
        font-weight: bold;
    }

    .main-title h1 {
        font-size: 22px;
        color: var(--white);
        font-weight: bold;
    }

    .main-title p {
        font-size: 18px;
        color: var(--white);
        margin-bottom: 0;
    }

.text-blue {
    color: var(--blue) !important;
}

.text-subtitle {
    color: var(--subtitle-color) !important;
}

.events-section {
    padding-block: 80px;
    background-image: url(../img/line-bg.svg);
    position: relative;
    z-index: 1;
}

    .events-section::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, #EAEAEA 10%, #ffffff45 30%);
        opacity: 0.5;
        height: 100%;
        z-index: -1;
    }

.eventsSwiper {
    position: relative;
}

.event-card {
    position: relative;
    margin-bottom: 40px;
}

    .event-card h5 {
        font-size: 14px;
        font-weight: bold;
        color: var(--blue);
        background-color: #28D0C0;
        border-radius: 12px;
        padding: 10px;
        position: absolute;
        top: 14px;
        right: 14px;
        display: none;
    }

.swiper-button-next:after,
.swiper-button-prev:after {
    font-weight: bold;
    color: white;
}

.eventsSwiper .swiper-button-prev,
.eventsSwiper .swiper-button-next {
    top: calc(50% - 40px);
}

.eventsSwiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eventsSwiper .swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,
.eventsSwiper .swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin-inline: 3px;
    margin-block: 3px;
    width: 10px;
    height: 10px;
}

.eventsSwiper .swiper-pagination-bullet-active {
    width: 13px !important;
    height: 13px !important;
    background-color: var(--green);
}

.event-img {
    /* width: 280px;
    margin-bottom: -30px; */
    width: 150px;
    margin-bottom: -20px;
    margin-top: 0px;
    margin-inline: auto 0;
}

.event-title {
    font-size: 22px;
    color: var(--blue);
    font-weight: bold;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 35px;
}

    .timer > div {
        width: 100px;
        height: 100px;
    }

        .timer > div span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background-color: var(--white);
            box-shadow: 0px 0px 10px #D9DAE2;
            border-radius: 8px;
            font-size: 30px;
            font-family: 'AlHadari';
            font-weight: bold;
            color: var(--green);
            margin-bottom: 16px;
            position: relative;
        }

            .timer > div span::before {
                content: '';
                position: absolute;
                inset: 0;
                width: 7px;
                height: 20px;
                background-color: #D3D4DD;
                top: 50%;
                translate: 0% -50%;
            }

            .timer > div span::after {
                content: '';
                position: absolute;
                width: 7px;
                height: 20px;
                background-color: #D3D4DD;
                top: 50%;
                left: 0;
                translate: 0% -50%;
            }

        .timer > div p {
            text-align: center;
            font-size: 18px;
            color: var(--blue);
        }

.expired-date {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 3px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .expired-date p {
        margin-bottom: 0;
        font-size: 18px;
        color: var(--green);
    }

.statistics-section {
    margin-top: 80px;
    padding: 80px 60px;
    background-color: var(--blue);
}




.guide-details p {
    font-size: 18px;
    line-height: 38px;
    text-align: justify;
    margin-top: 16px;
}

.guide-details a {
    background: #045977;
    border-radius: 6px;
    width: 250px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-inline: auto 0;
}

    .guide-details a:hover {
        background: #05455C;
        color: white;
    }

@media(max-width:992px) {
    .guide-details {
        height: auto;
    }
}

@media (min-width: 2000px) {
    .container-xxxl {
        max-width: 1420px !important;
    }
}

.timer-card {
    display: flex;
    padding: 5px;
    text-align: center;
    background-color: white;
    border-radius: 5px;
    max-height: 75px;
    align-items: center;
    flex-direction: column;
    width: 75px;
}

    .timer-card span:first-child {
        font-size: 22px;
        color: #035977;
        font-weight: bold;
    }

    .timer-card span:last-child {
        font-size: 14px;
    }

.appointments h6 {
    font-weight: bold;
    color: #005782;
    font-size: 14px;
}

.appointments h5 {
    color: #039C8F;
    font-size: 15px;
    font-weight: bold;
}

.left-logo p {
    font-size: 11px;
    color: black;
    font-weight: bold;
    text-align: end;
}

.left-logo img {
    width: 91px;
}

.timer-bottom-text h5 {
    font-size: 12px;
    color: black;
    font-weight: bold;
    margin-top: 3px;
    direction: ltr;
    margin-bottom: 0;
}

.timer-bottom-text img {
    width: 65px;
}

@media (max-width:1400px) {
    .timer-card {
        border-radius: 5px;
        max-height: 55px;
        width: 55px;
    }

        .timer-card span:first-child {
            font-size: 17px;
        }

        .timer-card span:last-child {
            font-size: 13px;
        }

    .appointments h6 {
        font-size: 13px;
    }

    .appointments h5 {
        font-size: 14px;
    }

    .left-logo p {
        font-size: 10px;
    }

    .left-logo img {
        width: 120px;
    }

    .timer-bottom-text h5 {
        font-size: 9px;
    }

    .timer-bottom-text img {
        width: 50px;
    }
}

@media (max-width:1024px) {
    .timer-card {
        max-height: 52px;
        width: 52px;
    }

    .appointments h6 {
        font-size: 11px;
    }

    .appointments h5 {
        font-size: 12px;
    }

    .timer-card span:first-child {
        font-size: 14px;
    }

    .timer-bottom-text h5 {
        font-size: 8px;
    }

    .left-logo p {
        font-size: 8px;
    }

    .left-logo img {
        width: 100px;
    }
}

@media (max-width:768px) {
    .timer-card {
        border-radius: 5px;
        max-height: 60px;
        width: 60px;
    }

        .timer-card span:first-child {
            font-size: 16px;
        }

        .timer-card span:last-child {
            font-size: 12px;
        }

    .appointments h6 {
        font-size: 12px;
    }

    .appointments h5 {
        font-size: 13px;
    }

    .left-logo p {
        font-size: 9px;
    }

    .left-logo img {
        width: 110px;
    }

    .timer-bottom-text h5 {
        font-size: 10px;
    }

    .timer-bottom-text img {
        width: 40px;
    }
