/* =========================
   HERO CARD SECTION (SWIPER)
========================= */
.hero-section {
    position: relative;
    padding: 100px 0 40px;
    /* Space for navbar, no side padding for full bleed slider */
    background-color: #ffffff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Hide horizontal scroll */
}

.hero-swiper-container {
    width: 100%;
    position: relative;
}

.hero-swiper {
    width: 100%;
    padding-bottom: 50px;
    /* Space for pagination */
    padding-top: 20px;
}

/* Base slide styling */
.hero-slide-card {
    border-radius: 32px;
    overflow: hidden;
    height: 75vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    transform: scale(0.92);
    /* Inactive slides are slightly smaller */
    opacity: 0.6;
    /* Inactive slides are slightly faded */
}

/* Style for the active slide */
.swiper-slide-active .hero-slide-card {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Theme 1: Deep Navy */
.hero-slide-card.theme-1 {
    background: linear-gradient(135deg, #1b2838 0%, #101824 100%);
}

.hero-slide-card.theme-1 .hero-title-new {
    color: #ffffff;
}

.hero-slide-card.theme-1 .hero-subtitle-new {
    color: rgba(255, 255, 255, 0.85);
}

.hero-slide-card.theme-1 .hero-btn-new {
    background-color: #ffffff;
    color: #1a1a1a;
}

.hero-slide-card.theme-1 .hero-btn-new:hover {
    background-color: #f1f1f1;
}

/* Theme 2: Soft Blue */
.hero-slide-card.theme-2 {
    background: linear-gradient(135deg, #d3e0fc 0%, #e1e9f5 100%);
}

.hero-slide-card.theme-2 .hero-title-new {
    color: #1a1a1a;
}

.hero-slide-card.theme-2 .hero-subtitle-new {
    color: #4a4a4a;
}

.hero-slide-card.theme-2 .hero-btn-new {
    background-color: #1a1a1a;
    color: #ffffff;
}

.hero-slide-card.theme-2 .hero-btn-new:hover {
    background-color: #333333;
}

/* Theme 3: Deep Emerald/Teal */
.hero-slide-card.theme-3 {
    background: linear-gradient(135deg, #184e68 0%, #57ca85 100%);
}

.hero-slide-card.theme-3 .hero-title-new {
    color: #ffffff;
}

.hero-slide-card.theme-3 .hero-subtitle-new {
    color: rgba(255, 255, 255, 0.9);
}

.hero-slide-card.theme-3 .hero-btn-new {
    background-color: #ffffff;
    color: #1a1a1a;
}

.hero-slide-card.theme-3 .hero-btn-new:hover {
    background-color: #f1f1f1;
}

/* Theme 4: Soft Warm/Sand */
.hero-slide-card.theme-4 {
    background: linear-gradient(135deg, #e8dfc8 0%, #dcd1ba 100%);
}

.hero-slide-card.theme-4 .hero-title-new {
    color: #1a1a1a;
}

.hero-slide-card.theme-4 .hero-subtitle-new {
    color: #4a4a4a;
}

.hero-slide-card.theme-4 .hero-btn-new {
    background-color: #1a1a1a;
    color: #ffffff;
}

.hero-slide-card.theme-4 .hero-btn-new:hover {
    background-color: #333333;
}


.hero-slide-content {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    padding: 0 8%;
}

.hero-text-side {
    flex: 1;
    padding-right: 5%;
    z-index: 2;
}

.hero-title-new {
    font-size: clamp(2.5rem, 4vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle-new {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.5;
}

.hero-btn-new {
    display: inline-block;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: none;
    text-decoration: none;
}

.hero-btn-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.hero-image-side {
    flex: 1.2;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}


.hero-img-wrap {
    width: 100%;
    max-width: 600px;
    /* Force uniform max width container */
    aspect-ratio: 4 / 3;
    /* Uniform proportion */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.hero-equip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes all images exactly the same size without distortion */
    border-radius: 0;
}


/* External Controls - Centered in container */
.hero-nav-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    /* Match active slide roughly */
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through except on buttons */
}

.hero-button-prev,
.hero-button-next {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-button-prev.swiper-button-disabled,
.hero-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hero-button-prev:hover:not(.swiper-button-disabled),
.hero-button-next:hover:not(.swiper-button-disabled) {
    background-color: #333333;
    transform: scale(1.1);
}

.hero-button-prev {
    left: 2%;
}

.hero-button-next {
    right: 2%;
}

/* Custom Indicators Below the Carousel */
.swiper-pagination-custom {
    text-align: center;
    margin-top: 10px;
}

.swiper-pagination-custom .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    background-color: rgba(26, 26, 26, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 1;
    margin: 0 4px !important;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
    background-color: #1a1a1a;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 20px; /* Reduced to pull about-section up */
        min-height: auto;
        display: block; /* Change from flex to block on mobile for better absolute positioning */
    }

    .hero-slide-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 24px 5% 20px;
        gap: 16px;
    }

    .hero-text-side {
        padding-right: 0;
        margin-bottom: 0;
        flex: 0 1 auto;
        z-index: 2;
    }

    .hero-title-new {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem);
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-subtitle-new {
        font-size: clamp(0.88rem, 2.5vw, 1.05rem);
        margin: 0 auto 16px;
        max-width: 100%;
        line-height: 1.45;
    }

    .hero-btn-new {
        padding: 11px 26px;
        font-size: 0.9rem;
    }

    .hero-image-side {
        justify-content: center;
        align-items: center;
        height: auto;
        flex: 1 1 auto;
        width: 100%;
    }

    .hero-img-wrap {
        width: 85%;
        max-width: 380px;
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .hero-slide-card {
        height: auto;
        min-height: 480px;
        border-radius: 20px;
        padding-top: 12px;
        padding-bottom: 16px;
    }

    .hero-nav-wrapper {
        display: none !important;
    }

    .swiper-pagination-custom {
        margin-top: 5px;
    }

    .hero-swiper {
        padding-bottom: 30px; /* Reduced to bring mouse higher up */
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-slide-card {
        min-height: 420px;
        border-radius: 16px;
    }

    .hero-title-new {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
        margin-bottom: 8px;
    }

    .hero-subtitle-new {
        font-size: 0.85rem;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .hero-btn-new {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .hero-img-wrap {
        width: 90%;
        max-width: 320px;
        border-radius: 10px;
    }
}

@media (max-width: 400px) {
    .hero-slide-card {
        min-height: 380px;
    }

    .hero-title-new {
        font-size: 1.3rem;
    }

    .hero-subtitle-new {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .hero-img-wrap {
        width: 95%;
        max-width: 280px;
    }
}
