/* =========================================
   RA ASSAKINAH - KIDO PLAYFUL ORANGE THEME
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Quicksand:wght@500;600;700&display=swap');

:root {
    /* Palet Warna Sesuai Referensi Gambar Anda */
    --c-primary: #FF7020;
    /* Oranye Terang (Tombol & Teks Highlight) */
    --c-orange-light: #FFB37C;
    /* Oranye Pastel */
    --c-yellow: #FFD166;
    /* Kuning Ceria */
    --c-green: #A7C9A5;
    /* Hijau Sage */
    --c-brown: #B07D46;
    /* Cokelat Gelap */
    --c-blue: #4FA5F5;
    /* Biru Aksen (Tombol Read More) */

    /* Background & Teks */
    --bg-cream: #FFFBF2;
    /* Warna latar utama (Krem Hangat) */
    --bg-cream-dark: #FDF3E3;
    /* Warna latar section alternatif */
    --text-dark: #4A3525;
    /* Cokelat Tua untuk teks */
    --text-gray: #7A6355;
    /* Abu-abu kecokelatan untuk paragraf */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
}

/* --- TOMBOL --- */
.btn-primary {
    display: inline-block;
    background-color: var(--c-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 112, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 112, 32, 0.4);
}

.btn-blue {
    background-color: var(--c-blue);
    box-shadow: 0 5px 15px rgba(79, 165, 245, 0.3);
}

.btn-blue:hover {
    box-shadow: 0 8px 20px rgba(79, 165, 245, 0.4);
}

/* --- NAVBAR --- */
.ra-nav {
    padding: 20px 5%;
    background-color: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ra-logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ra-logo span {
    color: var(--c-yellow);
}

.ra-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.ra-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    transition: 0.3s;
}

.ra-menu a:hover {
    color: var(--c-primary);
}

.ra-hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--c-primary);
}

/* =========================================
   6. HERO SECTION (KIDO STYLE: PNG COLLAGE)
========================================= */
.ra-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 5% 100px;
    min-height: 85vh;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.ra-hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 5;
}

.ra-hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--c-teks-gelap);
}

.ra-hero-text p {
    font-size: 1.25rem;
    color: var(--c-teks-pudar);
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Wadah Kolase Kanan (Menampung Gambar & Doodles) */
.ra-hero-collage {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wadah Kolase Kanan */
.ra-hero-collage-visual {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base Style untuk Kotak Foto */
.kido-pic-box {
    position: absolute;
    border-radius: 40px;

    /* KITA HAPUS 'overflow: hidden;' DI SINI AGAR GAMBAR BEBAS KELUAR KOTAK! */
    overflow: visible;

    transition: transform 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.kido-pic-box:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.kido-pic-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;

    /* SIHIR 3D POP-OUT! */
    transform: scale(1.35);
    /* Memperbesar gambar 135% dari ukuran kotaknya */
    transform-origin: bottom center;
    /* Menahan kaki anak tetap di lantai kotak, sementara kepalanya menembus atap */
    z-index: 2;
    /* Memastikan tubuh anak menindih garis batas kotak */
}

/* =========================================
   POSISI & LATAR WARNA (MENDUPLIKASI KIDO)
========================================= */

/* =========================================
   POSISI & LATAR WARNA KARTU (MENDUPLIKASI KIDO)
========================================= */

/* Foto 1 (Anak Mewarnai) - Latar Kuning */
.pic-kuning {
    width: 50%;
    height: 40%;
    top: 5%;
    right: 5%;
    background-color: var(--c-yellow);
    border: none;
    z-index: 2;
}

/* Foto 2 (Anak Minum Botol) - LATAR CORAL (Bukan Putih!) */
/* Foto 2 (Anak Minum Botol) - LATAR CORAL */
.pic-coral {
    width: 45%;
    height: 40%;

    /* KITA NAIKKAN KOTAKNYA DI SINI! */
    /* Sebelumnya bottom: 5%, sekarang kita dorong ke atas menjadi 25% */
    bottom: 25%;

    left: 0;
    background-color: var(--c-coral, #FD8A6B);
    border: none;
    z-index: 3;
}

/* Pastikan efek Pop-Out anak ke-2 kembali normal (Kepala ke atas) */
.pic-coral img {
    transform: scale(1.45);
    /* Perbesar sedikit agar kepalanya melewati batas atas */
    transform-origin: bottom center;
    /* Kaki tetap diam menempel di lantai kotak */
}

/* Foto 3 (Siswi Kerudung Hijau) - Latar Hijau Sage */
.pic-green {
    width: 40%;
    height: 45%;
    bottom: -5%;
    right: 15%;
    background-color: var(--c-green);
    border: none;
    z-index: 4;
}

/* =========================================
   KONTROL UKURAN (SKALA) GAMBAR MASING-MASING
========================================= */

/* Aturan dasar gambar di dalam kotak */
.kido-pic-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
}

/* Anak ke-1 & ke-2: Skala Pop-Out Standar (135%) */
.pic-kuning img,
.pic-coral img {
    transform: scale(1.35);
    transform-origin: bottom center;
}

/* ANAK KE-3 (SISWI HIJAU): DIPERBESAR DRASTIS! (185%) */
.pic-green img {
    transform: scale(1.85);
    /* Diperbesar signifikan dari 1.35 */
    transform-origin: bottom center;
}

/* --- ELEMEN DEKORATIF (DOODLES) --- */
/* (Pastikan kode doodle Anda yang lama tetap ada di bawah sini) */
.kido-doodle {
    position: absolute;
    z-index: 1;
}

.kido-squiggly {
    width: 100px;
    height: 100px;
    border-top: 10px solid #8367C7;
    border-bottom: 10px solid #8367C7;
    border-radius: 50%;
    bottom: 15%;
    right: -5%;
}

.kido-balloon {
    font-size: 4rem;
    top: 0;
    right: 10%;
    animation: float 3s ease-in-out infinite;
    z-index: 6;
}

/* =========================================
   7. ELEMEN DEKORATIF (KIDO DOODLES)
========================================= */
.kido-doodle {
    position: absolute;
    z-index: 1;
}

.kido-squiggly {
    width: 100px;
    height: 100px;
    border-top: 10px solid #8367C7;
    border-bottom: 10px solid #8367C7;
    border-radius: 50%;
    bottom: 15%;
    right: -5%;
}

.kido-balloon {
    font-size: 4rem;
    top: 0;
    right: 10%;
    animation: float 3s ease-in-out infinite;
    z-index: 6;
}

.deko-kido {
    position: absolute;
    z-index: 1;
}

/* Berada di lapisan belakang */
.ling-merah {
    width: 100px;
    height: 100px;
    background-color: var(--c-merah);
    border-radius: 50%;
    top: 35%;
    left: -5%;
}

.gelombang-kuning {
    width: 80px;
    height: 120px;
    border-left: 12px solid var(--c-kuning);
    border-bottom: 12px solid var(--c-kuning);
    border-radius: 0 0 0 50px;
    bottom: 15%;
    right: -5%;
    transform: rotate(-15deg);
}

.titik-peach {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(var(--c-peach) 3px, transparent 3px);
    background-size: 15px 15px;
    top: 50%;
    right: 40%;
}

/* --- MENGAPA MEMILIH KAMI (Why Choose Us) --- */
.ra-about {
    padding: 100px 5%;
    background-color: var(--bg-cream-dark);
}

/* Background beda agar ada batas */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Kiri: Gambar + Pelangi CSS */
.about-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    border: 8px solid #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* Sihir CSS: Pelangi Oranye (Orange Rainbow) */
.css-rainbow {
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 350px;
    height: 175px;
    /* Setengah lingkaran */
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border: 25px solid var(--c-primary);
    border-bottom: 0;
    z-index: 1;
}

.css-rainbow::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    top: 15px;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border: 20px solid var(--c-yellow);
    border-bottom: 0;
}

.css-rainbow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50px;
    right: 50px;
    top: 50px;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border: 20px solid var(--c-green);
    border-bottom: 0;
}

.about-text {
    flex: 1;
    position: relative;
}

.section-subtitle {
    color: var(--c-primary);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 900;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.doodle-flower-left {
    position: absolute;
    font-size: 3rem;
    top: -50px;
    right: 0;
    z-index: 6;
}

.doodle-flower-right {
    position: absolute;
    font-size: 5rem;
    bottom: -20px;
    right: -50px;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
}

/* --- PROGRAM KAMI (Solid Cards) --- */
.ra-program {
    padding: 100px 5%;
    background-color: var(--bg-cream);
    text-align: center;
}

.program-header {
    margin-bottom: 60px;
}

.program-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.prog-card {
    padding: 40px 25px;
    border-radius: 30px;
    color: #fff;
    text-align: left;
    transition: transform 0.3s;
}

.prog-card:hover {
    transform: translateY(-10px);
}

.prog-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.prog-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.prog-card p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Warna Kartu Sesuai Referensi Gambar */
.card-orange {
    background-color: var(--c-primary);
}

.card-yellow {
    background-color: var(--c-yellow);
    color: var(--text-dark);
}

.card-yellow h3 {
    color: var(--text-dark);
}

.card-green {
    background-color: var(--c-green);
    color: var(--text-dark);
}

.card-green h3 {
    color: var(--text-dark);
}

.card-brown {
    background-color: var(--c-brown);
}

/* =========================================
   WADAH UTAMA HERO (MEMAKSA 2 KOLOM KE SAMPING)
========================================= */
.ra-hero-collage-wrap {
    display: flex;
    flex-direction: row;
    /* KUNCI MUTLAK: Paksa berjejer dari kiri ke kanan */
    flex-wrap: nowrap;
    /* Mencegah gambar jatuh ke bawah teks di layar desktop */
    align-items: center;
    /* Pusatkan secara vertikal */
    justify-content: space-between;
    max-width: 1300px;
    /* Lebar maksimal area konten */
    margin: 0 auto;
    gap: 50px;
    width: 100%;
}

/* BAGIAN KIRI: TEKS */
.ra-hero-text-Kido {
    flex: 1;
    /* Mengambil 50% ruang */
    max-width: 550px;
    z-index: 5;
}

.ra-hero-text-Kido h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
}

.ra-hero-text-Kido p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 600;
}

/* BAGIAN KANAN: KOLASE GAMBAR */
.ra-hero-collage-visual {
    flex: 1;
    /* Mengambil 50% ruang sisanya */
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- KEYFRAMES --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* =========================================
   FASILITAS & EKSKUL SECTION
========================================= */
.ra-fasilitas {
    padding: 100px 5%;
    background-color: var(--bg-cream-dark);
}

.fasilitas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.ekskul-box,
.fasilitas-box {
    flex: 1;
}

/* Grid Ekskul */
.ekskul-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ekskul-item {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border: 3px solid transparent;
    transition: 0.3s;
}

.ekskul-item:hover {
    border-color: var(--c-yellow);
    transform: translateY(-5px);
}

.ekskul-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.ekskul-item h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Badges Fasilitas */
.badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.ra-badge {
    background-color: #fff;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--c-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    cursor: default;
}

.ra-badge:hover {
    background-color: var(--c-green);
    color: #fff;
    transform: scale(1.05);
}

/* =========================================
   PRESTASI SECTION
========================================= */
.ra-prestasi {
    padding: 100px 5%;
    background-color: var(--bg-cream);
}

.prestasi-header {
    text-align: center;
    margin-bottom: 50px;
}

.prestasi-list-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 4px dashed var(--c-orange-light);
    /* Garis putus-putus ala Kido */
}

.prestasi-list {
    list-style: none;
}

.prestasi-list li {
    padding: 15px 0;
    border-bottom: 2px dashed #eee;
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.prestasi-list li:last-child {
    border-bottom: none;
}

.prestasi-list li::before {
    content: '⭐';
    font-size: 1.2rem;
}

.prestasi-list li strong {
    background-color: var(--c-yellow);
    color: var(--text-dark);
    padding: 3px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* =========================================
   MUTU LULUSAN & PEMBIASAAN
========================================= */
.ra-target {
    padding: 100px 5%;
}

.target-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.target-box {
    flex: 1;
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.box-yellow-light {
    background-color: #FFF8D6;
    border: 4px dashed var(--c-yellow);
}

.box-green-light {
    background-color: #E8F5E9;
    border: 4px dashed var(--c-green);
}

.target-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Custom Kido List (Mengganti titik (bullet) menjadi centang hijau) */
.kido-list {
    list-style: none;
}

.kido-list li {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}

.kido-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

/* =========================================
   KURIKULUM (3 PILAR)
========================================= */
.ra-kurikulum {
    padding: 100px 5%;
}

.kurikulum-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.kuri-card {
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.kuri-card:hover {
    transform: translateY(-10px);
}

.kuri-list {
    list-style-position: inside;
    font-weight: 600;
}

.kuri-list li {
    margin-bottom: 10px;
}

/* =========================================
   FOOTER (MADRASAH ASSAKINAH CORPORATE STYLE)
========================================= */
.asa-footer {
    background-color: #272B30;
    /* Warna Abu-abu Gelap Premium */
    color: #9BA3AF;
    /* Teks abu-abu terang */
    padding: 80px 5% 30px;
    font-family: 'Nunito', sans-serif;
    position: relative;
    border-top: 5px solid var(--c-green);
    /* Garis aksen tipis di atas footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Membuat 4 kolom dengan proporsi yang pas */
    grid-template-columns: 2.5fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    border-bottom: 1px solid #3F464E;
    /* Garis pemisah bawah */
    padding-bottom: 40px;
}

/* Kolom Brand & Info */
.brand-col .footer-logo {
    color: #FFFFFF;
    font-size: 1.6rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.brand-col p {
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
    padding-right: 20px;
}

/* Ikon Sosial Media */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #383F46;
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--c-primary);
    /* Berubah oranye saat di-hover */
    transform: translateY(-3px);
}

/* Kolom Tautan Cepat & Layanan */
.footer-col h4 {
    color: #FFFFFF;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Garis putih tipis di bawah judul seperti di gambar referensi */
.footer-col h4::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: #FFFFFF;
    margin-top: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #9BA3AF;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

/* Kolom Kontak (Alamat, Telp, Email) */
.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-col .icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-col p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #9BA3AF;
}

/* Bagian Bawah (Copyright & Kebijakan) */
.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-policy {
    display: flex;
    gap: 20px;
}

.footer-policy a {
    color: #9BA3AF;
    text-decoration: none;
    transition: 0.3s;
}

.footer-policy a:hover {
    color: #FFFFFF;
}

/* =========================================
   MENJINAKKAN LOGO & MENGATUR IKON SVG
========================================= */

/* 1. Kunci ukuran logo agar tidak melebar */
.brand-col img {
    max-width: 50px !important;
    /* Paksa maksimal lebar hanya 180px */
    width: 100% !important;
    /* Pastikan responsif jika layar mengecil */
    height: auto !important;
    /* Jaga proporsi agar tidak gepeng */
    display: block !important;
    margin-bottom: 20px !important;
}

/* 2. Aturan untuk Ikon Sosial Media (Merapikan SVG) */
.social-icons a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    /* Warnanya akan otomatis ikut warna teks (putih) */
    transition: 0.3s;
}

/* Mengubah layout info kontak agar menjadi link (Bisa diklik) */
.contact-col ul li a {
    color: #9BA3AF;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: 0.3s;
}

.contact-col ul li a:hover {
    color: #FFFFFF;
}

/* =========================================
   TOMBOL WHATSAPP MELAYANG (FLOATING BUTTON)
========================================= */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Posisi di pojok kanan bawah */
    width: 65px;
    height: 65px;
    background-color: #25D366;
    /* Hijau khas WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    /* Memastikan selalu di paling atas */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.float-wa:hover {
    transform: scale(1.15) rotate(-5deg);
    /* Efek membesar & miring sedikit saat disentuh */
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* --- STYLE VISI & MISI --- */
.kido-vision-box {
    background-color: #FFFBF2;
    border: 3px dashed var(--c-orange-light);
    padding: 25px;
    border-radius: 25px;
    margin: 25px 0;
    position: relative;
}

.misi-list {
    list-style: none;
    padding-left: 0;
}

.misi-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.5;
}

/* Menggunakan Ikon Centang Oranye untuk Misi */
.misi-list li::before {
    content: '🧡';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1rem;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* 1. Reset Hero Utama */
    .ra-hero {
        padding: 40px 5% 60px;
        min-height: auto;
    }

    .ra-hero-collage-wrap {
        flex-direction: column;
        /* Paksa tumpuk atas-bawah */
        gap: 30px;
    }

    /* 2. Perbaikan Teks (Agar Tidak Terpotong) */
    .ra-hero-text-Kido {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        order: 1;
    }

    .ra-hero-text-Kido h1 {
        font-size: 2.8rem;
        /* Perkecil sedikit agar muat di layar HP */
        line-height: 1.2;
    }

    .ra-hero-text-Kido p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .ra-hero-text-Kido div {
        justify-content: center;
        /* Tombol ke tengah */
    }

    /* 3. Perbaikan Kolase (Agar Tidak Keluar Layar) */
    .ra-hero-collage-visual {
        width: 100%;
        height: 400px;
        /* Batasi tinggi agar tidak terlalu panjang */
        order: 2;
        transform: scale(0.8);
        /* Perkecil seluruh grup kolase */
        transform-origin: center top;
        margin-top: -20px;
    }

    /* 4. Navbar & Menu */
    .ra-hamburger {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .ra-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-cream);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .ra-menu.active {
        display: flex;
    }

    /* 5. Section Tentang Kami & Rainbow */
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        text-align: left;
    }

    .css-rainbow {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
        width: 280px;
        /* Perkecil pelangi di HP */
        height: 140px;
    }

    /* 6. Layout Grid & Container */
    .program-grid,
    .kurikulum-grid,
    .target-container,
    .fasilitas-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* 7. Footer & Floating Button */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    /* 1. Menyesuaikan Judul agar Tidak Terpotong */
    .ekskul-box .section-title {
        font-size: 2.2rem !important;
        /* Perkecil dari ukuran default */
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .ekskul-box .section-subtitle {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    /* 2. Mengatur Grid agar Lebih Rapi */
    .ekskul-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Tetap 2 kolom */
        gap: 15px;
        /* Jarak antar kartu lebih rapat sedikit untuk HP */
        padding: 0 5px;
    }

    /* 3. Menyesuaikan Ukuran Kartu Ekskul */
    .ekskul-item {
        padding: 15px 10px;
        /* Kurangi padding dalam kartu */
        border-radius: 25px;
        /* Tetap membulat */
    }

    .ekskul-icon {
        font-size: 2.5rem;
        /* Perkecil ikon agar tidak terlalu dominan */
        margin-bottom: 8px;
    }

    .ekskul-item h4 {
        font-size: 1rem;
        /* Ukuran teks nama ekskul */
    }

    /* 1. Mengatur Container Utama agar Tidak Sesak */
    .ra-hero {
        padding: 40px 15px 60px !important;
        text-align: center;
    }

    /* 2. Menyelamatkan Teks yang Terpotong */
    .ra-hero-text-Kido {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
    }

    .ra-hero-text-Kido h1 {
        font-size: 2.4rem !important;
        /* Perkecil agar teks 'Menyenangkan' tidak terpotong */
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .ra-hero-text-Kido p {
        font-size: 1rem !important;
        padding: 0 10px !important;
        line-height: 1.5 !important;
    }

    /* 3. Menata Ulang Kolase Gambar agar Rapi ke Bawah */
    .ra-hero-collage-visual {
        height: 420px !important;
        /* Memberi ruang vertikal yang cukup */
        width: 100% !important;
        transform: scale(0.75) !important;
        /* Mengecilkan grup kolase secara proporsional */
        transform-origin: top center !important;
        margin: 0 auto !important;
    }

    /* Menghindari penumpukan gambar yang berantakan */
    .pic-kuning {
        top: 0 !important;
        right: 5% !important;
        width: 65% !important;
    }

    .pic-coral {
        top: 20% !important;
        left: 5% !important;
        width: 60% !important;
    }

    .pic-green {
        bottom: 0 !important;
        right: 10% !important;
        width: 55% !important;
    }

    /* 4. Memposisikan Tombol di Tengah */
    .ra-hero-text-Kido div {
        display: flex !important;
        justify-content: center !important;
        gap: 15px !important;
    }
}