:root {
    --main-content-padding: 100px;
}

.body_main_container {
    margin-top: 100px;
    padding: 0 var(--main-content-padding);
    font-size: 62.5%;
    font-size: 10px; 
}
@media (max-width: 1440px) {
    :root {
        --main-content-padding: 30px;
    }
    .body_main_container {
        margin-top:63px;
    }
}

@media (max-width: 1024px) {
    .body_main_container {
        margin-top:63px;
        padding: 0;
    }
}



/*------------ carousel container -------------*/


#carousel_container {
    position: relative;
}

#carousel_container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: linear-gradient(0deg, #ffffff, rgba(0, 0, 0, 0));
    opacity: 0;
    z-index: 4;
    transition: 1s all ease;
}

#carousel_container.active::before {
    opacity: 1;
    height: 50%;
}

#carousel_container .slide {
    width: calc(1440px - (2 *var(--main-content-padding)));
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
}

#carousel_container .carousel-item {
    display: none;
}

#carousel_container .visible_carousel {
    display: block;
}

#carousel_container .slide .mainImage {
    position: absolute;
    width: calc(1440px - (2 *var(--main-content-padding)));
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation-name: rotate;
    animation-timing-function: cubic-bezier(0.02, 0.63, 0.23, 0.99);
    animation-iteration-count: 1;
    animation-duration: 1.1s;
}

#carousel_container .slide .roundOuter {
    position: absolute;
    width: 86vw;
    height: 86vw;
    overflow: hidden;
    border-radius: 50%;
    left: calc(50% - 43vw);
    top: calc(50% - 43vw);
    filter: brightness(0.8);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#carousel_container .slide .roundOuter img {
    position: absolute;
    width: calc(1440px - (2 *var(--main-content-padding)));
    aspect-ratio: 1/1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    animation-name: rotate;
    animation-timing-function: cubic-bezier(0.02, 0.63, 0.23, 0.99);
    animation-iteration-count: 1;
    animation-duration: 1.3s;
}

#carousel_container .slide .roundInner {
    position: absolute;
    width: 40vw;
    height: 40vw;
    overflow: hidden;
    left: calc(50% - 20vw);
    top: calc(50% - 20vw);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

#carousel_container .slide .roundInner img {
    position: absolute;
    width: calc(1440px - (2 *var(--main-content-padding)));
    aspect-ratio: 1/1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    animation-name: rotate;
    animation-timing-function: cubic-bezier(0.02, 0.63, 0.23, 0.99);
    animation-iteration-count: 1;
    animation-duration: 1.2s;
}


@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(7);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}
@media (min-width: 1440px) {
    #carousel_container .slide .roundOuter {
        width: 1100px;
        height: 1100px;
        left: calc(50% - 550px);
        top: calc(50% - 550px);
    }
    #carousel_container .slide .roundInner {
        width: 600px;
        height: 600px;
        left: calc(50% - 300px);
        top: calc(50% - 300px);
    }
}

@media (max-width: 1440px) {
    #carousel_container .slide {
        width: 100%;
    }
    #carousel_container .slide .mainImage,
    #carousel_container .slide .roundOuter img,
    #carousel_container .slide .roundInner img {
        width: calc(100vw - (2 * var(--main-content-padding)));
    }
}
@media (max-width: 1024px) {
    #carousel_container .slide .mainImage,
    #carousel_container .slide .roundOuter img,
    #carousel_container .slide .roundInner img {
        width: 100vw;
    }
}



/*------------ highlights container ---------*/

#highlights_container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#highlights_container .top h2 {
    text-align: center;
    font-size: 28px;
    color: #000;
}

#highlights_container .top p {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
}


#highlights_container .bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#highlights_container .bottom .animate span {
    position: absolute;
    bottom: -50px;
    left: 50px;
    font-size: 30px;
}

.animation-wrapper {
    width: 100%;
    height: 600px;
    text-align: center;
    overflow: hidden;
    background: rgba(247, 6, 6, 0);
    position: relative;
    color: #212121;
    box-sizing: border-box;
}

.animate {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-bottom: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all .3s ease-in-out; 
}

.animate.start_anime {
    animation: zoomInFade 6s linear 0s infinite forwards;
}

@keyframes zoomInFade {
    0% {
        transform: scale(1.2);
        opacity: 0;
        top: 0;
        filter: blur(20px);
        visibility: visible;
    }

    25% {
        transform: scale(1);
        filter: blur(0px);
    }

    50% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0px);
    }

    75% {
        transform: scale(1);
        filter: blur(0px);
        opacity: 1;
    }
    85% {
        filter: blur(3px);
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
        top: 0;
        filter: blur(10px);
        visibility: hidden;
    }
}



/*----------- facilities container ----------*/

.facilities_container {
    margin-top: 100px;
    border: 0px solid rgb(21, 255, 0);
}


.facilities_container .top h2 {
    text-align: center;
    font-size: 28px;
}

.facilities_container .top p {
    text-align: center;
    font-size: 15px;
}

.facilities_container .row_container {
    margin-top: 50px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.facilities_container .row_container .box {
    overflow: auto;
    min-width: 280px;
    max-width: 280px;
    border-radius: 5px;
    box-shadow: 0px 10px 10px 1px rgba(95, 95, 95, 0.424);
    padding: 30px;
    border-radius: 10px;
    transition: all .2s ease-in-out;

}

.facilities_container .row_container .box h2 {
    text-transform: uppercase;
}

.facilities_container .row_container .box img {
    float: right;
    height: 64px;
}

.facilities_container .row_container .box:nth-child(1) {
    border-top: 3px solid red;
}

.facilities_container .row_container .box:nth-child(2) {
    border-top: 3px solid blue;
}

.facilities_container .row_container .box:hover {
    scale: 1.05;
    animation: shake 0.2s ease-in-out;
    animation-iteration-count: 1;
}
  
@keyframes shake {
    0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}


/*---------- kamadhenu ---------*/

.kamadhenu {
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kamadhenu div {
    width: 90%;
    height: 300px;
    background: url(../global/files/images/kamadhenu.png) 0 0 repeat;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    rotate: 0deg;
}


/*------------ footer -------------*/

.main_footer {
    padding: 100px 0 10px;
}

.main_footer .footer_text {
    font-size: 11px;
    text-align: center;
    color: #000;
    font-weight: 700;
}

.main_footer .footer_text a {
    color: hsl(228, 45%, 44%);
}

