/* Outer Box Styles */
.box1 {
    position: relative;
    overflow: hidden;
    background-color: black;
    /* Prevents the image from going outside the box */
}

/* Parallax Image */
.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;
    /* Ensures the image covers the container without distortion */
    z-index: 1;
    /* Keeps the image in the background */
    transform: translateZ(0) scale(1.1);
    /* Adjust the scale for a smoother parallax */
    will-change: transform;
    /* Optimizes the performance */
}

/* Inner Box Styles */
.box11 {
    position: relative;
    z-index: 1;
    /* Keeps the text in front of the image */
    text-align: center;
    /* background-color: #06402B; */
}

/* Text Styling */
.box11 h1 {
    font-size: 2rem;
    color: white;
    z-index: 1;
}

.box11 p {
    font-size: 1rem;
    color: white;
    z-index: 1;
}


@media only screen and (max-width: 600px) {
    .box1 {
        height: 45vh;
        width: 100%;
        position: relative;
        overflow: hidden;
        /* Prevents the image from going outside the box */
    }
    .parallax-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensures the image covers the container without distortion */
        z-index: 1;
        /* Keeps the image in the background */
        transform: translateZ(0) scale(1.1);
        /* Adjust the scale for a smoother parallax */
        will-change: transform;
        /* Optimizes the performance */
    }
    .box11 {
        height: 45vh;
        position: relative;
        z-index: 1;
        /* Keeps the text in front of the image */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .box11 h1 {
        font-size: 2rem;
        color: white;
        z-index: -1;
    }
    .box11 p {
        font-size: 1rem !important;
        color: white;
        z-index: 1;
    }

}