/* Global Reset and Overflow Control */
html, body {
    overflow-x: hidden; /* Mencegah halaman meluber ke samping (horizontal scroll) */
}

/* General Styles */
* {
    box-sizing: border-box; /* Penting untuk konsistensi layout */
}

:root {
    --primary-blue: #007bff;
    --dark-blue: #0056b3;
    --accent-gold: #ffd700;
    --dark-grey: #343a40;
    --light-grey: #f8f9fa; /* Ini adalah F8F9FA, yang sudah ada */
    --white: #ffffff;
    --text-color: #333;
    --heading-color: #0056b3;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;

        /* === VARIBEL BARU UNTUK BACKGROUND YANG LEBIH JELAS === */
    --bg-section-program: #eaf2f8;   /* Biru sangat muda yang lebih jelas */
    --bg-section-jasmani: #fffbeb;   /* Kuning/krem sangat muda */
    --bg-section-testi: #eaf4f7;     /* Biru muda lainnya */
}


body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-grey);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
    margin-bottom: 20px;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.8em;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-small {
    font-size: 2em;
    color: var(--dark-blue);
    margin-bottom: 15px;
    text-align: center;
}
.section-subtitle-small {
    font-size: 1em;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}


/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    padding: 14px 30px;
    border-radius: 50px; /* Lebih bulat */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.95em;
}

.btn-secondary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Navbar Button */
.btn-navbar-daftar {
    background-color: var(--accent-gold);
    color: var(--dark-blue) !important; /* Override nav-links a color */
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap; /* Mencegah wrap pada mobile */
}

.btn-navbar-daftar:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Button */
.btn-footer-daftar {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-footer-daftar:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}


/* Header & Navigation */
header {
    background-color: #ffffff; /* Diubah menjadi putih */
    color: var(--dark-blue); /* Warna teks default diubah menjadi biru gelap */
    padding: 12px 0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo a {
    /* Hapus 'color: var(--dark-blue);' yang lama */
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 800;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;

    /* == Perubahan Baru di Sini == */
    background: linear-gradient(to right, #0056b3, #E74C3C); /* Gradient biru gelap ke merah */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0056b3; /* Fallback color untuk browser yang tidak mendukung gradient */
    /* == Akhir Perubahan Baru == */
}

/* Biarkan .logo-img tetap sama seperti sebelumnya */
.logo-img {
    height: 100px;
    width: auto;
    margin-right: 10px;
}

/* Sesuaikan juga media query untuk ukuran logo dan teks di perangkat mobile jika diperlukan */
@media (max-width: 768px) {
    .logo a {
        font-size: 1.8em;
        font-weight: 800;
        /* Gradient akan tetap berlaku */
    }

    .logo-img {
        height: 100px;
        margin-right: 10px;
    }
}


.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--dark-blue); /* Diubah menjadi biru gelap */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Burger menu (untuk mobile) */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.burger div {
    background-color: var(--dark-blue); /* Diubah menjadi biru gelap */
    width: 100%;
    height: 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}


/* Hero Section (Home Page) */
.hero-section {
    /* Latar belakang transparan agar gambar terlihat */
    background-color: transparent;
    /* Placeholder untuk gambar Anda - GANTI PATH INI dengan path gambar background Anda */
    background-image: url('../images/background-hero.jpg');
    background-size: cover; /* Gambar latar belakang menutupi seluruh area */
    background-position: center; /* Posisi tengah gambar latar belakang */
    background-repeat: no-repeat; /* Pastikan gambar tidak diulang */
    color: var(--white); /* Warna teks default di Hero Section */
    padding: 80px 20px; /* Padding hero section */
    display: flex;
    justify-content: center; /* Konten di tengah */
    align-items: center;
    min-height: 450px; /* Tinggi minimum hero section */
    gap: 40px; /* Jarak antar elemen (teks dan gambar) */
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius); /* Tambahkan border radius jika diinginkan */
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */ /* Opsional: Tambahkan sedikit bayangan jika diinginkan */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Overlay gelap semi-transparan untuk kontras teks */
    background-size: cover;
    opacity: 1; /* Opasitas penuh untuk overlay */
    z-index: 0;
}


.hero-content {
    flex: 1;
    max-width: 550px; /* Disesuaikan */
    text-align: left;
    z-index: 1;
    padding: 30px; /* Padding di dalam kotak teks */
    background-color: rgba(0, 59, 107, 0.7); /* Overlay warna biru gelap semi-transparan untuk teks */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Bayangan pada kotak teks */
}

.hero-content h1 {
    font-size: 3.5em; /* Disesuaikan agar pas */
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Shadow pada teks agar lebih menonjol */
}

.hero-content p {
    font-size: 1.2em; /* Disesuaikan agar pas */
    margin-bottom: 30px; /* Disesuaikan */
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    max-width: 400px; /* Batasi lebar gambar agar tidak terlalu besar di hero */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* Program Overview Section */
.programs-overview {
    padding: 50px 15px;
    background-color: var(--bg-section-program);
    background-image: none;
    background-repeat: initial;
    background-size: initial;
    background-position: initial;
    opacity: 1;
    /* === DIUBAH: Agar section ini sendiri mengambil lebar maksimum container === */
    max-width: var(--container-width, 1100px); /* Memastikan section mengambil lebar container utama */
    margin: 0 auto; /* Menengahkankan section di halaman */
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* DIUBAH: Lebar minimum kartu ditingkatkan menjadi 250px */
    gap: 25px; /* DIUBAH: Jarak antar kartu ditingkatkan menjadi 25px */
    max-width: 100%; /* DIUBAH: Mengambil 100% lebar dari parentnya (.programs-overview) */
    margin: 0 auto;
}

.program-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.program-card h3 {
    color: var(--primary-blue);
    font-size: 2em;
    margin-bottom: 15px;
}

.program-card p {
    font-size: 1em;
    color: #555;
    flex-grow: 1;
    margin-bottom: 25px;
}

.program-thumbnail {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Facilities Section */
.facilities-section {
    padding: 50px 15px;
}

.facilities-section.facilities-alt-bg {
    background-color: var(--bg-section-jasmani); /* DIUBAH: Warna krem/kuning muda */
    background-image: none;
    background-repeat: initial;
    background-size: initial;
    background-position: initial;
    opacity: 1;
}

.bg-light-grey {
    background-color: var(--light-grey); /* DIUBAH: Tetap light-grey */
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); /* DIUBAH: min-width ditingkatkan agar stabil di 3 kolom */
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.facility-item {
    background-color: var(--white);
    padding: 30px; /* DIUBAH: Padding ditingkatkan agar ada lebih banyak ruang */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.facility-item:hover {
    transform: translateY(-10px); /* Efek naik lebih jauh */
    box-shadow: 0 12px 25px rgba(0,0,0,0.18); /* Bayangan lebih kuat saat hover */
    border-color: var(--primary-blue); /* Border berubah warna saat hover */
}

.facility-icon {
    font-size: 3em; /* Ukuran ikon lebih besar */
    color: var(--white); /* Warna ikon putih */
    margin-bottom: 25px; /* Jarak bawah lebih jauh */
    background-color: var(--primary-blue); /* Latar belakang biru */
    width: 80px; /* Lingkaran lebih besar */
    height: 80px; /* Lingkaran lebih besar */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Bayangan lebih menonjol */
    border: 3px solid var(--accent-gold); /* Border gold sebagai aksen */
    transition: all 0.3s ease; /* Tambahkan transisi untuk icon hover */
}

.facility-item:hover .facility-icon {
    background-color: var(--accent-gold); /* Background ikon berubah jadi gold */
    transform: scale(1.1); /* Ikon sedikit membesar */
    color: var(--primary-blue); /* Warna ikon berubah jadi biru */
}

.facility-item h3 {
    font-size: 1.4em; /* DIUBAH: Ukuran font judul sedikit ditingkatkan */
    margin-bottom: 10px; /* DIUBAH: Margin bawah ditingkatkan */
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.3; /* DIUBAH: Line-height sedikit ditingkatkan */
    text-align: center;
}

.facility-item p {
    font-size: 0.9em; /* DIUBAH: Ukuran font deskripsi ditingkatkan */
    color: #666;
    flex-grow: 1;
    line-height: 1.5; /* DIUBAH: Line-height ditingkatkan */
    text-align: justify; /* DIUBAH: Rata kanan-kiri agar lebih rapih */
    margin-bottom: 0;
}



/* Sembunyikan tag <img> di dalamnya jika menggunakan background-image pada section */
.banner-image-placeholder img {
    display: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 50px 15px;
    background-color: var(--bg-section-testi); /* DIUBAH: Warna biru muda berbeda */
    background-image: none;
    background-repeat: initial;
    background-size: initial;
    background-position: initial;
    opacity: 1;
}

.testimonials-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto; /* Enable scrolling for cards */
    padding-bottom: 20px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--primary-blue) var(--light-grey); /* Firefox */
}

.testimonials-slider-container::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue);
    border-radius: 10px;
}

.testimonials-slider-container::-webkit-scrollbar-track {
    background-color: var(--light-grey);
}


.testimonial-cards-wrapper {
    display: flex; /* Makes cards flow horizontally */
    gap: 30px;
    padding: 10px;
}

.testimonial-card {
    flex: 0 0 350px; /* Fixed width for each card */
    background-color: #f0f8ff; /* Light blue background */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 300px; /* Minimum width to prevent collapse */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-blue);
}

.testimonial-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-weight: bold;
}

.testimonial-header h4 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 1.3em;
}

.testimonial-header .alumni-of {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

.testimonial-card .quote {
    font-style: italic;
    color: #444;
    font-size: 1em;
    line-height: 1.8;
}

/* Program Detail Page */
.program-detail-hero {
    background: linear-gradient(to right, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.program-detail-hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--white);
}

.program-detail-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.program-full-description {
    padding: 40px 20px; /* DIUBAH: Padding ditingkatkan */
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: -20px;
    position: relative;
    z-index: 1;
    text-align: justify;
}

.program-full-description h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    color: var(--dark-blue);
}

.program-content p {
    margin-bottom: 20px;
}

.program-image {
    max-width: 600px; /* DIUBAH: Lebar maksimum gambar dibatasi */
    height: auto; /* Mempertahankan rasio aspek */
    border-radius: var(--border-radius);
    margin-top: 30px; /* DIUBAH: Menambah jarak dari teks atas */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: block; /* Penting untuk menengahkan gambar */
    margin-left: auto; /* Untuk menengahkan gambar */
    margin-right: auto; /* Untuk menengahkan gambar */
}

.program-packages {
    padding: 60px 20px;
    background-color: var(--light-grey);
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* DIUBAH: Untuk menengahkan tombol secara horizontal */
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.package-card h3 {
    color: var(--accent-gold);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.package-card .price {
    font-size: 1.6em;
    font-weight: bold;
    color: #28a745; /* Green for price */
    margin-bottom: 15px;
}

.package-card h4 {
    font-size: 1.2em;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.package-card ul {
    list-style: none; /* Hapus bullet default */
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.package-card ul li {
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.package-card ul li .fas.fa-check-circle {
    color: #28a745; /* Green checkmark */
    margin-right: 8px;
    font-size: 1.1em;
    margin-top: 3px;
}

.package-card .schedule {
    font-size: 0.95em;
    color: #777;
    margin-top: 15px;
    margin-bottom: 25px;
}

.package-card .schedule .fas {
    margin-right: 5px;
    color: var(--primary-blue);
}

.no-packages {
    text-align: center;
    font-style: italic;
    color: #888;
    font-size: 1.1em;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    grid-column: 1 / -1; /* Lebarkan ke seluruh grid */
}


/* About Us Page */
/* About Us Page */
.static-page-hero {
    padding-top: 50px;
    padding-bottom: 80px;
    text-align: center;
    color: var(--white); /* Warna teks default di hero section halaman statis */
    background: transparent; /* DIUBAH: Jadikan background transparan */
    background-color: transparent; /* Tambahan: Pastikan tidak ada warna solid */
    background-image: none; /* Tambahan: Hapus default image */
}

.static-page-hero.about-hero {
    background-image: url('../images/about-hero-bg.jpg'); /* GANTI PATH INI dengan gambar Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white); /* Pastikan teks tetap putih atau sesuaikan */
    position: relative; /* Penting untuk overlay */
    z-index: 1; /* Penting untuk overlay */
}
.static-page-hero.about-hero::before { /* TAMBAH: Overlay untuk kontras teks */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Warna overlay (hitam 40% transparan) */
    z-index: -1; /* Pastikan di belakang teks */
}

.about-vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: -30px; /* Diubah dari -50px */
    position: relative;
    z-index: 1;
    text-align: justify;
}

.vision-mission-content {
    flex: 2;
    min-width: 400px;
    text-align: justify;
}

.vision-mission-content h2 {
    font-size: 2.2em;
    color: var(--dark-blue);
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 5px;
}

.vision-mission-content p {
    margin-bottom: 20px;
    color: #444;
}

.vision-mission-content ul {
    list-style: none;
    padding: 0;
}

.vision-mission-content ul li {
    margin-bottom: 12px;
    font-size: 1em;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.vision-mission-content ul li .fas.fa-check-circle {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 1.2em;
    margin-top: 3px;
}

.founder-section {
    flex: 1;
    min-width: 300px;
    background-color: #f0f8ff; /* Light blue */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 0 0 5px rgba(255,215,0,0.2);
}
.founder-section h3 {
    font-size: 1.6em;
    color: var(--dark-blue);
    margin-bottom: 5px;
}
.founder-title {
    font-size: 1em;
    color: #E74C3C; /* DIUBAH: Warna teks menjadi merah */
    margin-bottom: 15px;
}
.founder-quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.6;
}

.founder-bio {
    font-size: 0.95em;
    color: #666;
    text-align: justify;
}

.teacher-profiles {
    padding: 60px 20px;
    text-align: center;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.teacher-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}



.teacher-card h3 {
    font-size: 1.6em;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.teacher-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.2);
}

.teacher-role {
    font-size: 0.95em;
    color: #E74C3C; /* DIUBAH: Warna teks menjadi merah */
    font-weight: 600;
    margin-bottom: 15px;
}

.teacher-bio-short {
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

/* Our Programs Page */
.static-page-hero.program-page-hero {
    background-image: url('../images/program-page-hero-bg.jpg'); /* GANTI PATH INI dengan gambar Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white); /* Pastikan teks tetap putih atau sesuaikan */
    position: relative;
    z-index: 1;
}
.static-page-hero.program-page-hero::before { /* TAMBAH: Overlay untuk kontras teks */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.call-to-action-programs {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    margin-top: 50px;
}

.call-to-action-programs h2 {
    color: var(--white);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.call-to-action-programs p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}


/* Gallery Page */
.static-page-hero.gallery-hero {
    background-image: url('../images/gallery-hero-bg.jpg'); /* GANTI PATH INI dengan gambar Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white); /* Pastikan teks tetap putih atau sesuaikan */
    position: relative;
    z-index: 1;
}
.static-page-hero.gallery-hero::before { /* TAMBAH: Overlay untuk kontras teks */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.gallery-section {
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: -30px; /* Diubah dari -50px */
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Atau nilai lain yang Anda inginkan */
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
}


/* Contact Us Page */
.static-page-hero.contact-hero {
    background-image: url('../images/contact-hero-bg.jpg'); /* GANTI PATH INI dengan gambar Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white); /* Pastikan teks tetap putih atau sesuaikan */
    position: relative;
    z-index: 1;
}
.static-page-hero.contact-hero::before { /* TAMBAH: Overlay untuk kontras teks */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.contact-info-section {
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);    
    box-shadow: var(--box-shadow);
    margin-top: -30px; /* Diubah dari -50px */
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.contact-card {
    background-color: #f0f8ff; /* Light blue */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 3.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.8em;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--dark-blue);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.social-media-section {
    margin-top: 50px;
    text-align: center;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.social-links-large {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icon-btn i {
    margin-right: 10px;
    font-size: 1.3em;
}

.social-icon-btn.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-icon-btn.tiktok { background-color: #000; }
.social-icon-btn.facebook { background-color: #3b5998; }
.social-icon-btn.twitter { background-color: #1DA1F2; }

.social-icon-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.location-map {
    margin-top: 50px;
    text-align: center;
}

.location-map iframe {
    width: 100%;
    max-width: 900px;
    height: 450px;
    border: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}



/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 50px 20px 20px 20px;
    margin-top: 80px;
    font-size: 0.95em;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto 40px auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about, .footer-contact {
    flex: 1 1 300px; /* Lebar kolom disesuaikan */
    padding: 10px;
}

.footer-about h3, .footer-contact h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.6em;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.footer-contact p .fas, .footer-contact p .fab {
    margin-right: 10px;
    color: var(--accent-gold);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
    display: flex; /* Mengatur ikon sosial agar sejajar */
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 auto 15px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: var(--accent-gold);
}



/* Responsive Design (Media Queries) */
@media (max-width: 992px) {

    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-image {
        max-width: 80%;
    }
    .testimonials-slider-container {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    .testimonial-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}


@media (max-width: 768px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    p { font-size: 1em; }

    .container {
        padding: 15px; /* Sedikit kurangi padding di sisi kiri/kanan untuk layar sangat kecil */
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 65px;
        background-color: #ffffff; /* Warna latar belakang menu mobile diubah menjadi putih */
        flex-direction: column;
        width: 80%;
        height: auto;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        padding: 15px 0;
        align-items: center;
        border-bottom-left-radius: var(--border-radius);
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        margin: 15px 0;
    }
    .nav-links li:nth-child(1) { transition: all 0.5s ease 0.2s; }
    .nav-links li:nth-child(2) { transition: all 0.5s ease 0.3s; }
    .nav-links li:nth-child(3) { transition: all 0.5s ease 0.4s; }
    .nav-links li:nth-child(4) { transition: all 0.5s ease 0.5s; }
    .nav-links li:nth-child(5) { transition: all 0.5s ease 0.6s; }
    .nav-links li:nth-child(6) { transition: all 0.5s ease 0.7s; } /* For the Daftar Sekarang button */

    .nav-links.active li {
        opacity: 1;
    }

    .burger {
        display: flex;
    }

    /* Burger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .section-title { font-size: 2.2em; }
    .section-subtitle { font-size: 1.1em; }

    .program-cards, .facility-grid, .package-cards, .gallery-grid, .contact-grid, .teachers-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 90%; /* Make cards take more width on smaller screens */
        min-width: unset;
    }

    .about-vision-mission {
        flex-direction: column;
        margin-top: -30px;
    }

.founder-profiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px auto;
    max-width: 900px;
}
.founder-section {
    flex: 1 1 calc(50% - 30px); /* Atur agar dua kolom bisa muat */
    min-width: 280px;
    background-color: #f0f8ff; /* Light blue */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
    
    .vision-mission-content, .founder-section {
        min-width: unset;
        width: 100%;
    }
    /* Penyesuaian khusus untuk teks di halaman Tentang Kami agar tidak terpotong */
    .vision-mission-content p,
    .vision-mission-content ul li {
        word-wrap: break-word; /* Memaksa kata-kata panjang untuk pecah dan wrap */
        overflow-wrap: break-word; /* Versi modern dari word-wrap */
        text-align: left; /* Ubah justifikasi teks ke kiri untuk keterbacaan yang lebih baik di mobile */
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-about, .footer-links, .footer-contact {
        flex: 1 1 100%;
        max-width: 400px;
    }
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .footer-links ul li {
        margin: 0;
    }
    .social-links {
        display: flex;
        justify-content: center;
    }
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
}