/* ******************************************** */
/* **************** Hero Section ************** */
/* ******************************************** */
section.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}


section.hero .text {
    position: absolute;
}

section.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero 10s ease 0s infinite alternate forwards;
}



@keyframes hero {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}



section.hero .text {
    width: 100%;
    height: 100%;
    background: #2c2c2cb0;
    padding: 3rem 3.9rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    z-index: 100;

}


section.hero .text h2,
section.hero .text h3 {
    text-transform: capitalize;
    color: var(--h-color);
    text-shadow: 0rem 0.1rem 0.1rem rgba(234, 132, 44, 0.44);
    font-family: var(--ft);
    font-weight: 400;
}

section.hero .text h2 {
    font-size: clamp(2rem, 2.5vw, 3.2em);
    text-align: center;
}

section.hero .text h3 {
    font-size: clamp(1.8rem, 3vw, 3em);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--h-color);
    margin-top: 0.25rem;
}

section.hero .text h3 span {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    color: var(--primary);
    text-align: center;

}


section.hero .text p {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    margin-top: 2rem;
    color: #656565;
}

section.hero .text .my-btn {
    margin-top: 2em;
}

/* Responsive heading display */
section.hero .text h3.reach-sm {
    display: none;
}

section.hero .text h3.reach-lg {
    display: flex;
}


/* --------------- Arabic Hero Section ------------------ */
.ar section.hero .img {
    transform: scaleX(-1);
}


/* ----------------------------------------------------- */
/* ------------------- Member Page ------------------  */
/* ----------------------------------------------------- */

.carousel {
    height: calc(100vw / 2.2);
    overflow: hidden;
}

.carousel .swiper,
.carousel .swiper .swiper-wrapper,
.carousel .swiper.swiper-slide {
    height: 100%
}

.carousel .swiper .swiper-wrapper {
    animation-name: bg_moving;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards;
}

@keyframes bg_moving {
    0% {
        scale: 1
    }

    100% {
        scale: 1.15
    }

}

.carousel .swiper img {
    object-fit: fill;
    object-position: center;
    height: 100%;
}

.carousel .swiper-button-next,
.carousel .swiper-button-prev {
    color: var(--primary) !important;
}

.carousel .swiper-pagination-bullet-active,
.latest_vops .swiper-custom-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.carousel .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,
            var(--swiper-pagination-bullet-size, 15px));
    height: var(--swiper-pagination-bullet-height,
            var(--swiper-pagination-bullet-size, 15px));
}

.carousel .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 8px);
}

.carousel .swiper-pagination {
    bottom: 0 !important;
    top: unset !important;
    background: #cccccc70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16 px;
}

.animated-img {
    overflow: hidden;
}

.animated-img .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0000003c;
    top: 0;
    left: 0;
}

.animated-img.animation-on img {
    animation-name: bg_moving;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards;
}

.animated-img a {
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
}

.animated-img a img {
    width: 100%;
    height: 100%;
}

/* ==================== About Us ============================= */
.section>div>p {
    font-size: 1.1rem;
    padding: 1rem calc(var(--padding) * 7) 40px;
}


/*********************** About (Member-Page) ***********************/

section.member-about {
    padding: calc(var(--padding) * 4) 0;
}

section.member-about .h-section .h-body .h-title {
    color: var(--h-color);
    font-size: 2.5rem;
    font-family: var(--ft);
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

section.member-about .h-section .h-body .h-title>span:first-child {
    width: 30px;
    height: 5px;
    background: var(--primary);
    display: inline-block;
    border-radius: 2px;
    margin-bottom: 10px;
}

section.member-about p {
    font-family: var(--ft);
    font-style: normal;
    font-weight: 300;
    font-size: calc(var(--mid) * 1.1);
    line-height: var(--line-height);
    letter-spacing: 0.01em;
    color: var(--p-color);
}

section.member-about .my-btn {
    margin-top: 25px;
    padding: 4px 35px !important;
}

section.member-about img {
    height: 280px !important;
    width: 313px !important;
}

/* ********************* Latest Vops Carousel ************** */
.vops.section {
    padding: 2.5em 0 1em;
}

.latest_vops .swiper {
    height: 390px;
    position: relative;
    z-index: 0;
}

.latest_vops .swiper .swiper-slide {
    padding: 0px 3px !important;
}

.latest_vops .swiper .swiper-slide>div {
    display: flex;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    background: var(--extra-dark);
    border-radius: 5px;
    height: 330px;
    overflow: hidden;
    margin-top: 5px;
}

.latest_vops .swiper .swiper-slide>div>div:first-child {
    width: 145px;
    height: 36px;
    font-family: var(--ft);
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
}

.latest_vops .swiper .swiper-slide>div>div:first-child>a {
    border-bottom-left-radius: 10px;
}

.latest_vops .swiper .swiper-slide .img-con {
    width: 45%;
}

.latest_vops .swiper .swiper-slide .body {
    width: 60%;
    padding: 45px 30px;
    background-color: var(--lighter-dark);
}

.latest_vops .swiper .swiper-slide .img-con {
    height: 100%;
}

.latest_vops .swiper .swiper-slide .img-con img {
    width: 100%;
    height: 100%;
}

.latest_vops .swiper .swiper-slide .body h3 {
    font-family: var(--ft);
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--big) * 0.77);
    line-height: var(--line-height);
    color: var(--h-color);
    margin-bottom: 0;
}

.latest_vops .swiper .swiper-slide .body .date {
    font-family: var(--ft);
    font-style: normal;
    font-weight: 400;
    font-size: calc(var(--sm) * 0.95);
    line-height: calc(var(--line-height) * 0.9);
    letter-spacing: 0.03em;
    color: var(--orange);
    margin-top: 3px;
    margin-bottom: 10px;
}

.latest_vops .swiper .swiper-slide .body p {
    font-family: var(--ft);
    font-style: normal;
    font-weight: 300;
    font-size: calc(var(--sm) * 1.06);
    line-height: calc(var(--line-height) * 0.83);
    color: var(--p-color);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.latest_vops .swiper .swiper-slide .body .my-btn {
    padding: 8px 48px !important;
    margin-right: 0;
    margin-left: 0;
    font-size: calc(var(--sm) * 0.95);
    margin-top: 6px;
}

.latest_vops .swiper .swiper-slide .body a.my-btn:last-child {
    background-color: var(--main-dark);
    color: var(--p-color);
}

.latest_vops .swiper .swiper-slide .body a.my-btn:last-child:hover {
    background-color: var(--dark-btn-hover);
    color: var(--h-color);
}

.latest_vops .swiper .swiper-slide-prev,
.latest_vops .swiper .swiper-slide-next {
    opacity: 0.3;
}

.latest_vops .swiper-custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 10;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.latest_vops .swiper-custom-nav svg {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
}

.latest_vops .swiper-custom-nav svg:hover {
    opacity: 1;
}

.latest_vops .swiper-custom-pagination {
    text-align: center;
    position: absolute;
    bottom: 0;
    z-index: 999;
}

.latest_vops .swiper-custom-pagination .swiper-pagination-bullet {
    margin: 10px 5px 10px 6px !important;
    width: 25px !important;
    height: 6px !important;
    border-radius: 5px !important;
    background-color: #888;
}

.ads-alt {
    height: 497px;
    width: 100%;
}

.ads-alt img {
    width: 100%;
    height: 100%;
    object-position: center;
}

/* ------- membercpality Latest News Section ----------- */

.latest-section {
    padding: 0px 15px;
}

.latest-section>div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.latest-section .big-post {
    height: 380px;
    flex: 0.4;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 3px;
    overflow: hidden;
}

.latest-section .big-post>div {
    background-color: #4141418c;
    color: #fff;
    padding: 10px 16px 15px 16px;
}

.latest-section .sub-posts {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 16px;
    flex: 0.6;
}

.latest-section .sub-posts .con {
    display: flex;
    justify-content: space-between;
}

.latest-section .sub-posts .con>div:first-child {
    border-radius: 3px;
    overflow: hidden;
    width: 407px;
    height: 182px;
}

.latest-section .sub-posts .con>div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.latest-section .sub-posts .con>div:last-child {
    padding: 10px 21px;
}

/* ------------------------------------------ */

.member-home section.latest-posts .img-con {
    height: 228px;
}

.member-home section.latest-posts .img-con img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-home section.latest-posts .post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Volunteers Experiance */
.ve h4 {
    font-size: var(--big);
    font-family: var(--ft);
    color: var(--h-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: 600;
    text-align: center;
    /* margin: calc(var(--margin) * 4.5) var(--margin) calc(var(--margin) * 3) var(--margin); */
}

.experiance .fields {
    gap: 1rem;
}

.experiance .fields>div {
    flex: 0.5;
}

.member-home .latest-posts {
    padding: 3.5em 0;
}

.member-home section.latest-posts .post {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--lighter-dark);
    box-shadow: rgba(82, 82, 82, 0.1) 0px 0px 5px 0px,
        rgba(35, 35, 35, 0.1) 0px 0px 1px 0px;
    margin-top: 15px;
}

.member-home .latest-posts .title {
    margin-top: calc(var(--margin) * 1);
    margin-bottom: calc(var(--margin) * 2.5);
}

.member-home section.latest-posts .post .post-body {
    padding: 1.5rem;
    background-color: var(--lighter-dark);
}

.member-home section.latest-posts .post .post-body h4 {
    font-family: var(--ft);
    font-size: calc(var(--big) * 0.7);
    font-weight: 600;
    color: var(--h-color);
    margin-bottom: 5px;
    line-height: 2rem;
}

.member-home section.latest-posts .post .post-body p {
    font-size: calc(var(--mid) * 0.96);
    line-height: calc(var(--line-height) * 0.9);
    margin-bottom: .5rem;
}

.member-home section.latest-posts .post .post-body .read-more {
    color: var(--primary);
    font-family: var(--ft);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    gap: 0.3rem;
    line-height: 18px;
    margin-top: 5px;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.member-home section.latest-posts .post .post-body span {
    font-family: var(--ft);
    height: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 22px;
    text-align: left;
    letter-spacing: 0.02em;
    color: var(--primary);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
}

/* ------------- Volunteers Experiences section ------- */

.volunteers-exps {
    padding: 1.5em 0 5em;
}

.volunteers-exps .title {
    margin-bottom: calc(var(--margin) * 3);
    margin-top: calc(var(--margin) * 1.5);
}

.volunteers-exps .row>div>div {
    padding: 30px 18px;
    background: var(--lighter-dark);
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: rgba(82, 82, 82, 0.1) 0px 0px 5px 0px,
        rgba(35, 35, 35, 0.1) 0px 0px 1px 0px;
    height: 400px;
}

.volunteers-exps .row>div>div>div:first-child {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    margin-bottom: 10px;
}

.volunteers-exps .row>div>div>div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteers-exps h4 {
    font-size: calc(var(--big) * 0.65);
    font-family: var(--ft);
    font-weight: 600;
    margin-top: 25px;
    color: var(--h-color);
}

.volunteers-exps div p {
    letter-spacing: 0;
    font-size: calc(var(--mid) * 0.97);
}

.volunteers-exps h4 .custom-underline {
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 5px;
    margin: calc(var(--margin) * 0.5) auto 16px;
}

/* ******************************************** */
/* **************** Nav Styles **************** */
/* ******************************************** */

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-inline-end: 1.6rem;
}

/* ******************************************** */
/* ********** Hero Section Media Queries ****** */
/* ******************************************** */

@media only screen and (max-width: 992px) {
    section.hero {
        min-height: 500px;
        height: auto;
        background: var(--lighter-dark) !important;
    }

    section.hero .text {
        align-items: center;
        flex: 1;
        padding: 0rem 2.5rem;
    }

    section.hero .text h2 {
        margin-top: 2.05rem;
    }

    section.hero .text h3 {
        letter-spacing: 0.01em;
        font-size: 2.2rem !important;
        margin-top: 0.1em;
    }

    /* Show reach-sm and hide reach-lg on smaller screens */
    section.hero .text h3.reach-lg {
        display: none;
    }

    section.hero .text h3.reach-sm {
        display: flex;
    }

    section.hero .text .my-btn {
        margin-top: 1.4em;
    }

    .section>div>p {
        font-size: 1.1rem;
        padding: .5rem 1.5rem 2rem;
    }

}

@media only screen and (max-width: 575px) {
    section.hero {
        min-height: 400px;
        height: auto;
    }

    section.hero .text {
        padding: 0rem 1.5rem;
    }

    section.hero .text h2,
    section.hero .text p {
        text-align: center;
    }
}