.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);*/
}

#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: 10px;
    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;
}

#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: 1px 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;
}

.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;
}

.motive .motive_overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .1);
}

.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);
}

.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;
}

@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: 768px) {
    #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: 2px;
        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);
    }
}

@media only screen and (max-width: 550px) {
    .motive {
        grid-template-columns: 1fr;
    }
    .motive p {
        font-size: 25px;
    }
}