.slider-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjusted to make the slider height shorter */
    overflow: hidden;
}

.slider {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.5);*/ /* Dark overlay to allow text visibility */
    z-index: 1;
}

.text {
    z-index: 2;
    color: white;
    text-align: center;
}

.text h2 {
    font-size: 4rem; /* Larger font size for title */
    font-weight: bold; /* Light font weight for title */
    margin: 0;
    color: #f0f0f0; /* Lighter color for title */
}

.text p {
    font-size: 2rem; /* Larger font size for subtitle */
    margin-top: 10px;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.bullet {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.bullet.active {
    opacity: 1;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */

/* 🖥 Large Desktop */
@media (min-width: 1400px) {

    .slider-container {
        height: 90vh;
    }

    .text h2 {
        font-size: 5rem;
    }

    .text p {
        font-size: 2.5rem;
    }
}

/* 💻 Desktop */
@media (max-width: 1400px) {

    .slider-container {
        height: 80vh;
    }
}

/* 💻 Small Desktop / Large Tablet */
@media (max-width: 1200px) {

    .slider-container {
        height: 70vh;
    }

    .text h2 {
        font-size: 3.5rem;
    }

    .text p {
        font-size: 1.8rem;
    }
}

/* 📱 Tablet */
@media (max-width: 992px) {

    .slider-container {
        height: 60vh;
    }

    .text h2 {
        font-size: 3rem;
    }

    .text p {
        font-size: 1.5rem;
    }

    button {
        font-size: 1.5rem;
        padding: 0.7rem;
    }
}

/* 📱 Large Mobile */
@media (max-width: 768px) {

    .slider-container {
        height: 50vh;
    }

    .text h2 {
        font-size: 2.2rem;
    }

    .text p {
        font-size: 1.2rem;
    }
}

/* 📱 Mobile */
@media (max-width: 576px) {

    .slider-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: black;
    }

    .text h2 {
        font-size: 1.6rem;
    }

    .text p {
        font-size: 0.9rem;
    }

    .nav-buttons {
        top: 45%;
    }

    button {
        font-size: 1rem;
        padding: 0.4rem;
    }
}