.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;
}
