@import url('https://fonts.googleapis.com/css2?family=Playwrite+IN:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

/* Banner Section */
.ula__banner__main {
    position: relative;
    /* text-align: center; */
    height: 600px;
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
    overflow: hidden;
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* --current-bg: url("../images/slider1.jpg"); */
    /* --next-bg: url("../images/slider3.jpg"); */
}

/* Background Layer for Smooth Transition */
.ula__banner__main::before,
.ula__banner__main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

/* Current Background */
.ula__banner__main::before {
    background-image: var(--current-bg);
    z-index: -2;
}

/* Next Background (Fades In) */
.ula__banner__main::after {
    background-image: var(--next-bg);
    opacity: 0;
    z-index: -1;
}

/* Apply Smooth Fade-in Transition */
.ula__banner__main.fade-in::after {
    opacity: 1;
}


/* Heading Styles */
.ula__banner__main__heading {
    position: absolute;
    width: 100%;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 191, 0);
    font-family: "Dancing Script", serif;
}

.top__line {
    color: rgb(255, 255, 255);
    font-family: "Dancing Script", serif;
}

.middle__line {
    color: rgb(255, 255, 255);
    font-family: "Caveat", serif;
}

.top__line, .bottom__line {
    font-size: 5rem;
}

.middle__line {
    font-size: 3rem;
}

/* Button Styles */
.banner_btn_main_div {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 100;
    position: relative;
}

.banner_btn_main_div button {
    background-color: #130a88;
    border: none;
    margin-top: 6rem;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    z-index: 110;
}

.banner_btn_main_div button:hover {
    background-color: #0f0870;
}

.banner_btn_main_div button a {
    color: #fff;
    text-decoration: none;
}

.background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.background-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.background-carousel .slide.active {
    opacity: 1;
    z-index: 1;
}

.background-carousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2); /* <-- Dark shade here */
    z-index: 2;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .ula__banner__main {
        /* height: 500px; */
        height: 100%;
    }

    .top__line, .middle__line {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .ula__banner__main {
        /* height: 400px; */
        height: 100%;
    }

    .top__line, .middle__line {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .ula__banner__main {
        /* height: 300px; */
        height: 100%;
    }

    .top__line, .middle__line {
        font-size: 2rem;
    }
}

/* Ensure Proper Heading Scaling */
.top__line, .middle__line {
    font-size: 12rem;
}

@media (max-width: 768px) {
    .top__line, .middle__line {
        font-size: 6rem;
    }
}

