/* hero-styles.css - Responsive Version with Reduced Heights */

.swiper,
.swiper-slide {
    width: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 6;
}

/* Hero Slider Styles - Mobile First */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}


.slides-container {
    display: flex;
    width: 1500%; /* Consistent for 15 slides */
    transition: none;
}

.slide {
    width: 11.111%;
    flex-shrink: 0;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 6;
    background-color: #ffffff;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 90%;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background: #0000FF; /* Updated to Blue */
    color: #ffffff; /* Changed to white for better contrast on blue */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    font-size: 0.85rem;
}

.btn:hover {
    background: #0000B3; /* Darker Blue Hover */
}

.slide::before {
     content: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
     z-index: 1;
}

.slide-1 { background-image: url("../hero-image/1.png"); }
.slide-2 { background-image: url("../hero-image/4.png"); }
.slide-3 { background-image: url("../hero-image/3.png"); }

.slide-4 { background-image: url("../hero-image/2.png"); }
.slide-5 { background-image: url("../hero-image/21.png"); }
.slide-6 { background-image: url("../hero-image/14.png"); }
.slide-7 { background-image: url("../hero-image/20.png"); }
/*.slide-9 { background-image: url("../hero-image/12.png"); }*/
.slide-8 { background-image: url("../hero-image/13.png"); }
.slide-9 { background-image: url("../hero-image/18.png"); }
.slide-10 { background-image: url("../hero-image/17.png"); }
.slide-11 { background-image: url("../hero-image/Websiteslider(8).png"); }
.slide-12 { background-image: url("../hero-image/Website Slider (9).png"); }


/* Dots Navigation */
.dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 5;
    width: auto;
    padding: 6px 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dot.active {
    background: #0000FF; /* Updated to Blue */
    transform: scale(1.5);
}

.dot:hover {
    background: #333;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 3;
    display: none; 
}

.nav-arrow {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 35px; 
    height: 35px; 
    border-radius: 50%;
    font-size: 14px; 
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.nav-arrow:hover {
    background: rgba(255,255,255,0.4);
    opacity: 1;
}

/* Swiper navigation buttons – Blue */
.swiper-button-prev,
.swiper-button-next {
    color: #0000FF; /* Updated to Blue */
}

/* Responsive Breakpoints */
@media (min-width: 576px) {
    .slide-content h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    .btn {
        padding: 8px 22px;
        font-size: 0.9rem;
    }
    .dots-container {
        bottom: 15px;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 768px) {
    .dots-container {
        bottom: 10px;
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
    } 
    .slide-content {
        max-width: 700px;
        padding: 0 25px;
    }
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .slider-nav {
        display: flex;
    }
    .dots-container {
        bottom: 20px;
    }
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 992px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
    .slider-nav {
        padding: 0 25px;
    }
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .slider-nav {
        padding: 0 30px;
    }
    .dots-container {
        bottom: 25px;
        gap: 10px;
    }
    .dot {
        width: 10px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .dot {
        width: 10px;
        height: 10px;
        margin: 2px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .slide-content h1 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .slide-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dots-container {
        bottom: 8px;
    }
    .slider-nav {
        display: none;
    }
    .btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .dots-container {
        bottom: 8px;
        gap: 6px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 360px) {
    .slide-content h1 { font-size: 1.3rem; }
    .slide-content p { font-size: 0.85rem; }
    .dots-container { bottom: 5px; }
    .dot { width: 7px; height: 7px; }
}

/* FORCE Swiper arrows to blue */
.swiper-button-prev::after,
.swiper-button-next::after {
    color: #0000FF !important; /* BLUE */
}

@media (max-width: 768px) {
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px !important;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 480px) {
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px !important;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 24px !important;
        height: 24px !important;
    }
}