:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

.section-padding {
    padding: 100px 0;
    /* Padding lebih besar untuk kesan modern */
}

.bg-light-section {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--dark-color);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* --- 1. Modern Hero Slider (Image Only & Clickable) --- */
.hero-slider {
    height: 80vh;
    /* Lebih tinggi agar imersif */
    min-height: 500px;
}

.hero-slider .swiper-slide {
    overflow: hidden;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Efek Ken Burns (Zoom In perlahan) */
    animation: kenburns 20s linear infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Membuat seluruh slide bisa diklik */
.hero-slider a.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Overlay tipis agar navigasi tetap terlihat jelas */
.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    /* Sangat tipis, hanya untuk darken sedikit */
    transition: background 0.3s ease;
}

.hero-slider a.slide-link:hover .slide-overlay {
    background: rgba(0, 0, 0, 0.0);
    /* Terang saat di-hover */
}

/* --- 6. Statistik Full Width --- */
#statistik {
    background-image: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('https://source.unsplash.com/1600x900/?school,building');
    background-size: cover;
    background-attachment: fixed;
    /* Efek Parallax */
    color: white;
    text-align: center;
}

#statistik .section-title h2 {
    color: white;
}

#statistik .section-title h2::before {
    background-color: white;
}

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 700;
}

.stat-item .lead {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Card Styling yang Lebih Bersih --- */
.hover-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* CSS Khusus untuk Konten Artikel */
.article-content {
    background-color: #fff;
    padding: 20px;
    /* Padding lebih kecil di mobile */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.article-content .article-title {
    font-family: 'Poppins', sans-serif;
    /* Pastikan judul tetap Poppins */
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.8rem;
    /* Ukuran judul di HP (lebih kecil) */
    line-height: 1.4;
}

.article-content .article-meta {
    margin-bottom: 20px;
    color: #6c757d;
    /* text-muted */
    font-size: 0.9rem;
}

.article-content .article-meta span {
    margin-right: 15px;
}

.article-content .featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* == INI BAGIAN UTAMA UNTUK KENYAMANAN MEMBACA DI HP == */
.article-content .article-body {
    /* 1. Ganti font khusus isi artikel */
    font-family: 'Noto Serif', serif;

    /* 2. Ukuran font ideal untuk HP (18px-19px) */
    font-size: 1.15rem;

    /* 3. Jarak antar baris yang sangat lega */
    line-height: 1.9;

    /* 4. Warna teks (jangan hitam pekat #000, tapi #333 agar mata tidak lelah) */
    color: #333;
}

.article-content .article-body p {
    margin-bottom: 1.5rem;
    /* Jarak antar paragraf lebih besar */
}

/* Sub-judul di dalam artikel */
.article-content .article-body h3,
.article-content .article-body h4 {
    /* Kembalikan ke Poppins agar kontras */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #212529;
    margin-top: 2.5rem;
    /* Jarak sebelum sub-judul */
    margin-bottom: 1rem;
}

/* Penyesuaian untuk layar lebih besar (Desktop) */
@media (min-width: 768px) {
    .article-content {
        padding: 30px;
        /* Padding normal di desktop */
    }

    .article-content .article-title {
        font-size: 2.5rem;
        /* Ukuran judul kembali besar di desktop */
    }

    .article-content .article-body {
        font-size: 1.2rem;
        /* Sedikit lebih besar lagi di desktop (19.2px) */
    }
}

/* --- Akhir Penyesuaian Font --- */

/* Sidebar */
.sidebar-widget {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sidebar-widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

/* --- Footer --- */
.footer {
    background-color: #1a1a2e;
    color: #a6a6b3;
    padding: 80px 0;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer a {
    color: #a6a6b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

/* --- 10. CSS Kategori --- */
.category-card {
    display: block;
    text-decoration: none;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.category-card h6 {
    margin-top: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

/* --- 11. CSS Testimoni --- */
.testimoni-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
}

.testimoni-card .quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimoni-card .testimoni-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimoni-card .testimoni-user {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.testimoni-card .testimoni-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimoni-card .testimoni-user h6 {
    font-weight: 700;
    margin-bottom: 0;
}

.testimoni-card .testimoni-user small {
    color: #6c757d;
}

/* --- CSS Khusus Poster Slider Vertikal --- */
.poster-slider-container {
    height: 450px;
    /* Tinggi tetap untuk slider vertikal */
    overflow: hidden;
    /* Penting untuk menyembunyikan bagian luar slide */
}

.poster-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pastikan gambar mengisi ruang tanpa terdistorsi */
}

.poster-slider .swiper-pagination-vertical.swiper-pagination-bullets {
    right: 10px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
}

.poster-slider .swiper-pagination-bullet {
    background-color: var(--primary-color);
    opacity: 0.5;
}

.poster-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* --- CSS Khusus Galeri Video Thumbnail --- */
.video-thumbnail-card {
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    /* Sudut membulat */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-thumbnail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail-card:hover img {
    transform: scale(1.05);
}

.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: background 0.3s ease;
}

.video-thumbnail-card:hover .play-icon-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-icon-overlay i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dropdown-menu {
    transition: all 0.3s ease-in-out;
    /* Tambahkan transisi eksplisit */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* Tambahkan sedikit slide-down */
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Penting: Dropdown di Navbar-nya */
.navbar .dropdown-menu {
    margin-top: 5px;
    /* Sedikit jarak dari navbar agar transisi terlihat */
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* --- CSS Khusus Halaman Ini --- */

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Membuat semua card sama tinggi */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ini adalah "Icon Bulat" yang Anda minta */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* Membuatnya bulat */
    background-color: #e6f0ff;
    /* Warna biru muda */
    color: #0d6efd;
    /* Warna ikon (biru primary) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    /* Otomatis center horizontal */
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

/* Efek hover pada icon */
.service-card:hover .icon-circle {
    background-color: #0d6efd;
    color: #fff;
}

.service-card .service-title {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card .btn {
    margin-top: auto;
    /* Mendorong tombol ke bagian bawah card */
}

/* --- Akhir CSS Khusus --- */
/* --- CSS Back to Top Button (Updated) --- */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 25px;
    /* Pindah sedikit ke kiri dari ujung */
    bottom: 25px;
    /* Pindah sedikit ke atas dari ujung */
    z-index: 99999;
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    /* Gradient lebih menarik */
    width: 50px;
    /* Sedikit lebih besar */
    height: 50px;
    /* Sedikit lebih besar */
    border-radius: 50%;
    /* Membuatnya bulat sempurna */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Bayangan untuk efek 3D */
    transition: all 0.5s ease-in-out;
    /* Transisi lebih halus */
    color: #fff;
    text-decoration: none;
    line-height: 0;
    font-size: 28px;
    display: flex;
    /* Untuk memposisikan ikon di tengah */
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(45deg, #0b5ed7, #0d6efd);
    /* Ubah gradient saat hover */
    transform: translateY(-5px);
    /* Sedikit naik saat dihover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    /* Bayangan lebih gelap saat hover */
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Styling khusus untuk Poster Slider */
.poster-slider-container {
    height: 400px; /* Sesuaikan tinggi yang diinginkan */
    position: relative;
}

.poster-slider {
    width: 100%;
    height: 100%;
}

.poster-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan memenuhi area tanpa merubah rasio */
}

/* Mempercantik pagination */
.poster-slider .swiper-pagination-bullet-active {
    background: #0d6efd; /* Warna biru Bootstrap */
}