/*Start Video styles */
#video-container {
    top: 0;
    left: 0;
    width: 100vw;
    overflow: hidden;
    z-index: -1;
    color: #1b0f0f;
}

.cover-video {
    width: 100vw;
    filter: brightness(20%);
}

.desktop-video {
    display: block;
    width: 100vw;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 4s ease;
    /* background-color: #2C1818; */
}

@media (max-width: 991px) {
    .desktop-video {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 575px) {
    .desktop-video {
        aspect-ratio: 9/16;
    }
}

.cover-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #1b0f0f;
    opacity: 1;
    transition: opacity 3s ease;
    z-index: 3;
}


.cover-title {
    width: 100%;
    text-align: center;
    position: absolute;
    padding-top: 80px;
    color: white;
    top: 5%;
    bottom: 0;
    /* transform: translateX(-50%); */
    animation: transitionIn 2.5s;
    z-index: 100;
    text-transform: capitalize;
}

@keyframes transitionIn {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.cover-title__main {
    font-weight: 700;
    font-size: 30px;
    color: white;
}

.cover-title__sub {
    font-weight: 300;
    font-size: 16px;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-title__sub span {
    color: var(--orange-main-color);
    font-size: 40px;
    padding-bottom: 10px;
}


.cover-container {
    width: 100%;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

/* End video style */

/* Start Countdown styles */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    top: 55%;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    animation: transitionIn 2.5s;
    width: 100%;
}


@media (min-width: 768px) {
    .countdown {
        top: 70%;
    }
}

/*medium screens*/
@media (min-width: 992px) {
    .cover-title {
        top: 2%;
    }

    .countdown {
        top: 55%;
    }
}


.countdown__event-title {
    display: block;
    color: var(--orange-text-color);
    font-weight: 700;
    font-size: 1.9rem;
    text-align: center;
    text-transform: capitalize;

}

@media (max-width: 767px) {
    .countdown__event-title {
        font-size: 1.2rem;
    }
}

.countdown__fraze {
    display: block;
    color: white;
    text-align: center;
    margin-top: -10px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.countdown-circle {
    text-align: center;
    margin: 10px 10px;
}

.countdown-svg {
    width: 70px;
    height: 70px;
}

@media (min-width: 576px) {
    .countdown-svg {
        width: 90px;
        height: 90px;
    }

}

.countdown-progress {
    fill: var(--brown-main-color);
    fill-opacity: 40%;
    stroke: var(--orange-main-color);
    stroke-width: 6;
    stroke-dasharray: 280;
    stroke-dashoffset: 0;
    transition: 0.5s ease-in-out;
    box-shadow: 10px 10px 5px 20px lightblue;
}

.countdown-progress-shadow {
    fill: none;
    stroke: var(--brown-main-color);
    stroke-width: 6;
    z-index: 10;
}

.countdown-time {
    font-size: 1.5rem;
    padding-bottom: 20px;
    fill: white;
}

.countdown-label {
    margin-top: 5px;
    font-size: .8rem;
    fill: white;
}

.countdown-btn {
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 14px;
    background-color: #FAA41A;
    color: #2C1818;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;

font-size: 0.875rem;
    z-index: 1021002;
    text-transform: uppercase;
    font-weight: bold;

}

.countdown-btn:hover {
    background-color: #FAA41A;
    color: #fff;
    box-shadow: 0px 0px 20px #FAA41A;
    transform: scale(1.2);
}

@media (max-width: 576px) {
    .countdown {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .countdown-circle {
        margin: 10px 0;
    }

    .countdown-btn {
        font-size: 16px;
    }
}

/* End Countdown Style */

/* Start about us */

.about-us-section {
    padding: var(--section-top-bottom-padding) 0;
}

.about-us-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.about-us-content-section {
    width: 30%;
    min-width: 320px;
}

.about-us-title {
    text-transform: uppercase;
}

.about-us-text {
    margin-top: 5px;
    font-size: 1.125rem;
    line-height: var(--line-higth-normal);
}

.about-us-img {
    /* width: calc(70% - 6rem); */
    flex: 1;
    position: relative;
    display: flex;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.about-us-img img {
    width: 100%;
}

.colorblock1,
.colorblock1t,
.colorblock2,
.colorblock2t {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background-color: var(--orange-main-color);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.colorblock1 {
    border-bottom-left-radius: 100%;
    top: 0;
    right: 0;
    transform: translate(15%, -15%);
}

.colorblock1t {
    border-top-left-radius: 100%;
    bottom: 0;
    right: 0;
    transform: translate(15%, 15%);
    background-color: var(--brown-main-color);
}

.colorblock2 {
    border-bottom-right-radius: 100%;
    top: 0;
    left: 0;
    transform: translate(-15%, -15%);
    background-color: var(--brown-main-color);
}

.colorblock2t {
    border-top-right-radius: 100%;
    bottom: 0;
    left: 0;
    transform: translate(-15%, 15%);

}

@media (max-width: 991px) {
    .about-us-wrapper {
        flex-direction: column;
        gap: 4rem;
    }

    .about-us-img {
        width: 100%;
        display: flex;
    }

    .about-us-content-section {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }

}

@media (max-width: 575px) {

    .colorblock1,
    .colorblock1t,
    .colorblock2,
    .colorblock2t {
        width: 2rem;
        height: 2rem;
    }

    .about-us-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

}

/* End about us */

/* start goals */

.goals {
    padding: var(--section-top-bottom-padding) 0;
    background-color: var(--brown-main-color);
    color: white;
    overflow: hidden;
}

.goals__img-content-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.goals__img-holder {
    width: calc(60% - 6rem);
    align-items: center;
    justify-content: center;
    display: flex;
}

.goals__img {
    width: 100%;
    animation: goals-img 2s ease-in-out 0s infinite normal forwards;
    filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.5));
}

/* @keyframes goals-img {

    0%,
    100% {
        transform: translatey(-10px);
    }

    50% {
        transform: translatey(0);
    }
} */

.goals__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.goal__individual:nth-child(3) .goal-header-details {
    margin-top: 25px;
}

.goal__individual:first-child .goal-header-details,
.goal__individual:last-child .goal-header-details {
    margin-left: -40px;
}

@media (max-width: 1000px) {
    .goals__img-holder {
        display: none;
    }

    .goals__content {
        width: 100%;
    }

    .goal__individual:nth-child(3) .goal-header-details {
        margin-top: 0;
    }

    .goal__individual__number {
        align-items: center;
        display: inline-flex;
        margin-right: 20px;
    }

    .goal__individual:first-child .goal-header-details,
    .goal__individual:last-child .goal-header-details {
        margin-left: 0px;
    }
}

@media (min-width: 1000px) {
    .goal__individual__number {
        display: none;
    }

}

.goal__number {
    font-size: 1.5rem;
}

.goal__individual {
    display: flex;
    width: 100%;
    align-items: center;
}



.goal__details {
    align-items: center;
    line-height: var(--line-hight-increase);
}

.goal-header {
    color: var(--orange-text-color);
    font-weight: 400;
    font-size: 1.2rem;
    display: flex;
}

.goal-header-details {
    display: flex;
    flex-direction: column;
}

.half-circle {
    margin-left: -10px;
    width: 35px;
    /* Adjust width as needed */
    height: 70px;
    /* Adjust height as needed */
    border: solid 10px var(--orange-main-color);
    /* Adjust background color as needed */
    border-top-right-radius: 100px;
    /* Half of the height */
    border-bottom-right-radius: 100px;
    /* Half of the height */
    border-left: none;

}

/* End goals */


/* start teams */
.teams {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: var(--section-top-bottom-padding) 0;
}

/* each block header */
.teams__block-header {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #FFFF;
    transition: .3s ease;
}

@media (min-width: 768px) {
    .teams__block-header {
        font-size: 1.563rem;
    }
}

@media (min-width: 992px) {
    .teams__block-header {
        font-size: 1.875rem;
    }
}

.teams__blocks__container {
    cursor: context-menu;
    width: 100%;
}

@media (min-width: 992px) {
    .teams__blocks__container {
        display: flex;
        margin: 0;
        justify-content: center;
    }
}

/* each team block */
.teams__block {
    height: 190px;
    text-align: center;
    justify-content: center;
    display: flex;
    margin: auto;
    position: relative;
}

@media (min-width: 768px) {
    .teams__block {
        height: 220px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .teams__block {
        height: 450px;
        justify-content: center;
        display: flex;
    }
}

@media (min-width: 1200px) {
    .teams__block {
        height: 450px;
        width: 280px;
        justify-content: center;
        display: flex;
    }
}

.teams__block__elements {
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}


.teams__block-content {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: var(normal);
    padding-top: 0 8px;
    margin: 10px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .teams__block-content {
        margin: 15px;
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .teams__block-content {
        height: 220px;
        margin: 40px 20px;
        line-height: var(--line-higth-normal);
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .teams__block-content {
        margin: 30px 20px;
        font-size: 1.35rem;
    }
}



/* hover effect */
.teams__block::after:hover {
    filter: brightness(100%);
}

.teams__blocks__container:hover .teams__block:not(:hover) {
    filter: brightness(30%);
}

/* each pease of puzzle */
.teams__blocks__container .teams__block:nth-child(n) {
    background-color: var(--orange-main-color);
}

.teams__blocks__container .teams__block:nth-child(2n + 1) {
    background-color: var(--brown-main-color);
    color: var(--orange-text-color);
}

.teams__blocks__container .teams__block:nth-child(1) {
    border-radius: 15px 15px 0 0;
}

.teams__blocks__container .teams__block:nth-child(4) {
    border-radius: 0 0 15px 15px;
}

@media (min-width: 992px) {
    .teams__blocks__container .teams__block:nth-child(1) {
        border-radius: 15px 0 0 15px;
    }

    .teams__blocks__container .teams__block:nth-child(4) {
        border-radius: 0 15px 15px 0;
    }
}


/* each pease circle */
.teams__blocks__container div:nth-child(n):after {
    content: ' ';
    border-radius: 50%;
    height: 50px;
    width: 50px;
    background-color: var(--orange-main-color);
    position: absolute;
    left: 15%;
    bottom: -20px;
    z-index: 5;

}

.teams__blocks__container div:nth-child(2n + 1):after {
    background-color: var(--brown-main-color);
    left: 75%;
}

.teams__blocks__container div:nth-last-child(1):after {
    height: 0;
    width: 0;
}

@media (min-width: 992px) {
    .teams__blocks__container div:nth-child(n):after {
        left: 90%;
        bottom: 340px;
    }

    .teams__blocks__container div:nth-child(2n + 1):after {
        bottom: 50px;
    }
}

/* end teams */

/* Start numbers */

.we-in-numbers {
    background-color: var(--brown-main-color);
    padding: var(--section-top-bottom-padding) 0;
}

.container-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-content: center;
    gap: 3rem;
    text-align: center;
}

@media (max-width: 767px) {
    .container-numbers {
        padding: 0 1.5rem;
    }
}

.members-card--text--label,
.meetings-card--text--label,
.events-card--text--label,
.Yrs-card--text--label {
    color: #CCCCCCCC;
    font-weight: 100;
    font-size: 1.25rem;

}

.members-card--text--counter,
.meetings-card--text--counter,
.events-card--text--counter,
.Yrs-card--text--counter {
    color: #CCCCCCCC;
    font-weight: 100;
    font-size: 1.25rem;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
}


.container-numbers--meetings-card,
.container-numbers--members-card,
.container-numbers--events-card,
.container-numbers-Yrs-card {
    padding: 2rem;
    background-color: #452323;
    border-bottom: 0.25rem solid var(--orange-main-color);
    border-radius: 15px;
    transition: .3s;
    border-bottom: 4px solid var(--orange-main-color);
}


.container-numbers--meetings-card:hover,
.container-numbers--members-card:hover,
.container-numbers--events-card:hover,
.container-numbers-Yrs-card:hover {
    background-color: #45232377;
}

.counter {
    color: #FFFFFF;
    font-size: 2.875rem;
    font-weight: 700;
}

.counter-plus-sign {
    color: #FFFFFF;
    font-size: 2.875rem;
    font-weight: 700;
    position: relative;
}

/* End numbers */
/* Start leader */

.leader {
    padding: var(--section-top-bottom-padding) 0;
}

.section-subheader {
    display: block;
    font-size: 1.75rem;
    color: var(--brown-main-color);
    padding: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .section-subheader {
        font-size: 1.5rem;
    }
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    padding: 1.6rem 0;
}

@media (max-width: 767px) {
    .team-container {
        padding: 1.6rem 1.5rem;
    }
}


.team-card {
    width: calc((100% - 9rem) / 4);
    transition: all 0.4s ease-in-out;
    position: relative;
    padding: 3px;
    padding-bottom: 50px;
}

@media (max-width: 991px) {
    .team-card {
        width: calc((100% - 6rem) / 3);
    }

}

@media (max-width: 767px) {
    .team-card {
        width: calc((100% - 3rem) / 2);
    }

}

@media (max-width: 575px) {
    .team-card {
        width: 100%;
    }

}


.team-card:hover {
    background-color: #2C1818;
}

.text-top {
    padding-top: 6px;
    text-align: center;
    color: #2C1818;
}

.text-bottom {
    text-align: center;
    color: #FAA41A;
    padding-top: 8px;
}


.team-card:hover .first {
    color: #FAA41A;

}

.team-card:hover .second {
    color: #FFFFFF;
}


.image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
    padding: 10px;
    border-radius: 50%;
    transition: all .3s ease-in-out;
    width: 100%;
}

.team-card:hover .image2 {
    border-radius: 0;
    width: 100%;
}

.team-card h2 {
    font-size: 125%;
}

.positioned-container {
    position: relative;
}

.ci--mail {}

.mail-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAA41A;
    border-radius: 50%;
    position: absolute;
    bottom: 12%;
    right: 4%;
    height: 20%;
    width: 20%;
    z-index: 1;
}

/* End leader*/



/* blog section  */
.blog {
    padding: var(--section-top-bottom-padding) 0;

}

.comming-soon {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--brown-main-color);
    background-color: #FFD883;
    border-radius: 20px;
    padding: 3rem;
    color: var(--brown-main-color);
}


.comming-soon>* {
    font-size: 1.125rem;
    line-height: var(--line-hight-increase);
    background-image: linear-gradient(90deg, var(--orange-main-color), #FFD883);
    background-size: 100% 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.comming-soon__img {
    width: 300px;
}

/* start events */
.events {
    width: 100%;
    background-color: #2C1818;
    overflow: hidden;
    padding-top: var(--section-top-bottom-padding);
    padding-bottom: var(--section-top-bottom-padding);
}

#timeline .heading {
    color: #f4d03f;
    padding: 1rem 0;
    text-align: center;
    font-size: 3rem;
    box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.5);
}

#timeline .title {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    padding: 1rem 0rem 1rem 0.7rem;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    color: #fff;
    font-size: 1.3rem;
    background-color: var(--orange-main-color);
}

#timeline .year {
    background-color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 10px;
    color: var(--brown-main-color);
    font-size: 0.9rem;
    margin: 0 0.5rem;
}

.events-card-details {
    padding: 1rem 1rem 1rem 1rem;
    color: var(--brown-text-color);
    line-height: var(--line-higth-normal);
}

#timeline button {
    margin: 0.5rem 0rem 1rem 1rem;
    outline: none;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease-in;
    cursor: pointer;
    width: calc(100% - 30px);
    color: #2C1818;
    /* margin-left: calc(100% - 120px - 20px); */
}

#timeline button:hover {
    background-color: #2C1818;
    color: #fff;
}

#timeline ul {
    padding: 20px 0;
}

/* create a line */
#timeline ul li {
    list-style: none;
    position: relative;
    width: 7px;
    margin: 0 auto;
    padding-top: 50px;
    background-color: #8e9fad;
}

#timeline ul li .box {
    position: relative;
    bottom: 0;
    width: 450px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transform: translateX(400%);
    transition: all 0.5s ease-in-out;
    margin-right: 20px;
}



#timeline ul li .box img {
    align-self: center;
    padding: 10px;
    width: 100%;

}

@media (max-width: 992px) {
    #timeline ul li .box .content {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        flex-flow: wrap;
    }

    #timeline ul li .box img {
        align-self: center;
        padding-left: 5px;
        width: calc(100% - 5px);
        height: 100%;
    }
}

/* right side */
#timeline ul li:nth-child(odd) .box {
    left: 50px;
}

/* left side */
#timeline ul li:nth-child(even) .box {
    left: -500px;
    transform: translateX(-400%);
}

#timeline ul li .box.show {
    transform: translateX(0%);
    transition: all 0.5s ease-in-out;
}

#timeline ul li .node {
    position: absolute;
    left: 50%;
    top: 20;
    width: 30px;
    height: 30px;
    background: var(--orange-main-color);
    transform: translateX(-50%);
    border-radius: 50%;
}

#timeline .fa-brands,
#timeline .fa-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #f4d03f;
}

/* arrow */
#timeline .box:before {
    content: "";
    position: absolute;
    top: 5px;
    width: 0;
    right: 0;
    border-style: solid;
}

#timeline ul li:nth-child(odd) .box:before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent var(--orange-main-color);
}

#timeline ul li:nth-child(even) .box:before {
    right: -15px;
    border-width: 8px 0px 8px 16px;
    border-color: transparent var(--orange-main-color);
}

@media (max-width: 992px) {
    #timeline ul li .box {
        width: 330px;
    }

    #timeline ul li:nth-child(even) .box:beofre {
        left: -15px;
        border-width: 8px 16px 8px 0px;
        border-color: transparent var(--orange-main-color);
    }

    /* right side */
    #timeline ul li:nth-child(odd) .box {
        left: 40px;
    }

    /* left side */
    #timeline ul li:nth-child(even) .box {
        left: -390px;
    }
}

@media (max-width: 768px) {
    #timeline ul li {
        margin-left: 30px;
    }

    #timeline ul li .box {
        width: calc(100vw -110px);
    }

    /* left side conte */
    #timeline ul li:nth-child(even) .box {
        left: 40px;
    }

    #timeline ul li:nth-child(even) .box:before {
        left: -15px;
        border-width: 8px 16px 8px 0px;
        border-color: transparent var(--orange-main-color);
    }
}

@media (max-width: 576px) {
    #timeline ul li {
        margin-left: 10px;
    }

    #timeline ul li .box {
        width: 280px;
    }

    /* left side conte */
    #timeline ul li:nth-child(even) .box {
        left: 40px;
    }

    #timeline ul li:nth-child(even) .box:before {
        left: -15px;
        border-width: 8px 16px 8px 0px;
        border-color: transparent var(--orange-main-color);
    }
}

@media (max-width: 366px) {
    #timeline ul li {
        margin-left: 5px;
    }

    #timeline ul li .box {
        width: 250px;
    }

    #timeline .title {
        font-size: 1rem;
    }

    #timeline .year {
        font-size: 0.8rem;
    }

}


/* events pop-up */
.popup {
    position: fixed;
    top: 40%;
    left: 50%;
    right: 50%;
    bottom: 40%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 90%;
    /* max-height: 400px;*/
    overflow-y: auto;
    background: #fafafa;
    font-family: 'montserrat_arabic';
    font-weight: bold;
    padding: 30px;
    z-index: 9999;
    align-items: center;
    line-height: 2;
    display: none;
    /*Change to flex to view it*/
    justify-content: center;
    overflow: auto;
    margin-top: 10vh;
    color: #2C1818;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

@media (max-width: 767px) {
    .popup {
        width: 95%;
    }
}

.popup .popup-close-btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    color: #000000;
    font-weight: 600;
}

.open-popup-btn {
    /* Existing styles */

    align-self: center;
    /* Center the button horizontally */

    /* Additional styles for button design */
    background-color: #223;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.open-popup-btn:hover {
    background-color: #555;
}

body.popup-active .popup {
    top: 50%;
}

body.popup-active .poopup-overlay {
    display: block;
}

.slider-container {
    position: relative;
    width: 70%;
    overflow: hidden;
    padding: 2rem 0;
    margin: 0 auto;
}

@media (max-width: 991px) {

    .slider-container {
        width: 100%;
    }
}

.slider {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.slider img {
    min-width: 100%;
}

.popup-detials-video-link {
    text-decoration: underline;
    margin-top: 5px;
    font-weight: 400;
    font-size: 1rem;
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.popup-content {
    position: relative;
    width: 100%;
    height: 0;
    /* 16:9 aspect ratio, adjust as needed */
}

.popup-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.popup-detials {
    font-size: 1rem;
    font-weight: 300;
    line-height: var(--line-higth-normal);
}

/* end events */

/* start member of the months*/

.members-of-the-month {
    padding: var(--section-top-bottom-padding) 0;
    overflow-x: hidden;
}

.motm-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.motm-wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.motm-wrapper i {
    height: 50px;
    width: 50px;
    /* background: #fff; */
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23); */
}

.motm-wrapper i:first-child {
    left: -22px;
}

.motm-wrapper i:last-child {
    right: -22px;
}

.motm-wrapper .motm-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) -12px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0 30px 0 30px;
}

.motm-carousel::-webkit-scrollbar {
    display: none;
}

.motm-carousel :where(.motm-card, .motm-img) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    scrollbar-width: none;
}

.motm-carousel.no-transition {
    scroll-behavior: auto;
}

.motm-carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.motm-carousel.dragging .motm-card {
    cursor: grab;
    user-select: none;
}

.motm-carousel .motm-card {
    scroll-snap-align: start;
    height: 270px;
    width: 270px;
    list-style: none;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.motm-info {
    position: absolute;
    width: 98%;
    height: 98%;
    background: #FFFF;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding: 20px;
    cursor: pointer;
}

.motm-carousel .motm-card::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 150%;
    background: var(--brown-main-color);
    background: -webkit-linear-gradient(to right, var(--orange-main-color), #97d0c9);
    background: linear-gradient(to right, var(--orange-main-color), #97d0c9);
    transform: rotate(45deg);
    /* animation: glowing_401 5s linear infinite; */
}

@keyframes glowing_401 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}


.motm-card .motm-img img {
    width: 160px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.motm-card h2 {
    font-weight: 500;
    font-size: 1.25rem;
    margin: 30px 0 5px;
    color: #2C1818;
}

.motm-card span {
    font-size: 1.0rem;
    color: var(--orange-text-color);
}

@media screen and (max-width: 728px) {
    .motm-wrapper .motm-carousel {
        grid-auto-columns: 100%;
    }

    .motm-carousel .motm-card {
        width: 100%;
    }

    .motm-carousel .motm-card::before {
        animation: glowing_401 5s linear infinite;
    }
}

@media screen and (max-width: 576px) {
    .motm-card h2 {
        font-weight: 500;
        /* font-size: 0.8rem; */
        margin: 15px 0 5px;
    }

    .motm-card span {
        /* font-size: 0.5rem; */
    }
}


/* end member of the months*/


/*lastest content dialog*/
.latest-content-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    z-index: 1000;
    border: none;
    background-image: linear-gradient(90deg, var(--orange-main-color), #FFD883);
    border-radius: 15px;
    transition: .3s;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.latest-content-dialog::backdrop {
    background-color: var(--brown-main-color);
}

.latest-content-dialog__img-holder {
    width: 460px;
}

.latest-content-dialgo__img {
    width: 100%;
}

.latest-content-dialog__info-buttons-wrapper {
    padding: 4rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: var(--line-higth-normal);
}

.latest-content-dialog__title {
    color: var(--brown-main-color);
}

.latest-content-dialog__desc {
    margin: .8rem 0 1.4rem 0;
    color: #452323;
    line-height: var(--line-higth-normal);
}

.lastest-content-dialgo-buttons-wrapper {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.latest-content-dialog__button {
    border: none;
    padding: .5rem 2rem;
    text-transform: capitalize;
    border-radius: 4px;
    border: #452323 1px solid;
    font-size: .95rem;
    font-weight: normal;
    cursor: pointer;
}

.latest-content-dialog__button--go-to-content {
    background-color: var(--brown-main-color);
    background-color: #452323;
    color: #fdbf50;
    margin: 0 auto;
}

.latest-content-dialog__button--close-button {
    background-color: transparent;
    color: var(--brown-main-color);
}

.latest-content-dialog__button--corner-close {
    padding: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #452323;
    border-radius: 50%;
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lastest-content-dialgo__close-corner-icon {
    font-size: 1rem;
    color: white;
}

@media (max-width: 991px) {
    .latest-content-dialog {
        display: flex;
        flex-direction: column;
        min-width: 288px;
        text-align: center;
        padding: 1rem 0;
    }

    .latest-content-dialog__info-buttons-wrapper {
        padding: 1rem 2rem;
    }

    .latest-content-dialog__img-holder {
        width: 90%;
    }

    .lastest-content-dialgo-buttons-wrapper {
        display: flex;
        gap: 1rem;
    }

    .latest-content-dialog__button--close-button {
        display: none;
    }

}