﻿/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* =========================
   SLIDER
========================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
}

/* =========================
   SLIDES
========================= */

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
    overflow: hidden;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        position: relative;
    }

    /* =========================
   IMAGE
========================= */

    .hero-slide img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

/* =========================
   OVERLAY
========================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
    z-index: 1;
}

/* =========================
   CONTENT
========================= */

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    background: #00c6ff;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.92);
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: #fff;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.4s;
}

    .hero-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

/* =========================
   DOTS
========================= */

.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

    .hero-dots span {
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.6);
        display: inline-block;
        margin: 0 5px;
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }

        .hero-dots span.active {
            background: #fff;
            width: 28px;
            border-radius: 20px;
        }

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

@media(max-width:768px) {

    .hero-slide img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        max-width: 100%;
    }

        .hero-content h1 {
            font-size: 30px;
            margin-bottom: 14px;
        }

        .hero-content p {
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-dots {
        bottom: 10px;
    }

        .hero-dots span {
            width: 10px;
            height: 10px;
        }

            .hero-dots span.active {
                width: 22px;
            }
}
