        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        /* --- tetap pakai variable warna & sebagian style asli --- */
        :root {
            --accent: #0A9E53;
            /* Hijau terang profesional */
            --accent-dark: #065F36;
            /* Hijau gelap elegan */
            --accent-soft: #CDEEE0;
            /* Hijau pastel lembut */
            --accent-glow: #19C97A;
            /* Hijau futuristik cerah */

            --muted: #4f5a4f;
            --card: #ffffff;
            --bg: #F4FAF7;
            --glass: rgba(255, 255, 255, 0.65);
            --radius: 12px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        html,
        body {
            height: 100%
        }

        body {
            font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
            background: linear-gradient(180deg, #f7fbf9 0%, var(--bg) 100%);
            color: #111;
            -webkit-font-smoothing: antialiased;
        }

        /* NAVBAR (baru) */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 6%;
            background: #ffffff;
            backdrop-filter: none;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            z-index: 3000;
            transition: background .28s ease, box-shadow .28s ease;
        }

        nav.scrolled {
            background: #ffffff;
            box-shadow: 0 6px 20px rgba(12, 25, 18, 0.06);
        }

        .nav-left .logo {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.2rem;
            text-decoration: none;
        }

        .nav-right ul {
            display: flex;
            gap: 18px;
            list-style: none;
            align-items: center;
        }

        .nav-right a {
            color: #0b0b0b;
            text-decoration: none;
            font-weight: 600;
            padding: 8px 10px;
            border-radius: 8px;
        }

        .nav-right a:hover {
            background: rgba(15, 122, 82, 0.08);
            color: var(--accent);
        }

        .nav-right a.active {
            background: rgba(15, 122, 82, 0.12);
            color: var(--accent);
        }

        /* Burger for mobile (ke-sesuai-kan asli) */
        .burger {
            display: none;
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 8px;
        }

        .burger span {
            display: block;
            height: 3px;
            width: 24px;
            background: #111;
            margin: 4px 0;
            border-radius: 3px
        }

        /* --- HERO: pakai video background (path sesuai yang lo pakai) --- */
        .hero {
            min-height: 80vh;
            padding-top: 72px;
            /* supaya tidak tertutup navbar fixed */
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
        }

        /* video sebagai background */
        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: -2;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
            z-index: -1;
        }

        .hero-card-centered {
            width: 90%;
            max-width: 1100px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
            padding: 28px;
            border-radius: 12px;
            box-shadow: none;
            display: block;
            color: #fff;
            z-index: 2;
        }

        .hero-card-centered h1 {
            font-size: clamp(24px, 3vw, 40px);
            color: #fff;
            margin-bottom: 10px;
        }

        .hero-card-centered p {
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.6;
            max-width: 820px;
            margin: 0 auto;
        }

        .hero-cta {
            margin-top: 18px;
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .btn-wa {
            background: #25D366;
            color: #fff;
            padding: 10px 18px;
            border-radius: 999px;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            gap: 8px;
            align-items: center;
        }

        .btn-wa:hover {
            opacity: .95;
        }

        .wa-float {
            position: fixed;
            right: 18px;
            bottom: 18px;
            z-index: 4000;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #25D366;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(37, 211, 102, 0.18);
        }

        .wa-float img {
            width: 32px;
            height: 32px;
        }

        /* --- Sections (kembalikan style asli) --- */
        main {
            padding-top: 24px
        }

        section {
            padding: 44px 6%;
        }

        .section-wrap {
            max-width: 1100px;
            margin: 0 auto
        }

        .section-header {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 18px
        }

        .section-header h2 {
            color: var(--accent);
            font-size: 1.1rem;
            letter-spacing: 1px
        }

        .section-header h3 {
            font-size: 1.6rem;
            color: #222
        }

        .card {
            background: var(--card);
            border-radius: var(--radius);
            padding: 18px;
            margin-bottom: 18px;
            box-shadow: 0 6px 18px rgba(12, 25, 18, 0.04)
        }

        .section-img {
            height: 220px;
            background: linear-gradient(180deg, #efefef, #e6efe6);
            border-radius: 10px;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #9aa79a
        }

        .section-title {
            font-weight: 700;
            margin-bottom: 8px
        }

        .section-desc {
            line-height: 1.8;
            color: var(--muted)
        }

        .muted {
            color: var(--muted)
        }

        .lead {
            font-size: 1rem
        }

        /* layanan grid (simpel) */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 14px
        }

        .service-card {
            background: var(--card);
            padding: 12px;
            border-radius: 10px;
            box-shadow: 0 6px 18px rgba(12, 25, 18, 0.04)
        }

        /* footer: mirip gambar contoh, tapi sesuai tema */
        footer {
            padding: 28px 6%;
            color: var(--muted);
            background: #0f2a2a;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 28px;
            align-items: start;
            max-width: 1100px;
            margin: 0 auto;
        }

        .footer-grid h3 {
            color: #fff;
            margin-bottom: 12px;
            font-size: 1.05rem
        }

        .footer-contact p,
        .footer-contact a {
            color: rgba(255, 255, 255, 0.9);
            margin: 4px 0;
            font-size: 0.95rem;
            text-decoration: none
        }

        .footer-sosmed {
            margin-top: 14px;
            display: flex;
            gap: 12px;
        }

        .footer-input {
            margin-top: 8px
        }

        .footer-input input {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: none;
        }

        .footer-input button {
            margin-top: 10px;
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: none;
            background: #1a73e8;
            color: white;
            font-weight: 700
        }

        /* === ADDED: media rectangle support for About / Visi / Misi (requested) === */
        .media-rect {
            width: 100%;
            height: 100%;
            min-height: 450px;
            max-height: 360px;
            border-radius: 14px;
            overflow: hidden;
            background: linear-gradient(180deg, #efefef, #e6efe6);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* media elements inside the media-rect */
        .media-rect img,
        .media-rect video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* wide grid for side media: keep fallback consistent with original */
        .grid-side-media {
            display: grid;
            grid-template-columns: 1fr 520px;
            /* media agak lebar */
            gap: 20px;
            align-items: start;
        }

        /* small fixes for images inside old .section-img used elsewhere */
        .section-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 8px;
        }

        /* MOBILE / RESPONSIVE BEHAVIOR */
        @media(max-width:980px) {
            .hero-card-centered {
                padding: 18px
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 18px
            }

            .services-grid {
                grid-template-columns: 1fr
            }

            .grid-side-media {
                grid-template-columns: 1fr;
            }

            .media-rect {
                min-height: 180px;
                max-height: 260px;
            }
        }

        @media(max-width:768px) {
            nav .nav-right {
                display: block;
                /* allow parent tetap hidup */
                position: absolute;
                top: 72px;
                right: 6%;
                width: calc(100% - 12%);
                max-width: 360px;
                z-index: 4000;
            }

            .burger {
                display: block
            }

            /* mobile menu: show/hide via JS toggling class "show" on #nav-menu */
            #nav-menu {
                display: none;
                background: #ffffff;
                padding: 16px;
                border-radius: 12px;
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
                flex-direction: column;
                gap: 10px;
            }

            #nav-menu.show {
                display: flex !important;
            }

            #nav-menu li {
                display: block;
                margin: 8px 0;
            }

            #nav-menu a {
                color: #0b0b0b;
                display: block;
                padding: 8px;
            }
        }

        /* Reveal animation (sama seperti lo minta sebelumnya) */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity .6s ease, transform .6s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: none;
        }

        .reveal-side {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity .6s ease, transform .6s ease;
        }

        .reveal-side.visible {
            opacity: 1;
            transform: none;
        }

        /* GLOBAL PARAGRAPH IMPROVEMENT */
        p,
        .article-block p,
        .section-desc,
        .lead-text,
        .content-container p,
        .card p,
        .footer p {
            font-size: 1.15rem !important;
            line-height: 1.85 !important;
            font-weight: 600 !important;
            color: #275f2e !important;
            letter-spacing: 0.2px !important;
        }

        /* WARNA TEKS MISI */
        .mission-item p {
            color: #ffffff;
            font-weight: 600;
        }

        /* WARNA TEKS LEAD */
        .lead {
            color: #ffffff !important;
            font-weight: 600;
        }

        /* ✅ Semua teks paragraf di HERO / HEADER */
        .page-header p,
        .hero-card-centered p {
            color: #ffffff !important;
            font-weight: 600;
        }

        /* ✅ Semua teks paragraf di konten utama */
        .content-container p,
        .article-block p,
        .service-block p {
            color: #0f0f0f;
            font-weight: 600;
        }

        /* ✅ Semua teks deskripsi */
        .section-desc {
            color: #ffffff !important;
            font-weight: 600;
        }

        /* ✅ Semua teks di katalog */
        .desc {
            color: #0f0f0f;
            font-weight: 600;
        }

        /* ✅ Footer tetap putih */
        .footer p {
            color: #ffffff !important;
            font-weight: 600;
        }

        /* ✅ WARNA TEKS MISI */
        .grid-side-media ul li {
            color: #275f2e !important;
            font-weight: 600;
            line-height: 1.85;
            letter-spacing: 0.2px;
        }

        /* ✅ LOGO NAVBAR PUTIH DI SEMUA HALAMAN */
        nav .logo {
            color: #000000 !important;
        }

        /* LOGO DI NAVBAR */
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff !important;
        }

        .logo-img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        footer,
        footer h3,
        footer p,
        footer a {
            color: #ffffff !important;
        }

        footer .footer-contact p {
            color: rgba(255, 255, 255, 0.9) !important;
        }

        footer .footer-grid h3 {
            color: #ffffff !important;
        }

        /* RATA TENGAH-KIRI (JUSTIFY) UNTUK SEMUA TEKS DESKRIPSI */
        .desc,
        .tentang-text,
        .visi-text,
        .misi-text,
        .article-block p,
        #tentang p,
        #visi p,
        #misi p {
            text-align: justify;
            text-justify: inter-word;
        }

        /* ===== PERATAAN PARAGRAF UNTUK INDEX ===== */
        .tentang-text p,
        .visi-text p,
        .misi-text p,
        .grid-side-media p,
        .grid-side-media li {
            text-align: justify;
            text-justify: inter-word;
        }

        /* ===== PERATAAN PARAGRAF UNTUK LAYANAN ===== */
        .layanan-desc,
        .service-block p,
        .service-block p {
            text-align: justify;
            text-justify: inter-word;
        }

        .footer-map iframe {
            width: 100%;
            height: 180px;
            border-radius: 10px;
        }

        ul li {
            font-size: 17px;
            line-height: 1.7;
        }

        /* === GLOBAL RESPONSIVE FIX === */
        @media(max-width:768px) {

            #nav-menu {
                position: absolute;
                top: 70px;
                right: 0;
                width: 100%;
                background: #ffffff;
                flex-direction: column;
                align-items: center;
                gap: 15px;
                padding: 20px 0;
                display: none;
            }

            #nav-menu.show {
                display: flex;
            }

            .content-container,
            .service-block,
            .article-block {
                padding: 0 15px;
            }

            .image-gallery {
                grid-template-columns: 1fr !important;
            }

            .image-gallery img {
                height: auto !important;
            }

            .page-header {
                padding: 120px 20px !important;
                text-align: center;
            }
        }

        /* ✅ HILANGKAN SCROLL KIRI-KANAN INDEX */
        @media(max-width: 900px) {
            .grid-side-media {
                grid-template-columns: 1fr !important;
                width: 100% !important;
                margin: 0 auto !important;
            }

            .media-rect {
                max-width: 100% !important;
            }
        }

        body,
        html {
            overflow-x: hidden;
        }

        .text-below {
            margin-top: 25px;
        }

        .text-below p {
            line-height: 1.85;
            font-size: 1.15rem;
            font-weight: 600;
            color: #275f2e;
            text-align: justify;
        }   