* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.fixed-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 90%;
}

.fixed-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    animation: glow 1s ease-in-out infinite alternate;
    text-shadow: 
        -0.5px -0.5px 0 black,  
         0.5px -0.5px 0 black,  
        -0.5px  0.5px 0 black,  
         0.5px  0.5px 0 black,  
         0px  0px 4px rgba(255, 255, 255, 0.5);
         
}




@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.4);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                     0 0 25px rgba(255, 255, 255, 0.5),
                     0 0 35px rgba(255, 255, 255, 0.3);
    }
}

.fixed-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0.5rem 0;
    font-weight: 700;
    letter-spacing: 4px;
}

.fixed-content h3 {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 1px;
    margin-left: 12%;
    margin-right: 12%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: clamp(300px, 60vh, 600px);
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay with 30% opacity */
    z-index: 1;
}


.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #fff;
}

.description {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    line-height: 1.6;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #333;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .slider-container {
        border-radius: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .description {
        margin: 1.5rem auto;
    }

    .fixed-content h3 {
        margin-left: 15%;
        margin-right: 15%;
    }
}

@media (max-width: 480px) {
    .slider-nav {
        bottom: 10px;
    }

    .description {
        margin: 1rem auto;
    }

    .fixed-content h2 {
        letter-spacing: 1px;
    }

    .fixed-content h1 {
        letter-spacing: 2px;
    }
}