:root {
  --BiruTua: #225982;
  --BiruSedang: #245981;
  --BiruGelap: #235882;
  --BiruAbu: #2b73ad;
  --BiruMuda: #b4cadf;
  --BiruMudaa: #b5cadf;
  --Bg: #8fc8f5;
  --BiruPas: #2d88e4;
  --Putih: #ffffff;
  --Hitam: #000000;
  --kuningsoft: #f4b860;
  --kuningwarm: #f3c683;
  --BiruTua: #225982;
  --BiruAbu: #badeff;
  --Putih: #ffffff;
  --kuningsoft: #ffbf47;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--Putih);
  color: #245981;
  min-height: 3500px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--BiruAbu);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* jarak antara gambar dan tulisan */
}

.navbar .navbar-logo img {
  height: 60px; /* ubah sesuai kebutuhan */
  width: auto;
  display: block;
  margin-top: -8px; /* nempel ke atas sedikit */
  margin-bottom: -8px; /* nempel ke bawah sedikit */
  margin-left: 0.1rem;
}

.navbar .navbar-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar .navbar-logo .logo-main {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--BiruTua);
}

.navbar .navbar-logo .logo-sub {
  font-weight: 500;
  font-size: 1rem;
  color: #225982; /* biru muda biar lembut */
  margin-top: 0.3rem;
  font-style: italic;
}

.navbar .navbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  margin-right: 0.1rem;
}

.navbar .navbar-nav a {
  color: #225982;
  display: inline-block;
  font-size: 1.1rem;
  margin: 0 0.7rem;
}

.navbar .navbar-nav a:hover {
  color: var(--BiruMuda);
}

.navbar .navbar-extra a {
  color: #225982;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--BiruMuda);
}

#hamburger-menu {
  display: none;
}

/* Navbar */

body,
section {
  margin: 0;
  padding: 0;
}

/* HOME */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("../img/bluesoft.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 2rem;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 3%,
    rgba(255, 255, 255, 0) 25%
  );
  z-index: 0;
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 80rem;
  z-index: 1;
}

.hero .content h1 {
  font-size: 3rem;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(34, 89, 130, 0.8);
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
  word-break: keep-all;
}

.teks-hebat {
  font-size: 3rem;
  color: #225982;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.teks-senang {
  font-size: 3rem;
  color: #225982;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.teks-saga {
  font-size: 4rem;
  color: #225982;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero .content p {
  font-size: 4rem;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(34, 89, 130, 0.8);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero .content a {
  font-size: 1.3rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 1.4rem;
  color: #ffffff;
  background-color: var(--kuningsoft);
  border-radius: 0.5rem;
  text-shadow: 1px 1px 3px rgba(34, 89, 130, 0.8);
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.3);
}
/* HOME */

/* TENTANG KAMI */
.about {
  padding: 12rem 7% 1.4rem;
  min-height: 100vh;
  position: relative;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
}

.about h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #225982;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
}

.about .row {
  display: flex;
}

.about .row .img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 90%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row .content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.about .row .content p {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}
/* TENTANG KAMI */

/* PROGRAM */

body {
  font-family: "Poppins", sans-serif;
  background: #f8faff;
  margin: 0;
  color: #222;
}

/* Program Section */
/* PROGRAM */
.Program {
  position: relative;
  background-image: url("../img/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 7% 6rem;
  text-align: center;
  min-height: auto;
}

.Program h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--BiruTua);
  margin-bottom: 3rem;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
}

.program-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(34, 89, 130, 0.15);
}

.program-box .row {
  display: flex;
  justify-content: center; /* biar sejajar tengah */
  align-items: center;
  gap: 1.5rem; /* jarak antar mapel */
  flex-wrap: wrap; /* biar otomatis turun pas layar kecil */
  margin: 0 auto;
  width: 85%;
  max-width: 600px;
}

.program-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.program-box p,
.program-box a {
  font-size: 1.3rem;
  line-height: 1.5;
  display: block;
  margin-bottom: 0.5rem;
}

.program-tabel {
  flex: 1;
  min-width: 300px;
}

.program-tabel h2 {
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 1.6rem;
}

.subjudul {
  font-size: 1.2rem;
  color: var(--BiruTua);
  display: block;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1rem;
}

.tabel-paket {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  color: var(--BiruTua);
  background-color: rgba(255, 255, 255, 0.15);
}

.tabel-paket th,
.tabel-paket td {
  padding: 0.8rem;
  text-align: center;
  border-bottom: 5px solid rgba(255, 255, 255, 0.15);
}

.tabel-paket thead th {
  background-color: #8fc8f5;
  font-size: 1.4rem;
  font-weight: 700;
}

.tabel-paket tbody td {
  background-color: #badeff;
  font-weight: 600;
}

.tabel-paket td:first-child {
  text-align: left;
}

.badge.kuning {
  color: var(--Hitam);
  font-weight: 600;
}

.teks-perorang,
.tabel-paket small {
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
}

.program-box .row {
  gap: 1rem;
  justify-items: center;
  max-width: 100%;
}

.mapel {
  flex: 0 1 120px; /* lebar minimum tiap mapel */
  text-align: center;
  transition: transform 0.3s ease;
}

.mapel:hover {
  transform: translateY(-5px);
}

.mapel img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.3rem;
}

.corak {
  font-size: 0.5rem;
  color: #000;
  margin-bottom: 0.8rem;
  font-weight: 500;
  font-size: 1.2rem;
}

.row .mapel h3 {
  font-size: 1.2rem;
}
.fasilitas-grid > :last-child {
  grid-column: 1 / -1; /* membuatnya mengambil 1 baris penuh */
  justify-self: center; /* memindahkan ke tengah */
  width: 60%; /* opsional, agar tidak terlalu lebar */
}

.fasilitas-section {
  padding: 100px 20px;
  text-align: center;
  background: #ffffff;
}

.fasilitas-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1d4364;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* GRID 2 kolom */
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 40px;
  max-width: 900px;
  margin: auto;
}

/* Kalau jumlah item ganjil dan item terakhir sendirian → center */
.fasilitas-grid > :last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 60%;
}

/* BOX */
.fasilitas-box {
  background: #1b4f72;
  padding: 15px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

/* GAMBAR */
.fasilitas-box img {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
}

/* TEKS */
.fasilitas-box p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  text-align: left;
}

/* PENGAJAR */
.Pengajar {
  text-align: center;
  padding: 10rem 8%;
  justify-content: center;
  align-content: center;
  background-image: url("../img/bg1.jpg");
  min-height: 100vh;
  width: 100%;
}

.Pengajar h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--BiruTua);
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
}

.Pengajar .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  max-width: 100%;
}

.profilpengajar {
  background-color: #fff;
  border: 1px solid #2d88e4;
  border-radius: 1.2rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  padding: 1.2rem;
  max-width: 220px;
  transition: transform 0.3s ease;
}

.profilpengajar:hover {
  transform: translateY(-5px);
}

.profilpengajar img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.gilang-judul {
  font-size: 1rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 0.2rem;
}

.gilang-judul span {
  font-weight: 500;
  color: #555;
}

.Lulusan {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.btn-profil {
  background-color: var(--kuningsoft);
  color: var(--BiruTua);
  font-weight: 500;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.btn-profil:hover {
  background-color: #ffdb4d;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s ease;
}

body.modal-open *:not(.modal):not(.modal *) {
  pointer-events: none !important;
}

.modal-content {
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
}

.modal.active {
  display: flex; /* tampil di tengah */
}

.modal-content h3 {
  color: var(--BiruTua);
  margin-bottom: 0.5rem;
}

.modal-content p {
  margin: 0.5rem 0;
  line-height: 1.4;
}

.modal-content ul {
  list-style: none;
  padding-left: 0;
  padding-left: 1.2rem;
}

.close {
  color: #888;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* PENGAJAR */

/* KONTAK */
.kontak {
  background-color: #ffffff;
  padding: 10rem 2rem;
  text-align: center;
}

.kontak-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.kontak-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.kontak-text {
  max-width: 400px;
  text-align: justify;
}

.kontak-text p {
  font-size: 1.4rem;
  color: #002b5b;
  line-height: 1.6;
}

.kontak-logo img {
  width: 200px;
  height: auto;
}

.daftar-btn {
  display: inline-block;
  background-color: #f3c683;
  color: #002b5b;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 0.8rem;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 1.2rem;
}

.daftar-btn:hover {
  background-color: #0088cc;
}

.kontak-title {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  color: #222;
  font-weight: 600;
}

.kontak-sosmed {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.sosmed-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  color: #333;
  gap: 0.3rem;
}

.sosmed-item img {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.sosmed-item img:hover {
  transform: scale(1.15);
}
/* KONTAK */

/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 75%;
  }
  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* jarak antara gambar dan tulisan */
  }

  .navbar .navbar-logo img {
    height: 80px; /* ubah sesuai kebutuhan */
    width: auto;
    display: block;
    margin-top: -10px; /* nempel ke atas sedikit */
    margin-bottom: -10px; /* nempel ke bawah sedikit */
    margin-left: 0.1rem;
  }
  .navbar .navbar-logo .logo-text {
    flex-direction: column;
    line-height: 1.1;
  }

  .navbar .navbar-logo .logo-main {
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--BiruTua);
  }

  .navbar .navbar-logo .logo-sub {
    font-weight: 500;
    font-size: 1.5rem;
    color: #225982; /* biru muda biar lembut */
    margin-top: 0.3rem;
    font-style: italic;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #ffffff;
    width: 18rem;
    height: 100vh;
    transition: 0.3s;
    border-top: 1px solid #225982;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    padding-top: 0.5;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #225982;
    display: block;
    margin: 0.1rem 0;
    padding: 0.4rem;
    font-size: 1.3rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .hero {
    padding: 8rem 5%;
    min-height: 100vh;
  }

  .hero .content h1 {
    font-size: 2.4rem;
  }

  .hero .content p {
    font-size: 2.8rem;
  }

  .teks-hebat,
  .teks-senang {
    font-size: 2.5rem;
  }

  .teks-saga {
    font-size: 3rem;
  }

  .about {
    padding: 10rem 8% 5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .about h2 {
    font-size: 2.4rem;
  }

  .about .row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: flex;
  }

  .about .row .about-img {
    height: auto;
    max-width: 250px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1.4rem;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content p {
    margin-top: 1rem;
    font-size: 1.4rem;
  }

  .Program {
    padding: 12rem 5% 5rem;
    font-size: 75%; /* otomatis kecil semua */
  }

  /* judul */
  .Program h2 {
    font-size: 2.4rem;
    margin-top: 0rem;
    margin-bottom: 3rem;
  }

  /* container program */
  .program-container {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  /* gambar mapel */
  .mapel img {
    width: 75px;
    height: 75px;
  }

  .mapel h3 {
    font-size: 1.4rem;
  }

  /* tabel supaya tidak overflow */
  .program-tabel {
    width: 100%;
    overflow-x: auto;
  }

  .tabel-paket {
    font-size: 1.4rem;
    width: 100%;
  }

  .program-container .program-box .program-tabel h2 {
    font-size: 1.8rem !important;
    margin-top: 2rem;
  }

  .program-box h3 {
    font-size: 1.8rem;
  }

  .program-box p,
  .program-box a,
  .model .corak {
    font-size: 1.4rem;
  }

  .subjudul {
    font-size: 1.4rem;
  }

  .tabel-paket th,
  .tabel-paket td {
    padding: 0.6rem;
  }

  .fasilitas-section {
    padding: 12rem 15px;
  }

  .fasilitas-section h2 {
    font-size: 2.4rem;
    margin-bottom: 5rem;
  }

  .fasilitas-grid {
    gap: 20px 25px;
    max-width: 700px;
  }

  .fasilitas-box {
    padding: 12px 14px;
    gap: 5px;
  }

  .fasilitas-box img {
    width: 80px;
    height: 80px;
  }

  .fasilitas-box p {
    font-size: 1.2rem;
    margin-left: 1rem;
  }

  .Pengajar .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
  }

  .Pengajar h2 {
    font-size: 2.4rem;
  }

  .profilpengajar,
  .profilpengajar h3,
  .profilpengajar p,
  .profilpengajar span,
  .profilpengajar button {
    font-size: 1.2rem !important;
  }

  /* 1. Paragraf deskripsi */
  .kontak-text p {
    font-size: 1.4rem !important;
  }

  /* 2. Tombol daftar */
  .daftar-btn {
    font-size: 1.4rem !important;
  }

  /* 3. Judul "Kontak Kami:" */
  .kontak-title {
    font-size: 1.4rem !important;
  }

  /* 4. Teks sosial media */
  .sosmed-item span {
    font-size: 1.2rem !important;
  }
}

/* Hp */
@media (max-width: 450px) {
  html {
    font-size: 65%;
  }

  .navbar {
    padding: 1rem 5%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .navbar .navbar-logo img {
    height: 45px; /* ubah sesuai kebutuhan */
    width: auto;
    margin: 0;
  }

  .navbar .navbar-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .navbar .navbar-logo .logo-main {
    font-size: 1.2rem;
    font-weight: 700;
  }
  .navbar .navbar-logo .logo-sub {
    font-size: 1rem;
    font-style: italic;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 15rem;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.3rem;
    transition: right 0.3s ease;
  }

  .navbar .navbar-nav a {
    color: #225982;
    font-size: 1rem;
    margin: 0 0.7rem;
  }

  .navbar .navbar-nav a:hover {
    color: var(--BiruMuda);
  }

  .navbar .navbar-extra a:hover {
    color: var(--BiruMuda);
  }

  #hamburger-menu {
    display: inline-block;
  }

  .hero {
    display: flex; /* tetap aktifkan flexbox */
    flex-direction: column; /* biar kontennya urut vertikal */
    align-items: center; /* tengah horizontal */
    justify-content: center; /* tengah vertikal */
    text-align: center; /* teksnya di tengah */
    min-height: 100vh; /* biar tetap tinggi layar penuh */
    padding: 4rem 0 2rem 0;
    background-position: center;
  }

  .hero .content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero .content h1 {
    font-size: 1.6rem;
  }

  .hero .content p {
    font-size: 1.6rem;
  }

  .teks-hebat,
  .teks-senang {
    font-size: 1.6rem;
  }

  .teks-saga {
    font-size: 1.6rem;
  }

  .about {
    display: flex;
    flex-direction: column;
    align-items: center; /* tetap horizontal center */
    justify-content: center; /* mulai dari atas */
    min-height: 100vh; /* tetap tinggi layar penuh */
    padding-top: 5rem; /* jarak dari navbar */
    padding-bottom: 5rem;
  }

  .about .row {
    flex-direction: column;
    gap: 1rem; /* rapetin jarak antar elemen */
    margin-top: 0;
  }

  .about .row .about-img {
    max-width: 150px; /* biar logo lebih kecil di HP */
    object-fit: contain;
    margin-bottom: 0;
    margin-top: 0;
  }

  .about .row .content {
    padding: 0;
  }

  .about h2 {
    font-size: 1.6rem;
  }

  .about .row .content p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  .Program {
    padding: 6rem 4% 4rem;
  }

  /* judul */
  .Program h2 {
    font-size: 1.6rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
  }

  /* container */
  .program-container {
    padding: 1.2rem;
    gap: 1.2rem;
  }

  /* baris mapel mengecil */
  .program-box .row {
    gap: 0.7rem;
  }

  .program-box h3 {
    font-size: 1.5rem;
  }

  .program-box p,
  .program-box a {
    font-size: 1.2rem;
  }

  .fasilitas-section h2 {
    font-size: 1.2rem;
    margin-bottom: 5rem;
  }

  .program-container .program-box .program-tabel h2 {
    font-size: 1.5rem !important;
  }

  .program-tabel .subjudul {
    font-size: 1.2rem !important;
  }

  .mapel .corak {
    font-size: 1.2rem !important;
  }

  /* gambar mapel */
  .mapel img {
    width: 60px;
    height: 60px;
  }

  .row .mapel h3 {
    font-size: 1rem;
  }

  .tabel-paket {
    font-size: 1rem;
    border-collapse: collapse;
  }

  /* 1. Header kolom (SD, SMP, SMA) */
  .tabel-paket th {
    font-size: 1.2rem !important;
  }

  /* 2. Nama paket (Private, Small, Medium, Large) */
  .tabel-paket .badge {
    font-size: 1.2rem !important;
  }

  /* 3. Keterangan jumlah orang */
  .tabel-paket small {
    font-size: 1rem !important;
  }

  /* 4. Harga per baris */
  .tabel-paket td {
    font-size: 1.2rem !important;
  }

  /* 5. Teks "per orang" */
  .tabel-paket .teks-perorang {
    font-size: 1rem !important;
  }

  /* agar tabel TETAP tidak keluar container */
  .program-tabel {
    overflow-x: auto;
    padding: 0 5px;
  }

  .fasilitas-section {
    padding: 60px 30px;
  }

  .fasilitas-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  /* kotak jadi 1 kolom (kebawah) */
  .fasilitas-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 400px; /* kasih batas supaya rapi */
    margin: auto; /* center seluruh grid */
    width: 100%; /* pastikan scalable */
  }

  .fasilitas-grid > :last-child {
    grid-column: auto !important;
    justify-self: stretch !important;
    width: 100% !important;
  }

  .fasilitas-box {
    padding: 10px 12px;
    gap: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background-color: #002b5b;

    /* HAPUS penyebab berantakan */
    margin-left: 0 !important;
    justify-content: flex-start; /* supaya teks rata kiri */
  }

  .fasilitas-box img {
    width: 40px; /* kecilin gambar */
    height: 40px;
    border-radius: 6px;
  }

  .fasilitas-box p {
    font-size: 1.2rem;
    justify-content: flex-start;
    justify-items: flex-start;
    color: #ffffff;
    text-align: left;
  }

  .Pengajar {
    padding: 10rem;
    min-height: auto;
    padding-top: 5rem; /* jarak dari navbar */
    padding-bottom: 5rem;
  }

  .Pengajar h2 {
    font-size: 1.6rem;
  }

  .Pengajar .row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    display: flex;
  }

  .profilpengajar {
    flex: 0 0 250px; /* <- paksa lebarnya jadi 200px */
    max-width: 250px; /* pastikan max-widthnya sama */
    padding: 1rem;
  }

  .profilpengajar img {
    width: 110px;
    height: 110px;
    margin-bottom: 0.8rem;
  }

  .gilang-judul {
    font-size: 1.2rem;
    width: 100%;
    margin: auto 0;
  }

  .gilang-judul span {
    font-weight: 500;
    color: #666;
  }

  .Lulusan {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.8rem;
    font-weight: 500;
  }

  .btn-profil {
    font-size: 1.2rem;
    padding: 0.4rem 0.9rem;
  }

  .btn-profil:hover {
    background-color: #ffdb4d;
  }

  /* Modal bagian HP biar tetap pas di layar */
  .modal-content {
    width: 90%;
    max-width: 320px;
    padding: 0.8rem;
  }

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

  .modal-content p {
    font-size: 0.9rem;
  }

  .close {
    font-size: 1.2rem;
  }

  .kontak {
    background-color: #ffffff;
    padding: 8rem 2rem;
    text-align: center;
  }

  .kontak-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .kontak-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .kontak-text {
    max-width: 300px;
    justify-content: center;
    text-align: center;
    line-height: 5;
  }

  .kontak-text p {
    font-size: 1.2rem !important;
    color: #002b5b;
    margin: 0.5rem 0;
  }

  .kontak-logo img {
    width: 150px;
    height: auto;
  }

  .daftar-btn {
    display: inline-block;
    background-color: #f3c683;
    color: #002b5b;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 0.8rem;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 1.5rem;
    font-size: 1.2rem !important;
  }

  .daftar-btn:hover {
    background-color: #0088cc;
  }

  .kontak-title {
    margin-top: 1.5rem;
    font-size: 1.2rem !important;
    color: #222;
    font-weight: 600;
  }

  .kontak-sosmed {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }

  .sosmed-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: #333;
    gap: 0.2rem;
  }

  .sosmed-item img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
  }

  .sosmed-item img:hover {
    transform: scale(1.15);
  }
  html {
    scroll-padding-top: 30px; /* HP navbar lebih tebal, jadi digedein */
  }
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.btn {
  display: inline-block;
  background-color: var(--BiruPas);
  color: var(--Putih);
  border-radius: 2rem;
  padding: 1rem 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
