        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

/* KONTAK */
.kontak {
    padding: 60px 20px;
    background: var(--light-bg);
}

/* WRAPPER */
.kontak-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* INFO */
.kontak-info {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.kontak-info h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.kontak-info p {
    margin-bottom: 10px;
    color: var(--text-gray);
}

/* FORM */
.kontak-form {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontak-form input,
.kontak-form textarea {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.kontak-form input:focus,
.kontak-form textarea:focus {
    border-color: var(--primary-green);
}

/* BUTTON */
.kontak-form button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.kontak-form button:hover {
    background: var(--dark-green);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .kontak-wrapper {
        grid-template-columns: 1fr;
    }
}

/* DETAIL BERITA */
.detail-berita {
    padding: 60px 20px;
}

.detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* TITLE */
.detail-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* META */
.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* IMAGE */
.detail-img {
    margin-bottom: 20px;
}

.detail-img img {
    width: 100%;
    border-radius: 10px;
}

/* CONTENT */
.detail-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: justify;
}

/* BUTTON */
.btn-kembali {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-kembali:hover {
    background: var(--dark-green);
}
/* KEPALA SEKOLAH WRAPPER */
.kepsek-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* CARD KEPALA SEKOLAH */
.kepsek {
    max-width: 250px;
    border: 2px solid var(--primary-green);
}

/* GRID BAWAH */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* GURU */
.guru {
    padding: 60px 20px;
    background: var(--light-bg);
}

/* GRID */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* CARD */
.guru-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.guru-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.guru-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 50%;
}

.guru-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.guru-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.guru-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ORGANISASI */
.organisasi {
    padding: 60px 20px;
}

/* CARD */
.organisasi-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* IMAGE */
.organisasi-img img {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* CAPTION */
.organisasi-caption {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

        /* FASILITAS */
.fasilitas {
    padding: 60px 20px;
    background: var(--light-bg);
}

/* GRID */
.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* CARD */
.fasilitas-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.fasilitas-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.fasilitas-img {
    height: 200px;
    overflow: hidden;
}

.fasilitas-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.fasilitas-content {
    padding: 1.5rem;
}

.fasilitas-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.fasilitas-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

        /* IDENTITAS */
.identitas {
    padding: 60px 20px;
}

.identitas-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* GRID */
.identitas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ITEM */
.identitas-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    
}

/* LABEL */
.identitas-item span {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

/* VALUE */
.identitas-item strong {
    font-size: 1rem;
    color: var(--primary-green);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .identitas-grid {
        grid-template-columns: 1fr;
    }
}

        /* SECTION */
.sejarah {
    padding: 60px 20px;
}

/* VISI MISI */
.visi-misi {
    padding: 60px 20px;
    background: var(--light-bg);
}

.visi-misi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* CARD */
.vm-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
}

/* HEADER */
.vm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vm-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* ICON */
.vm-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

/* TEXT */
.vm-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* LIST */
.vm-card ul {
    padding-left: 18px;
}

.vm-card ul li {
    margin-bottom: 10px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .visi-misi-wrapper {
        grid-template-columns: 1fr;
    }
}
/* CARD */
.sejarah-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* HEADER */
.sejarah-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sejarah-header h2 {
    font-size: 24px;
    color: #1f2937;
    margin: 0;
}

/* ICON */
.sejarah-icon {
    width: 45px;
    height: 45px;
    background: #2b2d5c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

/* CONTENT */
.sejarah-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

        :root {
            --primary-green: #7AB88E;
            --light-green: #A8D5BA;
            --dark-green: #5A9370;
            --white: #FFFFFF;
            --light-bg: #F8FBF9;
            --text-dark: #2C3E35;
            --text-gray: #6B7F74;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--white);
        }

        /* Header & Navigation */
        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            /* background: linear-gradient(135deg, var(--primary-green), var(--dark-green)); */
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        .logo-text h1 {
            font-size: 1.3rem;
            color: var(--text-dark);
        }

        .logo-text p {
            font-size: 0.75rem;
            color: var(--text-gray);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: all 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--primary-green);
            background: var(--light-bg);
        }

        .nav-menu a.active {
            color: var(--primary-green);
            background: var(--light-bg);
            font-weight: 600;
        }

        .nav-menu a.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 3px;
            background: var(--primary-green);
            border-radius: 2px;
        }

        /* Hero Section */
        .hero {
            background: url('img/Foto depan smp.jpeg') center/cover;
            padding: 6rem 2rem;
            text-align: center;
            color: var(--white);
            position: relative;
        }
        .heronext {
            background-color: #5A9370;
            padding: 6rem 2rem;
            text-align: center;
            color: var(--white);
            position: relative;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: inherit;
            z-index: -1;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            color:rgb(253, 255, 254);
        }

        .hero h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.95;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--white);
            color: var(--primary-green);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        /* Section Styles */
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        .section-profile {
            text-align: left;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .section-title .line {
            width: 80px;
            height: 4px;
            background: var(--primary-green);
            margin: 1rem auto;
            border-radius: 2px;
        }

        /* Sambutan Kepala Sekolah */
        .sambutan {
            background: var(--light-bg);
        }

        .sambutan-content {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 3rem;
            align-items: center;
        }

        .kepala-sekolah-img {
            width: 100%;
            height: 350px;
            background:
                        url('img/B.Diah P.jpeg') center/cover;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            overflow: hidden;
        }

        .sambutan-text h3 {
            font-size: 1.8rem;
            color: var(--primary-green);
            margin-bottom: 0.5rem;
        }

        .sambutan-text h4 {
            color: var(--text-gray);
            font-weight: 400;
            margin-bottom: 1.5rem;
        }

        .sambutan-text p {
            color: var(--text-gray);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        /* Profil Sekolah */
        .profil-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .profil-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            text-align: center;
            transition: transform 0.3s;
        }

        .profil-card:hover {
            transform: translateY(-5px);
        }

        .profil-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }

        .profil-card h3 {
            color: var(--text-dark);
            margin-bottom: 0.8rem;
            font-size: 1.3rem;
        }

        .profil-card p {
            color: var(--text-gray);
            line-height: 1.6;
        }

        /* Program Unggulan */
        .program {
            background: var(--light-bg);
        }

        .program-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .program-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        .program-card:hover {
            transform: translateY(-5px);
        }

        .program-img {
            height: 200px;
            background: linear-gradient(135deg, rgba(122, 184, 142, 0.8) 0%, rgba(90, 147, 112, 0.8) 100%);
            /* background: url('img/gambar1.jpg') center/cover; */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            background-size: cover;
            background-position: center;
        }

        .program-content {
            padding: 1.5rem;
        }

        .program-content h3 {
            color: var(--text-dark);
            margin-bottom: 0.8rem;
        }

        .program-content p {
            color: var(--text-gray);
            line-height: 1.6;
        }

        /* Berita */
        .berita-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .berita-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        .berita-card:hover {
            transform: translateY(-5px);
        }

        .berita-img {
            height: 200px;
            background: linear-gradient(135deg, rgba(90, 147, 112, 0.7) 0%, rgba(44, 62, 53, 0.7) 100%);    
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            background-size: cover;
            background-position: center;
        }

        .berita-content {
            padding: 1.5rem;
        }

        .berita-date {
            color: var(--primary-green);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .berita-content h3 {
            color: var(--text-dark);
            margin-bottom: 0.8rem;
            font-size: 1.2rem;
        }

        .berita-content p {
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .read-more {
            color: var(--primary-green);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .read-more:hover {
            gap: 0.8rem;
        }

        /* Footer */
        footer {
            background: var(--text-dark);
            color: var(--white);
            padding: 3rem 2rem 1rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: var(--light-green);
            margin-bottom: 1rem;
        }

        .footer-section p, .footer-section a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
        }

        .footer-section a:hover {
            color: var(--light-green);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h2 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .sambutan-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .nav-menu {
                gap: 1rem;
                font-size: 0.9rem;
            }

            
        }
/* ================================= */
/* HEADER MODERN */
/* ================================= */

header{
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

nav{
    max-width:1200px;
    margin:auto;
    padding:15px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    max-width:100%;
    height:auto;
}

.logo-text h1{
    font-size:1.3rem;
    margin:0;
}

.logo-text p{
    font-size:0.8rem;
    margin:0;
    color:#666;
}

/* MENU DESKTOP */

.nav-menu{
    display:flex;
    list-style:none;
    gap:15px;
}

.nav-menu a{
    text-decoration:none;
    color:#333;
    padding:10px 15px;
    border-radius:8px;
    transition:0.3s;
    font-weight:500;
}

.nav-menu a:hover{
    background:#7AB88E;
    color:white;
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:6px;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:#333;
    border-radius:10px;
    transition:0.4s;
}

/* ANIMASI X */

.menu-toggle.active span:nth-child(1){
    transform:rotate(45deg) translate(7px,7px);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
}

/* ================================= */
/* RESPONSIVE */
/* ================================= */

@media (max-width:768px){

    nav{
        flex-wrap:wrap;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-menu{
        width:100%;
        flex-direction:column;
        gap:0;
        margin-top:15px;

        max-height:0;
        overflow:hidden;

        background:white;
        border-radius:10px;

        transition:max-height 0.5s ease;
    }

    .nav-menu.active{
        max-height:400px;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu a{
        display:block;
        text-align:center;
        padding:15px;
        border-bottom:1px solid #eee;
    }

    .logo-text h1{
        font-size:1rem;
    }

    .logo-text p{
        font-size:0.7rem;
    }
}