
/* =========================================
   NAZSOL HERO SLIDER
========================================= */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px #00ffff44;
}

/* Slider Image */
.hero-slider .carousel-item img {
    display: block;
    width: 100%;
    height: clamp(280px, 38vw, 480px);
    object-fit: cover;
    object-position: center;
    filter: brightness(85%);
}

/* Caption */
.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 12%;
    right: 12%;
    transform: translateY(-50%);

    width: auto;
    padding: 20px;
    color: #fff;
    text-align: center;
    z-index: 10;

    text-shadow: 0 0 10px #000;
}

/* Slider Title */
.hero-slider .carousel-caption .slider-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 3rem);
    color: #00ffff;
    font-weight: 600;
    text-shadow: 0 0 15px #00ffff;
}

/* Description */
.hero-slider .carousel-caption p {
    font-size: clamp(0.85rem, 1.3vw, 1.2rem);
    color: #eee;
    margin-top: 10px;
}

/* Button */
.hero-slider .carousel-caption .link-button {
    display: inline-block;
    font-size: 0.9rem;
    padding: 9px 24px;
}

/* Previous / Next Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 8%;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    background-size: 55%;
}


/* =========================================
   TABLET: 768px - 991px
========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

    .hero-slider {
        border-radius: 15px;
    }

    .hero-slider .carousel-item img {
        height: 320px;
    }

    .hero-slider .carousel-caption {
        left: 10%;
        right: 10%;
        padding: 15px;
    }

    .hero-slider .carousel-caption .slider-title {
        font-size: 2rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.95rem;
    }

    .hero-slider .carousel-caption .link-button {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}


/* =========================================
   MOBILE: 576px - 767px
========================================= */

@media (min-width: 576px) and (max-width: 767.98px) {

    .hero-slider {
        border-radius: 12px;
    }

    .hero-slider .carousel-item img {
        height: 260px;
    }

    .hero-slider .carousel-caption {
        left: 5%;
        right: 5%;
        padding: 10px;
    }

    .hero-slider .carousel-caption .slider-title {
        font-size: 1.5rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.85rem;
        margin-top: 6px;
    }

    .hero-slider .carousel-caption .link-button {
        font-size: 0.8rem;
        padding: 7px 16px;
    }
}


/* =========================================
   SMALL MOBILE: 575px and below
========================================= */

@media (max-width: 575.98px) {

    .hero-slider {
        border-radius: 10px;
    }

    .hero-slider .carousel-item img {
        height: 220px;
        object-position: center;
    }

    .hero-slider .carousel-caption {
        left: 3%;
        right: 3%;
        padding: 5px;
    }

    .hero-slider .carousel-caption .slider-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.72rem;
        line-height: 1.3;
        margin-top: 4px;
        margin-bottom: 6px !important;
    }

    .hero-slider .carousel-caption .link-button {
        font-size: 0.7rem;
        padding: 5px 13px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 10%;
    }

    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        width: 27px;
        height: 27px;
    }
}


/* =========================================
   EXTRA SMALL MOBILE: 400px and below
========================================= */

@media (max-width: 400px) {

    .hero-slider .carousel-item img {
        height: 190px;
    }

    .hero-slider .carousel-caption .slider-title {
        font-size: 0.95rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.65rem;
    }

    .hero-slider .carousel-caption .link-button {
        font-size: 0.65rem;
        padding: 4px 11px;
    }
}


