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

body {
    font-family: Arial, sans-serif;
    background-color: hsl(210, 20%, 98%);
    color: hsl(222, 15%, 20%);
}

/* HERO SLIDER */
.hero {
    position: relative;
    height: 88vh;
    overflow: hidden;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.hero-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background: hsl(0, 80%, 58%);
    color: hsl(0, 0%, 100%);
}

.btn-primary:hover {
    background: hsl(0, 80%, 50%);
}

.btn-outline-c {
    background: white;
    color: black;
}

/* SLIDER NAVIGATION */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    opacity: 1;
    background: hsl(0, 80%, 58%);
}

.slide img {
    width: 100%;
    height: 100%; /* You can adjust this height */
    object-fit: cover; /* Keeps aspect ratio while covering the area */
    object-position: center; /* Centers the image */
}
 @media (max-width: 992px) {
        .hero-title {
            font-size: 2.4rem;
        }
        .hero-description {
            font-size: 1.05rem;
        }
    }
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2rem;
        }
        .hero-description {
            font-size: 1rem;
        }
        .hero-buttons button {
            padding: 0.7rem 1.2rem;
            font-size: 0.95rem;
        }
        .hero {
        height: 75vh; /* Adjust hero height for tablets */
    }
    }
    @media (max-width: 480px) {
        .hero-title {
            font-size: 1.6rem;
        }
        .hero-description {
            font-size: 0.9rem;
        }
        .hero-buttons {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .hero-buttons button {
            width: 80%;
            margin: 0.3rem 0;
        }
        .hero {
        height: 70vh; /* Smaller hero on phones */
    }
    }
