:root {
    --t: #079a9a;
    --dark: #162b3b;
    --muted: #68757d;
    --bg: #f5fbfb;
    --gold: #d6a84b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================
   HEADER
========================= */

header {
    height: 68px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.brand img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* .logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #102b34;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 900;
} */

.brand b {
    display: block;
    font-size: 17px;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    color: #738087;
    font-weight: bold;
}

.nav nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

.nav nav a:hover {
    color: var(--t);
}

.wa,
.btn {
    background: var(--t);
    color: #fff;
    padding: 12px 18px;
    border-radius: 25px;
}

/* =========================
   HERO
========================= */
.hero {
    width: 100%;
    padding: 20px 0;
    background: #fff;
    overflow: hidden;
}

.hero-slider {
    width: min(1180px, 92%);
    margin: auto;
    position: relative;
    line-height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.hero-slider .slide {
    width: 100%;
    height: auto;

    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
    position: relative;
}

/* =========================
   FEATURES
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 5px 25px #173f3f12;
}

.feature-grid>div {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    grid-column: 1;
    grid-row: 1 / 3;
}

.feature-grid b {
    grid-column: 2;
    grid-row: 1;
    color: var(--dark);
    font-size: 11px;
}

.feature-grid small {
    grid-column: 2;
    grid-row: 2;
    color: #7a878d;
    font-size: 10px;
    margin-top: 0px;
}

/* =========================
   CATALOG
========================= */

.catalog {
    padding: 30px 0;
}

.title {
    text-align: center;
}

.title h1,
.title h2 {
    margin: 7px 0;
    font-size: 30px;
}

.title p {
    color: var(--muted);
    line-height: 1.6;
    /* font-size: 17px; */
}

.title i {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--t);
    margin: 12px auto 30px;
}

.cat-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 15px;
    padding: 10px;
    margin: 18px 0;
    background: linear-gradient(90deg,
            #e9f8f8,
            #fff);
    border: 1px solid #edf1f1;
    border-radius: 22px;
}

.cat-info {
    padding: 18px;
}

.cat-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--t);
    border-radius: 50%;
    color: #fff;
}

.cat-info h3 {
    font-size: 17px;
    margin: 10px 0;
}

.cat-info p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.cat-info a {
    font-size: 12px;
    color: var(--t);
    font-weight: bold;
}

/* =========================
   PRODUCT
========================= */

.products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
}

.card {
    display: block;
    background: #fff;
    border: 1px solid #e6eeee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px #17444412;
}

.pic {
    height: 214px;
    background: #eaf6f6;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #9aa6aa;
    font-size: 11px;
}

.pic img {
    width: 100%;
    height: 214px;
    object-fit: contain;
}

.card h4 {
    font-size: 11px;
    margin: 9px 10px 5px;
}

.card small {
    font-size: 9px;
    color: var(--t);
    margin: 0 10px 10px;
    display: block;
}

/* =========================
   ABOUT
========================= */

/* Header Tambahan */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header label {
    display: block;
    /* Memastikan label bisa teratur posisinya di tengah */
    margin-bottom: 0.5rem;
}

/* Mengatur Tata Letak 2 Kolom (Kiri & Kanan) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Membagi 2 kolom sama besar */
    gap: 2.5rem;
    /* Jarak antar kolom */
}

/* Styling Kolom & List */
.about-col p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-col ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.about-col ul li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Styling Khusus Visi & Misi */
.visi-box {
    margin-bottom: 1.5rem;
}

.visi-box h3,
.misi-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
    /* Sesuaikan warna dengan tema kamu */
}

/* Responsif untuk Layar HP (Layar Kecil) */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        /* Di HP akan otomatis menumpuk ke bawah */
        gap: 1.5rem;
    }
}


/* .soft {
    background: var(--bg);
    padding: 50px 0;
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two h2 {
    font-size: 32px;
}

.two p {
    color: var(--muted);
    line-height: 1.8;
} */

/* =========================
   STEPS
========================= */

.steps {
    padding: 55px 0;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.step-grid b {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--t);
    color: #fff;
    display: grid;
    place-items: center;
    margin: auto;
}

.step-grid h4 {
    font-size: 13px;
    margin: 10px 0;
}

.step-grid p {
    font-size: 10px;
    color: var(--muted);
}


/*==========================
    MITRA
========================= */

/* Container Mitra */
.client-logos {
  padding: 35px 0;
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
  overflow: hidden;
    display: grid;
    /* grid-template-columns: repeat(5, 1fr); */
    /* gap: 9px; */
}

/* Wrapper Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Container Gambar yang Berjalan */
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 50px; /* Jarak antar logo */
  animation: marquee-scroll 20s linear infinite;
}

.marquee-content img {
  height: 40px; /* Tinggi diselaraskan agar rapi */
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%); 
  opacity: 0.7; */
  transition: all 0.3s ease;
}

/* Logo menyala warna aslinya saat di-hover mouse */
/* .marquee-content img:hover {
  filter: grayscale(0%);
  opacity: 1;
} */

/* Efek Berhenti Saat Di-hover */
/* .marquee:hover .marquee-content {
  animation-play-state: paused;
} */

/* Keyframes Animasi Kanan ke Kiri */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Geser setengah panjang dari total duplikasi */
  }
}

/* =========================
   TESTIMONIAL
========================= */

.soft {
    padding: 35px 0;
}
.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.quotes blockquote {
    margin: 0;
    background: #fff;
    border: 1px solid #e5eeee;
    border-radius: 14px;
    padding: 22px;
    font-size: 12px;
    line-height: 1.6;
    color: #657279;
}

.quotes b {
    display: block;
    margin-top: 15px;
    color: var(--dark);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #087f87;
    color: #fff;
    padding-top: 38px;
}

.foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-bottom: 28px;
}

.foot a,
.foot p {
    font-size: 11px;
    line-height: 1.8;
    display: block;
}

.foot h4 {
    font-size: 13px;
}

.copy {
    text-align: center;
    border-top: 1px solid #fff3;
    padding: 13px;
    font-size: 10px;
}

/* =========================
   WHATSAPP
========================= */

.float-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #18b96c;
    color: #fff;
    padding: 12px 17px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: bold;
}

/* =========================
   DETAIL / LISTING
========================= */

.listing,
.detail {
    padding: 40px 0 80px;
}

.crumb {
    font-size: 12px;
    color: var(--muted);
}

.crumb a {
    color: var(--t);
}

.all-products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

/* Menggunakan kelas .large .pic yang sudah ada di CSS Anda */
.large .all-pic {
    width: 100%;
    height: 280px;
    /* Menjaga tinggi card katalog tetap seragam */
    overflow: hidden;
    border-radius: 12px;
}

.large .all-pic img {
    width: 100%;
    height: 100%;
    display: block;
    /* Menghilangkan celah garis kosong bawaan tag img */
    object-fit: cover;
    /* Memaksa gambar mengisi penuh area tanpa celah kiri-kanan */
}


.detail-grid {
    display: grid;
    grid-template-columns: auto 1fr 300px;
    gap: 40px;
    align-items: center;
}

.detail-pic {
    height: 500px;
    background: #f4f7f7;
    border-radius: 18px;
    overflow: hidden;
    /* Membuat ukuran kotak membungkus gambar pas di kiri-kanan */
    width: fit-content;
    justify-self: center;
    /* Mengatur posisi kotak di tengah kolom */
}

.detail-pic img {
    height: 500px;
    width: auto;
    /* Lebar otomatis mengikuti proporsi asli gambar */
    display: block;
}

.detail h1 {
    font-size: 40px;
}

.detail p {
    color: var(--muted);
    line-height: 1.8;
}

.detail-category a {
    color: var(--t);
    text-decoration: none;
    font-weight: 600;
}

.detail-category a:hover {
    text-decoration: underline;
}



.detail-cta-card {
    position: sticky;
    top: 20px;
    background: #ffffff;
    border: 1px solid #e0eeee;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Penyesuaian list dan tombol di dalam card */
.detail-cta-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.detail-cta-card .feature-list li {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.detail-cta-card .btn {
    display: block;
    text-align: center;
    background: var(--t);
    /*background: #25d366;  Warna khas WhatsApp */
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
}

.detail-cta-card .cta-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
}




.spec-table,
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td,
.spec-table th,
.info-table td,
.info-table th {
    padding: 10px 0;
    border-bottom: 1px dashed #e0eeee;
    text-align: left;
    font-size: 13px;
    vertical-align: top;
}

.spec-table th,
.info-table th {
    width: 110px;
    color: var(--dark);
    font-weight: bold;
}

.spec-table td {
    color: var(--muted);
    line-height: 1.5;
}

.info-table th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.info-table a {
    color: var(--t);
    font-weight: bold;
}

/* =========================
   MOBILE MENU
========================= */

.menu {
    display: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .nav nav {
        display: none;
    }

    .menu {
        display: block;
        border: 0;
        background: none;
        font-size: 24px;
    }

    .nav nav.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 8px 20px #0001;
    }

    .two,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-row {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

    .all-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .large .all-pic {
        height: 325px;
    }

    .large .all-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .foot {
        grid-template-columns: repeat(2, 1fr);
    }

    .pic {
        height: 320px;
    }

    .pic img {
        height: 320px;
        object-fit: cover;
        object-position: center;
    }

    .section-header h2 {
        font-size: 1.6rem;
        /* Judul sedikit diperkecil agar pas di tablet */
    }

    .about-grid {
        gap: 1.5rem;
        /* Jarak antar kolom agak dirapatkan */
    }

    .about-col p,
    .about-col ul li {
        font-size: 0.95rem;
        /* Ukuran teks disesuaikan */
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {


    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cat-row {
        padding-top: 2px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .products .pic {
        height: 240px !important;
    }

    .products .pic img {
        height: 240px !important;
        object-fit: cover;
        object-position: center;
    }

    .all-products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }


    .large .all-pic {
        height: 250px !important;
    }

    .large .all-pic img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    .step-grid,
    .quotes {
        grid-template-columns: 1fr 1fr;
    }

    .foot {
        grid-template-columns: 1fr 1fr;
        gap: 5px
    }

    .detail h1 {
        font-size: 30px;
    }

    .detail-pic {
        height: 450px;
    }

    .soft {
        padding: 20px 0;
    }

    .two {
        gap: 1px;
    }

    .steps {
        padding: 20px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
        /* Ukuran judul disesuaikan untuk HP */
        line-height: 1.4;
    }

    /* Memberikan sedikit batas visual antara Keterangan dan Visi/Misi di HP */
    .about-col.keterangan {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
        /* Garis pemisah halus */
    }

    .visi-box,
    .misi-box {
        background-color: #f9f9f9;
        /* Memberi efek kartu tipis di HP */
        padding: 1.2rem;
        border-radius: 8px;
    }

    .about-col ul {
        padding-left: 1rem;
    }


    .marquee-content {
        gap: 30px;
        animation-duration: 12s; /* Sedikit lebih cepat di HP */
    }
    .marquee-content img {
        height: 20px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 430px) {

    .step-grid,
    .quotes,
    .all-products {
        grid-template-columns: 1fr;
    }

    .large .all-pic {
        height: 210px;
    }

    .large .all-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .foot {
        grid-template-columns: 1fr;
    }

    .detail-pic {
        height: 320px;
    }

    .detail-pic img {
        height: 320px;
        object-fit: cover;
        object-position: center;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .products .pic {
        height: 200px;
    }

    .products .pic img {
        height: 200px;
        object-fit: cover;
        object-position: center;
    }
}