* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Poppins, sans-serif;
}
.navbar {
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #169ea2;
    padding: 1rem 8rem;
    top: 0;
    z-index: 1000;
}

@media (min-width: 768px) and (max-width: 1501px) {
    .navbar {
        padding: 1rem 1.5rem;
        /* padding-right: 2rem; */
    }
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0; /* reset default ul */
    padding: 0; /* reset default ul */
    transition: box-shadow 0.3s ease-in-out;
}

.navbar .logo img {
    height: 50px;
}
.burger-menu {
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

.nav-links.active {
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.nav-links li {
    display: inline-block;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.nav-links a:hover {
    color: #bb9d50;
}
.nav-links a.active {
    font-weight: bold;
    color: #d1ad4f;
}
.close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 34px;
    color: #7f8c8d;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
@media (max-width: 768px) {
    .nav-links a {
        color: #169ea2;
    }
    .navbar {
        padding: 1rem;
    }
    .burger-menu {
        display: block;
    }
    .nav-links {
        /* text-align: start; */
        align-items: flex-start; /* ini bikin konten nempel kiri */
        display: none;
        color: #169ea2;
        width: 70%;
        flex-direction: column;
        padding-top: 20px;
        padding-left: 30px;
        position: absolute;
        top: 0;
        left: 0;
        background-color: white;
        height: 100vh;
        gap: 2rem;
    }
    .cta-icon {
        display: none;
    }
    .cta-text {
        color: #fff;
    }
    .cta-text {
        display: none;
    }
    .cta {
        display: none;
    }
    .contact-title {
        display: none;
    }
    .nav-links.active {
        display: flex;
    }

    .consultation-button {
        width: 100%;
        text-align: center;
    }
    .close-btn {
        display: block;
    }
}
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        position: static;
        width: auto;
        gap: 1.5rem;
    }
    .burger-menu {
        display: none;
    }
}
.logos {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    background: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .logos {
        padding-top: 40px;
        margin-top: 0;
        margin-bottom: 0;
    }
}
.logos__viewport {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    padding: 0 40px;
    box-sizing: border-box;
}
.logos__track {
    display: flex;
    width: fit-content;
    animation: scroll-logos 10s linear infinite;
}
.logos__spacer {
    width: 60px;
    flex-shrink: 0;
}
.logos__img {
    flex: 0 0 auto;
    padding: 0 40px;
    transition: opacity 0.3s;
}
.logos__img img {
    height: 40px;
    width: auto;
    opacity: 0.2;
    transition: 0.3s;
}
.logos__img:hover img {
    opacity: 0.6;
}
#cta-button {
    display: flex;
    align-items: center;
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    width: fit-content;
    transition: background-color 0.3s ease;
}
/* #cta-button:hover {
    background-color: #128c7e;
} */
.cta-icon {
    margin-right: 12px;
}
.cta-text {
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
}
.cta-text span {
    margin: 0;
}
.cta-text .contact-title {
    font-weight: bold;
}
@media screen and (max-width: 1023px) {
    .logos__img {
        padding: 0 30px;
    }
    .logos__img img {
        height: 30px;
    }
}
@media screen and (max-width: 767px) {
    .logos__viewport {
        padding: 0 20px;
    }
    .logos__img {
        padding: 0 20px;
    }
    .logos__img img {
        height: 26px;
    }
}
@media screen and (max-width: 480px) {
    .logos__img img {
        height: 22px;
    }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
h2 {
    font-size: 26px;
    font-weight: bold;
}
p {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    p {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
}
footer {
    font-family: "Poppins", sans-serif;
    background-color: #169ea2;
    margin: 80px 0 0 0;
    padding: 40px 0;
    color: #fff;
    border-top: 1px solid #ddd;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
    gap: 150px;
}
@media (max-width: 768px) {
    .footer-container {
        margin-bottom: 0;
    }
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.footer-logo img {
    width: 100px;
    margin-right: 10px;
}
.footer-logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d1ad4f;
}
.footer-logo p {
    font-size: 1rem;
    color: #6c757d;
}
.footer-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}
.footer-column ul {
    list-style-type: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #fff;
    text-decoration: none;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 10px;
}
.footer__social-link {
    font-size: 1.5rem;
    transition: 0.3s;
}
.footer__social-link:hover {
    color: #d1ad4f;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px;
}
.footer-bottom p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.footer-column {
    flex: 1 1 0;
    text-align: left;
}
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-logo {
        margin-right: 50px;
    }
    .footer-links {
        flex-direction: row;
        width: 100%;
    }
    .footer-column {
        width: auto;
        flex: 1 1 150px;
        min-width: 100px;
    }
}
@media (max-width: 768px) {
    footer {
        margin: 40px 0 0 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
        gap: 0;
    }
    .footer-logo {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-logo img {
        width: 70px;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
    }
    .footer-column {
        text-align: left;
        margin-bottom: 15px;
        flex: 1 1 150px;
        min-width: 100px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }
    .footer-bottom p {
        color: #fff;
        width: 100%;
        font-size: 1rem;
        margin-bottom: 10px;
    }
}
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 12px 20px;
    text-decoration: none;
    color: #169ea2;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.2s ease;
    border: 1px solid #169ea2;
}
.floating-whatsapp:hover {
    transform: scale(1.05);
}
.floating-whatsapp-text {
    margin-right: 15px;
    max-width: 220px;
    line-height: 1.4;
}
.floating-whatsapp-icon {
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
a {
    text-decoration: none;
}
/* Layanan Klinik Open */

.clinic-services {
    text-align: center;
    padding: 40px 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #169ea2;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #ffffff;
    padding: 20px;
    border: 2px solid #169ea2;
    border-radius: 8px;
    width: 280px;
    text-align: start;
    transition: transform 0.3s ease-in-out;
    display: none; /* disembunyikan dulu */
}

@media (max-width: 619px) {
    .service-card {
        width: 100%;
    }
}

.service-card.active {
    display: block; /* hanya yang aktif yang muncul */
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    margin-bottom: 15px;
}

.service-card img {
    width: 43px;
    height: 43px;
}

.service-card h3 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    /* margin-bottom: 5px; */
    color: #169ea2;
}

.service-card p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    color: #777;
}

.contact-btn {
    background-color: #169ea2;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: #237c7c;
}

.pagination-wrapper {
    margin-top: 20px;
}

.pagination-btn {
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #169ea2;
    border-radius: 50%;
    color: #169ea2;
    margin: 0 5px;
    font-size: 20px;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Layanan Klinik Close */

/* Map Open */

.clinic-location {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 40px 20px; */
    padding-left: 20px; /* Add padding on the left */
    padding-right: 20px;
}

.location-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
}

.map-column {
    flex: 1;
}
/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .map-column {
        flex: 0;
        width: 100%;
    }
}

.info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.clinic-logo {
    width: 250px;
    margin-bottom: 15px;
}

.hashtag {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #169ea2;
    margin-bottom: 10px;
}

.description {
    font-family: "Poppins", sans-serif;

    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.address {
    font-family: "Poppins", sans-serif;

    font-size: 18px;
    color: #7f8c8d;
}

.map-column iframe {
    border-radius: 15px; /* Add border radius here */
}

@media (max-width: 768px) {
    .location-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .map-column iframe {
        height: 250px;
    }

    /* .info-column {
        text-align: center;
    } */

    .clinic-logo {
        width: 180px;
        margin-bottom: 10px;
    }

    .hashtag {
        font-size: 1.1em;
        margin-bottom: 5px;
    }

    .description {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .address {
        font-size: 0.95em;
    }
}
/* Map Close */

/* Artikel Open */
.articles-section {
    padding: 40px 20px;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #169ea2;
}

.articles-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.article-card {
    width: 280px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.article-image {
    position: relative;
    width: 100%;
    height: 400px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(45, 156, 159, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: white;
    text-align: center;
}

.article-title {
    font-family: "Poppins", sans-serif;
    text-align: start;
    line-height: 1.1;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.article-description {
    font-family: "Poppins", sans-serif;
    text-align: start;
    font-size: 0.9em;
    margin-top: 2px;
}

.article-description {
    line-height: 1.2;
}

@media (max-width: 768px) {
    .articles-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .article-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .article-title {
        font-size: 1em;
    }

    .article-description {
        font-size: 0.85em;
    }
}

/* Artikel Close */

/* Galeri Open */

/* ===== Section ===== */
.gallery-section {
    text-align: center;
    padding: 40px 20px;
}
.gallery-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #169ea2;
}

/* ===== Container utama: jadikan konteks posisi, hindari flex agar iOS tidak mendorong tombol ===== */
.gallery-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    /* Jangan pakai display:flex di sini */
    -webkit-transform: translateZ(0); /* stabilkan stacking di iOS Safari */
    transform: translateZ(0);
}

/* ===== Track gambar ===== */
.gallery-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 64px; /* ruang untuk tombol kiri/kanan */
    scrollbar-width: none;
    cursor: grab;
}
.gallery-images::-webkit-scrollbar {
    display: none;
}
.gallery-images.grabbing {
    cursor: grabbing;
}

.gallery-images img {
    flex: 0 0 auto;
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    scroll-snap-align: start;
    display: block;
    position: relative;
    z-index: 1; /* pastikan gambar di bawah tombol */
}

/* ===== Tombol panah (overlay) ===== */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3; /* di atas gambar */
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}

.prev-btn button,
.next-btn button {
    background-color: rgba(45, 156, 159, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: 0;
}
.prev-btn button:hover,
.next-btn button:hover {
    background-color: #237c7c;
}

/* ===== Responsif ===== */
@media (max-width: 768px) {
    .gallery-images {
        padding: 8px 56px;
    }
    .gallery-images img {
        width: 200px;
        height: 250px;
    }
    .prev-btn button,
    .next-btn button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .gallery-images {
        padding: 8px 52px;
    }
    .gallery-images img {
        width: 160px;
        height: 210px;
    }
    .prev-btn button,
    .next-btn button {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
}
/* Galeri Close */
/* Kontak Open */

/* Kontak Close */

/* Sertifikat Open */
.certificates {
    padding: 28px 0;
    color: #204f46;
}

.cert-wrap {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 16px; /* aman dari tepi layar kecil */
}

.cert-wrap h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
    font-weight: 700;
}

/* ====== Scroller (flex supaya lebar item mengikuti isi) ====== */
.cert-scroller {
    display: flex;
    gap: 12px;
    padding: 12px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding: 16px; /* biar snap mulai dari tepi konten */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;

    /* sembunyikan scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge lama */
}
.cert-scroller::-webkit-scrollbar {
    display: none;
} /* Chrome/Safari/Edge */

/* ====== Item/Kartu ====== */
.cert-card {
    margin: 0; /* hilangkan margin default figure */
    flex: 0 0 auto; /* lebar item = selebar isi */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

/* ====== Gambar: tinggi fix, lebar otomatis mengikuti rasio ====== */
.cert-card img {
    height: 200px; /* tinggi seragam di mobile */
    width: auto; /* lebar mengikuti rasio */
    max-width: 100%; /* jaga agar tidak melebihi lebar viewport */
    display: block; /* hilangkan gap inline */
    object-fit: contain; /* tidak terpotong */
}

/* ====== Responsif ====== */
@media (min-width: 640px) {
    .cert-wrap h2 {
        font-size: 26px;
    }
    .cert-scroller {
        gap: 16px;
        padding: 16px;
        scroll-padding: 16px;
    }
    /* .cert-card img {
        height: 240px;
    }  */
}

/* opsional: fade kiri/kanan supaya ujung scroll terasa halus (aktifkan bila perlu) */

@media (min-width: 560px) {
    .cert-scroller {
        mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 24px,
            #000 calc(100% - 24px),
            transparent 100%
        );
    }
}

/* Sertifikat Close */
/* Keunggulan Open */
.keunggulan {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    padding-left: 10%; /* Change to relative units for better responsiveness */
    padding-right: 0;
}

.container {
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.text-column {
    flex: 1;
    margin: 20px;
    min-width: 280px;
    display: flex; /* Tambahkan ini */
    flex-direction: column; /* Agar isi tetap tersusun vertikal */
    justify-content: center; /* Untuk menengahkan vertikal */
}

/* .text-column {
    flex: 1;
    margin: 20px;
    min-width: 280px; 
} */

h2 {
    font-family: "Poppins", sans-serif;

    font-size: 24px;
    margin-bottom: 20px;
}

.keunggulan-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    background-color: #169ea2;
    padding: 15px; /* Adjust padding for smaller screens */
    border-radius: 50%;
    margin-right: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.icon img {
    width: 30px;
    height: 30px;
}

.description h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.description p {
    font-size: 14px;
}

.image-column {
    flex: 1;
    min-width: 280px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .text-column {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .keunggulan {
        /* padding-left: 16px; */
        padding: 0 20px;
        padding-right: 0;
    }
    .clinic-services {
        padding: 0 20px;
    }
    .keunggulan-item {
        flex-direction: column;
        align-items: flex-start; /* Adjust alignment for smaller screens */
    }

    .icon {
        margin-bottom: 10px; /* Adjust for vertical stacking */
    }
}
/* Keunggulan Close */

/* Intro */
.section-kesehatan {
    display: flex;
    align-items: stretch;
    color: #fff;
}
/* Beda */
.section-kesehatan .kolom-text {
    flex: 1;
    padding: 60px 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #169ea2;
    margin-bottom: 70px;
    border-bottom-right-radius: 60px;
}
.section-kesehatan .kolom-teks {
    flex: 1;
    padding: 60px 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #169ea2;
    border-bottom-right-radius: 60px;
}
.section-kesehatan .kolom-layanan {
    flex: 1;
    /* padding: 60px 120px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: #169ea2; */
    margin-bottom: 70px;
    border-bottom-right-radius: 60px;
}

.section-kesehatan .kolom-text h2 {
    font-family: "Poppins", sans-serif;

    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #fff;
}

.section-kesehatan .kolom-text p {
    font-family: "Poppins", sans-serif;

    font-size: 16px;
    margin-bottom: 30px;
    color: #dbecec;
}

.section-kesehatan .kolom-text .btn {
    font-family: "Poppins", sans-serif;

    display: inline-block;
    background: #fff;
    color: #009999;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    width: 170px;
}
.section-kesehatan .kolom-teks h2 {
    font-family: "Poppins", sans-serif;

    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #fff;
}

.section-kesehatan .kolom-teks p {
    font-family: "Poppins", sans-serif;

    font-size: 16px;
    margin-bottom: 30px;
    color: #dbecec;
}

.section-kesehatan .kolom-teks .btn {
    font-family: "Poppins", sans-serif;

    display: inline-block;
    background: #fff;
    color: #009999;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    width: 170px;
}

.section-kesehatan .kolom-gambar {
    /* flex: 1.2;
    background-color: #169ea2 !important;
    display: flex;
    align-items: stretch;
    overflow: hidden; */
    display: flex;
    align-items: stretch;
    background: linear-gradient(to bottom, #169ea2 50%, #ffffff 50%);
    color: #fff;
}

.section-kesehatan .kolom-gambar img {
    /* background-color: #009999 !important; */
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    border: 15px solid #fff;
    border-right: none;
    width: 100%;
    object-fit: cover;
}

.section-kesehatan .kolom-lengkung {
    display: flex;
    align-items: stretch;
    background: linear-gradient(to bottom, #169ea2 50%, #ffffff 50%);
    background-color: #fff;
    color: #fff;
}

.section-kesehatan .kolom-lengkung img {
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    /* border: 25px solid #fff; */
    border-right: none;
    width: 100%;
    object-fit: cover;
}

.kolom-teks {
    color: #fff;
}

.kolom-des {
    font-family: "Poppins", sans-serif;
    min-height: 300px; /* Menggunakan min-height agar konten bisa menyesuaikan */
    color: #2a5c5d;
    padding: 0 120px;
    line-height: 1.8;
    font-size: 18px;
}

@media (min-width: 1165px) and (max-width: 1500px) {
    .kolom-des {
        padding: 0 20px;
    }
}
/* Beda */
@media (max-width: 1500px) {
    .section-kesehatan .kolom-teks {
        padding-left: 20px;
        margin-bottom: 0;
    }
    .section-kesehatan .kolom-text {
        padding-left: 20px;
        margin-bottom: 0;
    }
}
@media (max-width: 1164px) {
    .section-kesehatan .kolom-lengkung img {
        height: 10px;
    }
    .section-kesehatan .kolom-text {
        padding: 0 20px 20px 20px;
        margin-bottom: 0;
    }
    .section-kesehatan .kolom-teks {
        padding: 0 20px 20px 20px;
        margin-bottom: 0;
    }
    .section-kesehatan .kolom-layanan {
        margin-bottom: 0;
    }

    .kolom-des {
        height: auto;
        padding: 20px;
    }
    .section-kesehatan {
        flex-direction: column;
    }
    .section-kesehatan .kolom-gambar {
        background: #fff !important;
        border-radius: 0;
    }
}
/* Intro */
/* Layanan */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.vaksin-section {
    text-align: center;
    margin: 50px auto;
    margin-top: 0;
    max-width: 1200px;
    padding: 20px;
}

.vaksin-title {
    font-size: 2rem;
    color: #169ea2;
}

.vaksin-subjudul {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.prosedur-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.vaksin-left-column,
.vaksin-right-column {
    flex: 1;
}

.vaksin-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.vaksin-circle-container {
    position: relative;
}

.vaksin-circle-number {
    position: absolute;
    top: 0;
    /* left: -20px; */
    font-size: 16px;
    color: #169ea2;
}

.vaksin-img {
    margin-left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.vaksin-step p {
    text-align: start;
    font-size: 1rem;
    color: #7f8c8d;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .prosedur-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .vaksin-left-column,
    .vaksin-right-column {
        flex: unset;
        margin-bottom: 20px;
    }

    .vaksin-step {
        /* 12:37 1 */
        /* padding: 0 20px; */

        /* flex-direction: column; */
        align-items: center;
        margin-bottom: 0;
    }

    .vaksin-circle-container {
        margin-bottom: 10px;
    }

    .vaksin-img {
        margin-bottom: 10px;
    }
}

/* Layanan Close */

/* Produk vaksin */

.vaksin-section {
    font-family: "Poppins", sans-serif;
    text-align: center;
    margin: 50px auto;
    margin-top: 0;
    max-width: 1200px;
    padding: 20px;
}

.vaksin-title {
    font-size: 2rem;
    color: #169ea2;
}

.vaksin-subjudul {
    text-align: start;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.vaksin-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vaksin-card {
    border: 2px solid #169ea2;
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
    text-align: start;
    /*  */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vaksin-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 5px;
}

.sub {
    font-family: "Poppins", sans-serif;

    font-weight: 600;
    font-size: 1.2rem;
    color: #169ea2;
}
.vaksin-card p {
    line-height: 1.3;
    font-size: 1rem;
    color: #169ea2;
}

.vaksin-type,
.vaksin-brand {
    font-size: 1rem;
    color: #7f8c8d;
}

.vaksin-price {
    font-family: "Poppins", sans-serif;
    background: #169ea2;
    font-size: 1.1rem;
    font-weight: bold;
    width: auto;
    padding: 5px 10px;
    margin: 5px 0;
    /* margin-top: 10px; */
    /* margin-top: auto; */

    border-radius: 10px;
}
.vaksin-price p {
    color: #fff;
}

@media (max-width: 768px) {
    .vaksin-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .vaksin-container {
        grid-template-columns: 1fr;
    }
}

/* Produk Vaksin Close */

/* Search */
/* 
.service-section {
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.service-title {
    text-align: start;
    font-size: 2rem;
    color: #169EA2;
    margin-bottom: 15px;
}

.service-description {
    text-align: start;
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: #169EA2;
}

.search-input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #169EA2;
    border-radius: 5px;
    outline: none;
    transition: border 0.3s ease;
}

.search-input:focus {
    border-color: #005f45;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.8rem;
    }
} */
.service-section {
    font-family: "Poppins", sans-serif;

    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.service-title {
    text-align: start;
    font-size: 2rem;
    color: #169ea2;
    margin-bottom: 15px;
}

.service-description {
    text-align: start;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* --- FORM SEARCH --- */
.search-container {
    font-family: "Poppins", sans-serif;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.search-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: #169ea2;
    white-space: nowrap;
}

.search-input {
    font-family: "Poppins", sans-serif;
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #169ea2;
    border-radius: 20px; /* bulat panjang */
    outline: none;
    transition: border 0.3s ease;
}

.search-input:focus {
    border-color: #005f45;
}

/* Optional kalau mau tetap ada tombol */
.search-button {
    font-family: "Poppins", sans-serif;
    padding: 10px 20px;
    background-color: #169ea2;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background-color: #005f45;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 16px;
        /* font-size: 0.8rem; */
    }
}

/* Search Close */
/* Pagination */
.pagination-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #169ea2; /* warna border */
    border-radius: 8px;
    background-color: #fff;
    color: #169ea2;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #169ea2;
    color: #fff;
}

.pagination-btn.disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}
/* Pagination Close */
/* Detail Opem */
.vaccine-info-section {
    font-family: Arial, sans-serif;
    padding: 0;
}

.vaccine-container {
    display: flex;
    flex-direction: column;
}

.vaccine-image {
    width: 100%;
    height: 550px; /* Menetapkan ketinggian gambar */
    margin-bottom: 20px; /* Menambahkan sedikit jarak di bawah gambar */
}

.vaccine-image img {
    width: 100%;
    height: 100%; /* Menyesuaikan tinggi gambar dengan kontainer */
    object-fit: cover; /* Agar gambar tetap proporsional dan tidak terdistorsi */
}
.vaccine-title {
    font-size: 32px;
    font-weight: bold;
    color: #2e4a4f;
    margin-bottom: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    text-align: start;
}

.vaccine-description {
    font-size: 18px;
    color: #3b5955;
    margin-bottom: 20px;
}
.vaccine-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #2e4a4f;
    margin-bottom: 15px;
}

.vaccine-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

.vaccine-content {
    font-family: "Poppins", sans-serif;
    color: #3b5955;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    line-height: 1.5;
    letter-spacing: 1px;
    font-size: 16px;
    background-color: #fcfcfd;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.vaccine-content li {
    font-size: 16px !important;
    color: #3b5955;
    line-height: 1.5;
    letter-spacing: 1px;
}
.vaccine-content p {
    font-size: 16px !important;
    margin-bottom: 10px;
}
.vaccine-content ol li {
    font-size: 16px !important;
    color: #555;
    line-height: 1.5;
    letter-spacing: 1px;
}
.vaccine-content ol {
    padding-left: 1.8em;
}

.vaccine-content strong {
    color: #555;
    line-height: 1.5;
    letter-spacing: 1px;
}

.vaccine-content li strong {
    color: #2e4a4f;
}

/* Media Queries untuk Responsiveness */
@media (max-width: 768px) {
    .vaccine-container {
        flex-direction: column; /* Mengubah arah layout ke kolom pada layar kecil */
    }

    .vaccine-content {
        margin: 0 10px; /* Memberikan margin lebih kecil pada layar kecil */
    }

    .vaccine-title {
        padding: 20px;
        font-size: 28px; /* Mengurangi ukuran font judul pada layar kecil */
    }

    .vaccine-subtitle {
        font-size: 20px; /* Mengurangi ukuran font subjudul pada layar kecil */
    }

    .vaccine-description,
    .vaccine-benefits li {
        font-size: 16px; /* Mengurangi ukuran font isi artikel pada layar kecil */
    }

    .vaccine-image {
        height: 250px; /* Menurunkan ketinggian gambar pada layar kecil */
    }
}
/* Detail Close */
/* Visi Misi Open */
.vision-mission-section {
    font-family: Arial, sans-serif;
    padding: 50px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
}
/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #2e4a4f;
    text-align: center;
    margin-bottom: 10px;
}

.section-content {
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column; /* Menyusun visi dan misi secara vertikal */
    gap: 40px; /* Memberikan jarak antar bagian */
}

@media (max-width: 768px) {
    .section-content {
        gap: 0;
    }
}

.vision,
.mission {
    width: 100%; /* Mengatur agar keduanya 100% lebar */
}

.vision-title,
.mission-title {
    font-size: 28px;
    font-weight: bold;
    color: #2e4a4f;
    margin-bottom: 10px;
}

.vision-text {
    font-family: "Poppins", sans-serif;

    font-size: 18px;
    color: #2a5c5d;
    line-height: 1.6;
}

.mission-list {
    font-family: "Poppins", sans-serif;

    list-style-type: decimal; /* ubah jadi angka */
    padding-left: 20px;
}

.mission-item {
    font-size: 18px;
    color: #2a5c5d;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 768px) {
    .kolom-des {
        font-size: 16px;
    }
    .vision-text {
        font-size: 16px;
    }
    .mission-item {
        font-size: 16px;
    }
    .section-content {
        flex-direction: column;
    }

    .vision,
    .mission {
        width: 100%;
        margin-bottom: 10px;
    }
}
/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 25px;
    }
    .vision-title,
    .mission-title {
        font-size: 20px;
    }
}

/* Visi Misi Close */
/* Team Open */
:root {
    --teal: #0ea79a;
    --teal-2: #12a79f;
    --muted: #6b7b7a;
    --bg: #ffffff;
    --card-bg: #0ea79a;
    --accent: #0ea79a;
    --radius: 18px;
    --container-max: 1200px;
    --text: #114441;
    --shadow: 0 8px 18px rgba(3, 36, 34, 0.08);
    --card-overshoot: 60px; /* ruang kepala boleh keluar di atas */
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial;
}

.team-section {
    /* padding: 56px 24px; */
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    color: var(--text);
    display: flex;
    justify-content: center;
}
.team-inner {
    font-family: "Poppins", sans-serif;
    width: 100%;
    max-width: var(--container-max);
}
/* Responsif untuk perangkat mobile */
@media (max-width: 1229px) {
    .team-section {
        margin: 0 20px;
    }
}

.team-title {
    text-align: center;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #164b47;
}
.team-desc {
    max-width: 1200px;
    /* padding: 0 20px; */
    margin: 12px 0 20px 0;
    color: #2a5c5d;
    /* text-align: center; */
    line-height: 1.5;
}

.team-filters {
    display: flex;
    gap: 12px;
    /* margin-bottom: 28px; */
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.team-filters::-webkit-scrollbar {
    display: none;
}
.filter-btn {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1.5px solid #cfe9e6;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #0b6b66;
    flex: 0 0 auto;
    min-width: 120px;
    text-align: center;
}
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
}

.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    /* margin-top: 70px; */
}

/* >>> Perbaikan di viewport: biarkan vertikal visible + ruang semu ke atas */
.carousel-viewport {
    overflow-x: hidden; /* aman horizontal */
    overflow-y: visible; /* IZINKAN konten melewati batas atas/bawah */
    flex: 1;
    padding-top: var(--card-overshoot);
    margin-top: calc(var(--card-overshoot) * -1);
}

.carousel-track {
    display: flex;
    gap: 28px;
    transition: transform 400ms cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform;
    padding: 8px 0;
}

.team-card {
    position: relative;
    width: calc((80% - 56px) / 3);
    min-width: 220px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible; /* jangan memotong foto yang keluar */
}

/* --- PERBAIKAN CARD & FOTO --- */
.card-bg {
    width: 80%;
    height: 300px;
    border-radius: 28px;
    /* background: #169ea2; */
    background: linear-gradient(
        to bottom,
        rgba(22, 158, 162, 0) 0%,
        /* transparan di atas */ rgba(22, 158, 162, 1) 100% /* penuh di bawah */
    );
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .card-bg {
        width: 100%;
        height: 280px;
    }
}

.team-photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 120%;
    border-radius: 15px;

    object-fit: contain;
    object-position: bottom center;
    transition:
        transform 0.3s ease,
        filter 0.3s ease; /* animasi halus */
}
/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .team-photo {
        border-radius: 28px;
    }
}

/* efek zoom saat kursor diarahkan */
.card-bg:hover .team-photo {
    transform: translateX(-50%) scale(1.08); /* membesar */
    filter: brightness(1.05); /* opsional: sedikit lebih cerah */
}

/* .card-bg {
    width: 100%;
    height: 280px;
    border-radius: 28px;
    background: var(--card-bg);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

.team-photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 120%;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 28px;
} */

/* --- END PERBAIKAN --- */

.card-info {
    margin-top: 10px;
    padding: 0 6px;
}
.team-name {
    font-weight: 600;
    color: #114441;
    font-size: 18px;
}
.team-role {
    color: var(--muted);
    font-size: 16px;
    margin-top: 6px;
}

.carousel-btn {
    color: #009999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #cfe9e6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}
.carousel-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (max-width: 1000px) {
    .team-card {
        width: calc((100% - 28px) / 2);
    }
}

@media (max-width: 600px) {
    .carousel-viewport {
        padding-top: 70px;
    }
    :root {
        --card-overshoot: 32px;
    } /* sedikit lebih kecil di mobile */
    .team-card {
        width: 100%;
        min-width: 280px;
    }
    .carousel-btn {
        display: none;
    }

    .card-bg {
        height: 340px;
    }
    .team-photo {
        max-width: 100%;
        /* max-width: 94%; */
        max-height: 125%;
    }
}

.team-inner .carousel-viewport::-webkit-scrollbar {
    display: none;
}
@media (max-width: 600px) {
    .carousel-viewport {
        overflow-x: auto; /* aktifkan scroll horizontal */
        scroll-snap-type: x mandatory; /* biar snap ke kartu */
        -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
    }

    .carousel-track {
        gap: 16px; /* lebih kecil biar pas di layar */
        padding: 12px;
    }

    .team-card {
        flex: 0 0 85%; /* hampir penuh, tapi masih bisa swipe */
        scroll-snap-align: start; /* snap per kartu */
    }
}
/* Team Close */

/* Testi */

:root {
    --bg: #0f5a52;
    --ring: #1e7f76;
    --card: #ffffff;
    --text: #0f1b1a;
    --muted: #5b6b68;
}
.testi-section {
    font-family: "Poppins", sans-serif;

    /* background: var(--bg); */
    /* padding: 48px 16px; */
    color: #169ea2;
}
.testi-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.testi-header {
    /* border: 2px solid var(--ring); */
    /* border-radius: 16px; */
    padding: 18px 0;
    /* padding: 18px 20px; */
    /* background: rgba(255, 255, 255, 0.06); */
    margin-bottom: 28px;
}
.testi-header h2 {
    margin: 0 0 6px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #2a5c5d;
}
.testi-header p {
    margin: 0;
    /* text-align: center; */
    line-height: 1.45;
    font-size: 18px;
    color: #2a5c5d;
}
.testi-rows {
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}
.testi-row {
    display: flex;
    gap: 16px;
    will-change: transform;
}
.testi-card {
    /* flex: 0 0 320px; */
    background: var(--card);
    color: var(--text);
    border-radius: 14px;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); */
    padding: 16px;
    border: 1px solid #e8f2f1;
}

.testi-card img {
    width: auto;
    height: 50px;
    border-radius: 50%;
    /* object-fit: cover; */
}
@media (max-width: 1300px) {
    .testi-header {
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .testi-header h2 {
        text-align: left;
        font-size: 20px;
    }
    .testi-header p {
        text-align: left;
        font-size: 16px;
    }
    .testi-card {
        flex-basis: 80vw;
        max-width: 300px;
    }
}
/* Testi Close */
/* Kontak */
/* CSS update */
:root {
    --teal: #169ea2;
    --maxw: 1200px;
    --section-height: 260px;
    --radius: 22px;
}

.contact-section {
    max-width: var(--maxw);
    margin: 32px auto;
    padding: 34px 40px;
    border-radius: var(--radius);
    background: var(--teal);
    color: #fff;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    min-height: var(--section-height);
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 24px;
    align-items: center;
}
.contact-left p {
    font-size: 20px !important;
}
/* left text */
.contact-left h2 {
    margin: 0 0 8px;
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
}
.contact-left .lead {
    margin: 0 0 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
}

/* meta area */
.contact-meta {
    font-family: "Poppins", sans-serif;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.meta-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.phone-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* WA icon: tanpa background (transparant) */
.wa-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent; /* <-- HAPUS background */
    padding: 0;
    box-sizing: border-box;
}
.wa-circle img {
    width: 38px;
    height: 38px;
    display: block;
}

/* phone number */
.phone {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}
a[href^="tel"] {
    color: #ffffff !important;
    text-decoration: none;
}

/* socials: tombol tanpa background juga */
.socials {
    display: flex;
    gap: 12px;
    align-items: center;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent; /* <-- HAPUS background */
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
.social-btn img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

/* staff: overlap only to top */
.staff-wrap {
    position: relative;
    height: var(--section-height);
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

/* Kunci utama: gunakan 'top' negative untuk membuat gambar keluar ke atas.
     Pastikan bottom tidak negatif sehingga tidak menempel di bawah atau melorot keluar. */
/* pastikan var --section-height telah didefinisikan di :root */
.staff {
    position: absolute;
    right: -8px;
    bottom: 0;
    transform: translateY(34px); /* geser turun */
    max-width: 520px;
    height: auto;
    z-index: 5;
}

/* Jika gambar terlalu tinggi, batasi dengan max-height relatif ke section */
.staff img {
    max-height: 100%;
}

/* Responsive: stack */
/* ====== MOBILE & TABLET STACK ====== */
@media (max-width: 980px) {
    .contact-section {
        padding: 28px 20px;
        margin: 0 20px;
        padding-bottom: 0;
        min-height: unset; /* biar konten menentukan tinggi */
    }

    /* Stack jadi 1 kolom: teks di atas, gambar di bawah */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Jangan absolute di mobile agar tidak overlap teks */
    .staff-wrap {
        height: auto;
        overflow: visible;
        pointer-events: none;
    }
    .staff {
        position: static; /* lepas dari absolute */
        display: block;
        margin: 8px auto 0; /* letakkan di bawah teks */
        width: clamp(320px, 70vw, 560px); /* proporsional di tablet/ponsel */
        max-width: 100%;
        height: auto;
        transform: none;
    }

    .contact-left h2 {
        font-size: 34px;
    }
    .contact-left .lead {
        font-size: 15px;
    }
}

/* ====== VERY SMALL PHONES: gambar full width ====== */
@media (max-width: 420px) {
    .contact-section {
        padding: 24px 16px;
        padding-bottom: 0;
    }

    .staff {
        width: 100%; /* full width */
        max-width: 100%;
        height: auto; /* jaga rasio */
    }

    .wa-circle,
    .social-btn {
        width: 36px;
        height: 36px;
    }
    .phone {
        font-size: 16px;
    }
}

/* @media (max-width: 980px) {
    .contact-section {
        padding-bottom: 0;
        margin: 0 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .staff {
        position: static;
        display: block;
        margin: -20px auto 0;
        width: 50%;
        transform: none;
        right: auto;
        bottom: auto;
        z-index: 5;
        pointer-events: none;
    }
    .contact-left h2 {
        font-size: 34px;
    }
    .contact-left .lead {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .staff {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: clamp(280px, 85vw, 640px);
        max-width: 100%;
        height: auto;
        z-index: 5;
        pointer-events: none;
    }
}

@media (max-width: 520px) {
    .wa-circle,
    .social-btn {
        width: 36px;
        height: 36px;
    }
    .phone {
        font-size: 16px;
    }
} */
/* Kontak Close */
/* Pagination */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

#pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #169ea2;
    border-radius: 8px;
    background-color: #fff;
    color: #169ea2;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* tombol aktif (seperti next di gambar) */
#pagination button.active {
    background-color: #1aa6a6;
    color: #fff;
    border: none;
}

/* hover effect */
#pagination button:hover:not(:disabled) {
    background-color: #138f8f;
    color: #fff;
}

/* disabled */
#pagination button:disabled {
    background-color: #ccc;
    border: none;
    color: #fff;
    cursor: not-allowed;
}
/* Pagination Close */
