:root {
    --second-family: 'Plus Jakarta Sans', sans-serif;
    --body-font: 'DM Sans', sans-serif;
    --text-950: #0f172a;
    --text-450: #64748b;
    --primary: #4fb893;
    --section-bg: #ffffff;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--section-bg);
    font-family: var(--body-font);
}

/* ===== Hero wrapper (max 1920, height auto) ===== */
.hero-wrap {
    width: 100%;
    background-color: #f5f5f5;
}
.hero-inner {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
    /* padding: 64px 0; */
}

/* Swiper area: beri ruang untuk pagination agar tak ketabrak section bawah */
.hero-swiper {
    position: relative;
    max-width: 1920px;
    /* min-height: 100vh; */
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 30px;
    /* padding-bottom: 72px; posisi dots desktop  */
}

.swiper-wrapper{
    height: auto !important;
}

/* ===== Layout konten (1420 container di dalam 1920) ===== */
.hero-container {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 38px 20px;
    box-sizing: border-box;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.hero-title {
    margin: 0;
    font-family: var(--second-family);
    font-size: clamp(2rem, 3vw + 1rem, 54px);
    font-weight: 700;
    color: var(--text-950);
    line-height: 1.3;
    padding-top: 110px;
    max-width: 703px;
}

.hero-desc {
    max-width: 703px;
    font-size: clamp(1rem, 1vw + 0.5rem, 23px);
    line-height: 1.6;
    color: var(--text-450);
    margin: 0;
}

.hero-btn {
    display: inline-block;
    background-color: #4fb893;
    color: #fff;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 21px;
    margin-top: 25px;
    max-width: max-content;
}
.hero-btn:hover {
    background-color: #4fb893;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero-right img {
    width: 100%;
    max-width: 635px;
    height: 600px;
    border-radius: 1rem;
    object-fit: contain;
}

/* ===== Swiper pagination (tetap di tempat) ===== */
.hero-pagination.swiper-pagination {
    position: absolute;
    bottom: 40px;
    left: calc(50% - 710px + 20px); /* sejajar tepi kiri container 1420 */
    width: auto !important;
    text-align: left;
    z-index: 3;
}
.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: #cbd5e1;
    opacity: 1;
    transition: background 0.3s ease;
}
.swiper-pagination-bullet-active {
    background-color: #262626;
}

/* ===== Responsive ===== */
@media screen and (min-width: 2560px){
    .hero-swiper{
        padding-bottom: 11px;
    }
}
@media (max-width: 1440px) {
    .hero-pagination.swiper-pagination {
        left: 30px;
        bottom: 36px;
    }
}

@media (max-width: 991.98px) {
    .hero-container {
        flex-direction: column;
        text-align: left;
        padding-top: 12px;
    }
    .hero-right {
        order: 1;
        justify-content: center;
    }
    .hero-right img {
        max-width: 100%;
        height: auto;
    }
    .hero-left {
        order: 2;
        align-items: flex-start;
    }
    .hero-left,
    .hero-right {
        max-width: 100%;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-pagination.swiper-pagination {
        left: 50% !important;
        transform: translateX(-50%);
        bottom: 24px;
        text-align: center;
    }
    .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
    }
    /* .hero-swiper {
        padding-bottom: 420px;
    } */
}

@media (max-width: 480px) {
    .hero-swiper {
        padding-bottom: 20px;
    }
    .swiper-pagination-bullet {
        width: 13px;
        height: 13px;
        gap: 5px;
    }
    .hero-title {
        padding-top: 20px;
    }
}
/* ini untuk iphone se  */
@media (max-width: 375px) {
    .hero-swiper {
        padding-bottom: 100px;
        height: 950px;
    }
    .hero-title {
        padding-top: 5px;
    }
}
@media (max-width: 320px) {
    .hero-swiper {
        padding-bottom: 240px;
    }
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}
