* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #252525;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}


/* =========================
   NAVBAR HERO
========================= */

.navbar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;

    background: transparent;

    color: white;
}


.nav-container {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.logo {
    display: flex;

    align-items: center;

    gap: 9px;

    color: white;

    text-decoration: none;

    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;
}


.logo img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}


.nav-menu {
    display: flex;

    align-items: center;

    gap: 27px;
}


.nav-menu a {
    position: relative;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    padding: 8px 0;
}


.nav-menu a:hover {
    color: #90caf9;
}


/* GARIS BIRU DI BAWAH MENU */

.nav-menu a:hover::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -5px;

    height: 3px;

    border-radius: 5px;

    background: #42a5f5;
}


.nav-right {
    display: flex;

    align-items: center;

    gap: 15px;
}


.nav-clock {
    padding-left: 15px;

    border-left: 1px solid rgba(255,255,255,0.45);

    color: white;

    font-size: 13px;

    white-space: nowrap;
}


.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 24px;

    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 650px;

    background-image: url("../img/banner-hero.jpg");
    background-size: cover;
    background-position: center center;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;
}


/* OVERLAY BIRU */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 55, 105, 0.82) 0%,
            rgba(0, 70, 125, 0.60) 35%,
            rgba(0, 80, 140, 0.20) 72%,
            rgba(0, 80, 140, 0.05) 100%
        );
}


/* =========================
   ISI HERO
========================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 125px 50px 120px;
}


/* =========================
   RUNNING TEXT
========================= */

.hero-ticker {
    width: 670px;
    max-width: 100%;

    height: 45px;

    margin: 0 auto 55px;

    border: 1px solid rgba(255, 255, 255, 0.55);

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(7px);

    display: flex;
    align-items: center;

    overflow: hidden;
}


.ticker-icon {
    flex: 0 0 auto;

    padding-left: 17px;
    padding-right: 12px;

    font-size: 16px;
}


.ticker-wrapper {
    flex: 1;

    overflow: hidden;

    white-space: nowrap;
}


.ticker-text {
    display: inline-block;

    padding-left: 100%;

    animation: tickerBerjalan 18s linear infinite;

    font-size: 13px;

    font-weight: 500;
}


@keyframes tickerBerjalan {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }

}


/* =========================
   TEKS HERO
========================= */

.hero-text {
    max-width: 560px;

    margin-left: 15px;
}


.hero-subtitle {
    display: block;

    margin-bottom: 14px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2.5px;

    color: rgba(255, 255, 255, 0.92);
}


.hero-text h1 {
    margin: 0;

    font-size: 72px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -2px;
}


.hero-text h1 span {
    color: #42a5f5;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-weight: 500;

    letter-spacing: -1px;
}


.hero-text p {
    max-width: 500px;

    margin: 25px 0;

    font-size: 16px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.93);
}


/* =========================
   TOMBOL
========================= */

.hero-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 13px 24px;

    border-radius: 30px;

    background: #2196f3;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}


.hero-button span {
    font-size: 19px;
}


.hero-button:hover {
    background: #1976d2;

    transform: translateY(-2px);
}


/* =========================
   WAVE BAWAH
========================= */

.hero-wave {
    position: absolute;

    left: 0;
    bottom: -2px;

    width: 100%;
    height: 125px;

    z-index: 4;

    pointer-events: none;
}


.hero-wave svg {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 125px;

    display: block;
}


.wave-blue path {
    fill: #1976d2;
}


.wave-white path {
    fill: white;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 100px 0;
}

.section-light {
    background: #f7f7f5;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading.center {
    text-align: center;
}

.section-heading span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
    opacity: 0.55;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 10px 0;
}

.section-heading p {
    max-width: 600px;
    margin: auto;
    opacity: 0.7;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 350px;
    height: 350px;
    object-fit: contain;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
}

.about-content h3 {
    margin-bottom: 10px;
}


/* =========================
   PLACEHOLDER
========================= */

.placeholder-image {
    background: #e8e8e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

.placeholder-image span {
    font-weight: bold;
}

.placeholder-image small {
    margin-top: 5px;
}


/* =========================
   FEATURE
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 35px;
    border: 1px solid #e8e8e8;
}

.feature-icon {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 25px;
    opacity: 0.5;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
}

.feature-card a,
.card-link,
.news-body a {
    font-weight: bold;
    font-size: 14px;
}


/* =========================
   OFFICIAL
========================= */

.official-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.official-card {
    text-align: center;
}

.official-photo {
    height: 300px;
    background: #e8e8e4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    color: #777;
}

.official-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-card h3 {
    font-size: 17px;
}

.official-card p {
    color: #777;
    font-size: 14px;
}


/* =========================
   CONTENT CARD
========================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.content-card {
    background: white;
    border: 1px solid #e8e8e8;
}

.card-image {
    height: 250px;
    background: #e8e8e4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.badge {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
}

.card-body h3 {
    margin: 8px 0 10px;
}

.card-body p {
    color: #666;
    margin-bottom: 20px;
}


/* =========================
   GALLERY
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 250px;
    background: #e8e8e4;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.section-button {
    margin-top: 35px;
    text-align: center;
}


/* =========================
   NEWS
========================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    border: 1px solid #e8e8e8;
    background: white;
}

.news-image {
    height: 230px;
    background: #e8e8e4;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 25px;
}

.news-body small {
    color: #888;
}

.news-body h3 {
    margin: 8px 0 20px;
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
}

.map-placeholder {
    min-height: 350px;
    background: #e8e8e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

.map-placeholder span {
    font-weight: bold;
}

.map-placeholder small {
    margin-top: 5px;
}


/* =========================
   EMPTY STATE
========================= */

.empty-state {
    padding: 30px;
    color: #777;
    border: 1px dashed #ccc;
}


/* =========================================================
   FOOTER — DUSUN BLUNYAH
========================================================= */

.site-footer {
    position: relative;

    background: #0D47A1;

    color: white;

    padding: 65px 0 25px;

    overflow: hidden;
}


/* AKSEN BIRU MUDA DI ATAS */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #42A5F5;
}


/* =========================
   FOOTER MAIN
========================= */

.footer-main {
    display: grid;

    grid-template-columns:
        1.6fr 0.8fr 1fr;

    gap: 70px;

    padding-bottom: 45px;
}


/* =========================
   BRAND
========================= */

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: white;

    text-decoration: none;

    margin-bottom: 18px;
}


.footer-logo img {
    width: 52px;
    height: 52px;

    object-fit: contain;
}


.footer-logo strong {
    display: block;

    font-size: 20px;

    line-height: 1.3;
}


.footer-logo span {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,0.7);

    font-size: 12px;
}


.footer-brand p {
    max-width: 430px;

    margin: 0;

    color: rgba(255,255,255,0.75);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================
   JUDUL
========================= */

.footer-menu h3,
.footer-contact h3 {
    margin: 5px 0 20px;

    color: white;

    font-size: 16px;

    font-weight: 700;
}


.footer-menu h3::after,
.footer-contact h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 3px;

    margin-top: 9px;

    border-radius: 5px;

    background: #42A5F5;
}


/* =========================
   MENU
========================= */

.footer-menu {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}


.footer-menu a {
    color: rgba(255,255,255,0.72);

    text-decoration: none;

    font-size: 13px;

    transition: 0.25s;
}


.footer-menu a:hover {
    color: white;

    padding-left: 4px;
}


/* =========================
   KONTAK
========================= */

.footer-contact p {
    margin: 0 0 13px;

    color: rgba(255,255,255,0.72);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================
   GARIS
========================= */

.footer-line {
    width: 100%;

    height: 1px;

    background: rgba(255,255,255,0.15);
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .site-footer {
        padding: 50px 0 25px;
    }


    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

}


@media (max-width: 550px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .footer-brand {
        grid-column: auto;
    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        gap: 18px;
        border-bottom: 1px solid #ddd;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .card-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .official-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 580px;
    }

    .section {
        padding: 70px 0;
    }

}

@media (max-width: 500px) {

    .official-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 32px;
    }

}

/* =========================
   PAGE HEADER
========================= */

.page-header {
    margin-top: 72px;
    padding: 100px 0 80px;
    background: #f7f7f5;
}

.page-header span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
    opacity: 0.55;
}

.page-header h1 {
    font-size: clamp(40px, 6vw, 65px);
    line-height: 1.1;
    margin: 15px 0;
}

.page-header p {
    max-width: 600px;
    color: #666;
}


/* =========================
   ARTICLE
========================= */

.article-container {
    max-width: 850px;
}

.article-image {
    margin-bottom: 40px;
}

.article-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.article-back {
    margin-top: 45px;
}


/* =========================
   GALLERY PAGE
========================= */

.gallery-page {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-page .gallery-item {
    height: 300px;
    position: relative;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .gallery-page {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px) {

    .gallery-page {
        grid-template-columns: 1fr;
    }

}

/* =========================
   CAROUSEL UMKM & FASILITAS
========================= */

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    width: max-content;
}

.carousel-card {
    width: calc((100vw - 160px) / 3);
    max-width: 350px;
    flex: 0 0 calc((100vw - 160px) / 3);
}

/* Tombol */

.carousel-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.05);
}

/* Deskripsi maksimal 3 baris */

.deskripsi-singkat {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* Tablet */

@media (max-width: 1000px) {

    .carousel-card {
        width: calc((100vw - 120px) / 2);
        flex: 0 0 calc((100vw - 120px) / 2);
    }

}

/* HP */

@media (max-width: 600px) {

    .carousel-wrapper {
        gap: 8px;
    }

    .carousel-card {
        width: 100%;
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}


/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-menu {
        position: absolute;

        top: 82px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        gap: 20px;

        padding: 25px;

        border-radius: 15px;

        background: rgba(0, 55, 110, 0.97);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-clock {
        display: none;
    }

    .hero {
        min-height: 700px;

        background-position: 60% center;
    }

    .hero-content {
        padding-top: 130px;
    }

    .hero-ticker {
        margin-bottom: 55px;
    }

    .hero-text {
        max-width: 90%;
    }

    .hero-text h1 {
        font-size: 60px;
    }

}


@media (max-width: 600px) {

    .logo span {
        font-size: 16px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 720px;

        background-position: 58% center;
    }

    .hero-content {
        padding-top: 125px;
    }

    .hero-ticker {
        height: 42px;

        margin-bottom: 50px;
    }

    .ticker-text {
        font-size: 12px;
    }

    .hero-subtitle {
        font-size: 11px;

        letter-spacing: 2px;
    }

    .hero-text h1 {
        font-size: 52px;

        letter-spacing: -2px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-wave svg {
        height: 80px;
    }

}


@media (max-width: 900px) {

    .nav-menu {
        position: absolute;

        top: 78px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        padding: 22px;

        border-radius: 15px;

        background: rgba(0, 55, 105, 0.97);
    }


    .nav-menu.active {
        display: flex;
    }


    .menu-toggle {
        display: block;
    }


    .nav-clock {
        display: none;
    }


    .hero-content {
        padding: 125px 35px 100px;
    }


    .hero-text {
        margin-left: 0;
    }


    .hero-text h1 {
        font-size: 60px;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 680px;

        background-position: 60% center;
    }


    .hero-content {
        padding: 120px 25px 90px;
    }


    .hero-ticker {
        margin-bottom: 45px;

        height: 40px;
    }


    .ticker-text {
        font-size: 11px;
    }


    .hero-subtitle {
        font-size: 10px;

        letter-spacing: 1.8px;
    }


    .hero-text h1 {
        font-size: 48px;
    }


    .hero-text p {
        font-size: 14px;

        margin: 20px 0;
    }


    .hero-wave,
    .hero-wave svg {
        height: 85px;
    }

}


/* =========================================================
   GLOBAL STYLE — DUSUN BLUNYAH
========================================================= */

:root {
    --blue: #1976D2;
    --blue-light: #42A5F5;
    --blue-dark: #0D47A1;
    --blue-soft: #EAF4FD;

    --white: #FFFFFF;
    --bg: #F5F9FD;
    --text: #1F2937;
    --text-light: #64748B;

    --radius: 16px;
    --shadow: 0 8px 25px rgba(13, 71, 161, 0.08);
}


/* =========================
   BODY
========================= */

body {
    margin: 0;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--bg);
}


/* =========================
   SECTION
========================= */

.section {
    padding: 90px 0;

    background: var(--white);
}


.section-light {
    background: var(--bg);
}


/* =========================
   JUDUL SECTION
========================= */

.section-heading {
    margin-bottom: 45px;

    text-align: center;
}


.section-heading span {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.section-heading h2 {
    margin: 0;

    color: var(--blue-dark);

    font-size: 34px;

    line-height: 1.2;

    font-weight: 750;
}


.section-heading h2::after {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    margin: 14px auto 0;

    border-radius: 10px;

    background: var(--blue);
}


/* =========================
   TENTANG DUSUN
========================= */

.about-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    align-items: center;

    gap: 60px;
}


.about-image {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 300px;

    padding: 35px;

    background: var(--blue-soft);

    border-radius: 25px;
}


.about-image img {
    width: 210px;
    height: 210px;

    object-fit: contain;

    filter: drop-shadow(
        0 10px 15px rgba(13, 71, 161, 0.12)
    );
}


.about-content h3 {
    margin: 0 0 10px;

    color: var(--blue-dark);

    font-size: 21px;
}


.about-content p {
    margin: 0 0 25px;

    color: var(--text-light);

    line-height: 1.8;

    font-size: 15px;
}


/* =========================
   CARD UMUM
========================= */

.content-card {
    background: var(--white);

    border: 1px solid #E5EDF5;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.content-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(13, 71, 161, 0.13);
}


/* GAMBAR CARD */

.card-image {
    position: relative;

    height: 210px;

    overflow: hidden;

    background: var(--blue-soft);

    display: flex;

    align-items: center;
    justify-content: center;
}


.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.content-card:hover .card-image img {
    transform: scale(1.04);
}


.card-image span {
    color: var(--blue);

    font-size: 13px;

    font-weight: 600;
}


/* ISI CARD */

.card-body {
    padding: 22px;
}


.card-body h3 {
    margin: 10px 0 10px;

    color: var(--blue-dark);

    font-size: 20px;

    line-height: 1.3;
}


.card-body p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;
}


/* BADGE */

.badge {
    display: inline-block;

    padding: 5px 11px;

    border-radius: 20px;

    background: var(--blue-soft);

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}


/* LINK */

.card-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 8px;

    color: var(--blue);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


.card-link:hover {
    color: var(--blue-dark);
}


/* =========================================================
   PERANGKAT DUSUN
========================================================= */

#perangkat {
    background: var(--bg);
}


#perangkat .content-card {
    text-align: center;
}


#perangkat .card-image {
    height: 230px;

    background:
        linear-gradient(
            145deg,
            #EAF4FD,
            #F7FBFF
        );
}


#perangkat .card-body {
    padding: 20px;
}


#perangkat .card-body h3 {
    margin-top: 0;

    font-size: 18px;
}


#perangkat .card-body p {
    margin: 0;

    color: var(--blue);

    font-weight: 600;
}


/* =========================================================
   UMKM & FASILITAS CAROUSEL
========================================================= */

.carousel-wrapper {
    display: flex;

    align-items: center;

    gap: 18px;

    width: 100%;
}


.carousel-container {
    flex: 1;

    width: 100%;

    overflow: hidden;
}


.carousel-track {
    display: flex;

    gap: 20px;

    width: max-content;

    transition: transform 0.4s ease;
}


.carousel-card {
    flex: 0 0 350px;

    width: 350px;
}


.carousel-btn {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border: 1px solid #DCEAF7;

    border-radius: 50%;

    background: white;

    color: var(--blue);

    font-size: 18px;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.08);

    transition: 0.25s;
}


.carousel-btn:hover {
    background: var(--blue);

    color: white;

    border-color: var(--blue);

    transform: scale(1.05);
}


/* =========================================================
   GALERI
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.gallery-item {
    position: relative;

    height: 250px;

    overflow: hidden;

    border-radius: 16px;

    background: var(--blue-soft);
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   BERITA
========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.news-card {
    background: white;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #E5EDF5;

    box-shadow: var(--shadow);

    transition: 0.3s;
}


.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(13, 71, 161, 0.12);
}


.news-card img {
    width: 100%;

    height: 200px;

    object-fit: cover;
}


.news-card-body {
    padding: 22px;
}


.news-card-body h3 {
    margin: 8px 0 10px;

    color: var(--blue-dark);

    font-size: 19px;

    line-height: 1.4;
}


.news-card-body p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   KONTAK
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 35px;

    align-items: stretch;
}


.contact-info {
    padding: 35px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            var(--blue-dark),
            var(--blue)
        );

    color: white;
}


.contact-info h3 {
    margin-top: 0;

    font-size: 24px;
}


.contact-info p {
    margin: 12px 0;

    color: rgba(255,255,255,0.88);

    line-height: 1.7;

    font-size: 14px;
}


.map-container {
    width: 100%;

    min-height: 400px;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);

    border: 1px solid #E2ECF5;
}


.map-container iframe {
    width: 100%;

    height: 400px;

    border: 0;

    display: block;
}


/* =========================================================
   DETAIL PAGE
========================================================= */

.article-container {
    max-width: 900px;

    margin: 0 auto;
}


.article-back {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--blue);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


.article-image {
    margin: 30px 0;

    border-radius: 20px;

    overflow: hidden;

    background: var(--blue-soft);
}


.article-image img {
    display: block;

    width: 100%;

    max-height: 500px;

    object-fit: cover;
}


.article-content {
    padding: 10px 0;
}


.article-content h2 {
    margin-top: 25px;

    color: var(--blue-dark);
}


.article-content p {
    color: var(--text-light);

    line-height: 1.9;

    font-size: 16px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: var(--blue-dark);

    color: white;

    padding: 50px 0 25px;
}


footer a {
    color: rgba(255,255,255,0.8);

    text-decoration: none;
}


footer a:hover {
    color: white;
}


.footer-bottom {
    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.15);

    text-align: center;

    color: rgba(255,255,255,0.65);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 70px 0;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .about-image {
        min-height: 250px;
    }


    .gallery-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .carousel-card {
        flex-basis: 300px;

        width: 300px;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 60px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .section-heading h2 {
        font-size: 28px;
    }


    .gallery-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }


    .gallery-item {
        height: 230px;
    }


    .carousel-card {
        flex-basis: 100%;

        width: 100%;
    }


    .carousel-wrapper {
        gap: 8px;
    }


    .carousel-btn {
        flex-basis: 36px;

        width: 36px;
        height: 36px;
    }


    .contact-info {
        padding: 25px;
    }

}