/* --- CSS VARIABLES & RESET --- */
        :root {
            --primary-green: #2e8b57;
            --dark-green: #1e5c39;
            --primary-blue: #4682b4;
            --light-blue: #f0f8ff;
            --white: #ffffff;
            --text-dark: #333333;
            --text-light: #666666;
            --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-dark);
            line-height: 1.6;
            background-color: var(--white);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Mobile Menu Button */
        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../gambar/sawah1.jpg') no-repeat center center/cover;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--white);
            padding-top: 60px;
        }

        .hero h1 {
            font-size: 4rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
            margin-bottom: 1rem;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 600px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
        }

        /* --- SECTIONS GENERAL --- */
        section {
            padding: 4rem 5%;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            margin-top: 1rem;
            color: var(--primary-green);
            font-size: 2rem;
            position: relative;
        }

        .section-subtitle {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary-green);
            font-size: 1.5rem;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--primary-blue);
            margin: 10px auto 0;
        }

        /* --- DESCRIPTION SECTION --- */
        .about {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        /* --- DETAILS CONTAINER --- */
        .details-container {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 60px 10%;
            gap: 2rem;
            margin-bottom: 5rem;
        }

        .details-text {
            flex: 1;
            min-width: 300px;
        }

        /* --- DATA --- */
        .data-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
            margin-bottom: 100px;
        }
        .data-card {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 10px;
            border-left: 5px solid var(--primary-blue);
            box-shadow: 0 2px 5px rgba(0,0,0,0.5);
        }
        .data-card h3 { color: var(--text-light); font-size: 0.9rem; text-transform: uppercase; }
        .data-card p { font-size: 1.8rem; font-weight: bold; color: var(--primary-green); }
        
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: white;
        }
        .data-table th, .data-table td {
            padding: 12px;
            border: 1px solid #ddd;
            text-align: left;
        }
        .data-table th { background: var(--primary-green); color: white; }

        .data-list {
        margin-left: 25px;
        margin-top: 15px;
        margin-bottom: 30px;
        list-style-type: disc; /* Memberi simbol titik bulat */
        }

        .data-list li {
        margin-bottom: 1rem; /* Memberi jarak antar baris teks */
        color: var(--text-dark);
        }

        .data-source {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-top: -20px;
        }

        /* Container Utama */
.tree {
    width: 100%;
    text-align: center;
}

.tree ul {
    padding-top: 20px; 
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
}

.tree li {
    float: left; 
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}

/* Membuat Garis Penghubung Horizontal */
.tree li::before, .tree li::after {
    content: '';
    position: absolute; 
    top: 0; 
    right: 50%;
    border-top: 2px solid #333;
    width: 50%; 
    height: 20px;
}
.tree li::after {
    right: auto; 
    left: 50%;
    border-left: 2px solid #333;
}

/* Menghapus garis di ujung kiri dan kanan */
.tree li:only-child::after, .tree li:only-child::before { display: none; }
.tree li:only-child { padding-top: 0; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 2px solid #333; border-radius: 0 5px 0 0; }
.tree li:first-child::after { border-radius: 5px 0 0 0; }

/* Membuat Garis Vertikal dari Atas */
.tree ul ul::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 50%;
    border-left: 2px solid #333;
    width: 0; 
    height: 20px;
}

/* Styling Kotak Nama */
.tree li a {
    border: 2px solid #333;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    background: white;
    transition: all 0.5s;
}

/* Efek Hover */
.tree li a:hover {
    background: #2ecc71;
    color: white;
    border-color: #27ae60;
}

/* Khusus Baris Kadus di Bawah */
.kadus-row {
    margin-top: 40px;
    border-top: 2px solid #333;
}

        /* --- FOOTER --- */
        footer {
            background: var(--dark-green);
            color: var(--white);
            text-align: center;
            padding: 2rem;
            margin-top: 2rem;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--white);
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
                padding: 1rem 0;
            }

            nav ul.active {
                display: flex;
            }

            nav ul li {
                margin: 0;
                text-align: center;
                padding: 10px 0;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .mySlides img {
                height: 300px;
            }
        }