.navbar_relative {
    box-shadow: 0px 1px 5px gray;
}

.sidenav2 {
    box-shadow: 0px 1px 5px gray;
    /*background: rgba(0, 0, 0, .7)!important;*/
    /*backdrop-filter: blur(4px);*/

}

.member_slider {
    min-height: 280px;
}

#carouselExampleIndicators {
    width: 100%;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    overflow: hidden;
    margin-top: 0px;
}

.main_slider .carousel-item {
    height: auto;
    aspect-ratio: 2.6/1;
}

#carouselExampleIndicators .carousel-inner .slider_btn_div {
    position: absolute;
    bottom: 20px;
    left: 10px;
    z-index: 1;
    display: flex;
    gap: 10px;
    overflow: hidden;
    z-index: 9991;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 999 !important;
}

#carouselExampleIndicators .carousel-inner .slider_btn_div a {
    background: var(--text-color);
    border: 0;
    color: var(--white);
    overflow: hidden;
    z-index: 1;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    transition: .3s;
    font-weight: bold;
}

#carouselExampleIndicators .carousel-inner .slider_btn_div a:hover {
    opacity: .8;
    transition: .3s;
}

.marquee_parent {
    /*border:1px solid var(--text-color);*/
}

.center-div .card {
    border: 1px solid var(--text-color);
}

/*#pre_msg  p{*/
/*    display:inline;*/
/*    color:rgba(0,0,0,.2);*/
/*    background-image:linear-gradient(90deg,#000,#000);*/
/*    background-clip:text;*/
/*    background-size:0% 100%;*/
/*    background-repeat:no-repeat;*/
/*    animation:scroll-reveal linear forwards;*/
/*    animation-timeline: view();*/
/*    animation-range-start:cover 20vh;*/
/*    animation-range-end:cover 50vh;*/
/*}*/
.head_item2,
.head_item3 span {
    padding: 7px 25px;
    font-size: 18px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 6px;
    background: #fff;
    /*border:1px solid var(--text-color);*/
    font-weight: normal;
    border-left: 3px solid;
    border-right: 3px solid;
    border-top: 1px solid;
    border-bottom: 1px solid;
    color: rgba(0, 0, 0, .2);
    background-image: linear-gradient(90deg, var(--text-color), var(--text-color));
    background-clip: text;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    animation: scroll-reveal linear forwards;
    animation-timeline: view();
    animation-range-start: cover 10vh;
    animation-range-end: cover 30vh;
}

@keyframes scroll-reveal {
    from {
        border-color: rgba(0, 0, 0, .2);
        background-size: 0%, 100%;
    }

    to {
        border-color: var(--text-color);
        background-size: 100%, 100%;
    }
}


.buttons a button {
    border: 1px solid;
}

.carousel-bg {
    /*border:1px solid var(--text-color);*/
    border-radius: 5px;
}

.post_slider .carousel-item {
    border-radius: 10px;
}

.motive {
    /*background:var(--background-color);*/
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 90%;
    margin: auto;
    background: transparent;
    overflow: auto;
    padding: 0;
}

.motive .img {

    height: auto;
    aspect-ratio: 1/1;
    position: relative;
}

.motive .motive_img_div {
    height: 100%;
    width: 100%;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;

}

.motive .motive_img_div img {
    position: static;
    transform: translate(0, 0);
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.motive p {
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 50%;
    font-size: 18px;
    transform: translateX(-50%);
    line-height: 1.1;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.motive p i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    font-weight: bold;
    line-height: 0;
    height: 33px;
    width: 33px;
    aspect-ratio: 1/1;
    background: rgba(0, 0, 0, .6);
    border-radius: 50%;
    cursor: pointer;
}

.motive .motive_overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .1);
    border-radius: 15px;
    cursor: pointer;
}

.blog-slider__button,
.blog-slider__button1 {
    background: var(--text-color);
}

/*.testimonial:after,.testimonial:before{*/
/*    content:none!important;*/
/*}*/
/*.testimonial{*/
/*    border-bottom:1px solid var(--text-color)!important;*/
/*    border-top:1px solid var(--text-color)!important;*/
/*    border-left:4px solid var(--text-color)!important;*/
/*}*/
.carousel-bg {
    background: #f1f6ff;
}

.main_slider .carousel-item img {
    object-fit: cover;
}

.footer-section {
    background: #f8f9fa !important;
    border-top: 3px solid var(--text-color);
    border-bottom: 10px solid var(--text-color);
}

.copyright-area {
    background: #fff !important;
}

.footer_last {
    background: #fff !important;
}

.footer_last p {
    text-align: center !important;
}

.cta-text h4,
.footer-widget-heading h3,
.footer-social-icon span,
.single-cta i,
.copyright-text p,
.footer-menu li a,
.footer_last p {
    color: #000 !important;
}

.footer-widget-heading h3::before {
    background: #000 !important;
}

.cta-text h4 {
    font-weight: bold !important;
}

.cta-text span,
.footer-widget ul li a {
    color: #3c3b3b !important;
}

.footer-widget ul li a:hover {
    color: #000 !important;
    background: transparent;
}


/*==================about us ===============*/
.about_us_main_div {
    display: grid;
    grid-template-columns: 300px auto;
    gap: 40px;
    width: 90%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    height: 350px;
}

.about_img_div {
    aspect-ratio: 1/1;
    height: 100%;
    width: 100%;
    align-self: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about_img_div::before {
    content: '';
    height: 100%;
    width: 100%;
    background-image: linear-gradient(var(--text-color) 1.1px, transparent 1.1px), linear-gradient(to right, var(--text-color) 1.1px, #ffffff 1.1px);
    background-size: 30px 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: .07;
}

.about_img_div img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.about_us_content_main {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 60px;
    overflow: hidden;
    padding-bottom: 0;

}

.about_us_content_div {
    height: 100%;
    overflow: hidden;

}

.map_iframe {
    width: 100%;
}

.readmore_btn_div {
    display: flex;
    justify-content: end;
    align-items: center;
}

.readmore_btn_div a {
    padding: 2px 8px;
    border-radius: 8px;
    border: 1.5px solid var(--text-color);
    color: var(--text-color);
    font-weight: 500;
    background: #fff;
    cursor: pointer;
    transition: all .3s;
}

/*  .motive p {  padding:2px 8px;*/
/*    border-radius: 8px;*/
/*    border:1.5px solid var(--text-color);*/
/*    color: var(--text-color);*/
/*    font-weight: 500s;*/
/*    background: #fff;*/
/*    cursor: pointer;*/
/*    transition: all .3s;*/
/*}*/
.readmore_btn_div a:hover {
    background: var(--text-color);
    color: #fff;
}

/*=========================*/
.new_buttons i {
    color: rgb(255, 255, 255);
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: rgb(0, 0, 0) 1px 1px;
    background: var(--text-color);
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.new_buttons a {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.8;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
    font-weight: bold;
    color: var(--text-color) !important;
    padding: 10px 15px;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--text-color);
    background: radial-gradient(rgb(91, 110, 24) 0.5px, transparent 0.5px) 0px 0px / 20px 20px, radial-gradient(rgb(9, 90, 25) 0.5px, rgb(255, 255, 255) 0.5px) 10px 10px rgb(255, 255, 255);
    margin: 20px auto;
    white-space: nowrap;
    background-position: 0px 0px, 10px 10px;
    transition: box-shadow .2s;
}

.new_buttons a:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 8px;
}

.new_buttons span {
    text-shadow: rgb(0, 0, 0) 0.5px 0.5px;

}

@media only screen and (max-width: 1200px) {


    .new_buttons i {
        height: 35px;
        width: 35px;
        font-size: 16px;
        aspect-ratio: 1/1;
    }

    .new_buttons span {
        font-size: 16px;
        text-shadow: rgb(0, 0, 0) 0.3px 0.3px;
    }
}



/*===============================================================*/
#latest_activity_section {
    position: relative;
    padding-top: 20px;
    background: #fff;
}

#latest_activity_section::before {
    content: '';
    width: 100%;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--text-color);
    opacity: .1;
}

.view_all_latest_activity_main_div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
    row-gap: 20px;
    margin-top: 20px !important;
}

.latest_activity_main_div {
    margin: auto;
    width: 90%;
}

.view_latest_activity_main_div {
    width: min(600px, 90%);
}

.latest_activity_main_div .slick-track {
    margin-bottom: 46px;
    margin-top: 30px;
    justify-content: center;
    gap: 30px;
}

.latest_activity_item {
    border-radius: 12px;
    background: #fff;
    box-shadow: 8px 10px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.view_all_activity_btn {
    height: 350px;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
    transform: .3s;
    color: #fff;
    background: var(--text-color);
    font-size: 30px;
    transition: transform .2s;
}

.view_all_activity_btn:hover {
    transform: scale(1.02);
}

.view_all_activity_btn span {

    font-weight: bold;
}

.view_all_activity_btn i {

    font-size: 20px;
}

.latest_event_content_main_div {
    padding: 20px;
}

.latest_event_content_main_div h2 {
    font-size: 22px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: auto;
}

.latest_event_detail {
    color: #818090;
    /* display: -webkit-box;*/
    -webkit-line-clamp: 4;
    /* Limits text to 2 lines */
    /*-webkit-box-orient: vertical;*/
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.event_img_div {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    background: #eef4f8;
}

.event_img_div img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.view_activity_btn {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1.5px solid var(--text-color);
    background: rgb(255, 255, 255);
    transition: 0.3s;
}

.view_activity_btn:hover {
    background: var(--text-color);
    color: #fff;
}

.date_share_div {
    display: flex;
    justify-content: space-between;
}

.city_venue {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.city_venue_sub span:first-child {
    font-weight: bold;
    width: 70px;
    display: inline-block;
}

.city_venue_sub span:nth-child(2) {
    width: 70px;
    color: #818090;
    font-weight: 500;
}

.date_share_div {
    margin-top: 10px;
}

.date_share_div .date_div {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #818090;
    font-size: 12px;

}

.date_share_div .date_div span:first-child {
    width: 70px;
}

.date_share_div_column {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.event_share_div {
    color: #605d5d;
    font-size: 23px;
    cursor: pointer;
    text-shadow: 1px 1px rgba(0, 0, 0, .7);
    line-height: 0;
    padding-left: 20px;
    transition: .2s;
}

.event_share_div:hover {
    color: var(--text-color);
}

.latest_activity_main_div .slick-prev:before,
.latest_activity_main_div .slick-next:before,
#news-slider .slick-prev:before,
#news-slider .slick-next:before {
    font-size: 40px;
    color: var(--text-color);
}


.slick-prev {
    left: -50px;
}


.post_slider {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.post_slider .carousel-inner {
    height: 100%;
    overflow: hidden;
    width: 100%;
    position: relative;
    background: #fff;
}

.post_slider .carousel-inner::before {
    content: '';
    height: 100%;
    width: 100%;
    background: var(--text-color);
    position: absolute;
    top: 0;
    left: 0;
    opacity: .5;
}

.post_slider .carousel-item {
    height: 100%;
    width: 100%;
}

.post_slider_image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.event_youtube_div {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.event_youtube_div iframe {
    height: 100%;
    width: 100%;
}

#youtube_section {
    margin-top: 30px;
    padding-top: 10px;
    background: #fff;
    position: relative;
}

#youtube_section::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--text-color);
    opacity: .08;
}

.youtube_div {
    width: 90%;
    margin: auto;
}

.youtube_2 {
    width: 100%;
    height: auto;
    border: 2px solid var(--text-color);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    color: var(--text-color);
}

.youtube_2 iframe {
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    display: block;
    margin: auto !important;

}


#news-slider {
    width: 90%;
    margin: auto;
}



@media only screen and (max-width: 1000px) {
    .right_content_1 {
        grid-template-columns: 1fr;
    }

    .left_content_1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #member_slider_indicators,
    #management_slider_indicators {
        width: 340px;
    }

    .motive {
        grid-template-columns: repeat(3, 1fr);

    }
}


@media only screen and (max-width: 1000px) {
    .view_all_latest_activity_main_div {
        grid-template-columns: 1fr 1fr;
    }

    .about_us_main_div {
        grid-template-columns: 1fr;
        height: auto;
        gap: 20px;

    }

    .about_img_div {
        /*display: non  e;*/
        max-width: 350px;
        height: auto;
        margin: auto;
    }

    .about_us_content_div {
        height: 300px;
    }

    .right_content_1 {
        grid-template-columns: 1fr;
    }

    .left_content_1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #member_slider_indicators,
    #management_slider_indicators {
        width: 340px;
    }

    .motive {
        grid-template-columns: repeat(3, 1fr);

    }
}

@media only screen and (max-width: 768px) {

    .view_all_latest_activity_main_div {
        grid-template-columns: 1fr;
        width: 92% !important;
    }

    .view_all_activity_btn {
        height: 340px;
    }

    .youtube_div {
        width: 100%;
    }

    .new_buttons {
        display: flex;
        align-items: center;
        overflow-x: auto;
        width: 90vw;
        margin: auto;
        gap: 10px;
    }


    .map_iframe {
        width: 100%;
        aspect-ratio: 16/9;
    }

    #carouselExampleIndicators {
        margin-top: 0;
        /*border-bottom-left-radius:10px;*/
        /*border-bottom-right-radius:10px;*/
    }

    .main_slider .carousel-control-prev-icon:hover,
    .main_slider .carousel-control-next-icon:hover {
        background-color: transparent;
    }

    .left_content_1 {
        grid-template-columns: 1fr;
    }

    #carouselExampleIndicators .carousel-inner .slider_btn_div {
        gap: 5px;
        bottom: 10px;
        left: 0;
        width: 100%;
        justify-content: space-between;
        padding: 0px 2px;
    }

    #carouselExampleIndicators .carousel-inner .slider_btn_div a {
        font-size: 12px;
        padding: 5px 10px;
    }

    #member_slider_indicators,
    #management_slider_indicators {
        width: 320px;
    }

    #carouselExampleIndicators .carousel-inner .slider_btn_div a .motive {
        grid-template-columns: repeat(2, 1fr);

    }

    .latest_activity_main_div .slick-track {
        gap: 15px;
    }

    .latest_event_content_main_div {
        padding: 15px;
    }

    .latest_event_content_main_div h2 {
        font-size: 20px;
    }

    .latest_activity_main_div {
        width: 95%;
    }

    .date_share_div .date_div {
        font-size: 14px;
    }

}

@media only screen and (max-width: 550px) {
    .motive {
        grid-template-columns: 1fr;

    }

    .motive p {
        font-size: 25px;
    }
}