/* ======== PENGATURAN DASAR & VARIABEL ======== */
:root {
    --primary-blue: #007BFF;
    --primary-orange: #FFA500;
    --primary-cyan: #00BCD4;
    --text-dark: #333;
    --text-light: #FFFFFF;
    --bg-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.bg-light {
    background-color: var(--bg-light);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e69500;
}

/* ======== NAVBAR ======== */
.navbar {
    background: var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-toggler {
    display: none;
    cursor: pointer;
}

.nav-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggler.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ======== HERO (HOME) SECTION ======== */
.hero {
    min-height: 100vh;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 350px;
    width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 1;
}

.shape-blue {
    width: 400px;
    height: 400px;
    background-color: var(--primary-blue);
    top: -100px;
    right: -100px;
}

.shape-orange {
    width: 200px;
    height: 200px;
    background-color: var(--primary-orange);
    bottom: 50px;
    left: -50px;
}

/* ======== TENTANG SECTION ======== */
.tentang-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tentang-text {
    flex: 1;
}

.tentang-image {
    flex: 1;
}

.tentang-image img {
    width: 100%;
    border-radius: 8px;
}

/* ======== SECTION TINGKAT PENDIDIKAN (CSS BARU) ======== */
#pendidikan {
    padding-top: 5rem;
    padding-bottom: 3rem;
    /* Mengurangi padding bawah karena label sudah di dalam */
    overflow: visible;
    /* Penting agar lengkungan bisa melebar */
}

/* Ini sekarang menjadi lengkungan biru */
.pendidikan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Meratakan item di tengah (vertikal) */
    gap: 1rem;
    flex-wrap: wrap;

    background-color: var(--primary-blue);
    padding: 3rem 2rem;
    /* Ruang di dalam lengkungan */

    /* Trik untuk membuat lengkungan */
    position: relative;
    width: 140%;
    /* Lebih lebar dari layar */
    left: 50%;
    transform: translateX(-50%);

    /* Bentuk lengkungan atas */
    border-radius: 50% / 120px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.pendidikan-item {
    text-align: center;
    width: 190px;
    text-decoration: none;
    color: var(--text-light);
    /* Warna teks default jadi putih */
    transition: transform 0.3s ease;
}

.pendidikan-item:hover {
    transform: scale(1.05);
}

.pendidikan-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /*background-color: white;*/
    /* Lingkaran putih di belakang logo */
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;*/
    /* Jarak antara logo dan teks */
}

.pendidikan-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    /* Pastikan warna teks putih */
    line-height: 1.3;
    margin: 0;
    /* Hapus margin default dari h3 */
}

/* ======== SECTION DETAIL SEKOLAH (PGTK, SD, SMP, SMA) ======== */
.detail-section {
    padding: 5rem 0;
    overflow: hidden;
    /* Kembalikan overflow hidden */
}

.detail-section h2.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.detail-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.detail-image {
    flex: 1;
}

.detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-info {
    flex: 1.2;
}

.detail-info h3 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.detail-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.detail-info p strong {
    display: inline-block;
    width: 180px;
    color: #555;
}

.detail-info a {
    color: var(--primary-blue);
    text-decoration: none;
}

.detail-info a:hover {
    text-decoration: underline;
}

/* Galeri Foto Kegiatan */
.detail-image.gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Info List (01, 02, 03) */
.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-list .list-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 1rem;
}

.info-list li:nth-child(2) .list-number {
    background-color: var(--primary-cyan);
}

.info-list li:nth-child(3) .list-number {
    background-color: var(--primary-blue);
}

.info-list .list-content strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.info-list .list-content p {
    margin: 0;
    font-size: 0.95rem;
}


/* ======== KONTAK SECTION ======== */
.kontak-content {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 5;
}

.kontak-info,
.kontak-form {
    flex: 1;
}

.kontak-info p {
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ======== FOOTER ======== */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 5;
}

/* ======== MEDIA QUERIES (RESPONSIVE) ======== */
@media (max-width: 1100px) {
    .pendidikan-wrapper {
        width: 100%;
        /* Balik ke 100% di layar kecil */
        border-radius: 0;
        /* Hilangkan lengkungan jika mau */
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}


@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    h2,
    .detail-section h2.section-title {
        font-size: 2rem;
    }

    /* Navigasi Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        background: var(--text-light);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggler {
        display: block;
    }

    /* Hero Mobile */
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text,
    .hero-image {
        max-width: 100%;
    }

    .hero-image img {
        max-width: 250px;
    }

    /* Tentang Mobile */
    .tentang-content {
        flex-direction: column;
    }

    /* Pendidikan Mobile */
    .pendidikan-wrapper {
        width: 100%;
        border-radius: 0;
        gap: 1.5rem;
    }

    .pendidikan-item {
        width: 120px;
    }

    .pendidikan-item img {
        width: 120px;
        height: 120px;
    }

    .pendidikan-item h3 {
        font-size: 1rem;
    }

    /* Detail Sekolah Mobile */
    .detail-content {
        flex-direction: column;
    }

    .detail-info h3 {
        text-align: center;
    }

    .detail-info p strong {
        width: 120px;
    }

    /* Kontak Mobile */
    .kontak-content {
        flex-direction: column;
    }
    
}