/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    /* Fallback */
    background-color: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
}

.hero-caption {
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
}

.hero-caption h2 {
    color: #fff;
}

.hero-caption p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #eee;
}

.hero-caption .btn {
    margin: 0 10px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #fff;
}


@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }

    .hero-caption {
        padding: 20px 30px;
    }

    .hero-caption h2 {
        font-size: 2rem;
    }

    .hero-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
    }

    .hero-caption h2 {
        font-size: 1.5rem;
    }

    .hero-caption p {
        font-size: 0.9rem;
    }
}