/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigasi */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #064e3b; /* Hijau Tua Islami */
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('gedung1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.btn {
    display: inline-block;
    background: #fbbf24;
    color: #000;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Grid Program */
.about-content h2 {
padding: 60px 5%;
    background-color: #fff;
    text-align: center;
}
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.galeri-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Agar gambar tidak gepeng */
    border-radius: 8px;
    transition: 0.3s;
}

.galeri-grid img:hover {
    transform: scale(1.05); /* Efek zoom saat disentuh */
}

.program {
    padding: 50px 5%;
    background: #f3f4f6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Styling Galeri Prestasi */
.prestasi-section {
    padding: 60px 5%;
    background-color: #fff;
    text-align: center;
}

.title {
    color: #064e3b;
    font-size: 2rem;
    margin-bottom: 5px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
}

.slider-container {
    display: flex;
    overflow-x: auto; /* Mengaktifkan scroll horizontal */
    scroll-snap-type: x mandatory; /* Membuat scroll "menempel" pas di gambar */
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Sembunyikan scrollbar di Firefox */
    -ms-overflow-style: none; /* Sembunyikan scrollbar di IE/Edge */
}

/* Sembunyikan scrollbar di Chrome/Safari */
.slider-container::-webkit-scrollbar {
    display: none; 
}

.prestasi-card {
    min-width: 280px; /* Lebar setiap kartu */
    flex-shrink: 0;
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: center; /* Kartu akan berhenti di tengah saat digeser */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.prestasi-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.prestasi-info {
    padding: 15px;
}

.prestasi-info h3 {
    font-size: 1.1rem;
    color: #064e3b;
    margin-bottom: 5px;
}

.prestasi-info p {
    font-size: 0.9rem;
    color: #777;
}

.hint {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 10px;
    font-style: italic;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    color: white;
}

.pendaftaran-page {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4; /* Hijau sangat muda */
    padding: 20px;
}

/* Mempercantik tombol agar terlihat klik-able */
.btn-submit {
    cursor: pointer;
    transition: 0.3s;
}

/* --- Navigasi Modern (Glassmorphism) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.95); /* Putih transparan */
    backdrop-filter: blur(10px); /* Efek blur di belakang nav */
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo-container { display: flex; flex-direction: column; }
.logo-text { font-weight: 800; font-size: 1.4rem; color: #064e3b; letter-spacing: 1px; line-height: 1; }
.logo-sub { font-size: 0.7rem; color: #fbbf24; font-weight: 600; letter-spacing: 2px; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #064e3b; }

.nav-btn {
    background: #064e3b;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.2);
}

/* --- Section Tentang Kami (Stylish Layout) --- */
.about-section {
    padding: 100px 8%;
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image, .about-content { flex: 1; min-width: 350px; }

.image-wrapper { position: relative; }
.image-wrapper img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0px #f0fdf4; /* Shadow kotak hijau muda */
}

.experience-tag {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #fbbf24;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.years { display: block; font-size: 2rem; font-weight: 800; color: #064e3b; }
.exp-text { font-size: 0.8rem; font-weight: 600; color: #064e3b; }

.badge {
    background: #f0fdf4;
    color: #064e3b;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #064e3b;
    margin: 20px 0;
    line-height: 1.2;
}

.features { margin-top: 30px; }
.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature-item .icon {
    background: #fff;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-item h4 { color: #333; margin-bottom: 5px; }
.feature-item p { font-size: 0.9rem; color: #777; }

/* Responsif Mobile */
@media (max-width: 768px) {
    .about-container { flex-direction: column-reverse; gap: 40px; }
    .nav-links { display: none; } /* Kamu bisa tambahkan menu hamburger nanti */
    .about-content h2 { font-size: 1.8rem; }
}

/* Styling Logo di Navigasi */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-logo {
    height: 45px; /* Sesuaikan ukuran logo */
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

/* Styling Section Alamat */
.contact-info {
    padding: 60px 8%;
    background-color: #064e3b; /* Hijau Tua agar kontras dengan footer hitam */
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-box h3 {
    margin: 15px 0 10px;
    color: #fbbf24; /* Aksen Kuning Emas */
    font-size: 1.2rem;
}

.contact-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Responsif Mobile untuk Navigasi */
@media (max-width: 768px) {
    .main-logo { height: 35px; }
    .logo-text { font-size: 1.1rem; }
}
