body {
    overflow-x: hidden;
}


@keyframes slideDown {
    0% {
        transform: translateY(-400px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Initial state for path (no animation yet) */
path {
    transform: translateY(-400px);
}

/* Apply animation when the section comes into view */
.animate-path path {
    animation: slideDown 2s ease-in-out forwards;
}


#loder-first {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(36, 10, 50, 1);
    /* Initial background color */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Ensure loader is on top */
    overflow: hidden;
    /* Hide overflow during animation */
    transition: background-color 1s ease-out;
    /* Smooth background color transition */
}

.loader-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* Absolute position to slide up */
}

.loader-image {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    max-height: 600px;
    /* Limit height */
    object-fit: cover;
    /* Ensure image fits well */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes growLogo {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-out forwards;
    /* Fade in effect for initial 2 seconds */
}

.hide-loder-first {
    animation: slideUp 1s ease-out forwards;
    /* Start upward animation */
    background-color: #fff;
    /* Change background color after animation */
}

#loader-second {
    display: none;
    /* Hide initially */
    width: 100vw;
    height: 100vh;
    background: #fff;
    /* Background color */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Relative position to position leaf images */
    transition: opacity 1s ease-in-out;
    /* second extra */

}



.leaf-image {
    position: absolute;
    object-fit: cover;
    opacity: 0;
    /* Initially hidden */
}

.top-leaf {
    top: -59%;


    /* Adjust height as needed */
    width: 130%;

    transform: rotate(88.464deg);
    flex-shrink: 0;
    animation: slideInFromTop 1s ease-out forwards;
    animation-delay: 2.5s;
    /* Adjust delay if needed */
}

.bottom-leaf {
    bottom: -56%;


    /* Adjust height as needed */
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: 2.7s;
    width: 124%;
    overflow: hidden;

    transform: rotate(-70.806deg);
    flex-shrink: 0;
    /* Adjust delay if needed */
}

@media(max-width:1300px) {
    .top-leaf {
        top: -10%;


        /* Adjust height as needed */
        width: 133%;

        transform: rotate(88.464deg);
        flex-shrink: 0;
        animation: slideInFromTop 1s ease-out forwards;
        animation-delay: 2.5s;
        /* Adjust delay if needed */
    }

    .bottom-leaf {
        bottom: -11%;


        /* Adjust height as needed */
        animation: slideInFromBottom 1s ease-out forwards;
        animation-delay: 2.7s;
        width: 124%;
        overflow: hidden;

        transform: rotate(-70.806deg);
        flex-shrink: 0;
        /* Adjust delay if needed */
    }

}


.left-leaf {
    top: 0;
    left: 0;

    /* Adjust width as needed */

    animation: slideInFromLeft 1s ease-out forwards;
    animation-delay: 2.9s;
    width: 267px;

    flex-shrink: 0;
    /* Adjust delay if needed */
}

.right-leaf {
    top: 0;
    right: 0;
    width: 20%;
    /* Adjust width as needed */
    height: 100%;
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 3.1s;
    width: 220px;

    transform: rotate(-163.382deg);
    flex-shrink: 0;
    /* Adjust delay if needed */
}

.logo-image {
    width: 500px;
    /* Set the width of the logo */
    height: 500px;
    /* Set the height of the logo */
    transform: scale(0);
    /* Initially scale to 0 */
    z-index: 10;
    /* Ensure logo is above other content */
    animation: growLogo 2s ease-out forwards;
    /* Animation to grow the logo */
    animation-delay: 3s;
    opacity: 1;
    /* second extra */

}

/* Center the modal in the middle of the screen */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.modal-content {
    text-align: center;
    border-radius: 35px;

    /* Center the modal content */
}

/* Adjust the button spacing */
.modal-footer {
    display: flex;
    justify-content: space-around;
}


#main-content {
    display: none;
    padding: 0px;
}

.modal.fade .modal-dialog {
    transform: translateY(-100%);
    transition: transform 0.5s ease-out !important;
}

.modal-content {
    width: 700px !important;

}

.modal-body {
    width: 700px;
}


.logo-modal {
    width: 250px;
    margin-top: 10px;

}

.modal-yes {
    width: 134px;
    margin-bottom: 25px;
    margin-top: 40px;
    margin-left: 187px;
    background-image: linear-gradient(0deg, #0069b9 0%, #2e8ed8 69%);
    color: white !important;
    font-family: "Glacial-Indifference";
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    height: 60px;
    border-radius: 10px;
}

.modal-no {
    width: 134px;
    margin-bottom: 25px;
    margin-top: 40px;
    background-image: linear-gradient(0deg, #FF0000 0%, #FF0000 69%);
    color: white !important;
    font-family: "Glacial-Indifference";
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    height: 60px;
    border-radius: 10px;
}

@font-face {
    font-family: "League-Spartan";
    src: url(../fonts/league-spartan.bold.otf);
}

@font-face {
    font-family: "Glacial-Indifference";
    src: url(../fonts/GlacialIndifference-Regular.otf);
}

.modal-heading {
    font-family: "League-Spartan";
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
    line-height: 41px;
    text-align: center;
}

/* Add slide down animation for showing the modal */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Add slide up animation for hiding the modal */
@keyframes slideUp {
    from {
        transform: translateY(0);


    }

    to {
        transform: translateY(-100%);

    }
}

/* When modal is displayed, apply the slide down effect */
.modal.show .modal-dialog {
    animation: slideDown 0.5s ease forwards;
    /* animation-delay: 5s; */
}

/* When modal is dismissed, apply the slide up effect */
.modal.hide .modal-dialog {
    animation: slideUp 0.5s ease forwards;
    /* animation-delay: 5s; */

}

.main {
    overflow-x: hidden;
}

@media(max-width:1200px) {
    .modal-yes {
        /* width: 100px; */
        margin-bottom: 25px;
        margin-top: 40px;
        margin-left: 95px;
    }

    .modal-body {
        width: auto;
    }

    .modal-content {
        width: auto !important;

    }
}

.home .main-content {
    position: absolute;
    top: 40% !important;
    left: 33% !important;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    /* Make sure it appears above the image */
}

.home .contact-heading {
    text-shadow: 2px 2px #FFFF;
    ;
    text-align: start !important;
}

@media(max-width:950px) {
    .top-leaf {
        top: -6%;


        /* Adjust height as needed */
        width: 136%;

        transform: rotate(88.464deg);
        flex-shrink: 0;
        animation: slideInFromTop 1s ease-out forwards;
        animation-delay: 2.5s;
        /* Adjust delay if needed */
    }

    .bottom-leaf {
        bottom: -6%;


        /* Adjust height as needed */
        animation: slideInFromBottom 1s ease-out forwards;
        animation-delay: 2.7s;
        width: 136%;
        overflow: hidden;

        transform: rotate(-70.806deg);
        flex-shrink: 0;
        /* Adjust delay if needed */
    }

    .logo-image {
        width: 300px;
        /* Set the width of the logo */
        height: 300px;
        /* Set the height of the logo */
        transform: scale(0);
        /* Initially scale to 0 */
        z-index: 10;
        /* Ensure logo is above other content */
        animation: growLogo 2s ease-out forwards;
        /* Animation to grow the logo */
        animation-delay: 3s;
        opacity: 1;
        /* second extra */

    }

}

.home .contact-para {
    font-family: "Glacial-Indifference";
    font-size: 26px;
    width: 500px;
    text-align: start !important;
    font-weight: 400;
    color: white;
    line-height: 31px;
}

.home .main-image {
    width: 100%;
    height: 130vh;
    position: relative;
    z-index: -1;
}

.image-main-leave {


    position: relative;
    top: 56px;
    left: -128px;
}

/* Example CSS animation */
@keyframes fadeIn-visble {
    from {
        opacity: 0;
        transform: scale(0);


    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}

@keyframes dot-visble {
    from {

        transform: translateX(100px);


    }

    to {

        transform: translateX(0px);
    }
}

.animate-leave {
    transform: scale(0);

    transition: opacity 1s ease, transform 1s ease;
}

.animate-leave.visible {

    transform: scale(1);
    opacity: 1;
    animation: fadeIn-visble 1s ease-out;
}

.dot-index {
    transform: translateX(100px);
    position: relative;
    width: 50px;
    top: 18px;
    left: -25px;
    /* transition:  transform 1s ease; */
}

.dot-index.visible {
    transform: translateX(0px);

    animation: dot-visble 1s ease-out;
}

/* @media (min-width: 992px) {
    .home .contact-heading {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
        text-align: start !important;
        FONT-SIZE: 52px;
        line-height: 54px;
        width: 500px;
    }
} */



/* Media query for large screens (laptops/desktops) */
/* @media (min-width: 1024px) {
    .home .main-content {
        left: 50%;
    }

    .home .contact-para {
        font-size: 26px;
        width: 600px;
    }
} */

/* Media Queries for Responsiveness */
/* Large Desktops (1200px and above) */
@media (min-width: 1200px) {
    .home .main-content {
        left: 33% !important;
        top: 100px;
    }

    .home .contact-heading {
        font-size: 68px;
        line-height: 80px;
    }

    .home .contact-para {
        font-size: 26px;
        width: 70%;
    }

    .image-main-leave {
        left: -93px;
        width: 469px;
    }
}

/* Desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .home .main-content {
        left: 35% !important;
        top: 150px;
    }

    .home .contact-heading {
        font-size: 60px;
        line-height: 70px;
        position: relative;
        top: 60px;
    }

    .home .contact-para {
        font-size: 24px;
        width: 80%;
        position: relative;
        top: 28px;
    }

    .image-main-leave {
        left: -130px;
        width: 450px;
        position: relative;
        top: 100px;
    }

    .home .main-image {
        width: 100%;
        height: 110vh;
        position: relative;
        z-index: -1;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .home .main-content {
        left: 45% !important;
        top: 220px;
        text-align: center;
    }

    .home .contact-heading {
        font-size: 62px;
        line-height: 63px;
        width: 555px;
    }

    .home .contact-para {
        font-size: 20px;
        width: 90%;
    }

    .image-main-leave {
        left: -30px;
        width: 70%;
        top: -35px;
    }

    .home .main-image {
        width: 100%;
        height: 273vh;
        position: relative;
        z-index: -1;
    }


}

/* Small Tablets and Large Mobiles (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .home .main-content {
        left: 50% !important;
        top: 260px;
        text-align: center;
    }

    .home .contact-heading {
        font-size: 42px;
        line-height: 48px;
    }

    .home .contact-para {
        font-size: 18px;
        width: 95%;
    }

    .image-main-leave {
        left: -20px;
        width: 80%;
    }
}

/* Mobiles (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {



    .home .contact-heading {
        font-size: 36px;
        line-height: 42px;
    }

    .home .contact-para {
        font-size: 16px;
        width: 100%;
    }

    .image-main-leave {
        left: 0;
        width: 100%;
    }
}
@media (min-width: 569px) and (max-width: 599px) {
    .home .main-content {
        left: 50% !important;
        top: 300px;
        text-align: center;
    }


}
@media (max-width: 479px)  {
    .home .main-content {
        left: 0px !important;
        text-align: center;
    }


}

/* Extra Small Mobiles (below 480px) */
@media (max-width: 479px) {

    .modal-yes {
        width: 100px;


    }

    .modal-no {
        width: 100px;

    }
    .margin-home-all-content {
        margin-left: 317px;
        width: 64%;
    }
    .home .main-content {
        /* left: 50% !important; */
        top: 350px;
        text-align: center;
    }

    .home .contact-heading {
        font-size: 45px;
        line-height: 76px;
        top: -95px;
        position: relative;
    }

    .home .contact-para {
        font-size: 35px;
        width: 100%;
        line-height: 38px;
        position: relative;
        top: -117px;

    }

    .home .banner-btn {
        font-size: 13px;
        position: relative;
        padding: 13px;
        top: -138px;
    }

    .image-main-leave {
        left: 0;
        width: 100%;
        top: -100px;
    }
}
@media (max-width: 400px) {
    .margin-home-all-content {
        margin-left: 317px;
        width: 57%;
    }

}
@media (max-width: 380px) {
    .home .main-content {
         /* left: 46% !important; */
         top: 350px;
         text-align: center;
     }
    }


@media (max-width: 432px) {
    .home .main-image {
        width: 100%;
        height: 160vh;
        position: relative;
        z-index: -1;
    }
}
@media (max-width: 400px) {
    .home .main-image {
        width: 100%;
        height: 208vh;
        position: relative;
        z-index: -1;
    }
}

.extream-right-img {
    position: absolute;
    width: 53px;
    right: 0px;
    height: 70vh;
    margin-right: 2%;
    margin-top: 15%;

}



@media (max-width: 992px) {
    .extream-right-img {
        display: none !important;
    }
}
