/* ==========================================================================
   1. RESET & UTILITY
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    scroll-behavior: smooth; 
}

.section-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.3;
}

.text-center { text-align: center; }

/* Menyelaraskan ukuran ikon bawaan FontAwesome secara global pada tombol */
.btn-primary i, .btn-secondary i {
    margin-right: 5px;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(to bottom right, #ffffff, #e0f2e9);
    padding: 30px 20px; 
    border-bottom: 5px solid #28a745;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px; 
    align-items: center;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px; 
    width: 100%;
}

.hero-title {
    font-size: 1.6rem;
    line-height: 1.2; 
    color: #1a1a1a;
}

.hero-title .highlight { color: #d9232d; font-weight: bold; }
.hero-title small { font-size: 1.1rem; color: #28a745; font-weight: bold; display: block; margin-top: 5px; }

.hero-requirements {
    background-color: #ffffff;
    padding: 15px; 
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #f1c40f; 
}

.hero-requirements h2 { font-size: 1.1rem; margin-bottom: 12px; color: #28a745; display: flex; align-items: center; gap: 8px; }
.req-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.req-list li { font-size: 0.9rem; display: flex; align-items: flex-start; gap: 8px; }
.req-list li i { color: #28a745; margin-top: 3px; }

.hero-date p {
    font-size: 1rem;
    background-color: #ffeaa7;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    color: #2d3436;
}

.hero-actions {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    margin-top: 0; 
    width: 100%; 
}

.btn-primary, .btn-secondary {
    width: 100%; 
    padding: 12px 20px; 
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary { background-color: #007bff; color: white; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); }
.btn-primary:hover { background-color: #0056b3; }
.btn-secondary { background-color: transparent; color: #007bff; border: 2px solid #007bff; }
.btn-secondary:hover { background-color: #f8f9fa; }

.hero-image-wrapper { flex: 1; width: 100%; max-width: 500px; }
.image-placeholder-main {
    width: 100%;
    aspect-ratio: 4/3; 
    background-color: #e2e8f0; 
    border: 4px dashed #cbd5e1; 
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
}

/* ==========================================================================
   3. SAMBUTAN KEPALA SEKOLAH
   ========================================================================== */
.sambutan-section { background-color: #ffffff; padding: 60px 20px; }
.sambutan-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; align-items: center; }
.sambutan-image-wrapper { width: 100%; max-width: 350px; }
.image-placeholder-square {
    width: 100%; aspect-ratio: 1/1; background-color: #e2e8f0; border-radius: 12px;
    display: flex; justify-content: center; align-items: center; color: #64748b; text-align: center; font-weight: bold; border: 4px dashed #cbd5e1;
}
.sambutan-content { flex: 1; }
.sambutan-content .subtitle { font-size: 1.1rem; color: #28a745; margin-bottom: 20px; font-weight: 600; }
.sambutan-content p { font-size: 1rem; line-height: 1.6; color: #4a5568; margin-bottom: 15px; }
.signature { margin-top: 25px; padding-top: 15px; border-top: 2px solid #e2e8f0; display: flex; flex-direction: column; }
.signature strong { font-size: 1.1rem; color: #1a1a1a; }
.signature span { font-size: 0.9rem; color: #718096; }

/* ==========================================================================
   4. ORTOM & EKSKUL
   ========================================================================== */
.kegiatan-section { background-color: #f0f8ff; padding: 60px 20px; }
.kegiatan-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 50px; }
.kegiatan-block { display: flex; flex-direction: column; gap: 20px; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.kegiatan-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; }
.kegiatan-item span { font-size: 0.95rem; font-weight: 600; color: #2d3748; text-align: center; }
.logo-placeholder-circle {
    width: 100px; height: 100px; border-radius: 50%; background-color: #ffffff; display: flex; justify-content: center;
    align-items: center; color: #64748b; font-size: 0.8rem; font-weight: bold; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 2px dashed #cbd5e1;
}

/* SwiperJS Customization */
.ekskul-swiper { width: 100%; max-width: 900px; padding: 10px 40px; position: relative; }
.ekskul-swiper .slide-arrow-custom { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 50%; width: 40px; height: 40px; color: #1a1a1a; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: all 0.2s ease; }
.ekskul-swiper .slide-arrow-custom::after { font-size: 1rem; font-weight: bold; }
.ekskul-swiper .slide-arrow-custom:hover { background: #28a745; color: white; border-color: #28a745; }
@media (max-width: 767px) { .ekskul-swiper .slide-arrow-custom { display: none; } .ekskul-swiper { padding: 10px 0; } }

/* ==========================================================================
   5. BERITA & PRESTASI
   ========================================================================== */
.berita-section { background-color: #ffffff; padding: 60px 20px; }
.berita-container { max-width: 1200px; margin: 0 auto; }
.subtitle-berita { color: #64748b; margin-top: -5px; margin-bottom: 40px; font-size: 1rem; }
.berita-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.berita-card { background: #ffffff; border-radius: 10px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.berita-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.berita-image-placeholder { width: 100%; height: 200px; background-color: #e2e8f0; display: flex; justify-content: center; align-items: center; font-weight: bold; color: #64748b; border-bottom: 4px solid #28a745; }
.berita-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.berita-date { font-size: 0.85rem; color: #a0aec0; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.berita-title { font-size: 1.25rem; color: #1a1a1a; line-height: 1.4; margin-bottom: 10px; }
.berita-excerpt { font-size: 0.95rem; color: #4a5568; line-height: 1.5; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; color: #007bff; font-weight: bold; text-decoration: none; }
.berita-actions { margin-top: 40px; }

/* ==========================================================================
   6. NILAI EMOSIONAL (VALUE PROPOSITION)
   ========================================================================== */
.value-prop-section { background-color: #e6f7ff; padding: 60px 20px; }
.value-prop-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; align-items: center; }
.value-prop-content { flex: 1; width: 100%; }
.benefit-list { list-style: none; margin-bottom: 25px; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { background-color: #007bff; color: white; padding: 12px 20px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; gap: 15px; }
.check-icon { background-color: white; color: #007bff; width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; }
.value-prop-text { font-size: 1rem; line-height: 1.6; color: #4a5568; margin-bottom: 15px; }
.value-prop-image { flex: 1; display: flex; justify-content: center; width: 100%; }
.image-placeholder-circle-large { width: 100%; max-width: 350px; aspect-ratio: 1/1; background-color: #ffffff; border-radius: 50%; border: 4px dashed #cbd5e1; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #64748b; font-weight: bold; text-align: center; }

/* ==========================================================================
   7. KEUNGGULAN & FASILITAS
   ========================================================================== */
.keunggulan-section { background-color: #ffffff; padding: 60px 20px; }
.keunggulan-container { max-width: 1200px; margin: 0 auto; }
.keunggulan-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
.keunggulan-card { display: flex; flex-direction: column; gap: 20px; background: #ffffff; padding: 15px; border-radius: 10px; border: 1px solid #e2e8f0; }
.keunggulan-img-placeholder { width: 100%; height: 200px; background: #e2e8f0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #64748b; }
.keunggulan-text h3 { font-size: 1.2rem; color: #28a745; margin-bottom: 10px; }
.keunggulan-text p { font-size: 0.95rem; color: #4a5568; line-height: 1.5; }

/* ==========================================================================
   8. CTA BANNER TENGAH
   ========================================================================== */
.cta-banner-section { background-color: #e6f7ff; padding: 60px 20px; }
.cta-banner-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-banner-img-placeholder { width: 100%; aspect-ratio: 16/9; background: #ffffff; border: 4px dashed #cbd5e1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: bold; color: #64748b; text-align: center;}
.cta-banner-content { text-align: center; width: 100%; }
.cta-title { font-size: 1.5rem; margin-bottom: 20px; color: #1a1a1a; }

/* ==========================================================================
   9. BONUS PENDAFTARAN
   ========================================================================== */
.bonus-section { background-color: #ffffff; padding: 60px 20px; }
.bonus-container { max-width: 1000px; margin: 0 auto; }
.bonus-section .section-title { margin-bottom: 40px; }
.bonus-image-placeholder { width: 100%; aspect-ratio: 16/9; background-color: #e2e8f0; border-radius: 12px; border: 4px dashed #cbd5e1; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #64748b; font-weight: bold; margin-bottom: 40px; text-align: center; }
.bonus-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.bonus-card { display: flex; align-items: flex-start; gap: 15px; background-color: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #f1c40f; }
.bonus-icon { font-size: 1.5rem; color: #28a745; background-color: #ffffff; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); flex-shrink: 0; }
.bonus-text h4 { color: #1a1a1a; font-size: 1.1rem; margin-bottom: 5px; }
.bonus-text p { color: #4a5568; font-size: 0.95rem; line-height: 1.5; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer { background-color: #d1f0ff; padding: 60px 20px 30px 20px; color: #1a1a1a; }
.footer-container { max-width: 1200px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-title { font-size: 1.5rem; color: #007bff; margin-bottom: 5px; }
.footer-motto { font-weight: bold; color: #28a745; }
.footer-address { color: #4a5568; line-height: 1.6; margin-bottom: 10px; }
.footer-socials { display: flex; gap: 15px; margin-bottom: 20px; }
.social-icon { width: 40px; height: 40px; background-color: #1a1a1a; color: #ffffff; display: flex; justify-content: center; align-items: center; border-radius: 50%; text-decoration: none; font-size: 1.1rem; transition: background-color 0.3s ease; }
.social-icon:hover { background-color: #007bff; }
.footer-copyright { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; width: 100%; font-size: 0.9rem; color: #718096; }

/* ==========================================================================
   11. FLOATING WHATSAPP BUTTON (DIPERBARUI UNTUK FONTAWESOME)
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.floating-wa i {
    font-size: 35px; /* Mengatur ukuran icon WhatsApp */
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    animation: none; 
    color: white;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   12. MEDIA QUERY (DESKTOP)
   ========================================================================== */
@media (min-width: 768px) {
    .hero-container { flex-direction: row; justify-content: space-between; gap: 40px; }
    .hero-content { width: auto; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: row; width: auto; }
    .btn-primary, .btn-secondary { width: auto; padding: 10px 20px; }

    .sambutan-container { flex-direction: row; gap: 50px; }
    .ortom-grid { gap: 80px; }

    .berita-grid { grid-template-columns: repeat(3, 1fr); }

    .value-prop-container { flex-direction: row; justify-content: space-between; }
    .value-prop-content .section-title { font-size: 2rem; }

    .keunggulan-grid { grid-template-columns: repeat(2, 1fr); }
    .keunggulan-card { flex-direction: row; align-items: flex-start; }
    .keunggulan-img-placeholder { width: 150px; height: 120px; flex-shrink: 0; }

    .cta-title { font-size: 2rem; }
    .cta-banner-content .btn-primary { width: auto; padding: 15px 40px; font-size: 1.1rem; }

    .bonus-grid { grid-template-columns: repeat(2, 1fr); }

    .floating-wa { bottom: 30px; right: 30px; }
}