        /* --- STYLE.CSS (Digabungkan disini) --- */
        
        /* CSS Reset and Basic Setup */
        :root {
            --primary-green: #004d40; /* Hijau tua yang dalam */
            --secondary-green: #00695c;
            --accent-gold: #c5a560; /* Emas sebagai aksen mewah */
            --light-bg: #f8f9fa;
            --dark-text: #333333;
            --light-text: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Lora', serif;
            line-height: 1.6;
            color: var(--dark-text);
            background-color: #e5e5e5;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: var(--primary-green);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: auto;
        }

        section {
            padding: 80px 0;
        }

        section:nth-of-type(odd) {
            background-color: var(--light-bg);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background-color: var(--accent-gold);
            margin: 10px auto 0;
            border-radius: 2px;
        }

        /* Header and Navigation */
        .header {
            background-color: rgba(255, 255, 255, 0.95); /* Sedikit lebih solid agar tulisan terbaca jelas saat di-scroll */
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem; /* Sedikit disesuaikan agar pas di layar kecil */
            font-weight: 700;
            color: var(--primary-green);
            text-decoration: none;
        }

        .nav-links {
            list-style: none;
            display: flex;
        }

        .nav-links li {
            margin-left: 25px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--secondary-green);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            position: relative;
            padding-bottom: 5px;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--accent-gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary-green);
        }
        
        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }
        
        /* Hamburger menu for mobile */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .menu-toggle .bar {
            width: 25px;
            height: 3px;
            background-color: var(--primary-green);
            margin: 4px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            background: url('img/background.png') no-repeat center center/cover;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--light-text);
            padding: 0 5%;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--light-text);
            font-weight: 700;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            font-family: 'Poppins', sans-serif;
        }

        .btn {
            padding: 12px 30px;
            background-color: #ffcd29;
            color: var(--primary-green);
            text-decoration: none;
            border-radius: 50px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: inline-block;
        }

        .btn:hover {
            background-color: transparent;
            border: 2px solid var(--accent-gold);
            color: var(--accent-gold);
        }

        /* Profile Section */
        .profile-content {
            display: flex;
            align-items: flex-start; /* Mengubah center ke flex-start agar lebih rapi jika teks panjang */
            gap: 50px;
        }

        .profile-image {
            flex: 1;
            position: sticky; /* Agar gambar tetap terlihat saat scroll teks panjang (opsional) */
            top: 100px;
        }

        .profile-image img {
            width: 100%; /* Mengubah 80% ke 100% agar responsif mengikuti container */
            max-width: 400px; /* Batas maksimal lebar gambar */
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            display: block;
            margin: 0 auto;
        }

        .profile-text {
            flex: 2;
        }
        
        .profile-text h3 {
            font-size: 1.8rem;
            margin-bottom: 5px; /* Mengurangi margin bawah agar lebih dekat dengan jabatan */
        }
        
        .profile-text h4 {
             margin-bottom: 20px;
             font-weight: 400;
             color: var(--secondary-green);
        }

        .profile-text p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .tabs {
            margin-top: 30px;
            display: flex;
            border-bottom: 1px solid #ddd;
        }
        .tab-button {
            padding: 12px 25px;
            cursor: pointer;
            border: none;
            background: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            color: var(--secondary-green);
            position: relative;
            transition: color 0.3s;
        }
        .tab-button:hover {
            color: var(--primary-green);
        }
        .tab-button.active {
            color: var(--primary-green);
        }
        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent-gold);
        }
        .tab-content {
            display: none;
            padding: 25px 0;
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .tab-content.active {
            display: block;
        }
        .tab-content ul {
            list-style-position: outside;
            margin-left: 20px;
        }
        .tab-content li {
            margin-bottom: 10px;
        }

        /* Ekstrakurikuler & Fasilitas Section */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .card {
            background: #fff;
            border-radius: 12px; /* Sedikit lebih bulat */
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

        .card-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        
        .card-content {
            padding: 25px;
            flex-grow: 1; /* Agar tinggi card seragam */
            display: flex;
            flex-direction: column;
        }

        .card-content h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--primary-green);
        }
        
        .card-content p {
            font-size: 0.95rem;
            color: #666;
        }

        /* --- NEW MAPS SECTION STYLES --- */
        .map-container {
            width: 100%;
            height: 450px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
            position: relative;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block; /* Menghilangkan gap kecil di bawah iframe */
        }

        /* Kontak Section */
        .contact-wrapper {
            display: flex;
            gap: 60px;
            background: #fff;
            padding: 50px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }

        .contact-info {
            flex: 1;
        }
        
        .contact-info h3, .contact-form h3 {
            font-size: 1.8rem;
            margin-bottom: 25px;
            color: var(--primary-green);
            position: relative;
            padding-bottom: 15px;
        }
        
        .contact-info h3::after, .contact-form h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-gold);
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        .info-item .icon {
            min-width: 50px;
            height: 50px;
            background: rgba(0, 77, 64, 0.1); /* Versi transparan dari primary green */
            color: var(--primary-green);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 20px;
            font-size: 1.4rem;
        }
        .info-item h4 {
            margin-bottom: 5px;
            font-size: 1.1rem;
        }

        .contact-form {
            flex: 1.5;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #eee;
            border-radius: 8px;
            font-family: 'Lora', serif;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-gold);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        .btn-submit {
            padding: 15px 40px;
            background-color: var(--primary-green);
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 50px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 77, 64, 0.3);
        }

        .btn-submit:hover {
            background-color: var(--secondary-green);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 77, 64, 0.4);
        }

        /* Footer */
        .footer {
            background-color: var(--primary-green);
            color: var(--light-text);
            padding: 60px 0 30px;
            text-align: center;
        }

        .footer .logo {
            color: var(--accent-gold);
            font-size: 2.2rem;
            display: block;
            margin-bottom: 20px;
        }

        .footer p {
            margin: 0 auto 30px;
            max-width: 600px;
            opacity: 0.9;
        }

        .social-links {
            margin-bottom: 40px;
        }

        .social-links a {
            color: var(--light-text);
            margin: 0 15px;
            display: inline-flex;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background-color: var(--accent-gold);
            color: var(--primary-green);
            transform: translateY(-3px);
        }

        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            opacity: 0.7;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .hero h1 { font-size: 3rem; }
            .section-title { font-size: 2.2rem; }
        }

        @media (max-width: 768px) {
            .header {
                padding: 5px 0;
            }
            .logo {
                font-size: 1.4rem;
            }
            .nav-links {
                position: absolute;
                top: 70px; /* Disesuaikan dengan tinggi header baru */
                right: 0;
                background-color: #fff;
                width: 100%;
                flex-direction: column;
                text-align: center;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            }
            .nav-links.active {
                max-height: 400px; /* Ditambah sedikit untuk mengakomodasi link baru */
            }
            .nav-links li {
                margin: 0;
            }
            .nav-links a {
                display: block;
                padding: 15px 0;
                border-bottom: 1px solid #f5f5f5;
            }
            .nav-links a::after {
                display: none; /* Hilangkan garis bawah hover di mobile */
            }

            .menu-toggle {
                display: flex;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            section {
                padding: 60px 0;
            }
            
            .profile-content {
                flex-direction: column;
                gap: 30px;
            }
            .profile-image {
                position: static;
                margin-bottom: 20px;
            }
            
            .contact-wrapper {
                flex-direction: column;
                padding: 30px;
                gap: 40px;
            }

            .map-container {
                height: 350px; /* Sedikit lebih pendek di mobile */
            }
        }
        
        @media (max-width: 480px) {
             .hero h1 {
                font-size: 2rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
            .tabs {
                flex-wrap: wrap;
            }
            .tab-button {
                flex: 1 1 auto;
                text-align: center;
                padding: 10px;
            }
        }

/* --- STYLE TAMBAHAN UNTUK MODAL PPDB --- */

/* Latar belakang gelap di belakang modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 2000; /* Di atas segalanya (header z-index 1000) */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    animation: fadeIn 0.4s;
}

/* Kotak konten modal */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: slideIn 0.4s;
}

/* Tombol Close (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--primary-green);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 20px;
}

/* Layout Form dalam Modal */
.ppdb-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.ppdb-form .form-row {
    display: flex;
    gap: 20px;
}

.ppdb-form .half {
    flex: 1;
}

/* Animasi */
@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Responsif untuk Modal */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    .ppdb-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* --- STRUKTUR ORGANISASI (Baru) --- */
.org-chart-wrapper {
    overflow-x: auto;
    padding-bottom: 50px;
    text-align: center;
}

/* CSS Tree Logic */
.org-tree, .org-tree ul, .org-tree li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.org-tree {
    display: inline-block;
    white-space: nowrap;
}

.org-tree ul {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.org-tree li {
    float: left; 
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
    transition: all 0.5s;
}

/* Garis Penghubung (Connectors) */
.org-tree li::before, .org-tree li::after {
    content: '';
    position: absolute; 
    top: 0; 
    right: 50%;
    border-top: 2px solid var(--primary-green);
    width: 50%; 
    height: 20px;
}

.org-tree li::after {
    right: auto; 
    left: 50%;
    border-left: 2px solid var(--primary-green);
}

/* Hapus konektor untuk single child */
.org-tree li:only-child::after, .org-tree li:only-child::before {
    display: none;
}
.org-tree li:only-child { 
    padding-top: 0;
}

/* Hapus konektor kiri dari anak pertama dan kanan dari anak terakhir */
.org-tree li:first-child::before, .org-tree li:last-child::after {
    border: 0 none;
}

/* Tambahkan konektor vertikal kembali untuk node terakhir */
.org-tree li:last-child::before {
    border-right: 2px solid var(--primary-green);
    border-radius: 0 5px 0 0;
}
.org-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* Konektor vertikal ke bawah dari parent */
.org-tree ul ul::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 50%;
    border-left: 2px solid var(--primary-green);
    width: 0; 
    height: 20px;
}

/* Kotak Jabatan (Node Style) */
.org-node {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 4px solid var(--primary-green);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    min-width: 160px;
    max-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    z-index: 10;
    position: relative;
    white-space: normal;
    transition: transform 0.3s ease;
}

.org-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-top-color: var(--accent-gold);
}

.org-role {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-green);
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-name {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

/* Varian untuk Komite (Garis putus-putus atau beda warna) */
.org-node.komite {
    border-top-color: var(--accent-gold);
    border-style: dashed;
}

/* List Style untuk Wali Kelas & Pengelola */
.org-list {
    text-align: left;
    margin-top: 10px;
    padding-left: 0;
}
.org-list li {
    list-style: none;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    float: none; /* Reset float dari tree li */
}
.org-list li:last-child {
    border-bottom: none;
}
.org-list strong {
    color: var(--primary-green);
    font-size: 0.8rem;
    margin-right: 5px;
}

/* --- Tambahan untuk Foto Struktur Organisasi --- */
.org-photo {
    width: 100px;       /* Lebar foto */
    height: 100px;      /* Tinggi foto */
    object-fit: cover; /* Agar foto tidak gepeng */
    border-radius: 15%; /* Membuat lingkaran */
    margin: 10px auto 0 auto; /* Posisi tengah */
    display: block;
    border: 3px solid var(--light-bg); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #eee; /* Warna dasar jika foto loading */
}