/* --- Global & Variable Setup --- */
:root {
    --primary-color: #A0DEFF; /* Biru Muda Terang */
    --secondary-color: #5AB2FF; /* Biru Muda Lebih Pekat */
    --dark-blue: #003C7A; /* Biru Tua untuk Teks */
    --white-color: #ffffff88;
    --light-gray: #ffffff;
    --dark-gray: #555;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 50px;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: var(--dark-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #b4e2f6;
    transform: translateY(-3px);
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  margin-right: 10px;
}

.title h3 {
  font-size: 14px;
  color: #1e3a8a;
  font-weight: 600;
}

.title h2 {
  font-size: 16px;
  color: #1e3a8a;
  font-weight: 700;
}

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

.nav-links ul li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-donasi {
     padding: 10px 24px;
    color: var(--dark-blue); /* <-- TAMBAHKAN BARIS INI */
    font-weight: 700; /* Opsional: membuat teks sedikit lebih tebal */
}

.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-blue);
}

/* --- Hero Section with Slider --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    overflow: hidden;
}

/* --- SLIDER GAMBAR RINGAN (TANPA LIBRARY) --- */
.hero-split-image {
    padding-top: 160px; /* Jarak diperbesar karena navbar cukup tinggi */
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;
}

.custom-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 60, 122, 0.2);
    cursor: grab;
}

.slider-track-custom {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1); /* Animasi lebih mulus */
}

.slide-item {
    min-width: 100%;
    box-sizing: border-box;
}

.slide-item img {
    width: 100%;
    height: auto; /* Tinggi menyesuaikan rasio asli gambar */
    max-height: 600px; /* Batas maksimal di desktop */
    display: block;
    object-fit: contain; /* Memastikan gambar (dan teks di dalamnya) tidak terpotong sama sekali */
}

/* Navigasi Titik-titik (Dots) */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--dark-blue);
}


/* Overlay untuk teks agar lebih mudah dibaca */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Warna overlay */
    z-index: 2; /* Di atas slider, di bawah konten hero */
}

.hero-content {
    position: relative;
    z-index: 3; /* Pastikan konten di atas overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Tambah shadow untuk visibility */
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Tambah shadow untuk visibility */
}

/* --- Sections General --- */
section {
    padding: 80px 0;
}

/* --- Tentang Section --- */
.tentang {
    background-color: var(--light-gray);
}

.tentang-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tentang-img {
    flex: 1;
}

.tentang-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tentang-text {
    flex: 1;
}

.tentang-text h3 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.tentang-text p {
    margin-bottom: 15px;
}

/* --- Program Section --- */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white-color);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* --- CTA Section --- */
/* --- CTA Section Gaya Baru (Modern & Keren) --- */
.cta-modern {
    padding: 100px 0;
    background-color: var(--dark-blue);
    /* Latar belakang dengan gradien halus untuk efek visual */
    background-image: radial-gradient(circle at top right, rgba(90, 178, 255, 0.15), transparent 40%);
    position: relative;
    overflow: hidden;
}

.cta-modern-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Layout dua kolom */
    align-items: center;
    gap: 50px;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* --- Kartu Donasi dengan Efek Kaca (Glassmorphism) --- */
.donation-card {
    background: rgba(255, 255, 255, 0.1); /* Latar belakang semi-transparan */
    backdrop-filter: blur(15px); /* Efek blur pada elemen di belakangnya */
    -webkit-backdrop-filter: blur(15px); /* Untuk support browser Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-8px); /* Efek terangkat saat dihover */
}

.donation-card h3 {
    color: var(--white-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.bank-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.bank-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.bank-info strong {
    color: var(--white-color);
    font-size: 1.1rem;
}

.bank-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.donation-card .btn {
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
    font-size: 1.1rem;
    padding: 15px;
}

.donation-card .btn:hover {
    background-color: var(--primary-color);
}

/* --- Membuatnya Responsif di HP --- */
@media (max-width: 768px) {
    .cta-modern-content {
        grid-template-columns: 1fr; /* Ubah jadi satu kolom */
        gap: 40px;
    }

    .cta-text {
        text-align: center;
    }

    .cta-text h2 {
        font-size: 2rem;
    }
}

/* --- Galeri Section --- */
.galeri {
    background-color: var(--light-gray);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.galeri-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-blue);
    color: #e0e0e0;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col li {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-blue);
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease-in-out;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links ul li {
        margin: 20px 0;
    }
    
    .btn-donasi { display: none; }
    .hamburger-menu { display: block; }
    
    .tentang-content {
        flex-direction: column;
    }
}

/* --- Halaman Donasi --- */

.page-header {
    background-color: var(--light-gray);
    text-align: center;
    padding: 140px 0 60px 0; /* Padding atas lebih besar untuk ruang di bawah header */
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
}

.donation-page {
    padding: 80px 0;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.campaign-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

.campaign-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Membuat konten mengisi ruang yang tersisa */
}

.campaign-content h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.campaign-content p {
    margin-bottom: 20px;
    flex-grow: 1; /* Mendorong tombol ke bawah */
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.campaign-card .btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
}

/* Penyesuaian untuk Mobile */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* --- Tombol Kembali ke Beranda --- */
.btn-back {
    background-color: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
    margin-top: 25px; /* Memberi jarak dari teks di atasnya */
}

.btn-back:hover {
    background-color: var(--dark-blue);
    color: var(--white-color);
}

.btn-back i {
    margin-right: 8px; /* Memberi spasi antara ikon dan teks */
}

/* --- Style untuk Tombol Detail di Kartu Program --- */

.card {
    display: flex;
    flex-direction: column;
}

.card p {
    flex-grow: 1; /* Mendorong tombol ke bawah agar sejajar */
    margin-bottom: 25px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    margin-top: auto; /* Memastikan tombol menempel di bawah */
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}


/* --- Style untuk Halaman Detail Program --- */

.program-details-page {
    padding: 80px 0;
}

.program-detail-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

/* Membuat urutan gambar selang-seling (kiri-kanan) */
.program-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.program-detail-item img {
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    flex-shrink: 0;
}

.program-detail-text h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.program-detail-text p {
    margin-bottom: 20px;
}

/* Responsif untuk Halaman Detail Program */
@media (max-width: 768px) {
    .program-detail-item,
    .program-detail-item:nth-child(even) {
        flex-direction: column;
    }

    .program-detail-item img {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
}

/* --- Untuk menggeser tombol konfirmasi donasi --- */
.btn-geser {
    position: relative;
    left: 25px; /* Sesuaikan angka ini untuk mengatur seberapa jauh geserannya */
}


/* --- Halaman Detail Program Pendidikan --- */

.program-intro {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.intro-img {
    flex: 1;
    max-width: 500px;
}

.intro-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-breakdown {
    padding: 80px 0;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: contain;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

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

.breakdown-card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.breakdown-card:hover {
    transform: translateY(-8px);
}

.breakdown-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.breakdown-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.cta-khusus {
    background-color: var(--primary-color);
    text-align: center;
    color: var(--dark-blue);
}

.cta-khusus .rekening em {
    font-size: 0.9rem;
    color: var(--dark-blue);
}

/* Responsif untuk Halaman Intro */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
}

/* --- Galeri Kegiatan (CSS Scroll Snap & Autoplay Simpel) --- */
.galeri {
    background-color: var(--light-gray);
    padding: 80px 0; /* Padding atas bawah */
    overflow: hidden; /* Penting untuk menyembunyikan scrollbar di luar */
}

.galeri-slider {
    width: 100%;
    margin-top: 40px;
    position: relative;
}

.slider-track {
    display: flex;
    overflow-x: auto; /* Memungkinkan scrolling horizontal */
    scroll-snap-type: x mandatory; /* Mengunci scroll pada setiap item */
    -webkit-overflow-scrolling: touch; /* Scrolling halus di iOS */
    scroll-padding: 0 50px; /* Padding saat scroll agar item terlihat penuh */
    gap: 25px; /* Jarak antar item */
    padding-bottom: 20px; /* Ruang di bawah jika ada scrollbar */
    cursor: grab; /* Mengindikasikan elemen bisa digeser */
}

/* Sembunyikan scrollbar (opsional, untuk tampilan lebih bersih) */
.slider-track::-webkit-scrollbar {
    display: none;
}
.slider-track {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.galeri-item {
    flex: 0 0 auto; /* Item tidak akan mengecil */
    width: 300px; /* Lebar setiap item gambar */
    height: 250px; /* Tinggi setiap item gambar */
    scroll-snap-align: center; /* Item akan menempel di tengah saat di-scroll */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeri-item:hover {
    transform: translateY(-8px) scale(1.02); /* Efek terangkat dan sedikit zoom */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar menutupi area item */
    display: block;
}

/* Responsif untuk ukuran layar yang berbeda */
@media (max-width: 768px) {
    .slider-track {
        scroll-padding: 0 20px; /* Kurangi padding di mobile */
        gap: 15px;
    }
    .galeri-item {
        width: 250px; /* Perkecil lebar item di mobile */
        height: 200px;
    }
}

@media (max-width: 480px) {
    .galeri-item {
        width: 200px; /* Lebih kecil lagi di layar sangat kecil */
        height: 160px;
    }
}

/* --- Footer Gaya Baru (Modern & Keren) --- */
.footer-modern {
    background-color: var(--dark-blue);
    /* Gradasi halus untuk efek visual yang lebih dalam */
    background-image: linear-gradient(160deg, var(--dark-blue) 0%, #002c5c 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0 0;
}

.footer-modern-top {
    display: grid;
    /* Layout 4 kolom, kolom pertama lebih lebar */
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
}

/* Aksen garis bawah pada judul kolom */
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 10px;
}

/* --- Perbaikan untuk Menyejajarkan Ikon Kontak di Footer --- */
.contact-item {
    display: flex; /* 1. Mengaktifkan Flexbox */
    align-items: flex-start; /* 2. Menyejajarkan item ke atas */
    gap: 12px; /* 3. Memberi jarak antara ikon dan teks */
    margin-bottom: 15px; /* Memberi jarak antar baris kontak */
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem; /* Menyesuaikan ukuran ikon */
    margin-top: 5px; /* Sedikit menurunkan ikon agar sejajar sempurna dengan baris pertama teks */
}

.contact-item span {
    line-height: 1.7; /* Mengatur jarak antar baris jika alamatnya panjang */
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Efek geser kecil saat dihover */
}

/* --- Ikon Sosial Interaktif --- */
.footer-col .social-links {
    margin-top: 20px;
}

.footer-col .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: var(--secondary-color); /* Latar belakang terisi saat dihover */
    color: var(--dark-blue); /* Ikon berubah warna */
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* --- Bagian Copyright --- */
.footer-modern-bottom {
    padding: 25px 0;
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Garis pemisah yang lembut */
    font-size: 0.9rem;
}

/* --- Membuat Footer Responsif --- */
@media (max-width: 992px) {
    .footer-modern-top {
        /* Jadi 2 kolom di tablet */
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-modern-top {
        /* Jadi 1 kolom di HP */
        grid-template-columns: 1fr;
    }
    .footer-col {
        margin-bottom: 30px;
    }
}

/* --- PERBAIKAN RESPONSIVE UNTUK HERO SLIDER DI HP --- */

@media (max-width: 768px) {

    /* 1. Perkecil tinggi hero section agar proporsional */
    .hero {
        height: 70vh; /* Coba 70% tinggi layar, bukan 100%. Anda bisa ganti ke 60vh atau 80vh */
        min-height: 500px; /* Tinggi minimal agar tidak terlalu pendek di HP yang aneh */
    }

    /* 2. Perkecil ukuran font judul utama */
    .hero-content h1 {
        font-size: 2.2rem; /* Ukuran yang pas untuk mobile */
        line-height: 1.3;  /* Atur jarak antar baris jika teksnya jadi 2 baris */
    }

    /* 3. Perkecil ukuran font paragraf */
    .hero-content p {
        font-size: 1rem; /* Ukuran standar untuk mobile */
    }
    
    /* 4. Beri sedikit ruang di kiri-kanan konten */
    .hero-content {
        padding: 0 20px;
    }

}

/* --- HALAMAN TENTANG KAMI (GAYA BARU & KEREN) --- */

/* 1. Hero Section */
.hero-tentang {
    padding: 160px 0 100px 0;
    text-align: center;
    color: var(--dark-blue);
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23a0deff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h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9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0V5h6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-tentang h1 {
    font-size: 3.2rem;
    font-weight: 700;
}
.hero-tentang p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* 2. Sejarah & Kutipan */
.sejarah-section {
    padding: 80px 0;
}
.sejarah-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
}
.sejarah-img-wrapper {
    border-top-left-radius: 200px; /* Membuat lengkungan di atas */
    border-top-right-radius: 200px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 60, 122, 0.2);
}
.sejarah-img-wrapper img {
    width: 100%;
    display: block;
}
.section-title-left {
    text-align: left;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-weight: 600;
}
.islamic-quote {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    font-size: 1.1rem;
}
.islamic-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--dark-blue);
}

/* 3. Nilai-Nilai Kami */
.nilai-kami-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}
.nilai-kami-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.nilai-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.nilai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 60, 122, 0.1);
}
.nilai-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--dark-blue);
}
.nilai-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* 4. Timeline */
.timeline-section {
    padding: 80px 0;
    background-color: #fff;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
.timeline-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--light-gray);
    position: relative;
    border-radius: 10px;
}
.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
}

/* --- Responsif Halaman Tentang Kami --- */
@media (max-width: 992px) {
    .sejarah-content {
        grid-template-columns: 1fr;
    }
    .sejarah-img {
        max-width: 400px;
        margin: 0 auto 40px;
    }
    .section-title-left { text-align: center; }
}
@media (max-width: 768px) {
    .hero-tentang h1 { font-size: 2.5rem; }
    /* Timeline menjadi satu kolom */
    .timeline::after { left: 10px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 15px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 0; }
}

/* --- HALAMAN TENTANG KAMI (DESAIN EDITORIAL PROFESIONAL) --- */

/* 1. Hero Section */
.hero-tentang-prof {
    padding: 160px 0 100px 0;
    background-color: var(--white-color);
    border-bottom: 1px solid #e9ecef;
}
.hero-tentang-prof h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.hero-tentang-prof h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    max-width: 800px;
    line-height: 1.3;
}

/* 2. Intro */
.intro-prof {
    padding: 100px 0;
    background: #fff;
}
.intro-prof-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}
.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-blue);
}
.intro-prof-img img {
    width: 100%;
    border-radius: 15px;
}

/* 3. Pondasi */
.philosophy-intro {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}
.philosophy-intro .section-subtitle {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 4. Visi */
.visi-prof-section {
    padding: 100px 0;
    background: #fff;
}
.vm-prof-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}
.vm-prof-title i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.vm-prof-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin: 0;
}
.visi-prof-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--dark-blue);
    padding-left: 30px;
    border-left: 4px solid var(--primary-color);
}
.visi-breakdown {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.visi-point h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* 5. Misi */
.misi-prof-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%235AB2FF' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v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C/svg%3E");
}
.misi-prof-grid {
    display: grid;
    grid-template-columns: 1fr; /* Satu kolom agar detailnya bisa penuh */
    gap: 40px;
    margin-top: 40px;
}
.misi-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}
.misi-item h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* 6. Moto & Pilar */
.moto-pilar-section {
    padding: 100px 0;
    background-color: #fff;
}
.moto-prof {
    background-color: var(--dark-blue);
    color: var(--white-color);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}
.moto-prof h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}
.moto-prof p {
    font-size: 2rem;
    font-weight: 600;
    margin: 10px 0 20px 0;
}
/* .moto-prof .dalil.compact {
    background: none; border: none; padding: 0; font-size: 0.9rem;
} */
.moto-prof .dalil.compact .arabic-text { font-size: 1.5rem; }
.pilar-prof-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.pilar-item {
    border-top: 3px solid var(--secondary-color);
    padding-top: 20px;
}
.pilar-item h4 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}
.pilar-item h4 i { margin-right: 10px; }

/* 7. Dalil dengan Font Arab yang Keren */
.dalil { margin-top: 20px; padding: 15px 20px; border-left: 3px solid var(--primary-color); background-color: #f8f9fa; border-radius: 8px; font-style: normal; }
.arabic-text {
    font-family: 'Amiri', serif; /* FONT KEREN DI SINI */
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2; /* Jarak baris yang lega */
    margin-bottom: 10px;
    direction: rtl;
    color: #333;
}
.dalil cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--dark-blue); font-size: 0.9rem; }

/* 8. Responsif */
@media (max-width: 992px) {
    .hero-tentang-prof h1 { font-size: 2.8rem; }
    .intro-prof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-tentang-prof h1 { font-size: 2.2rem; }
    .vm-prof-title h2 { font-size: 2rem; }
    .visi-prof-text { font-size: 1.2rem; }
}
