* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* === LOGO === */
.navbar .logo img {
    height: 55px;
    /* ukuran ideal */
    width: 70px;
    /* agar tidak gepeng */
    display: block;
}

/* NAV MENU */
.navbar nav a {
    text-decoration: none;
    margin: 0 20px;
    color: #549D41;
    font-weight: 600;
}

/* CART ICON */
.cart {
    background: #549D41;
    /* hijau modern */
    width: 48px;
    height: 48px;
    border-radius: 15px;
    /* bukan bulat penuh */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    /* SHADOW YANG SAMA PERSIS */
    box-shadow:
        0px 4px 8px rgba(0, 0, 0, 0.25),
        0px 0px 10px rgba(255, 255, 255, 0.85) inset;

    transition: .2s;
}

/* Hover */
.cart:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 8px 15px rgba(0, 0, 0, 0.28),
        0px 0px 12px rgba(255, 255, 255, 0.95) inset;
}


/* WRAPPER -------------------- */
.product-wrapper {
    margin-top: 100px;
    padding: 40px 10% 160px;
    position: relative;
    background: white;
    z-index: 3;
}

/* === MOTIF BATIK ATAS === */
.product-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    /* area batik */
    background: url('../img/bgbatik.jpg');
    background-size: 640px;
    background-repeat: repeat;
    opacity: 0.15;
    /* soft */
    z-index: 1;
    pointer-events: none;
    /* â¬… WAJIB, biar elemen lain bisa diklik */
}

/* === LENGKUNG PUTIH BAWAH === */
.product-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -60px;
    width: 100%;
    height: 120px;
    background: white;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    z-index: 2;
    /* box-shadow optional */
}



.breadcrumb {
    color: #549D41;
    font-size: 14px;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #549D41;
    text-decoration: none;
}

/* FLEX ----------------------- */
.product-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}



/* PRODUCT IMAGE */
.image-card {
    background: linear-gradient(180deg, #C6F68D, #549D41);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.image-card img {
    width: 260px;
    border-radius: 12px;
}



/* PRODUCT INFO */
.product-info h1 {
    color: #549D41;
    font-size: 32px;
    margin-bottom: 5px;
}

.sold {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #5A9C40;
    margin-bottom: 20px;
}

.buy {
    background: #549D41;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: .2s;
}

.buy:hover {
    transform: scale(1.07);
}

.spec h3 {
    margin: 20px 0 10px;
    font-size: 20px;
    color: #549D41;
}

.spec ul {
    margin-left: 15px;
    line-height: 1.7;
    color: #549D41;
}



/* REVIEW BOX ------------------ */
.review-box {
    margin-top: 50px;
    background: #F6FFF0;
    padding: 30px;
    border-radius: 22px;
    border: 3px solid #549D41;
}

.review-box h2 {
    font-size: 26px;
    color: #549D41;
    margin-bottom: 20px;
}

.review-content {
    display: flex;
    gap: 40px;
}

.rate-number {
    font-size: 26px;
    color: #549D41;
    font-weight: 700;
}

.rating-bars .bar {
    width: 180px;
    height: 7px;
    background: #ddd;
    border-radius: 5px;
    margin: 5px 0;
}

.rating-bars .bar span {
    display: block;
    height: 7px;
    background: #549D41;
    border-radius: 5px;
}



/* FOOTER --------------------- */
.footer {
    position: relative;
    padding: 80px 10% 40px 10%;
    color: white;
    background: linear-gradient(to bottom,
            #549D41 0%,
            /* Hijau muda */
            #549D41 40%,
            /* Hijau sedang */
            #549D41 100%);
    /* Hijau lebih gelap */
    overflow: hidden;
    z-index: 1;
    margin-top: -40px;
    /* naik sedikit agar rapih */
}

/* === Pattern 20% atas === */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22%;
    /* 20% area atas */
    background: url('../img/bgbatik.jpg');
    background-size: 600px;
    /* adjust sesuai gambar */
    background-repeat: repeat;
    opacity: 0.25;
    /* biar soft */
    z-index: 0;
}

/* === Pattern 80%â€“100% bawah (opsional) === */
.footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18%;
    /* background: url('../img/bgbatik.jpg'); */
    background-size: 500px;
    background-repeat: repeat;
    opacity: 0.20;
    z-index: 0;
}

/* Agar isi footer tampil di atas pattern */
.footer * {
    position: relative;
    z-index: 2;
}




/* layout kiri-kanan */
.footer-info {
    display: flex;
    justify-content: center;
    /* â— biar posisi block kiri & kanan tidak kepinggir */
    align-items: center;
    /* â— tengah secara vertikal */
    gap: 120px;
    /* â— jarak antar LOGO dan kontak */
    margin-bottom: 60px;
}

.footer-info .logo {
    font-size: 70px;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-info-text h3 {
    font-size: 42px;
    /* lebih besar kayak desain */
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-info p {
    font-size: 18px;
    font-weight: 500;
    margin: 5px 0;
}


/* MAPS */
footer iframe {
    width: 100%;
    height: 330px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


/* COPYRIGHT */
.footer .copyright {
    text-align: center;
    margin-top: 25px;
    font-size: 16px;
    opacity: 0.9;
}

.footer-info .logo img {
    width: 350px;
    /* ukuran logo ideal */
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
    /* biar glow kayak desain */
}

.footer-info .logo {
    padding-left: 60px;
}

.footer-info-text p {
    font-size: 20px;
    line-height: 1.5;
    margin: 6px 0;
    opacity: 0.95;
}


/* ====== ANIMASI KINIAN ====== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: .7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: .7s ease;
}

.fade-in.show {
    opacity: 1;
}

.slide-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: .7s ease;
}

.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(40px);
    transition: .7s ease;
}

.slide-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* ===== HAMBURGER (Mobile) ===== */
.menu-btn {
    display: none;
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* NAV MOBILE HIDDEN */
@media(max-width: 900px) {
    .menu-btn {
        display: block;
    }

    .navbar {
        padding: 20px 25px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* disembunyikan */
        width: 75%;
        height: 100vh;
        background: white;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        padding-top: 120px;
        gap: 25px;
        transition: 0.35s ease;
        z-index: 1000;
    }


    nav.show {
        right: 0;
        /* muncul dari kanan */
    }

    nav a {
        font-size: 20px;
        padding: 10px 20px;
        color: #549D41;
        font-weight: 600;
        transition: .3s;
    }

    nav a:hover {
        color: #4d8a33;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        padding: 20px 25px;
    }

    .cart {
        margin-left: 10px;
    }
}


/* Responsive */
/* hero */
@media(max-width:900px) {
    .hero {
        flex-direction: column;
        padding: 40px 30px;
        min-height: 550px;
    }

    .hero-text h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .hero-text p {
        margin-top: 40px;
        font-size: 14px;
    }

    .catalog-box {
        position: relative;
        right: 0;
        bottom: -30px;
        width: 100%;
        margin-top: 40px;
    }
}

/* about */
@media(max-width:900px) {
    .about {
        padding: 80px 8%;
    }

    .about-img {
        position: relative;
        width: 70%;
        right: 0;
        top: 40px;
        margin: auto;
        display: block;
        transform: rotate(0);
    }

    .vision-mission {
        display: block;
    }
}

/* produk */
@media(max-width:700px) {
    .produk {
        padding: 80px 5% 80px 5%;
    }

    .produk-item {
        padding: 25px;
    }

    .produk h2 {
        font-size: 1.7rem;
    }
}

/* katalog */
@media(max-width:900px) {
    .katalog h2 {
        font-size: 38px;
    }

    .katalog p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .katalog-grid {
        grid-template-columns: 1fr;
    }
}

/* footer */
@media(max-width:900px) {
    .footer-info {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-info .logo {
        padding-left: 0;
    }

    .footer-info-text h3 {
        font-size: 32px;
    }

    iframe {
        height: 260px;
    }
}

/* Ripple effect */
.btn,
.cart,
.menu-btn,
nav a {
    position: relative;
    overflow: hidden;
}

.btn::after,
.cart::after,
.menu-btn::after,
nav a::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .4s ease, height .4s ease, opacity .4s ease;
}

.btn:active::after,
.cart:active::after,
.menu-btn:active::after,
nav a:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

#backToTop {
    position: fixed;
    right: 25px;
    bottom: -80px;
    /* disembunyikan awalnya */
    width: 55px;
    height: 55px;
    background: #549D41;
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all .4s ease;
    z-index: 9999;
}

/* Saat muncul */
#backToTop.show {
    bottom: 25px;
    opacity: 1;
}

/* ===========================================
   RESPONSIVE DETAIL PRODUK (PERBAIKAN UTAMA)
   =========================================== */
@media(max-width: 900px) {

    /* Flex turun jadi kolom */
    .product-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    /* Image card lebih besar */
    .image-card {
        padding: 25px;
        width: 100%;
        max-width: 350px;
    }

    .image-card img {
        width: 100%;
    }

    /* Judul & teks */
    .product-info h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .price {
        font-size: 24px;
    }

    .buy {
        width: 100%;
        max-width: 260px;
    }

    /* review box */
    .review-content {
        flex-direction: column;
        text-align: center;
    }

    .rating-bars .bar {
        width: 100%;
        max-width: 250px;
    }

    /* breadcrumb */
    .breadcrumb {
        font-size: 12px;
    }

    /* padding wrapper */
    .product-wrapper {
        padding: 20px 6% 150px !important;
        /* tambahkan padding bawah */
        margin-top: 120px;
        position: relative;
        background: white;
        z-index: 3;
    }

    .product-wrapper::after,
    .hero::after {
        height: 70px !important;
        /* dipendekin */
        bottom: -30px !important;
        /* jangan terlalu naik */
    }


}

@media(max-width: 900px) {
    #backToTop {
        right: 15px;
        bottom: 15px;
        width: 48px;
        height: 48px;
        font-size: 26px;
        z-index: 99999;
        /* paling atas */
    }
}

/* ===== MOBILE REVIEW FIX ===== */
@media(max-width: 900px) {

    .review-box {
        margin-bottom: 40px;
    }

    .review-box h2 {
        font-size: 22px;
        text-align: center;
    }

    .review-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .rating-bars div {
        width: 100%;
    }

    .rating-bars .bar {
        width: 100%;
        max-width: 300px;
        margin: 8px auto;
    }

    .rate-number {
        font-size: 24px;
        margin-bottom: 5px;
    }
}

.product-image {
    width: 100%;
    max-width: 340px;
    position: relative;
    z-index: 5;
    /* di atas pseudo-element */
}

.productSwiper {
    background: linear-gradient(180deg, #C6F68D, #549D41);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.productSwiper img {
    width: 100%;
    border-radius: 12px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #549D41;
}

.swiper-pagination-bullet {
    background: #549D41 !important;
}

.img-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.img-popup img {
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.img-popup.show {
    display: flex;
}


.qty-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.qty-popup.show {
    display: flex;
}

.qty-box {
    background: white;
    width: 90%;
    max-width: 350px;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.qty-box h3 {
    margin-bottom: 15px;
    color: #549D41;
    font-size: 22px;
    font-weight: 700;
}

.qty-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px 0 25px;
}

.qty-control button {
    width: 40px;
    height: 40px;
    background: #549D41;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.qty-control input {
    width: 60px;
    padding: 8px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #549D41;
    border-radius: 10px;
}

.wa-btn {
    background: #25D366;
    border: none;
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
}

.close-btn {
    background: #ccc;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

/* ============================================================================================================================================================= */

/* ==============================
   PAGE E-KATALOG
   ============================== */

/* .catalog-section-bg {
    background: linear-gradient(180deg, #f4fff0 0%, #f3ffe9 40%, #f1ffe4 100%);
} */
.catalog-section-bg {
    position: relative;
    background: white;
    padding: 35px 10% 160px;
    z-index: 3;
}

.catalog-section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: url('../img/bgbatik.jpg');
    background-size: 640px;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    /* â¬… THIS FIXES THE BUTTON */
}

.catalog-section-bg::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -60px;
    width: 100%;
    height: 120px;
    background: white;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    z-index: 2;
}




.catalog-wrapper {
    margin-top: 140px;
    padding: 40px 8% 80px;
}

/* Header teks "E-Katalog" */
.catalog-head {
    text-align: center;
    margin-bottom: 40px;
}

.catalog-head h1 {
    font-size: 40px;
    color: #549D41;
    margin-bottom: 5px;
}

.catalog-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7fbf4f;
    font-weight: 600;
}

.catalog-caption {
    font-size: 14px;
    color: #6b6b6b;
}

/* GRID KARTU */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

/* KARTU PRODUK */
.catalog-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 0;
    /* buang padding tebal */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 5;
    /* di atas pseudo-element */
}

.catalog-card-inner {
    background: #c4f2a8;
    /* hijau muda - tipis */
    border-radius: 26px;
    /* hampir sama seperti gambar */
    padding: 18px;
    /* lebih kecil supaya border tipis */
}

/* kotak gambar hijau */
.catalog-img-box {
    background: #ffffff;
    /* putih */
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: inset 0 0 0 4px #549D41;
    /* garis hijau tipis seperti gambar */
}

/* gambar */
.catalog-img-box img {
    width: 100%;
    max-width: 160px;
    /* kecil agar komposisinya sama seperti gambar */
    display: block;
    margin: auto;
}

/* judul & harga */
.catalog-card-inner h3 {
    font-size: 16px;
    color: #549D41;
    margin-bottom: 6px;
    font-weight: 700;
    text-align: center;
}

.catalog-price {
    font-size: 14px;
    color: #5A9C40;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

/* tombol */
.catalog-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 9px 0;
    border-radius: 999px;
    background: #549D41;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform .18s ease, box-shadow .18s ease;
}

.catalog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

/* RESPONSIVE GRID */
@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .catalog-wrapper {
        padding: 30px 6% 60px;
        margin-top: 120px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .catalog-head h1 {
        font-size: 32px;
    }
}

.catalog-filter {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    background: #eaffda;
    border: 2px solid #549D41;
    color: #549D41;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.filter-btn:hover {
    background: #549D41;
}

.filter-btn.active {
    background: #549D41;
    color: white;
}

.catalog-filter-dropdown {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.catalog-filter-dropdown select {
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #549D41;
    background: #eaffda;
    color: #3b6f23;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: 0.25s;
}

.catalog-filter-dropdown select:hover {
    background: #549D41;
}

.catalog-filter-dropdown select:focus {
    border-color: #549D41;
}

/* ============================
   ANIMASI GLOBAL (SAMA DGN INDEX)
   ============================ */

/* Smooth Fade Up */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scale Soft */
.scale-soft {
    opacity: 0;
    transform: scale(0.9);
    transition: .7s ease;
}

.scale-soft.show {
    opacity: 1;
    transform: scale(1);
}

/* Parallax */
.parallax {
    opacity: 0;
    transform: translateY(60px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax.show {
    opacity: 1;
    transform: translateY(0);
}

/* Glow */
.glow {
    opacity: 0;
    filter: blur(15px);
    transition: 1s ease;
}

.glow.show {
    opacity: 1;
    filter: blur(0);
}

/* Hover Pop */
.hover-pop {
    transition: .25s ease;
}

.hover-pop:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.23);
}

/* =========================================================================================================================================================== */
/* ===============================
   HERO ABOUT 
================================= */
.about-hero {
    margin-top: 100px;
    padding: 120px 10% 140px;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/bgbatik.jpg');
    background-size: 620px;
    background-repeat: repeat;
    opacity: 0.12;
    z-index: 1;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero-inner h1 {
    font-size: 52px;
    font-weight: 800;
    color: #549D41;
    margin-bottom: 10px;
}

.about-hero-inner p {
    font-size: 18px;
    color: #5a5a5a;
    max-width: 650px;
    margin: auto;
    line-height: 1.6;
}


/* ===============================
   ABOUT SECTION
================================= */
.about-wrapper {
    padding: 100px 10%;
    background: white;
    position: relative;
}

.about-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: url('../img/bgbatik.jpg');
    background-size: 620px;
    background-repeat: repeat;
    opacity: 0.12;
    z-index: 1;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-left h2 {
    font-size: 38px;
    color: #549D41;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-left p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-right img {
    width: 360px;
    border-radius: 25px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}


/* ===============================
   VISI MISI
================================= */
.visi-misi {
    padding: 100px 10%;
    background: linear-gradient(180deg, #f1ffe9 0%, #eaffda 100%);
    border-top-left-radius: 85px;
    border-top-right-radius: 85px;
    text-align: center;
}

.visi-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    max-width: 750px;
    margin: 25px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.visi-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #549D41;
    margin-bottom: 18px;
}

.visi-card p,
.visi-card ul li {
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.7;
}

.visi-card ul {
    margin-top: 10px;
    text-align: left;
    display: inline-block;
}


/* ===============================
   KEUNGGULAN
================================= */
.keunggulan {
    padding: 120px 10%;
    text-align: center;
}

.keunggulan h2 {
    font-size: 40px;
    font-weight: 800;
    color: #549D41;
    margin-bottom: 60px;
}

.keunggulan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.kg-item {
    background: #f8fff2;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.kg-item img {
    width: 70px;
    margin-bottom: 15px;
}

.kg-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #447a2b;
    margin-bottom: 8px;
}

.kg-item p {
    font-size: 15px;
    color: #5e5e5e;
    line-height: 1.6;
}


/* ===============================
   CTA SECTION
================================= */
.cta-about {
    padding: 120px 10%;
    background: #e9ffd8;
    text-align: center;
    border-bottom-left-radius: 85px;
    border-bottom-right-radius: 85px;
}

.cta-about h2 {
    font-size: 38px;
    color: #549D41;
    font-weight: 800;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #549D41;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
    transition: .3s ease;
}

.cta-btn:hover {
    background: #5AA936;
    transform: translateY(-3px) scale(1.04);
}


/* ===============================
   RESPONSIVE
================================= */
@media(max-width: 900px) {

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-right img {
        width: 80%;
    }

    .about-hero-inner h1 {
        font-size: 40px;
    }

    .keunggulan h2 {
        font-size: 32px;
    }
}

/* =============================
   ABOUT PAGE â€“ MOBILE FIX
   ============================= */
@media (max-width: 900px) {

    /* Hero About */
    .about-hero {
        padding: 60px 20px !important;
        text-align: center;
    }

    .about-hero h1 {
        font-size: 32px !important;
        line-height: 1.3;
    }

    .about-hero p {
        font-size: 14px;
        max-width: 100%;
    }

    /* Timeline Section */
    .timeline {
        padding: 0 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
        padding: 25px 20px !important;
    }

    .timeline-item img {
        width: 85%;
        max-width: 260px;
        margin: auto;
    }

    /* Team Section */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 20px;
    }

    .team-card {
        padding: 25px !important;
    }

    .team-card img {
        width: 120px !important;
        height: 120px !important;
    }

    .team-card h3 {
        font-size: 18px !important;
    }

    .team-card p {
        font-size: 14px !important;
    }
}

/* ============================================================================================================================================================ */

/* ============================================
   CONTACT PAGE â€“ PREMIUM CLEAN GREEN STYLE
   ============================================ */

.contact-wrapper {
    margin-top: 100px;
    padding: 50px 10% 120px;
    position: relative;
    background: white;
    z-index: 3;
}

/* MOTIF BATIK ATAS */
.contact-wrapper::before {
    content: "";
    position: absolute;
    top: -120px;
    ;
    left: 0;
    width: 100%;
    height: 28%;
    background: url('../img/bgbatik.jpg');
    background-size: 640px;
    background-repeat: repeat;
    opacity: 0.13;
    z-index: 1;
}

/* LENGKUNG PUTIH BAWAH */
.contact-wrapper::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    background: white;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    z-index: 2;
}

/* Ensure content stays above decoration */
.contact-wrapper * {
    position: relative;
    z-index: 5;
}

/* === TITLE === */
.contact-title {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title h1 {
    font-size: 38px;
    color: #549D41;
    font-weight: 800;
}

.contact-title p {
    color: #6B6B6B;
    font-size: 15px;
    margin-top: 5px;
}

/* ====== GRID ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ====== CONTACT CARD ====== */
.contact-card {
    background: #F6FFF0;
    border-radius: 25px;
    padding: 95px;
    border: 3px solid #549D41;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #549D41;
    margin-bottom: 18px;
}

.contact-card p {
    font-size: 16px;
    margin: 8px 0;
    color: #549D41;
}

/* WA Button */
.wa-big-btn {
    background: #25D366;
    color: white;
    font-size: 18px;
    padding: 12px 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: 0.25s;
}

.wa-big-btn:hover {
    transform: translateY(-3px);
}

/* ====== FORM ====== */
.contact-form {
    background: white;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid #549D41;
}

.contact-form label {
    font-weight: 600;
    color: #549D41;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin: 10px 0 18px;
    border-radius: 12px;
    border: 2px solid #549D41;
    background: #F6FFF0;
    outline: none;
    font-size: 16px;
    transition: .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4d8a33;
}

/* SEND BUTTON */
.contact-send-btn {
    width: 100%;
    padding: 14px;
    background: #549D41;
    border-radius: 12px;
    border: none;
    font-size: 18px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
    transition: .25s;
}

.contact-send-btn:hover {
    transform: translateY(-3px);
}

/* MAP */
.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 25px;
    border: none;
    margin-top: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}

/* ====== RESPONSIVE ====== */
@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-title h1 {
        font-size: 30px;
    }

    .contact-wrapper {
        padding: 40px 7% 120px;
    }
}

/* =============================
   CONTACT PAGE â€“ MOBILE FIX
   ============================= */
@media (max-width: 900px) {

    .contact-wrapper {
        padding: 30px 6% 120px;
        margin-top: 120px;
    }

    /* background batik */
    .contact-wrapper::before {
        top: -70px;
        height: 200px;
        background-size: 380px;
    }

    /* lengkungan */
    .contact-wrapper::after {
        bottom: -40px;
        height: 90px;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }


    .contact-card,
    .contact-form {
        margin: 0 14px;
        /* mobile lebih kecil perlu jarak ekstra */
        padding: 25px;
        /* isi tidak terlalu nempel */
    }


    /* Contact Box */
    .contact-info {
        padding: 25px !important;
        text-align: center !important;
    }

    .contact-info h2 {
        font-size: 26px !important;
    }

    .contact-info p {
        font-size: 14px !important;
    }



    .contact-form input,
    .contact-form textarea {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }

    .contact-form button {
        width: 100%;
        font-size: 16px !important;
        padding: 12px !important;
    }

    /* Google Maps */
    .contact-map iframe {
        height: 300px !important;
        border-radius: 20px !important;
    }
}

/* ========================================================================================================================================================== */
/* Mobile Responsive */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* ========================================================================================= */
/* ==============================
   DROPDOWN MENU DESKTOP
   ============================== */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #549D41;
    cursor: pointer;
    padding: 8px 20px;
    text-decoration: none;
}

.dropdown-content {
    position: absolute;
    top: 55px;
    left: 0;
    min-width: 180px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    display: none;
    flex-direction: column;
    z-index: 9999;

    /* animasi smooth */
    opacity: 0;
    transform: translateY(10px);
    transition: .25s ease;
}

.dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 12px 18px;
    display: block;
    text-decoration: none;
    color: #549D41;
    font-weight: 500;
    transition: .2s ease;
}

.dropdown-content a:hover {
    background: #f3ffe6;
    color: #4b8a31;
}

/* ==========================================
   FORCE FIX MOBILE DROPDOWN =============================================================================================
   ========================================== */
@media(max-width:900px) {

    /* perataan nav */
    nav {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* tombol dropdown */
    .dropdown .dropbtn {
        width: 100% !important;
        padding: 12px 25px !important;
        font-size: 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #549D41 !important;
        margin: 0 !important;
    }

    /* container submenu */
    .dropdown-content {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 10px !important;
    }

    .dropdown.open .dropdown-content {
        display: flex !important;
    }

    /* item submenu */
    .dropdown-content a {
        padding: 8px 0 !important;
        font-size: 17px !important;
        color: #549D41 !important;
        border: none !important;
        margin: 0 !important;
    }

    /* Hapus garis atau border apapun */
    .dropdown-content a,
    .dropdown-content,
    .dropdown,
    nav a {
        border: none !important;
    }
}

/* Hover buffer agar mouse bisa turun tanpa menutup */
.dropdown::after {
    content: "";
    position: absolute;
    top: 40px;
    /* sesuai jarak dropbtn → dropdown */
    left: 0;
    width: 100%;
    height: 20px;
    /* area penyangga */
    background: transparent;
}

nav a.active,
.dropdown.active>.dropbtn {
    color: #2f7a28 !important;
    font-weight: 800 !important;
    border-bottom: 3px solid #2f7a28;
}