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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  position: relative;
  background-image: url('../images/bg-putih.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  padding-top: 12vh;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-top: 5px solid #6dbaf2;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: 12vh;
}

.logo img {
  height: 60px;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s ease;
  font-size: 15px;
}

.nav-menu li a:hover {
  color: #0077cc;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  min-width: 280px;
  margin-top:10px;
  border-top:3px solid #0077cc;
}

.dropdown-menu li a {
  padding: 10px 15px;
  color: #555;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Tombol Login */
.login-btn {
  margin-left: 20px;
  padding: 8px 12px;
  background-color: #378fce;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 400;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background-color: #005fa3;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

/* ===================== 1366px ===================== */
@media (max-width: 1366px) {
  .navbar {
    padding: 15px 5%;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-menu li a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .top-bar-content {
    padding: 0 10px;
  }

  .social-icons a {
    font-size: 18px;
    margin-right: 8px;
  }

  .running-text {
    font-size: 13px;
  }
}

/* ===================== 780px ===================== */
@media (max-width: 780px) {
  .navbar {
    padding: 10px 5%;
  }

  .logo img {
    height: 60px;
  }

  .nav-menu {
    display: none; /* Bisa diganti dengan toggle jika pakai hamburger menu */
  }

  .login-btn {
    font-size: 14px;
    padding: 6px 10px;
    margin-left: auto;
  }

  .top-bar-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
  }

  .social-icons {
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .running-text {
    margin-top: 15px;
    font-size: 12px;
    margin-left: 0;
    white-space: normal;
  }
}

/* ===================== 480px ===================== */
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
    text-align: center;
  }

  .logo img {
    height: 50px;
  }

  .login-btn {
    display:none;
  }

  .top-space {
    height: auto;
    padding: 8px 10px;
  }

  .top-bar-content {
    flex-direction: row;
    align-items: center;
    text-align: center;
  }

  .social-icons a {
    font-size: 18px;
    margin-right: 6px;
  }

  .running-text {
    font-size: 12px;
    margin-left: 0;
    text-align: center;
  }
}

/* ===================== 360px ===================== */
@media (max-width: 360px) {
  .navbar {
    padding: 10px 5px;
  }

  .logo img {
    height: 45px;
  }

  .login-btn {
    font-size: 12px;
    padding: 6px 8px;
  }

  .top-space {
    padding: 6px 8px;
  }

  .social-icons a {
    font-size: 16px;
    margin-right: 5px;
  }

  .running-text {
    font-size: 11px;
  }
}

/* Tombol Hamburger */
.hamburger-menu {
    display: none; /* Sembunyikan di desktop */
    cursor: pointer;
    font-size: 24px;
    color: #333;
    z-index: 1001; /* Pastikan di atas elemen lain */
}
.login-btn:hover {
    background-color: #005fa3;
}

/* Sembunyikan tombol login khusus mobile di versi desktop */
.nav-login-mobile {
    display: none;
}


/* ===================== Media Query untuk Mobile (di bawah 780px) ===================== */
@media (max-width: 780px) {
    /* Tampilkan ikon hamburger */
    .hamburger-menu {
        display: block;
    }

    /* Sembunyikan tombol login original di pojok */
    .navbar > .login-btn {
        display: none;
    }

    /* Tampilkan tombol login di dalam menu mobile */
    .nav-login-mobile {
        display: block;
        margin-top: 20px;
        width: 100%;
    }
    .nav-login-mobile .login-btn {
        margin-left: 0;
        text-align: center;
        display: block; /* Agar memenuhi lebar li */
    }

    /* Styling untuk panel menu mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyikan di luar layar kanan */
        width: 280px; /* Lebar panel menu */
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column; /* Ubah orientasi jadi vertikal */
        align-items: flex-start;
        padding: 80px 30px 30px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Animasi slide */
        z-index: 1000;
    }

    /* State ketika menu aktif (terlihat) */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 16px;
        width: 100%;
    }

    /* Styling dropdown di mobile */
    .dropdown .dropdown-menu {
        position: static; /* Hapus positioning absolut */
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: unset;
        width: 100%;
        display: none; /* Sembunyikan dropdown by default */
        padding-left: 15px;
        background-color: #f9f9f9;
        margin-top: 10px;
        border-radius: 5px;
    }

    .dropdown:hover .dropdown-menu {
        /* Nonaktifkan hover di mobile, kita akan pakai klik via JS */
        display: none; 
    }

    .dropdown.active .dropdown-menu {
        display: block; /* Tampilkan dropdown saat parent-nya aktif */
    }

    .dropdown-menu li a {
        padding: 8px 10px;
        color: #555;
    }
}

/* Hapus perubahan layout kolom di bawah 480px agar navbar tetap 1 baris */
@media (max-width: 480px) {
    .navbar {
        flex-direction: row; /* Paksa tetap 1 baris */
        height: 12vh;
        padding: 10px 5%;
        text-align: left;
        align-items: center;
    }
}



/* Hero Section */
.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  overflow: hidden;
  margin-top: -50px;
}

.swiper, .swiper-wrapper, .swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  padding: 0 20px;
}

.hero-text h1{
    font-size: 40px;
    color: #fff; /* Ubah warna teks menjadi putih */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Tambahkan bayangan teks */
    margin-bottom:5px;
}

.hero-text p {
    font-size: 25px;
    color: #fff; /* Ubah warna teks menjadi putih */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Tambahkan bayangan teks */
}

/* --- */
/* LAYANAN DIGITAL DESKTOP (Default: tampil, Sembunyikan di Mobile) */
/* --- */
.layanan-digital-section {
    /* Efek Glassmorphism */
    background: rgba(255, 255, 255, 0.2); /* Sedikit transparan */
    backdrop-filter: blur(10px); /* Efek buram */
    -webkit-backdrop-filter: blur(10px); /* Dukungan untuk Safari */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Sedikit border transparan */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Sedikit bayangan untuk kedalaman */
    padding: 20px;
    margin-top: 120px; /* Jarak dari sub-judul */
    text-align: center;
    width: 1200px; /* Lebarkan sedikit agar icon bisa berbaris lebih banyak */
    margin-left: auto;
    margin-right: auto;
    display: flex; /* Gunakan flexbox untuk header dan grid */
    flex-direction: column; /* Tata letak kolom */
    align-items: center; /* Pusatkan item secara horizontal */
}

.layanan-digital-section .layanan-header {
    width: 100%; /* Pastikan header mengambil lebar penuh */
    margin-bottom: 15px; /* Jarak dari grid ikon */
}

.layanan-digital-section .layanan-header h4 {
    margin: 0 auto; /* Hapus margin default h4 */
    font-size: 1.2em; /* Sedikit lebih besar */
    color: #fff; /* Ubah warna teks agar terlihat di atas efek glass */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Tambahkan shadow agar lebih terbaca */
    text-align: center;
}

.layanan-digital-section .icon-grid {
    display: flex; /* Gunakan flexbox untuk baris horizontal */
    flex-wrap: wrap; /* Izinkan item untuk wrapping ke baris baru jika tidak cukup ruang */
    justify-content: center; /* Pusatkan item secara horizontal */
    gap: 50px; /* Jarak antar item, sedikit diperbesar */
    width: 100%; /* Pastikan grid mengambil lebar penuh dari container */
}

.layanan-digital-section .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff; /* Warna teks icon, agar terlihat di atas glass */
    font-size: 0.9em; /* Ukuran font lebih kecil sedikit */
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out; /* Tambah transisi untuk filter */
    min-width: 80px; /* Minimal lebar item agar tidak terlalu menyempit */
}

.layanan-digital-section .icon-item:hover {
    transform: translateY(-8px) scale(1.05); /* Efek hover lebih menonjol */
    filter: brightness(1.2); /* Sedikit cerah saat dihover */
}

.layanan-digital-section .icon-item img {
    width: 65px; /* Sesuaikan ukuran ikon */
    height: 65px;
    margin-bottom: 8px;
    border-radius: 12px; /* Lebih melengkung */
    object-fit: contain; /* Pastikan gambar ikon tidak terdistorsi */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Sedikit bayangan pada ikon */
}

.layanan-digital-section .icon-item span {
    font-weight: 600; /* Sedikit lebih tebal */
    word-wrap: break-word; /* Pastikan teks panjang bisa pecah baris */
    max-width: 100%; /* Pastikan tidak melebihi lebar item */
}


/* --- */
/* LAYANAN DIGITAL MOBILE (Default: sembunyi, Tampilkan di Mobile) */
/* --- */
.layanan-digital-section-mobile {
    padding: 30px 0; /* Padding atas dan bawah untuk section mobile */
    /* Gunakan gaya glassmorphism yang mirip dengan versi desktop */
    background: rgba(255, 255, 255, 0.1); /* Sedikit transparan dari background image */
    backdrop-filter: blur(8px); /* Efek buram yang sedikit kurang kuat dari desktop */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px; /* Sesuaikan border-radius */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: -50px; /* Naikkan sedikit agar tidak terlalu jauh dari hero */
}

.layanan-digital-section-mobile .layanan-header-mobile h4 {
    font-size: 1.3em;
    color: #fff; /* Warna teks untuk mobile, sesuai dengan tema glassmorphism */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.layanan-digital-section-mobile .icon-grid-mobile {
    display: grid;
    /* Atur 3 kolom untuk mobile default */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Jarak antar item */
    justify-items: center;
    align-items: center;
    padding: 0 15px; /* Padding sisi untuk konten grid */
}

.layanan-digital-section-mobile .icon-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff; /* Warna teks ikon mobile */
    font-size: 0.8em; /* Ukuran font lebih kecil untuk mobile */
    transition: transform 0.2s ease-in-out;
}

.layanan-digital-section-mobile .icon-item-mobile:hover {
    transform: translateY(-5px) scale(1.05);
}

.layanan-digital-section-mobile .icon-item-mobile img {
    width: 55px; /* Ukuran ikon untuk mobile */
    height: 55px;
    margin-bottom: 8px;
    border-radius: 10px; /* Border radius ikon mobile */
    object-fit: contain;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.layanan-digital-section-mobile .icon-item-mobile span {
    font-weight: 500;
    word-wrap: break-word;
    max-width: 100%;
}


/* Responsive adjustments for HERO SECTION and GENERAL */
@media (max-width: 1366px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.125rem;
  }
}

/* --- */
/* KONTROL VISIBILITAS UNTUK DESKTOP DAN MOBILE LAYANAN DIGITAL */
/* --- */

/* Default: Desktop version is visible, Mobile version is hidden */
.d-none-mobile {
    display: flex; /* Flex agar tetap rapi, karena parentnya flexbox */
}

.d-none-desktop {
    display: none;
}

/* Media Query untuk ukuran layar mobile (<= 780px) */
@media (max-width: 780px) {
    .hero-slider {
        margin-top:-100px;
        height: 75vh; /* Adjust hero height for tablets/larger phones */
    }
    .hero-text {
        padding: 0 10px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }

    /* Sembunyikan konten desktop saat di mobile, Tampilkan konten mobile saat di mobile */
    .d-none-mobile {
        display: none;
    }
    .d-none-desktop {
        display: block; /* Section mobile akan tampil */
    }
    
    .layanan-digital-section-mobile .layanan-header-mobile h4 {
        font-size: 1.2em;
        margin-top: 50px;
    }


    /* Penyesuaian grid mobile untuk 780px */
    .layanan-digital-section-mobile .icon-grid-mobile {
        grid-template-columns: repeat(4, 1fr); /* 3 kolom per baris */
        gap: 12px;
    }
    .layanan-digital-section-mobile .icon-item-mobile img {
        width: 70px;
        height: 70px;
    }
    .layanan-digital-section-mobile .icon-item-mobile span {
        font-size: 0.8em;
        color: #333;
    }
}

/* ===================== 480px ===================== */
@media (max-width: 480px) {
  .hero-slider {
    margin-top:-120px;
    height: 65vh; /* Adjust hero height for phones */
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  /* Penyesuaian grid mobile untuk 480px */
  .layanan-digital-section-mobile .icon-grid-mobile {
      grid-template-columns: repeat(3, 1fr); /* Tetap 3 kolom */
      gap: 10px;
  }
  .layanan-digital-section-mobile .icon-item-mobile img {
      width: 45px;
      height: 45px;
  }
  .layanan-digital-section-mobile .icon-item-mobile span {
      font-size: 0.75em;
  }
}

/* ===================== 360px ===================== */
@media (max-width: 360px) {
  .hero-slider {
    height: 60vh; /* Adjust hero height for small phones */
  }

  .hero-text {
    padding: 0 8px;
  }

  .hero-text h1 {
    font-size: 1.25rem;
  }

  .hero-text p {
    font-size: 0.875rem;
  }

  /* Penyesuaian grid mobile untuk 360px */
  .layanan-digital-section-mobile .icon-grid-mobile {
      grid-template-columns: repeat(3, 1fr); /* Tetap 3 kolom */
      gap: 8px;
  }
  .layanan-digital-section-mobile .icon-item-mobile img {
      width: 40px;
      height: 40px;
  }
  .layanan-digital-section-mobile .icon-item-mobile span {
      font-size: 0.7em;
  }
}


/* Prestasi Section */
.prestasi-section {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
}

.prestasi-section .swiper {
  width: 100%;
  max-width: 1200px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin:0 auto;
}

.prestasi-section .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
  height: 450px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
}

.slide-caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  transition: bottom 0.4s ease;
}
.swiper-slide:hover .slide-caption {
  bottom: 0;
}

.slide-caption h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.slide-caption p {
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.prestasi-button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #3a8dde, #1f5faf);
  border-radius: 50px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(31, 95, 175, 0.4);
  position: relative;
  overflow: hidden;
}

.prestasi-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.prestasi-button:hover::before {
  left: 130%;
}

.prestasi-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(31, 95, 175, 0.6);
}

/* ============ 1366px ============ */
@media (max-width: 1366px) {
  .prestasi-section .swiper-slide {
    width: 360px;
    height: 430px;
  }

  .slide-caption h3 {
    font-size: 18px;
  }

  .slide-caption p {
    font-size: 13px;
  }
}

/* ============ 780px ============ */
@media (max-width: 780px) {
  .prestasi-section {
    padding: 50px 15px;
  }

  .prestasi-section .swiper-slide {
    width: 300px;
    height: 400px;
  }

  .slide-caption {
    padding: 15px;
  }

  .slide-caption h3 {
    font-size: 17px;
  }

  .slide-caption p {
    font-size: 12.5px;
  }

  .prestasi-button {
    font-size: 14px;
    padding: 8px 18px;
  }
}

/* ============ 480px ============ */
@media (max-width: 480px) {
  .prestasi-section {
    padding: 40px 10px;
  }

  .prestasi-section .swiper-slide {
    width: 260px;
    height: 370px;
  }

  .slide-caption h3 {
    font-size: 16px;
  }

  .slide-caption p {
    font-size: 12px;
  }

  .prestasi-button {
    font-size: 13px;
    padding: 7px 16px;
  }
}

/* ============ 360px ============ */
@media (max-width: 360px) {
  .prestasi-section .swiper-slide {
    width: 240px;
    height: 340px;
  }

  .slide-caption {
    padding: 12px;
  }

  .slide-caption h3 {
    font-size: 15px;
  }

  .slide-caption p {
    font-size: 11px;
  }

  .prestasi-button {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* Berita section */
.berita-section {
  padding: 80px 10%;
  background-color: rgba(243, 243, 243, 0.7);
  text-align: center;
}

.berita-swiper .swiper-wrapper {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color:#3f416a
}

.section-title p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.berita-swiper {
  position: relative;
  padding: 40px 0;
  width:80%;
}

.swiper-wrapper {
  padding-bottom: 40px;
}

.berita-card {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.berita-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.berita-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}

.berita-content .meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
}

.berita-content p {
  font-size: 0.95rem;
  color: #444;
  flex-grow: 1;
}

.read-more {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #3f416a;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.btn-next,
.btn-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.31);
  color: #ffffff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 10;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-next:hover,
.btn-prev:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-next {
  right: 10px;
}

.btn-prev {
  left: 10px;
}

/* ============ 1366px ============ */
@media (max-width: 1366px) {
  .berita-section {
    padding: 70px 8%;
  }

  .berita-swiper {
    width: 85%;
  }

  .berita-card img {
    height: 230px;
  }

  .berita-content h3 {
    font-size: 1rem;
  }

  .berita-content p {
    font-size: 0.8rem;
  }

  .read-more {
    font-size: 0.8rem;
  }

  .btn-next,
  .btn-prev {
    top: 35%;
  }
}

/* ============ 780px ============ */
@media (max-width: 780px) {
  .berita-section {
    padding: 60px 5%;
  }

  .berita-swiper {
    width: 90%;
  }

  .berita-card {
    width: 90%;
  }

  .berita-card img {
    height: 200px;
  }

  .berita-content {
    padding: 16px;
  }

  .berita-content h3 {
    font-size: 1rem;
  }

  .berita-content p {
    font-size: 0.85rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .btn-next,
  .btn-prev {
    width: 36px;
    height: 36px;
  }
}

/* ============ 480px ============ */
@media (max-width: 480px) {
  .berita-section {
    padding: 50px 4%;
  }

  .berita-swiper {
    width: 100%;
  }

  .berita-card {
    width: 100%;
  }

  .berita-card img {
    height: 180px;
  }

  .berita-content h3 {
    font-size: 0.95rem;
  }

  .berita-content p {
    font-size: 0.8rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

  .btn-next,
  .btn-prev {
    width: 32px;
    height: 32px;
  }
}

/* ============ 360px ============ */
@media (max-width: 360px) {
  .berita-section {
    padding: 40px 3%;
  }

  .berita-card img {
    height: 160px;
  }

  .berita-content {
    padding: 14px;
  }

  .berita-content h3 {
    font-size: 0.9rem;
  }

  .berita-content p {
    font-size: 0.75rem;
  }

  .read-more {
    font-size: 0.85rem;
  }

  .btn-next,
  .btn-prev {
    width: 28px;
    height: 28px;
  }
}

/* Sambutan Section */
.sambutan-section {
  padding: 80px 10%;
  background-color: rgba(255, 255, 255, 0.7);
}

.sambutan-section .container {
  width:80%;
  margin:0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.sambutan-section .foto img {
  width: 250px;
  height: auto;
  object-fit: cover;
}

.sambutan-section .sambutan {
  flex: 1;
  width: 30%;
}

.sambutan-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #3f416a;
}

.sambutan-section p {
  font-size: 12px;
  line-height: 1.7;
  color: #333;
}

.sambutan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Agenda Section */
.agenda {
  width:45%;
  font-size: 10px;
  color: #333;
}

.agenda h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agenda-list li {
  margin-bottom: 15px;
  line-height: 1.4;
  border-left: 5px solid #0073aa;
}

.agenda-date {
  font-weight: bold;
  font-size:20px;
  color: #0073aa;
  display: block;
  margin-bottom: 4px;
}

.isi-agenda {
  margin-left:10px;
}

.agenda-list li:not(:last-child) {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
} 

.btn-learn-more {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 1rem;
  color: #fff;
  background-color: #3f416a;
  border: none;
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-learn-more:hover {
  background-color: #333454;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

@media (max-width: 1367px) {
  .sambutan-section {
    padding: 60px 7%;
  }
  
  .container .sambutan-grid {
      width:90%;
    }

  .sambutan-section .container {
    width: 100%;
  }

  .sambutan-section .foto img {
    width: 170px;
    height: auto;
  }

  .sambutan-section p {
    font-size: 11px;
  }
  
  .sambutan{
      width:55%;
  }

  .agenda {
    width: 45%;
  }

  .agenda-date {
    font-size:15px;
  }

  .btn-learn-more {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* ============ 780px ============ */
@media (max-width: 780px) {
  .sambutan-section {
    padding: 60px 5%;
  }

  .sambutan-section .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sambutan-section .foto img {
    width: 200px;
    height: auto;
  }

  .sambutan-section .sambutan {
    width: 100%;
  }

  .sambutan-section p {
    font-size: 11px;
  }

  .agenda {
    width: 100%;
    margin-top: 30px;
    font-size: 10px;
  }

  .agenda h3 {
    font-size: 16px;
  }

  .agenda-date {
    font-size: 18px;
  }

  .agenda-list li {
    margin-bottom: 15px;
    line-height: 1.4;
    border-left: 0px solid #0073aa;
  }
}

/* Data Sekolah */
.school-stats-section {
  position: relative;
  background-image: url('../images/bg-sekolah.jpg'); /* Ganti sesuai kebutuhan */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: white;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.school-stats-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay gelap */
  z-index: 1;
}

.school-stats-section .data-title,
.school-stats-section .stats-grid {
  position: relative;
  z-index: 2;
}

.data-title h3 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #fff;
}

.data-title p {
  font-size: 18px;
  color: #ddd;
}

.stats-grid {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.stat-card {
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card h3 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #fff;
}

.stat-card p {
  font-size: 18px;
  margin: 0;
  color: #ddd;
  letter-spacing: 1px;
}

/* ============ 1366px (tetap) ============ */
@media (max-width: 1366px) {
  .data-title h3 {
    font-size: 42px;
  }

  .data-title p,
  .stat-card p {
    font-size: 16px;
  }

  .stat-card h3 {
    font-size: 42px;
  }
}

/* ============ 780px (tetap) ============ */
@media (max-width: 780px) {
  .data-title h3 {
    font-size: 36px;
  }

  .data-title p,
  .stat-card p {
    font-size: 15px;
  }

  .stat-card h3 {
    font-size: 36px;
  }

  .stats-grid {
    gap: 25px;
  }
}

/* ============ 480px (2 kolom) ============ */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .data-title h3 {
    font-size: 28px;
  }

  .data-title p {
    font-size: 14px;
  }

  .stat-card h3 {
    font-size: 50px;
  }

  .stat-card p {
    font-size: 13px;
  }

  .stat-card {
    padding: 10px 5px;
  }
}

/* ============ 360px (2 kolom) ============ */
@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .data-title h3 {
    font-size: 24px;
  }

  .data-title p {
    font-size: 13px;
  }

  .stat-card h3 {
    font-size: 50px;
  }

  .stat-card p {
    font-size: 12px;
  }

  .stat-card {
    padding: 18px 8px;
  }
}

/* Unggulan Section */
.program-unggulan-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.program-container {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px;
  margin: 0 auto;
  width:80%;
}

.program-grid {
  flex: 1;
  max-width: 30%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.program-item img {
  width: 150px;
  height:150px;
  object-fit:cover;
  border-radius: 0px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.program-item img:hover {
  transform: scale(1.05);
}

.program-detail {
  flex: 1;
  max-width: 30%;
  text-align: left;
}

.program-detail img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 0px;
}

.program-detail h3 {
  margin-top: 20px;
  font-size: 24px;
  color: #333;
}

.program-detail p {
  font-size: 12px;
  color: #666;
}

.read-more-btn {
  display: inline-block;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 10px;
}

/* ============ 1680px ============ */
@media (max-width: 1680px) {
  .program-container {
    width:100%;
    gap: 20px;
  }

  .program-item img {
    width: 100px;
    height: 100px;
  }

  .program-detail h3 {
    font-size: 22px;
  }

  .program-detail p {
    font-size: 11px;
  }

  .read-more-btn {
    font-size: 9px;
  }
}

/* ============ 1440px ============ */
@media (max-width: 1440px) {
  .program-container {
    width:100%;
    gap: 20px;
  }

  .program-item img {
    width: 100px;
    height: 100px;
  }

  .program-detail h3 {
    font-size: 22px;
  }

  .program-detail p {
    font-size: 11px;
  }

  .read-more-btn {
    font-size: 9px;
  }
}

/* ============ 1024px ============ */
@media (max-width: 1024px) {
  .program-container {
    width:100%;
    gap: 20px;
  }

  .program-item img {
    width: 100px;
    height: 100px;
  }

  .program-detail h3 {
    font-size: 22px;
  }

  .program-detail p {
    font-size: 11px;
  }

  .read-more-btn {
    font-size: 9px;
  }
}

/* ============ 780px ============ */
@media (max-width: 780px) {
  .program-container {
    flex-direction: column;
    align-items: center;
  }

  .program-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .program-item img {
    width: 100px;
    height: 100px;
  }

  .program-detail {
    max-width: 100%;
    text-align: center;
  }

  .program-detail img {
    max-height: 200px;
  }

  .program-detail h3 {
    font-size: 20px;
  }

  .program-detail p {
    font-size: 11px;
  }
}

/* ============ 480px ============ */
@media (max-width: 480px) {
  .program-container {
    flex-direction: column;
    align-items: center;
  }

  .program-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .program-item img {
    width: 90px;
    height: 90px;
  }

  .program-detail img {
    width:70%;
    max-height: 180px;
  }

  .program-detail h3 {
    font-size: 18px;
  }

  .program-detail p {
    font-size: 10px;
  }

  .read-more-btn {
    font-size: 9px;
  }
}

/* ============ 360px ============ */
@media (max-width: 360px) {
  .program-container {
    flex-direction: column;
    align-items: center;
  }

  .program-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .program-item img {
    width: 80px;
    height: 80px;
  }

  .program-detail img {
    width:80%;
    max-height: 160px;
  }

  .program-detail h3 {
    font-size: 16px;
  }

  .program-detail p {
    font-size: 9px;
  }

  .read-more-btn {
    font-size: 8px;
  }
}

/* ----------  Ekstrakurikuler section  ---------- */
.ekstra-section{
  padding: 80px 10%;
  background: rgba(243,243,243,.7);
  text-align: center;
}

.ekstra-section .section-title p{
  text-align:center;
  margin:0 auto;
  max-width: 760px;
  margin-bottom:20px;
}

.ekstra-section .section-title h2{
  text-align:center;
  margin:0 auto;
  max-width: 760px;
}

.ekstra-section .swiper-wrapper {
    align-items: center;
}

.ekstra-slide {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ekstra-slide img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.ekstra-slide.swiper-slide-active {
    transform: scale(1.1);
    z-index: 2;
}

.slide-caption {
    text-align: center;
    background: white;
    padding: 10px;
    font-weight: bold;
    color:#333;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 0px;
  width: 90%;
  max-width: 600px;
  animation: slideIn 0.5s ease;
  position: relative;
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #000;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideIn {
  from {transform: translateY(-30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Fasilitas Section */
.section-fasilitas {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.section-fasilitas h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1d3557;
}

.section-fasilitas p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555;
}

.fasilitas-swiper {
  width: 100%;
  margin: 0 auto;
  padding: 30px 30px;
}

.fasilitas-swiper .swiper-slide {
  width: 360px !important; /* dari 280px → lebih besar */
  height: auto;
  background: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fasilitas-slide img {
  width: 100%;
  height: 240px; /* dari 180px → lebih tinggi */
  object-fit: cover;
}

.fasilitas-slide h3 {
  font-size: 1.1rem;
  padding: 15px 10px;
  font-weight: 600;
  color: #333;
}

/* ========== 1366px dan lebih besar ========== */
@media (min-width: 1366px) {
  .fasilitas-swiper .swiper-slide {
    width: 340px !important;
  }
}

/* ========== Tablet (max-width: 768px) ========== */
@media (max-width: 768px) {
  .fasilitas-swiper {
    padding: 20px;
  }

  .fasilitas-swiper .swiper-slide {
    width: 300px !important;
  }

  .fasilitas-slide img {
    height: 200px;
  }

  .fasilitas-slide h3 {
    font-size: 1rem;
    padding: 12px 8px;
  }
}

/* ========== Mobile (max-width: 480px) ========== */
@media (max-width: 480px) {
  .fasilitas-swiper .swiper-slide {
    width: 70% !important;
  }

  .fasilitas-slide img {
    height: 180px;
  }

  .fasilitas-slide h3 {
    font-size: 0.95rem;
    padding: 10px 6px;
  }
}

/* ========== Extra Small (max-width: 360px) ========== */
@media (max-width: 360px) {
  .fasilitas-swiper .swiper-slide {
    width:70% !important;
  }

  .fasilitas-slide img {
    height: 160px;
  }

  .fasilitas-slide h3 {
    font-size: 0.9rem;
  }
}

/* FAQ Section */
.faq {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0px 0px 40px 0px;
}

.faq-header {
  position: relative;
  background-image: url('../images/bg-biru.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 60px 20px 40px;
  height:400px;
}

.faq-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.faq-header p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.faq-box {
  background-color: #fff;
  max-width: 1000px;
  margin: -200px auto 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  padding: 40px 30px;
}

.faq-box h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.faq-item {
  border-top: 1px solid #ddd;
  padding: 15px 0;
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 25px;
}

.faq-question::after {
  content: '\25BC'; /* down arrow */
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s;
}

.faq-question.active::after {
  transform: rotate(180deg); /* up arrow */
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: #555;
}

.faq-question.active + .faq-answer {
  display: block;
}

/* ========== 1366px dan lebih besar ========== */
@media (min-width: 1366px) {
  .faq-header {
    height: 400px;
    padding: 60px 20px 40px;
  }

  .faq-box {
    padding: 40px 30px;
  }
}

/* ========== Tablet (max-width: 768px) ========== */
@media (max-width: 768px) {
  .faq-header {
    height: auto;
    padding: 40px 20px;
  }

  .faq-header h2 {
    font-size: 28px;
  }

  .faq-header p {
    font-size: 14px;
  }

  .faq-box {
    margin: -120px auto 40px;
    padding: 30px 20px;
  }

  .faq-box h3 {
    font-size: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

/* ========== Mobile (max-width: 480px) ========== */
@media (max-width: 480px) {
  .faq-header h2 {
    font-size: 24px;
  }

  .faq-header p {
    font-size: 13px;
  }

  .faq-box {
    margin: -10px auto 30px;
    padding: 25px 15px;
  }

  .faq-box h3 {
    font-size: 18px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    font-size: 13px;
  }
}

/* ========== Extra Small (max-width: 360px) ========== */
@media (max-width: 360px) {
  .faq-header h2 {
    font-size: 22px;
  }

  .faq-header p {
    font-size: 12px;
  }

  .faq-box {
    padding: 20px 10px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-answer {
    font-size: 12px;
  }
}

/* Galery Section */
.gallery-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
  pointer-events: none;
}

.gallery-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.gallery-grid a:hover::before,
.gallery-grid a:hover .zoom-icon {
  opacity: 1;
}

.lightboxOverlay {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.lightboxOverlay.visible {
  opacity: 1;
}

.lightbox {
  animation: fadeIn 0.4s ease-in-out;
}

#lightbox .lb-close {
    position: absolute;
    top: 5px;
    right: 40px;
    z-index: 1100;
    font-size: 30px !important;
    text-align: right;
}

body.no-scroll {
    overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 1366px screen */
@media (max-width: 1366px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .gallery-grid img {
    height: 200px;
  }
}

/* 780px screen */
@media (max-width: 780px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .gallery-grid img {
    height: 180px;
  }
}

/* 480px screen */
@media (max-width: 480px) {
  .gallery-section {
    padding: 40px 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .gallery-grid img {
    height: 120px;
  }
  .zoom-icon {
    font-size: 28px;
  }
  .lb-image {
    max-width: 90vw !important;
    max-height: 70vh !important;
    margin: auto !important;
    display: block;
  }

  .lightbox {
    padding-top: 20vh !important;
    padding-bottom: 20vh !important;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
  }

  .lb-dataContainer {
    text-align: center !important;
    font-size: 14px;
  }
}

/* 360px screen */
@media (max-width: 360px) {
  .gallery-section {
    padding: 30px 5px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .gallery-grid img {
    height: 140px;
  }
  .zoom-icon {
    font-size: 24px;
  }
  
  .lightbox {
    padding-top: 20vh !important;
    padding-bottom: 20vh !important;
  }
}

/* Testimoni Section */
.testimonial-section {
  background-color: rgba(243, 243, 243, 0.7);
  padding: 60px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.testimonial-section p {
  color: #666;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1), 0 0 10px rgba(246, 194, 62, 0.1);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #333;
}

.testimonial-card span {
  font-size: 14px;
  color: #888;
  display: block;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 15px;
  color: #444;
  font-style: italic;
}

.rating {
  margin: 10px 0;
  color: #f6c23e; 
  font-size: 18px;
}

.rating i {
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

.rating i:hover {
  transform: translateY(-3px) scale(1.1);
  color: #ffcc00;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

/* 1366px screen */
@media (max-width: 1366px) {
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .testimonial-card {
    padding: 25px 15px;
  }
  .testimonial-card img {
    width: 80px;
    height: 80px;
  }
  .testimonial-section h2 {
    font-size: 28px;
  }
}

/* 780px screen */
@media (max-width: 780px) {
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  .testimonial-card {
    padding: 20px 15px;
  }
  .testimonial-card img {
    width: 70px;
    height: 70px;
  }
  .testimonial-section h2 {
    font-size: 24px;
  }
}

/* 480px screen */
@media (max-width: 480px) {
  .testimonial-section {
    padding: 40px 10px;
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .testimonial-card img {
    width: 60px;
    height: 60px;
  }
  .testimonial-section h2 {
    font-size: 22px;
  }
  .testimonial-card h4 {
    font-size: 16px;
  }
  .testimonial-card span {
    font-size: 12px;
  }
  .testimonial-card p {
    font-size: 14px;
  }
  .rating {
    font-size: 16px;
  }
}

/* 360px screen */
@media (max-width: 360px) {
  .testimonial-section {
    padding: 30px 5px;
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .testimonial-card img {
    width: 50px;
    height: 50px;
  }
  .testimonial-section h2 {
    font-size: 20px;
  }
  .testimonial-card h4 {
    font-size: 14px;
  }
  .testimonial-card span {
    font-size: 10px;
  }
  .testimonial-card p {
    font-size: 13px;
  }
  .rating {
    font-size: 14px;
  }
}

/* Media Partner Section */
.media-partner {
  padding: 60px 10%;
  background-color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.media-partner .section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #3f416a;
}

.media-partner .section-title p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.partner-grid {
  width:80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin:0 auto;
}

.partner-grid img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 10px;
  max-height: 80px;
  object-fit: contain;
}

.partner-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Tablet */
@media (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* Footer Section */
.footer {
  position: relative;
  background-image: url('../images/bg-biru.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  padding: 50px 20px;
  color:#fff;
}

/* ====== Footer Container (3 kolom) ====== */
.footer-container {
    width:80%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    margin:0 auto;
}

/* ====== Setiap kolom ====== */
.footer-section,
.footer-section-maps{
    width: 30%;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ====== Maps Wrapper ====== */
.maps-wrapper iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 0px;
}

/* ====== Sosial Media ====== */
.footer-social {
    margin-top: 30px;
    text-align: center;
}

.footer-social-icon {
    font-size: 24px;
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

.footer-social-icon:hover {
    color: #1abc9c; /* warna hover */
}

/* ====== Footer Bottom ====== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 20px;
    font-size: 13px;
}

/* ====== Responsive ====== */

/* <= 780px */
@media (max-width: 780px) {
    .footer-container{
        flex-direction:column;
    }
    
    .footer-section{
        width:90%;
        margin:0 auto;
    }
    
    .footer-section-maps {
        display:none;
    }
}

/* <= 480px */
@media (max-width: 480px) {
    .footer h2 {
        font-size: 22px;
    }

    .footer p,
    .footer-link {
        font-size: 13px;
    }

    .footer-social-icon {
        font-size: 20px;
        margin: 0 6px;
    }
}

/* <= 360px */
@media (max-width: 360px) {
    .footer-section h3 {
        font-size: 16px;
    }

    .footer-links {
        font-size: 12px;
    }

    .footer-text {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: linear-gradient(90deg, #3a8dde, #1f5faf);;
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 16px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#backToTop:hover {
  background-color: #1c1d3b;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/*.layanan-digital-button {*/
/*  position: fixed;*/
/*  top: 50%;*/
/*  right: calc(env(safe-area-inset-right, 0px) + 20px);*/
/*  transform: translateY(-50%) rotate(-90deg);*/
/*  transform-origin: right center;*/
/*  background: linear-gradient(90deg, #3a8dde, #1f5faf);;*/
/*  color: #fff;*/
/*  padding: 8px 15px;*/
/*  border-top-left-radius: 10px;*/
/*  border-top-right-radius: 10px;*/
/*  cursor: pointer;*/
/*  z-index: 9999;*/
/*  font-weight: bold;*/
/*  box-shadow: 0 0 10px rgba(0,0,0,0.3);*/
/*  transition: opacity 0.3s ease, transform 0.5s ease;*/
/*  animation: floating 3s ease-in-out infinite;*/
/*}*/
        
/*@keyframes floating {*/
/*  0% { transform: translateY(-50%) rotate(-90deg) translateX(0); }*/
/*  50% { transform: translateY(-50%) rotate(-90deg) translateX(5px); }*/
/*  100% { transform: translateY(-50%) rotate(-90deg) translateX(0); }*/
/*}*/
        
/*.layanan-digital-container {*/
/*  position: fixed;*/
/*  top: 50%;*/
/*  right: -350px;*/
/*  width: 200px;*/
/*  height: 60%;*/
/*  background: rgba(255, 255, 255, 0.3); */
/*  backdrop-filter: blur(10px); */
/*  -webkit-backdrop-filter: blur(10px);*/
/*  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);*/
/*  border-radius: 10px;*/
/*  transition: right 0.5s ease, opacity 0.5s ease;*/
/*  transform: translateY(-50%);*/
/*  z-index: 9998;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  overflow-y: auto;*/
/*  overflow-x: hidden;*/
/*  padding: 20px;*/
/*}*/
        
/*.layanan-digital-container.active {*/
/*  right: 20px;*/
/*}*/
        
.layanan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}
        
.layanan-header h4 {
  margin: 0;
  font-size: 16px;
}
        
.layanan-header button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
        
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-items: center;
  align-items: center;
}
        
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
        
.icon-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 5px;
}
        
.icon-item span {
  font-size: 10px;
  color: #333;
  font-weight: 400;
}
        
.icon-item:hover {
  transform: scale(1.1);
}

/* 1366px */
@media (max-width: 1366px) {
  #backToTop {
    bottom: 25px;
    right: 25px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .layanan-digital-container {
    right: -300px;
    width: 180px;
  }

  .layanan-digital-container.active {
    right: 20px;
  }
}

/* 780px */
@media (max-width: 780px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
    padding: 10px 12px;
    font-size: 15px;
  }

  .layanan-digital-button {
    right: 10px;
    font-size: 15px;
    padding: 6px 12px;
  }

  .layanan-digital-container {
    right: -260px;
    width: 160px;
    height: 60%;
  }

  .layanan-digital-container.active {
    right: 15px;
  }

  .icon-item img {
    width: 50px;
    height: 50px;
  }

  .icon-item span {
    font-size: 9px;
  }
}

/* 480px */
@media (max-width: 480px) {
  #backToTop {
    display:none;
  }

  .layanan-digital-button {
    right: 9px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .layanan-digital-container {
    right: -240px;
    width: 140px;
    height: 65%;
  }

  .layanan-digital-container.active {
    right: 10px;
  }
  
  .layanan-header h4 {
      margin: 0;
      font-size: 12px;
    }

  .icon-item img {
    width: 45px;
    height: 45px;
  }

  .icon-item span {
    font-size: 8px;
  }
}

/* 360px */
@media (max-width: 360px) {
  #backToTop {
    display:none;
  }

  .layanan-digital-button {
      top:40%;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .layanan-digital-container {
    right: -220px;
    width: 130px;
    height: 58%;
  }

  .layanan-digital-container.active {
    right: 8px;
  }

  .icon-item img {
    width: 40px;
    height: 40px;
  }

  .icon-item span {
    font-size: 7.5px;
  }
}

.tmbl-tutup {
    color: #333;
    transition: transform 0.3s ease;
}

.tmbl-tutup:hover {
    transform: rotate(180deg);
}
