:root {
    --primary-color: #E60013;
    --secondary-color: #FDEEE5;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #F1FF5E;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #fff;
    --black-color: #000;
    --font-family: 'Poppins', sans-serif;
    --font-size: 16px;
    --font-weight: 400;
    --line-height: 1.5;
    --container-width: 1200px;
    --container-padding: 15px;
    --border-radius: 5px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --h2-size: 24px;
    --h3-size: 20px;
    --h4-size: 16px;
    --h5-size: 14px;
    --h6-size: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition: .2s linear;
}

html {
    height: 100%;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

.container {
    padding: 0px;
}

section {
    padding: 2rem 9%;
    /* min-height: 100vh; */
}

body {
    height: 100%;
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: var(--line-height);
    color: var(--black-color);
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
}

main, .main-content {
    flex: 1;    
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 0px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

header .logo img {
    flex-shrink: 0;
    width: 200px;
    height: 100%;
}

header .logo span {
    color: var(--secondary-color);
}

header .navbar a {
    font-size: 1.7rem;
    margin-right: 5rem;
    color: var(--black-color);
}

header .navbar a:hover {
    color: var(--primary-color);
}

header .navbar a.active {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}

/* container */
.dropdown {
    position: relative;
}

/* dropdown box */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 240px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* item */
.dropdown-menu .item-a {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* hover aktif (MERAH FULL) */
.dropdown-menu .item-a:hover {
    background: var(--primary-color);
    color: white;
}

/* tampil saat hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

.home {
    padding: 0px;
    width: 100%;
    height: 100vh;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
    content: none !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.swiper-button-next i,
.swiper-button-prev i {
    color: var(--primary-color);
    font-size: 18px;
}

.ket {
    margin: 30px 60px 30px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ket .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ket .row .image img {
    width: 80%;
    height: 80%;
    border-radius: 10%;
}

.ket .row .isi {
    text-align: justify;
}

.layanan {
    margin: 30px 60px 30px 60px;
    display: block;
    align-items: center;
    justify-content: center;
}

.layanan .title h2,
h4 {
    text-align: center;
    /* color: var(--primary-color); */
}

.layanan .row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}


.layanan .row .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* biar button selalu di bawah */

    text-align: center;
    padding: 20px;

    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 10px;

    width: 300px;
    /* 🔥 jangan terlalu besar */
    height: 260px;
    /* 🔥 samakan tinggi */

    color: var(--primary-color);
    background: white;
}

.layanan .row .content:hover {
    transform: translateY(-7px);
    transition: 0.3s;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.layanan .row .content img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    margin: 10px 0;
}

/* 🔥 FIX BUTTON */
.layanan .row .content button {
    display: inline-block;
    min-width: 140px;
    /* 🔥 biar semua sama */
    padding: 8px 20px;

    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;

    cursor: pointer;
    font-family: var(--font-family);
    font-size: 14px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.layanan .row .content button:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--white-color);
}

/* UDD */

.layanan-udd {
    margin: 30px 60px 30px 60px;
    display: block;
    align-items: center;
    justify-content: center;
}

.layanan-udd .title h2,
h4 {
    text-align: center;
    /* color: var(--primary-color); */
}

.layanan-udd .row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}


.layanan-udd .row .content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px;
    width: 400px;
    height: 250px;
    color: var(--primary-color);
}

.layanan-udd .row .content:hover {
    transform: translateY(-7px);
    transition: 0.3s;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.layanan-udd .row .content img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.layanan-udd .row .content button {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-family);
    align-items: center;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.layanan-udd .row .content button:hover {
    border: 1px solid var(--white-color);
}


/* ===== TITLE ===== */
.postingan .title h2,
.postingan .title h4 {
    text-align: center;
}

/* ===== ROW ===== */
.postingan .row {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

/* ===== BERITA BESAR (KIRI) ===== */
.item-berita-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-berita-link:hover {
    opacity: 0.8;
}

.beritabsr {
    flex: 2;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* border: 1px solid #000; */
}

/* gambar utama */
.beritabsr img,
.beritabsr video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    object-fit: cover;
}

/* tanggal */
.beritabsr .date {
    align-self: flex-end;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* judul */
.beritabsr h2 {
    color: var(--primary-color);
    margin: 10px 0;
}

/* deskripsi */
.beritabsr .desc {
    margin-top: 0;
    font-size: 14px;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    text-indent: 50px;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* ===== BERITA KANAN ===== */
.berita-kanan {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* card kanan */
.item-berita {
    display: flex;
    gap: 10px;
    align-items: stretch;
    /* ini penting */
    padding: 10px;
    /* border: 1px solid #000; */
}

/* gambar kanan */
.item-berita img,
.item-berita video {
    width: 170px;
    height: 120px;
    /* biar ikut tinggi text */
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    transition: 0.3s;
}

/* text */
.item-berita .text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* tanggal kanan */
.item-berita .date {
    font-size: 12px;
    color: gray;
    text-align: right;
    margin-bottom: 5px;
}

/* judul */
.item-berita h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 0px;
    text-align: start;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

/* deskripsi */
.item-berita .desc {
    font-size: 10px;
    margin-top: 5px;
    color: var(--black-color);
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* INFOGRAFIS */

.infografis {
    padding: 30px 60px 30px 60px;
    background-color: var(--primary-color);
}

.infografis h2 {
    text-align: center;
    color: var(--white-color);
}

.infografis .row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.infografis .row .gambar {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.infografis .row .gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.infografis .row .gambar:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    margin-top: 65px;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* gambar di popup */
.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.modal-status {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

    justify-content: center;
    align-items: center;
}

.modal-status-content {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* tombol close */
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* TENTANG */
.tentang {
    padding: 60px 80px;
}

.tentang h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* CONTAINER */
.tentang-container {
    display: flex;
    gap: 30px;
}

/* KIRI */
.tentang-kiri {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* BOX */
.tentang-kiri .box {
    max-height: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    /* border-radius: 10px; */
    background: #fff;
}

/* ICON */
.tentang-kiri .box i {
    font-size: 20px;
    color: var(--black-color);
    background: #d7d1d1;
    padding: 10px;
}

/* TEXT */
.tentang-kiri h4 {
    text-align: start;
    margin: 0;

}

.tentang-kiri p {
    margin: 0;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: none;
}

.tentang-kiri .box:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}


/* KANAN (MAP) */
.tentang-kanan {
    flex: 1;
}

.tentang-kanan iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
    border-radius: 10px;
}



/* === PROFILE PAGE === */
.profil {
    padding: 100px 80px;
}

.profil-container {
    display: flex;
    gap: 40px;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
}

.sidebar h3 {
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 13px;
}

.sidebar a.active {
    background: var(--primary-color);
    color: white;
}

/* CONTENT */
.content {
    flex: 1;
}

.content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.content p {
    text-align: justify;
    margin-bottom: 20px;
}

/* IMG + TEXT */
.img-text {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.img-text img {
    width: 250px;
    border-radius: 10px;
}

/* TIMELINE */
.timeline {
    margin-top: 30px;
    border-left: 2px solid var(--primary-color);
    padding-left: 20px;
}

.timeline .item {
    position: relative;
    margin-bottom: 20px;
}

.timeline .dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -26px;
    top: 5px;
}

.timeline .item h4 {
    text-align: start;
}

.timeline .item p {
    text-align: justify;
    color: #343a40;
}

/* CONTENT */
.visimisi {
    flex: 1;
}

.visimisi h2 {
    text-align: center;
    margin-bottom: 20px;
}

.visimisi h3 {
    margin-bottom: 10px;
    margin-top: 20px;
}

.visimisi p {
    text-align: justify;
    margin-left: 30px;
    font-size: 14px;

}

.visimisi li {
    margin-left: 30px;
    font-size: 14px;
}

.red {
    color: var(--primary-color);
}

.prinsip {
    flex: 1;
}

.prinsip h2 {
    text-align: center;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prinsip h3 {
    margin-bottom: 10px;
    margin-top: 20px;
}

.prinsip p {
    text-align: justify;
    margin-left: 30px;
    font-size: 15px;

}

.prinsip li {
    margin-top: 10px;
    margin-left: 30px;
    font-size: 14px;
    text-align: justify;
}

/* content */
.pengurus {
    flex: 1;
    text-align: center;
}

.pengurus .masa {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* top (ketua) */
.top {
    display: flex;
    justify-content: center;
    gap: 100px;
}

/* grid */
.grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 100px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 100px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 100px;
}

.grid-02 {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 10px;

}


/* card */
.card {
    text-align: center;
    margin-bottom: 40px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.card img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--primary-color);
}

.card h4 {
    font-size: 14px;
    margin-top: 10px;
}

.card p {
    font-size: 12px;
    color: #555;
}

/* ===== ROW ===== */
.berita {
    padding: 100px 80px;
}

.berita .row {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

/* ===== BERITA BESAR (KIRI) ===== */
.berita .beritabsr2 {
    flex: 2;
    display: flex;
    flex-direction: column;
}

/* gambar utama */
.beritabsr2 img,
.beritabsr2 video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    object-fit: cover;
}

/* tanggal */
.beritabsr2 .date {
    align-self: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* judul */
.beritabsr2 h2 {
    text-align: center;
    color: var(--primary-color);
}

/* deskripsi */
.beritabsr2 .desc {
    font-size: 14px;
    text-align: justify;
    margin-top: 15px;
    text-indent: 50px;
    line-height: 1.8;
}

.beritabsr2 .desc:last-child {
    margin-bottom: 0;
}

.bencana {
    flex: 1;
    padding: 100px 80px;
    text-align: center;
}

.bencana .title h2 {
    color: var(--primary-color);
}

.bencana .bencana-hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;

}

.bencana .bencana-desc {
    font-size: 14px;
    text-align: justify;
    margin-top: 20px;
    text-indent: 50px;
}


.bencana h2 {
    margin-top: 20px;
    text-align: center;
    color: var(--primary-color);
    padding-bottom: 20px;
}

.bencana .layanan-box {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.bencana .bencana-layanan {
    padding: 40px 0px;
}

.bencana .bencana-layanan h2 {
    text-align: center;
    color: var(--primary-color);
    padding-bottom: 30px;
}

.bencana .layanan-box .box {
    flex: 1;
    max-width: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 30px 20px;
    color: var(--primary-color);
    border-radius: 15px;
    background: #fff;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

    min-height: 200px;
}

.bencana .layanan-box .box:hover {
    flex: 1;
    padding: 40px;
    text-align: center;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


.bencana .layanan-box .box i {
    color: var(--black-color);
    font-size: 40px;
    margin-bottom: 15px;
}

.bencana .layanan-box .box:hover i {
    color: #F1FF5E;
}


.bencana .layanan-box .layanan-desc {
    flex: 2;
    font-size: 14px;
    text-align: justify;
    margin-top: 20px;
    text-indent: 50px;
}

/* banner */
.banner {
    margin-top: 40px;
    background: url('../images/aceh.jpg') center/cover no-repeat;
    height: 400px;
    position: relative;
    object-fit: cover;

}

.banner .overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.banner .overlay h2 {
    color: #F1FF5E;
    font-size: 40px;
}

.banner .overlay p {
    text-align: center;
}

.btn {
    margin-top: 20px;
}

.btn a {
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    text-decoration: none;
}

.btn-merah {
    background: var(--primary-color);
    color: white;
}

.btn-putih {
    border: 1px solid white;
    color: white;
}

.btn-putih:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}


/* ===== DIKLAT ===== */
.diklat {
    flex: 1;
    padding: 100px 80px;
}

.diklat h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* top */
.diklat-top {
    display: flex;
    gap: 30px;
    align-items: start;
}

.diklat-top img {
    width: 550px;
}

.diklat-top .text {
    max-width: 500px;
}

.diklat-top .text h3 {
    font-size: 30px;
    margin-bottom: 30px;
}

.diklat-top .text p {
    font-size: 14px;
    text-align: justify;
}

/* desc */
.desc {
    margin: 30px 0;
    text-align: justify;
    font-size: 14px;
}

.kegiatan {
    padding: 5px 30px 30px 30px;
    background-color: var(--secondary-color);
}

.kegiatan h3 {
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

/* kegiatan */
/* container */
.kegiatan-content {
    display: flex;
    gap: 20px;
}

/* card */
.card-kegiatan {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    flex: 1;
}

/* gambar */
.card-kegiatan img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s;
}

/* overlay */
.card-kegiatan .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    transform: translateY(100%);
    transition: 0.3s ease;
}



/* hover */
.card-kegiatan:hover .overlay {
    transform: translateY(0);
}

.card-kegiatan:hover img {
    transform: scale(1.05);
}

/* text */
.overlay h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 15px;
}

.card-kegiatan .overlay p {
    text-align: justify;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== RELAWAN ===== */
.relawan-section {
    text-align: center;
    margin-top: 50px;
}

.relawan-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* grid */
.relawan-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 30px;
    justify-content: center;
}

.relawan-grid2 {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 30px;
}

.relawan-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #FDEEE5;
    padding: 6px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.relawan-card:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--primary-color);
    padding: 6px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.relawan-card img {
    width: 100%;
    max-width: 80px;
}

.relawan-card .text {
    text-align: left;
}

.relawan-card h4 {
    padding-top: 10px;
    color: var(--primary-color);
    text-align: start;
    font-size: 20px;
}

.relawan-card:hover h4 {
    padding-top: 10px;
    color: var(--white-color);
    text-align: start;
    font-size: 20px;
}

.relawan-card .title {
    font-weight: 500;
}

.relawan-card:hover .title {
    font-weight: 500;
    color: var(--white-color);
}

.relawan-card .desc {
    font-size: 12px;
    color: #555;
}

.relawan-card:hover .desc {
    font-size: 12px;
    color: var(--white-color);
}

/* ===== WHY RELAWAN ===== */
.why-relawan {
    text-align: center;
    margin-top: 50px;
}

.why-relawan h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 20px;
}

/* card default */
.why-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white-color);
    border: 1px solid #DDE1E6;
    justify-content: center;
}

/* icon */
.why-card i {
    font-size: 22px;
    color: var(--primary-color);
}

/* text */
.why-card p {
    font-weight: 500;
    text-align: left;
}

/* card merah */
.why-card:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.why-card:hover i {
    color: white;
}

/* UDD */

/* ===== MANFAAT DONOR DARAH ===== */
.manfaat-udd {
    text-align: center;
    margin-top: 50px;
}

.manfaat-udd h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* grid FIX */
.manfaat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* card */
.manfaat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white-color);
    border: 1px solid #DDE1E6;
    justify-content: center;
    grid-column: span 2;
    /* tiap card ambil 2 kolom */
}

/* posisi baris ke-2 */
.manfaat-card:nth-child(4) {
    grid-column: 2 / 4;
}

.manfaat-card:nth-child(5) {
    grid-column: 4 / 6;
}

/* icon */
.manfaat-card i {
    font-size: 22px;
    color: var(--primary-color);
}

/* text */
.manfaat-card p {
    font-weight: 500;
    text-align: left;
}

/* hover */
.manfaat-card:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.manfaat-card:hover i {
    color: white;
}

/* ===== AMBULANCE ===== */
.ambulance {
    padding: 100px 80px;
    text-align: center;
}

.ambulance h2 {
    color: var(--primary-color);
}

.ambulance-subtitle {
    margin-bottom: 30px;
}

/* top */
.ambulance-top {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.ambulance-top .ambulance-box {
    flex: 1;
    background: #FDEEE5;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.ambulance-box i {
    padding: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white-color);
    justify-content: center;
    margin-right: 10px;
}

.ambulance-box h4 {
    margin-bottom: 10px;
}

.ambulance-box p {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: justify;
}

.ambulance-box ul {
    font-size: 14px;
    margin-left: 20px;
    margin-bottom: 5px;
    text-align: justify;
}

.ambulance-box a {
    text-decoration: none;
    color: var(--primary-color);
}

/* layanan */
.ambulance-service-section {
    margin-top: 80px;
}

.ambulance-service {
    display: flex;
    gap: 25px;
    margin: 40px 0;
}

/* card */
.ambulance-card {
    flex: 1;
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;

    text-align: center;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* icon container (LINGKARAN BESAR) */
.ambulance-card .icon {
    width: 70px;
    height: 70px;
    background: #FDEEE5;
    /* warna krem */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
}

/* icon */
.ambulance-card i {
    color: var(--primary-color);
    font-size: 24px;
}

/* title */
.ambulance-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* text */
.ambulance-card p {
    font-size: 13px;
    color: #555;
}


.ambulance-card:hover {
    transform: translateY(-7px);
    transition: 0.3s;
}

/* CTA */
.ambulance-cta {
    background: var(--primary-color);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ambulance-cta h2 {
    margin-bottom: 10px;
    color: var(--white-color);

}

.ambulance-cta p {
    margin-bottom: 10px;
}


.btn-cta {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    border-radius: 20px;
    text-decoration: none;

}


/* ===== HERO ===== */
.pelatihan-hero {
    margin-top: 80px;
    height: 350px;
    background: url('../images/pertolongan.jpeg') center/cover no-repeat;
    position: relative;
}

.pelatihan-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pelatihan-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    margin-left: 80px;
}

.pelatihan-hero p {
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 80px;
}

/* desc */
.pelatihan-desc {
    padding: 30px 80px;
    text-align: justify;
    text-indent: 50px;

}

/* program */
.pelatihan-program {
    padding: 40px 80px;
    text-align: center;
}

.pelatihan-program h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* card */
.program-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.program-card h4 {
    text-align: start;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.program-card .waktu {
    margin-bottom: 5px;
}

/* highlight card */
.program-card.highlight {
    background: var(--secondary-color);
}

.program-card ul,
.program-card ol {
    margin-left: 30px;
}

/* CTA */
.pelatihan-cta {
    margin-top: 40px;
    background: #FDEEE5;
    text-align: center;
    padding: 40px;
}

.pelatihan-cta h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pelatihan-cta p {
    max-width: 1000px;
    margin: 10px auto;
}

/* ===== DONOR ===== */
.donor {
    padding: 100px 80px;
}

.donor h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* container */
.donor-table {
    background: #fff;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

/* header tanggal */
.date-header {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 15px;
}



/* row */
.row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.row span {
    flex: 1;
    font-size: 12px;
}

/* pagination */
.pagination {
    margin-top: 20px;
    text-align: right;
}

.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 20%;
    cursor: pointer;
}

.pagination .active {
    background: var(--primary-color);
    color: white;
}

/* ================= DONASI ================= */
.donasi {
    padding: 40px 10%;
}

.donasi h2 {
    text-align: center;
    margin-top: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* HERO */
.donasi-hero {
    position: relative;
    overflow: hidden;
}

.donasi-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* overlay */
.donasi-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 20px;
}

.donasi-hero h1 {
    color: var(--warning-color);
    font-size: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.donasi-hero p {
    font-size: 13px;
    margin-top: 10px;
    max-width: 700px;
}

/* deskripsi */
.donasi-desc {
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= FORM DONASI ================= */
.donasi-form {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 20px;

}

.donasi-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.donasi-form-clean {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* group */
.form-group {
    display: flex;
    flex-direction: column;
}

/* label */
.form-group label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

/* input + select */
.form-group input,
.form-group select {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;

    background: #f5f5f5;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: 0.2s;
    font-family: var(--font-family);
}

/* focus */
.form-group input:focus,
.form-group select:focus {
    border: 1px solid var(--primary-color);
    background: #fff;
}

/* select arrow fix */
.form-group select {
    appearance: none;
    cursor: pointer;

}

/* button */
.btn-donasi {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--black-color);
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font-family);
}

/* hover */
.btn-donasi:hover {
    background: var(--primary-color);
    color: white;
}

/* info box */
.donasi-info {
    margin: 20px;
    background: var(--warning-color);
    padding: 15px;
    border-radius: 10px;
}

.donasi-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: left;
}

.donasi-info ul {
    font-size: 13px;
    padding-left: 15px;
}

.donasi-info li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
}

.form-group .qris-box {
    text-align: center;
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    background: #fff;
}

.form-group .qris-img {
    width: 200px;
    margin: 20px auto;
}

/* ================= STOK DARAH ================= */
.stok {
    padding: 40px 10%;
}

.stok h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stok-date {
    margin-top: 20px;
    text-align: right;
    font-size: 13px;
}

/* group */
.stok-group {
    margin-bottom: 30px;
}

.stok-group h3 {
    margin-bottom: 10px;
}

/* card */
.stok-card {
    background: #F5B090;
    border-radius: 20px;
    padding: 20px;

    display: flex;
    justify-content: space-around;
}

/* item */
.stok-card .item {
    text-align: center;
}

.stok-card .item p {
    margin-top: 17px;
    font-weight: 600;
}

/* wrapper */
.drop {
    position: relative;
    width: 50px;
    height: 50px;
    margin: auto;
}

/* icon */
.drop i {
    font-size: 60px;
    color: var(--primary-color);
}

/* angka di tengah */
.drop span {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -60%);

    font-size: 20px;
    font-weight: 600;
    color: var(--white-color);
}

/* KLINIK */
.klinik-hero {
    margin-top: 80px;
    height: 400px;
    background: url('../images/klinik.jpeg') center/cover no-repeat;
    position: relative;
}

.klinik-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding-left: 80px;
}

.klinik-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;

}

.klinik-hero p {
    font-size: 18px;
    margin-bottom: 10px;

}

/* klinik desc */
.klinik-desc p {
    padding-top: 30px;
    text-align: justify;
    text-indent: 50px;

}

/* UDD */
.udd-hero {
    margin-top: 80px;
    height: 400px;
    background: url('../images/udd.JPG') center/cover no-repeat;
    position: relative;
}

.udd-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding-left: 80px;
}

.udd-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;

}

.udd-hero p {
    font-size: 18px;
    margin-bottom: 10px;

}

/* udd desc */
.udd-desc p {
    padding-top: 30px;
    text-align: justify;
    text-indent: 50px;

}

.syarat-donor {
    padding: 60px 10%;
    background: var(--white-color);
    position: relative;
}

.syarat-donor h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.syarat-container {
    display: flex;
    /* gap: 50px; */
    flex-wrap: wrap;
}

.syarat-col {
    flex: 1;
    min-width: 300px;
}

.syarat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.syarat-item .num {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.syarat-item p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* jadwal */
.jadwal {
    margin-top: 20px;
}

.jadwal span {
    padding: 10px 15px;
    margin-right: 10px;
}

.jadwal .merah {
    background: var(--primary-color);
    color: white;
}

.jadwal .outline {
    border: 1px solid white;
}

/* alur */
.alur {
    padding: 30px 80px;
}

.alur h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.alur-udd {
    padding: 30px 80px;
}

.alur-udd h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.alur-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.alur-item {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: normal;
    text-align: start;
}

.alur-item p {
    margin-top: 5px;
    opacity: 0.9;
    font-weight: normal;
   
}

/* section */
.klinik-layanan {
    padding: 50px 80px;
    text-align: center;
}

.klinik-layanan h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* grid */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
}

/* card */
.card-layanan {
    width: 280px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    text-align: left;
}

/* image */
.card-layanan img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* text */
.card-layanan .text {
    padding: 12px;
    text-align: center;
}

.card-layanan h4 {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.card-layanan p {
    font-size: 12px;
    color: #555;
}

/* kontak */
.kontak-wrapper {
    display: flex;
    gap: 20px;
}

.map iframe {
    width: 300px;
    height: 200px;
}

.faq {
    margin-top: 30px;
    padding: 80px;
    text-align: center;
}

.faq h2 {
    color: var(--primary-color);
    text-transform: none
}

.subtitle {
    max-width: 1000px;
    margin: 10px auto 30px;
}

/* filter */
.faq-filter {
    margin-bottom: 30px;
}

.faq-filter a button {
    padding: 10px 20px;
    margin: 5px;
    border-radius: 10px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 500;
}

.faq-filter .active {
    background: var(--primary-color);
    color: white;
}

/* item */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

/* question */
.faq-question {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    text-transform: none;
    text-align: justify;
}

/* answer (hidden default) */
.faq-answer {
    display: none;
    background: #f5b38f;
    /* pink */
    padding: 15px;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    color: var(--black-color);
    text-transform: none;
    text-align: justify;
}

/* active */
.faq-item.active .faq-answer {
    display: block;
    max-height: 200px;
    color: var(--black-color);
    text-transform: none;
    text-align: justify;
}

.faq-item.active .faq-question {
    background: #F5B090;
    color: var(--black-color);
    text-transform: none;
    text-align: justify;
}

/* CTA */
.faq-cta {
    text-align: center;
    padding: 40px;
}

.faq-cta h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.faq-cta p {
    max-width: 1000px;
    margin: 10px auto;
    text-align: center;
}

.faq-cta b a {
    text-decoration: none;
    color: var(--primary-color);
}

.footer {
    background: #eaeaea;
    padding: 20px 60px;
    margin-top: 50px;
}

/* container */
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* kiri */
.footer-left {
    display: flex;
    gap: 40px;
    flex: 3;
}

/* tiap box */
.footer-box {
    min-width: 250px;
    flex: 1;
}

.footer-box h5 {
    margin-bottom: 8px;
    font-size: 12px;
    text-align: start;
}

.footer-box p {
    margin: 2px 0;
    font-size: 12px;
    color: #555;
}

/* kanan */
.footer-right {
    flex: 1;
    text-align: right;
}

/* social icon */
.social {
    margin-bottom: 10px;
}

.social i {
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    color: var(--black-color);
}

/* text kanan */
.footer-right p {
    font-size: 12px;
    margin: 2px 0;
}

/* bulan dana */
.bulan-hero {
    margin-top: 80px;
    height: 400PX;
    background: url('/images/udd.JPG') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.bulan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 80px;
    color: white;
}

.bulan-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;

}

.bulan-hero p {
    font-size: 18px;
    margin-bottom: 10px;

}

.hero-slider-wrapper {
    position: absolute;
    bottom: 40px;
    left: 70%;
    transform: translateX(-50%);
    width: 680px; 
    overflow: hidden;
    z-index: 2;
}

.hero-slider {
    display: flex;
    gap: 15px;
    animation: slideHero 20s linear infinite;
}

.slide-item {
    flex: 0 0 auto;
}

.hero-slider img {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
}

.hero-slider::-webkit-scrollbar {
    display: none;
}

.hero-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes slideHero {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* DESC */
.desc-bulan {
    padding: 30px 80px;
    text-align: justify;
}

/* CONTENT */
.content-bulan {
    padding: 40px 80px;
}

.judul-merah {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.row-bulan {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.row-bulan.reverse {
    flex-direction: row-reverse;
}

.row-bulan img {
    width: 400px;
    border-radius: 10px;
}

.row-bulan h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* SECTION */
.kegiatan-lain {
    padding: 40px 80px;
    background: var(--secondary-color);
}

.kegiatan-wrapper{
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.kegiatan-content-bulan{
    display: flex;
    gap: 16px;

    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 10px 40px;    
}


.kegiatan-content-bulan::-webkit-scrollbar{ display:none; }


.card-kegiatan{
    flex: 0 0 calc(25% - 12px);  
    height: 180px;

    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.card-kegiatan .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
}


.card-kegiatan h4 {
    text-align: center;
    color: var(--white-color);
}

.card-kegiatan p {
    font-size: 12px;
    text-align: center;
    color: white;
}

.card-kegiatan img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prev, .next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.25);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.prev{ left: 5px; }
.next{ right: 5px; }

.prev:hover, .next:hover{
    background: var(--primary-color);
}

/* ===== HAMBURGER ===== */
.menu-toggle {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
}

/* ===== PENGUNJUNG ===== */
.pengunjung-section {
    text-align: center;
    margin-top: 50px;

}

.pengunjung-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* grid */
.pengunjung-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 30px;
    justify-content: center;
}

.pengunjung-grid2 {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.pengunjung-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 120px;
    gap: 15px;
    padding: 6px;
}
    

.pengunjung-card:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--primary-color);
    padding: 6px;
    border-radius: 5px;
}

.pengunjung-card img {
    width: 100%;
    max-width: 80px;
}

.pengunjung-card .text {
    text-align: left;
}

.pengunjung-card p{
    font-size: 15px;
    text-align: center;
    font-weight: 100;
}

.pengunjung-card h1 {
    padding-top: 10px;
    color: var(--primary-color);
    text-align: center;
}

.pengunjung-card:hover h1 {
    padding-top: 10px;
    color: var(--white-color);
    text-align: center;
}

.pengunjung-card .title {
    font-weight: 500;
}

.pengunjung-card:hover .title {
    font-weight: 500;
    color: var(--white-color);
}

.progress-wrapper {
    width: 70%;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* bar */
.progress-bar {
    width: 100%;
    height: 24px;
    background: var(--white-color);
    border-radius: 50px;
    overflow: hidden;
}

/* isi progress */
.progress-fill {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50px;
}

/* info bawah */
.progress-info {
    margin-top: 2px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--white-color);

    font-size: 18px;
}

/* ===== TARGET DONASI ===== */
.target-donasi {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* nominal */
.target-donasi h2 {
    color: var(--primary-color);
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* desc */
.target-donasi p {
    font-size: 20px;
    margin-bottom: 35px;
}

.progress-wrapper-dark {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
}

.progress-bar-dark {
    width: 100%;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 50px;
    overflow: hidden;
}

/* isi progress */
.progress-fill-dark {
    width: 45%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50px;
}

.progress-info-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black-color);
}

.progress-info-dark p {
    padding-top: 3px;
  font-size: 16px;
}











@media (max-width: 1024px) {

    body {
        margin-top: 85px;
    }

     /* HEADER */
    header {
        padding: 8px 15px;
    }

    /* LOGO */
    .logo img {
        height: 32px;
    }

    /* NAVBAR */
    .navbar {
        gap: 10px; /* dari besar → kecil */
    }

    /* LINK */
    .navbar a {
        font-size: 13px;
    }

    /* DROPDOWN */
    .dropdown a {
        font-size: 13px;
    }

    .dropdown-menu {
        min-width: 180px;
        font-size: 12px;
    }

    .ket,
    .layanan,
    .layanan-udd,
    .infografis,
    .tentang,
    .profil,
    .berita,
    .bencana,
    .diklat,
    .donor,
    .ambulance {
        margin: 20px;
        padding: 20px;
    }

    /* ===== FLEX WRAP ===== */
    .ket .row,
    .postingan .row,
    .infografis .row,
    .tentang-container,
    .profil-container,
    .berita .row,
    .kegiatan-content,
    .ambulance-top,
    .ambulance-service,
    .kontak-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /* ===== GRID ===== */
    .grid,
    .grid-3,
    .grid-2,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .manfaat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* reset posisi custom */
    .manfaat-card:nth-child(4),
    .manfaat-card:nth-child(5) {
        grid-column: auto;
    }

    /* ===== IMAGE ===== */
    .diklat-top img {
        width: 100%;
    }

    .img-text {
        flex-direction: column;
        align-items: center;
    }

    .img-text img {
        width: 100%;
    }

    .sidebar {
        width: 100%;
        overflow-x: auto;
    }

    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .sidebar a {
        display: inline-block;
        white-space: nowrap;
        padding: 12px 20px;
        margin-right: 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    /* container jadi horizontal */
    .sidebar {
        display: flex;
        gap: 10px;
    }

    /* biar ga turun ke bawah */
    .sidebar a {
        min-width: 120px;
        /* 🔥 biar gak kepotong terlalu pendek */
        max-width: 200px;
        white-space: nowrap;
        /* 🔥 biar 1 baris */
        overflow: hidden;
        /* sembunyikan sisa */
        text-overflow: ellipsis;
        /* ... di ujung */
        padding: 12px 15px;
        /* 🔥 kurangi padding */
    }

    /* aktif merah */
    .sidebar a.active {
        background: var(--primary-color);
        color: white;
    }

        .ket .row {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }

    .ket .image {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .ket .image img {
        height: 200px;
        width: 100%;
    }

    .ket .isi {
        flex: 1;
    }

    .ket .isi p {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }

    /* ===== INFOGRAFIS ===== */
    .infografis {
        padding: 20px;
    }

    .infografis .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .infografis .row .gambar img {
        width: 100%;
        height: auto;
    }

     /* ===== POSTINGAN ===== */
    .postingan .row {
        flex-direction: column;
    }

    /* berita besar */
    .beritabsr img {
        width: 100%;
        height: auto;
    }

    .beritabsr h2 {
        font-size: 16px;
    }

    .beritabsr .desc {
        font-size: 12px;
        -webkit-line-clamp: 5;
    }

    /* berita kecil jadi grid 2 */
    .berita-kanan {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .item-berita {
        flex-direction: column;
    }

    .item-berita img {
        width: 100%;
        height: 100px;
    }

    .item-berita h4 {
        font-size: 12px;
    }

    .footer-container {
        display: flex;
        flex-direction: column; /* 🔥 bikin kanan turun ke bawah */
        gap: 30px;
        padding: 30px 20px;
    }

    /* KIRI: tetap horizontal */
    .footer-left {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* tidak boleh turun */
        gap: 20px;
        overflow-x: auto; /* kalau kepanjangan bisa geser */
    }

    .footer-box {
        min-width: 250px;
        flex: 1 1 30%;
    }

    /* KANAN: pindah ke bawah */
    .footer-right {
        text-align: center;
    }

    .social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .social a {
        font-size: 18px;
    }

    .footer-right p {
        font-size: 14px;
    }

    .kegiatan-content {
        display: grid !important; /* 🔥 paksa override */
        grid-template-columns: repeat(2, 1fr); /* 2 kolom */
        gap: 20px;
    }

    .card-kegiatan {
        width: 100% !important; /* biar ikut grid */
    }

    .card-kegiatan img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 10px;
    }
    .card-kegiatan .overlay {
        padding: 10px;
    }

    .card-kegiatan h4 {
        font-size: 14px;
    }

    .card-kegiatan p {
        font-size: 12px;
    }

    .diklat-top {
        display: flex !important;
        flex-direction: row !important; /* 🔥 paksa sejajar */
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }

    .diklat-top img {
        width: 45%;
        height: auto;
        border-radius: 12px;
    }

    .diklat-top .text {
        width: 55%;
    }

    .diklat-top .text h3 {
        font-size: 18px;
    }

    .diklat-top .text p {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }

        .pengunjung-section {
        padding: 0 30px;
    }

    /* grid atas */
    .pengunjung-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* grid bawah */
    .pengunjung-grid2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* card */
    .pengunjung-card {
        width: 100%;
        min-height: 120px;
        padding: 15px;
        border-radius: 10px;
    }

    /* gambar */
    .pengunjung-card img {
        max-width: 70px;
    }

    /* angka */
    .pengunjung-card h1 {
        font-size: 34px;
    }

    /* title */
    .pengunjung-card .title {
        font-size: 15px;
    }

    /* desc */
    .pengunjung-card p {
        font-size: 14px;
    }
}








/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* hamburger */
    .menu-toggle {
        display: block;
        font-size: 28px;
        color: var(--primary-color);
        cursor: pointer;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        flex-direction: column;
        align-items: flex-start;

        display: none;
        z-index: 999;
        scroll-behavior: smooth;
    }

    .navbar.active {
        display: flex;
    }

    /* menu item */
    .navbar a {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        background: none !important;
    }

    /* aktif merah */
    .navbar a.active {
        background: var(--primary-color);
        font-style: var(--white-color);
    }

    /* dropdown matiin hover */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* dropdown mobile */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        display: none;
        background: #f9f9f9;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu .item-a {
        padding-left: 30px;
    }

    /* ===== HERO ===== */

    body {
        padding-top: 60px;
    }

    .home,
    .swiper,
    .swiper-slide img {
        height: auto;
    }

    .swiper-slide img {
        height: 250px;
    }

    /* ===== KET / ABOUT ===== */
    .ket {
        margin: 20px;
    }

    .ket .row {
        flex-direction: column;
        gap: 15px;
    }

    .ket .row .image img {
        width: 100%;
        border-radius: 5%;
    }

    .ket .row .isi {
        font-size: 13px;
    }

    /* ===== LAYANAN (CARD DONOR) ===== */
    .layanan .row {
        flex-direction: column;
        padding: 10px;
    }

    .layanan .row .content {
        width: 100%;
        height: auto;
        padding: 20px;
        border-radius: 20px;
    }

    .layanan .row .content img {
        height: 80px;
    }

    /* tombol */
    .layanan .row .content button {
        width: 80%;
    }

    /* ===== POSTINGAN ===== */
    .postingan .row {
        flex-direction: column;
    }

    /* berita besar */
    .beritabsr img {
        width: 100%;
        height: auto;
    }

    .beritabsr h2 {
        font-size: 16px;
    }

    .beritabsr .desc {
        font-size: 12px;
        -webkit-line-clamp: 5;
    }

    /* berita kecil jadi grid 2 */
    .berita-kanan {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .item-berita {
        flex-direction: column;
    }

    .item-berita img {
        width: 100%;
        height: 100px;
    }

    .item-berita h4 {
        font-size: 12px;
    }

    /* ===== INFOGRAFIS ===== */
    .infografis {
        padding: 20px;
    }

    .infografis .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .infografis .row .gambar img {
        width: 100%;
        height: auto;
    }

    /* ===== FOOTER ===== */
    .footer {
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 20px;
    }

    .footer-box {
        max-width: 100%;
    }

    .footer-box h5 {
        text-align: center;
    }

    .footer-right {
        text-align: center;
        margin-top: 20px;
    }

    .social {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    /* ===== MENU PROFIL (MOBILE) ===== */

    .sidebar {
        width: 100%;
        overflow-x: auto;
    }

    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .sidebar a {
        display: inline-block;
        white-space: nowrap;
        padding: 12px 20px;
        margin-right: 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    /* container jadi horizontal */
    .sidebar {
        display: flex;
        gap: 10px;
    }

    /* biar ga turun ke bawah */
    .sidebar a {
        min-width: 120px;
        /* 🔥 biar gak kepotong terlalu pendek */
        max-width: 200px;
        white-space: nowrap;
        /* 🔥 biar 1 baris */
        overflow: hidden;
        /* sembunyikan sisa */
        text-overflow: ellipsis;
        /* ... di ujung */
        padding: 12px 15px;
        /* 🔥 kurangi padding */
    }

    /* aktif merah */
    .sidebar a.active {
        background: var(--primary-color);
        color: white;
    }

    .relawan-grid {
        grid-template-columns: 1fr;
    }

    .relawan-grid2 {
        grid-template-columns: 1fr;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
    }

    .program-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .program-card {
        width: 100%;
    }

    .udd-hero .overlay {
        padding-left: 20px;
        padding-right: 20px;
    }

    .jadwal {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-right: 20px;
        align-items: flex-start;
    }

    .jadwal span {
        display: inline-block;
        width: auto;
        text-align: left;
        padding: 10px 20px;
    }

    /* merah full */
    .jadwal .merah {
        background: var(--primary-color);
        color: white;
    }

    /* outline */
    .jadwal .outline {
        border: 1px solid white;
        color: white;
    }

        /* padding */
    .tentang {
        padding: 30px 15px;
    }

    /* tetap 2 kolom */
    .tentang-kiri {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* card diperkecil */
    .tentang-kiri .box {
        padding: 10px;
        gap: 8px;
        max-height: none;
    }

    /* icon diperkecil */
    .tentang-kiri .box i {
        width: 30px;
        height: 30px;
        font-size: 14px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* text diperkecil */
    .tentang-kiri h4 {
        font-size: 12px;
    }

    .tentang-kiri p {
        font-size: 11px;
        line-height: 1.2;
    }

    /* map tetap bawah */
    .tentang-container {
        flex-direction: column;
    }

    .tentang-kanan iframe {
        min-height: 220px;
    }

       /* section */
    .pengunjung-section {
        margin-top: 30px;
        padding: 0 20px;
    }

    .pengunjung-section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    /* grid atas */
    .pengunjung-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    /* grid bawah */
    .pengunjung-grid2 {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    /* card */
    .pengunjung-card {
        width: 100%;
        min-height: 120px;
        padding: 15px;
        border-radius: 10px;
    }

    /* gambar */
    .pengunjung-card img {
        max-width: 65px;
    }

    /* angka */
    .pengunjung-card h1 {
        font-size: 32px;
    }

    /* title */
    .pengunjung-card .title {
        font-size: 14px;
    }

    /* desc */
    .pengunjung-card p {
        font-size: 13px;
    }

}




@media (max-width: 450px) {

    html {
        font-size: 50%;
    }

    /* padding lebih kecil */
    section {
        padding: 1.5rem;
    }

    .donor,
    .stok{
        margin-top: 40px;
    }

    /* tombol */
    .btn a {
        display: block;
        margin: 10px auto;
    }

    /* card kecil */
    .card img {
        width: 100px;
        height: 120px;
    }

    /* padding */
    .tentang {
        padding: 20px 10px;
    }

    /* tetap 2 kolom */
    .tentang-kiri {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* card diperkecil */
    .tentang-kiri .box {
        padding: 10px;
        gap: 8px;
        max-height: none;
    }

    /* icon diperkecil */
    .tentang-kiri .box i {
        width: 25px;
        height: 25px;
        font-size: 12px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* text diperkecil */
    .tentang-kiri h4 {
        font-size: 10px;
    }

    .tentang-kiri p {
        font-size: 9px;
        line-height: 1.2;
    }

    /* map tetap bawah */
    .tentang-container {
        flex-direction: column;
    }

    .tentang-kanan iframe {
        min-height: 220px;
    }

    .profil-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    /* CONTENT */
    .content {
        width: 100%;
    }

    .content h2 {
        font-size: 18px;
    }

    .content p {
        font-size: 13px;
        line-height: 1.5;
        text-indent: 1em; /* kecilin indent */
    }

    /* iframe besar */
    .content iframe {
        height: 200px !important;
    }

    /* IMG + TEXT jadi stack */
    .img-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .img-text iframe {
        width: 100% !important;
        height: 180px !important;
    }

    /* TIMELINE */
    .timeline {
        margin-top: 20px;
    }

    .timeline .item {
        display: flex;
        gap: 10px;
    }

    .timeline h4 {
        font-size: 13px;
    }

    .timeline p {
        font-size: 12px;
    }

    .why-relawan {
        text-align: center;
    }

    .why-relawan h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* GRID */
    .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-content: center;
    }

    /* CARD */
    .why-card {
        width: 100%;
        padding: 15px 10px;
    }

    /* ICON */
    .why-card i {
        font-size: 20px;
        margin-bottom: 8px;
    }

    /* TEXT */
    .why-card p {
        font-size: 12px;
        line-height: 1.3;
    }

    /* CARD ACTIVE (yang merah) */
    .why-card.active {
        transform: none; /* biar nggak kegedean di HP */
    }


    /* DESKRIPSI */
    .pelatihan-desc {
        padding: 20px 15px;
    }

    .pelatihan-desc p {
        font-size: 13px;
        line-height: 1.6;
        text-align: justify;
    }

    /* PROGRAM */
    .pelatihan-program {
        padding: 30px 15px;
    }

    .pelatihan-program h2 {
        font-size: 18px;
        margin-bottom: 20px;
        text-align: center;
    }

    /* GRID PROGRAM */
    .program-grid {
        display: grid;
        grid-template-columns: 1fr; /* 🔥 jadi 1 kolom */
        gap: 15px;
    }

    /* CARD */
    .program-card {
        padding: 15px;
        border-radius: 10px;
    }

    .program-card h4 {
        font-size: 15px;
    }

    .program-card p,
    .program-card li {
        font-size: 13px;
        line-height: 1.5;
    }

    .program-card ul,
    .program-card ol {
        padding-left: 15px;
    }

    /* CTA */
    .pelatihan-cta {
        padding: 30px 15px;
        text-align: center;
    }

    .pelatihan-cta h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .pelatihan-cta p {
        font-size: 13px;
        line-height: 1.6;
    }

     .bencana h2 {
        font-size: 20px;
        text-align: center;
    }

    .bencana-desc {
        font-size: 14px;
        padding: 0 15px;
        text-align: justify;
    }


    .layanan-box {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .layanan-box .box {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .udd-desc {
        padding: 20px 20px;
    }

    .udd-desc p {
        font-size: 13px;
        line-height: 1.6;
        text-align: justify;
    }

    /* SYARAT */
    .syarat-container {
        display: flex;
        flex-direction: column; /* 🔥 jadi 1 kolom */
        gap: 10px;
    }

    .syarat-item {
        font-size: 13px;
    }

    .syarat-item .num {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* ALUR */
    .alur-list {
        padding: 0 10px;
    }

    .alur-item {
        font-size: 13px;
        line-height: 1.5;
    }

    /* MANFAAT */
    .manfaat-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 🔥 tetap 2 kolom */
        gap: 10px;
    }

    .manfaat-card {
        padding: 12px;
        text-align: center;
    }

    .manfaat-card i {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .manfaat-card p {
        font-size: 12px;
    }

    .layanan-udd .row {
        flex-direction: column;
        padding: 10px;
    }

    .layanan-udd .row .content {
        width: 100%;
        height: auto;
        padding: 20px;
        border-radius: 20px;
    }

    .layanan-udd .row .content img {
        height: 80px;
    }

    /* tombol */
    .layanan-udd .row .content button {
        width: 80%;
    }

    .klinik-hero .overlay {
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: start;
        height: 100%;
        padding: 20px;
    }

    .klinik-hero h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .klinik-hero p {
        font-size: 13px;
    }

    .jadwal span {
        display: inline-block;
        font-size: 12px;
        padding: 6px 10px;
        margin: 3px 0;
    }

    /* DESKRIPSI */
    .klinik-desc {
        padding: 20px 15px;
    }

    .klinik-desc p {
        font-size: 13px;
        line-height: 1.6;
        text-align: justify;
    }

    /* ALUR */
    .alur {
        padding: 30px 15px;
    }

    .alur h2 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 20px;
    }

    .alur-item {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .alur-item b {
        font-size: 14px;
    }

    /* LAYANAN GRID */
    .layanan-grid {
        display: grid;
        grid-template-columns: 1fr; /* 🔥 jadi 1 kolom */
        gap: 15px;
        justify-content: center;
    }

    .card-layanan {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .card-layanan img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .card-layanan h4 {
        font-size: 15px;
    }

    .card-layanan p {
        font-size: 13px;
    }

    .faq {
        margin-top: 40px;
        padding: 30px 15px;
        text-align: center;
    }

    .faq h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .faq .subtitle {
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }

    .faq-filter {
        display: flex;
        overflow-x: auto; /* 🔥 scroll samping */
        gap: 10px;

        margin-top: 20px;
        padding-bottom: 5px;
    }

    .faq-filter a {
        flex: 0 0 auto; 
    }

    .faq-filter button {
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    /* LIST */
    .faq-list {
        margin-top: 20px;
    }

    /* ITEM */
    .faq-item {
        padding: 5px 20px;
    }

    .faq-question {
        font-size: 13px;
        text-align: left;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        border-radius: 8px;
    }

    .faq-question .icon {
        font-size: 14px;
    }

    /* ANSWER */
    .faq-answer {
        font-size: 12px;
        line-height: 1.5;
        text-align: left;
        margin-top: 8px;
        border-radius: 8px;
    }

    /* CTA */
    .faq-cta {
        padding: 30px 15px;
        text-align: center;
    }

    .faq-cta h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .faq-cta p {
        font-size: 13px;
        line-height: 1.5;
    }

     /* DESC */
    .desc-bulan p {
        font-size: 14px;
        padding: 0 15px;
        text-align: justify;
    }

    /* CONTENT BULAN */
    .content-bulan {
        padding: 0 15px;
    }

    .judul-merah {
        font-size: 20px;
        text-align: center;
    }

    .row-bulan {
        flex-direction: column; /* dari horizontal jadi vertical */
        gap: 10px;
        margin-bottom: 20px;
    }

    .row-bulan.reverse {
        flex-direction: column; /* hilangkan reverse di mobile */
    }

    .row-bulan img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .row-bulan h3 {
        font-size: 16px;
    }

    .row-bulan p {
        font-size: 13px;
        text-align: justify;
    }

    /* KEGIATAN SLIDER */
    .kegiatan-wrapper {
        position: relative;
        padding: 0 10px;
    }

    .kegiatan-content-bulan {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 10px;
    }

    .card-kegiatan {
        min-width: 100%; 
        flex: 0 0 100%;
    }

    .card-kegiatan img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }

    .card-kegiatan .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
        color: white;
        padding: 10px;
        border-radius: 0 0 12px 12px;
    }

    /* tombol panah ganggu di HP */
    .prev,
    .next {
        display: none;
    }

        .pengunjung-grid,
    .pengunjung-grid2 {
        grid-template-columns: 1fr;
    }

    .pengunjung-card {
        width: 100%;
    }

    .pengunjung-card h1 {
        font-size: 28px;
    }

}