/* ============================================================================
   SWIPER STYLES - FIXED VERSION (Optimized + Mobile Height Improved)
============================================================================ */

.hero-img-side {
    display: block !important;
    width: 100%;
    height: auto;
    position: relative;
}

/* Hero Swiper - Desktop */
.hero-swiper {
    background: linear-gradient(135deg, #ebeef3 0%, #d4e0ec 100%);
    width: 100%;
    min-height: 450px;        /* FLEXIBLE */
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/6;       /* Menjaga proporsi */
}

/* Wrapper & Slide */
.hero-swiper .swiper-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Gambar fix */
.hero-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.guru-swiper {
    width: 100%;
    padding: 20px 0 50px 0;
    position: relative;
}

.guru-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   NAVIGATION BUTTONS
============================================================================ */

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '' !important;
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(11,71,131,0.9) 0%, rgba(20,132,182,0.9) 100%);
    border-radius: 50%;
    color: white !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #0b4783 0%, #1484b6 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(11,71,131,0.3);
}

.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================================
   PAGINATION 
============================================================================ */

.swiper-pagination {
    bottom: 15px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #b6c4d2;
    opacity: 1;
    transition: all .3s ease;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, #1484b6 0%, #35bbe0 100%);
}

/* ============================================================================
   RESPONSIVE (Mobile Height Improved)
============================================================================ */

@media (max-width: 768px) {
    .hero-swiper {
        min-height: 420px;       /* Naik dari 300px */
        border-radius: 10px;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 576px) {
    .hero-swiper {
        min-height: 480px;       /* Naik dari 250px */
        aspect-ratio: 3/5;       /* Jadi lebih portrait dan lega */
    }
}

/* If using Tabler Icon */
.swiper-button-prev i,
.swiper-button-next i {
    font-size: 24px;
    color: white;
    line-height: 1;
}

/* Guru Swiper: make all cards equal width & height */
.guru-swiper .swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
}

/* Make card fill the slide evenly */
.guru-swiper .swiper-slide .card {
    width: 100%;
    max-width: 200px; /* bebas ubah: 180-240px biasanya pas */
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Make card inner content balanced */
.guru-swiper .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
