* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f7f4;
    color: #1a2e26;
    line-height: 1.8;
}

header {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f5c3e;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0f5c3e;
    transition: 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #1a2e26;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0f5c3e;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #0f5c3e;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: #0f5c3e;
    border-radius: 5px;
    transition: 0.3s;
}

.hero {
    max-width: 1200px;
    min-height: 650px;
    margin: auto;
    padding: 80px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: #e1f0ea;
    color: #0f5c3e;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 15px;
    color: #0a3d2a;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
}

.hero h2 {
    max-width: 600px;
    margin-bottom: 20px;
    color: #2a4a3a;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-text > p:not(.hero-subtitle) {
    max-width: 580px;
    margin-bottom: 30px;
    color: #5a7a6a;
    font-size: 16px;
    line-height: 1.8;
}

.button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #0f5c3e, #1a7a55);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(15, 92, 62, 0.3);
}

.button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 92, 62, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    height: 380px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: 0.3s;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.section {
    padding: 90px 30px;
}

.section-title {
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title p {
    margin-bottom: 8px;
    color: #0f5c3e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title h2 {
    color: #0a3d2a;
    font-size: 36px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0f5c3e;
    margin: 10px auto 0;
    border-radius: 4px;
}

.profil {
    background: #ffffff;
}

.profil-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
}

.profil-text {
    flex: 1;
    padding: 40px;
    background: #f5faf7;
    border-radius: 20px;
    border-left: 5px solid #0f5c3e;
}

.visi-misi {
    flex: 1;
    padding: 40px;
    background: #f5faf7;
    border-radius: 20px;
    border-left: 5px solid #0f5c3e;
}

.profil-text h3 {
    margin-bottom: 15px;
    color: #0f5c3e;
    font-size: 24px;
}

.visi-misi h3 {
    margin-bottom: 15px;
    color: #0f5c3e;
    font-size: 24px;
    margin-top: 20px;
}

.visi-misi h3:first-of-type {
    margin-top: 0;
}

.profil-text p {
    margin-bottom: 18px;
    color: #4a6a5a;
    font-size: 15px;
    line-height: 1.8;
}

.visi-misi p {
    margin-bottom: 25px;
    color: #4a6a5a;
    font-size: 15px;
    line-height: 1.8;
}

.visi-misi ul {
    padding-left: 0;
    list-style: none;
}

.visi-misi li {
    margin-bottom: 12px;
    padding-left: 25px;
    color: #4a6a5a;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
}

.visi-misi li::before {
    content: '▸';
    color: #0f5c3e;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.program {
    background: #f5faf7;
}

.program-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.program-card {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: 0.4s;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.program-card img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    transition: 0.4s;
}

.program-card:hover img {
    transform: scale(1.03);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #0f5c3e;
    font-size: 22px;
}

.card-content p {
    color: #4a6a5a;
    font-size: 15px;
    line-height: 1.8;
}

.guru {
    background: #ffffff;
}

.guru-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.guru-card {
    width: 100%;
    max-width: 330px;
    padding: 30px;
    background: #f5faf7;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #e8f0ec;
}

.guru-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #0f5c3e;
}

.guru-card img {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #dff1e7;
    transition: 0.3s;
}

.guru-card:hover img {
    border-color: #0f5c3e;
    transform: scale(1.05);
}

.guru-card h3 {
    margin-bottom: 5px;
    color: #0a3d2a;
    font-size: 20px;
}

.guru-card p {
    color: #4a6a5a;
    font-size: 14px;
}

.galeri {
    background: #f5faf7;
}

.galeri-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.galeri-container img {
    width: 100%;
    height: 100%;
    aspect-ratio: 0/0;
    display: block;
    object-fit: cover;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.galeri-container img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.kontak {
    background: #ffffff;
}

.kontak-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 40px;
}

.informasi-kontak {
    flex: 1;
    padding: 40px;
    background: #f5faf7;
    border-radius: 20px;
    border-left: 5px solid #0f5c3e;
}

.form-kontak {
    flex: 1;
    padding: 40px;
    background: #f5faf7;
    border-radius: 20px;
    border-left: 5px solid #0f5c3e;
}

.informasi-kontak h3 {
    margin-bottom: 25px;
    color: #0f5c3e;
    font-size: 24px;
}

.form-kontak h3 {
    margin-bottom: 25px;
    color: #0f5c3e;
    font-size: 24px;
}

.informasi-kontak p {
    margin-bottom: 18px;
    color: #4a6a5a;
    font-size: 15px;
    line-height: 1.8;
}

.informasi-kontak strong {
    color: #0a3d2a;
    display: block;
    margin-bottom: 3px;
}

.form-kontak form {
    display: flex;
    flex-direction: column;
}

.form-kontak label {
    margin-bottom: 8px;
    color: #1a2e26;
    font-size: 14px;
    font-weight: 600;
}

.form-kontak input,
.form-kontak textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 2px solid #e0ece6;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    transition: 0.3s;
}

.form-kontak input:focus,
.form-kontak textarea:focus {
    border-color: #0f5c3e;
    box-shadow: 0 0 0 4px rgba(15, 92, 62, 0.1);
}

.form-kontak textarea {
    min-height: 140px;
    resize: vertical;
}

.form-kontak button {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f5c3e, #1a7a55);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(15, 92, 62, 0.3);
}

.form-kontak button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 92, 62, 0.4);
}

footer {
    padding: 30px 20px;
    background: #0a3d2a;
    color: #d4e8df;
    text-align: center;
}

footer p {
    font-size: 14px;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .galeri-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeri-container img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 20px;
    }

    .profil-container {
        flex-direction: column;
    }
    
    .program-container {
        flex-direction: column;
        align-items: center;
    }
    
    .guru-container {
        flex-direction: column;
        align-items: center;
    }
    
    .galeri-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 80px;
    }
    
    .galeri-container img {
        height: 180px;
    }
    
    .kontak-container {
        flex-direction: column;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .galeri-container {
        grid-template-columns: 1fr;
    }
    
    .galeri-container img {
        height: 220px;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .profil-text,
    .visi-misi,
    .informasi-kontak,
    .form-kontak {
        padding: 25px;
    }
}