* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

.header {
  height: 90vh;
  background-image: url("gambaratas.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.logo {
  position: absolute;
  top: 20px;
  left: 10px; /* Jarak dari kiri */
  width: 70px;
  z-index: 2;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  z-index: 2;
}

.header-content h1 {
  font-size: calc(1.375rem + 1.5vw);
  margin-bottom: 1.25rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 1.875rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.promo-section {
  background-color: #c00;
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.promo-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.logo {
  position: absolute;
  top: 50px; /* Jarak dari atas */
  left: 50%;
  transform: translateX(-50%); /* Posisi tengah horizontal */
  width: 300px; /* Ukuran logo diperbesar */
  z-index: 2;
}

.header-content {
  top: 60%; /* Menurunkan konten header untuk memberi space untuk logo */
  /* ... (kode lainnya tetap sama) ... */
}

/* css AMBIL PROMO SEKARANG */
.header-content {
  position: absolute;
  top: 55%; /* Menyesuaikan posisi vertikal */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  z-index: 2;
}

.promo-button {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  font-size: 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  background-color: #676767;
  color: #333;
  transition: transform 0.3s ease;
}

.promo-button:hover {
  transform: scale(1.05);
  background-color: #ffc300;
  color: #333;
}

/* ======= INFO BOX SECTION ======= */
.info-container {
  padding: 40px 60px;
  background-color: rgb(255, 255, 255);
}

.green-box {
  background-color: #006400;
  border-radius: 15px;
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.registration-title {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.registration-dates {
  font-size: 1.2em;
  margin: 15px 0;
  line-height: 1.5;
}

.price-section {
  margin: 30px 0;
}

.original-price {
  text-decoration: line-through;
  font-size: 1.4em;
  color: #ffcccc;
}

.discounted-price {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
}

.community-text {
  font-size: 1.2em;
  margin-top: 25px;
  line-height: 1.4;
}

/* CSS untuk Carousel yang Diperbaiki */
.carousel-container {
  max-width: 1000px;
  height: 600px;
  margin: 1.25rem auto;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover; /* Gambar menutupi container */
  background-position: center; /* Posisi gambar di tengah */
}

.carousel-slide.active {
  opacity: 1;
}

/* FITUR SEKOLAH DENGAN WARNA FULL */
.features-section {
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  height: 100%;
  padding: 1.875rem;
  border-radius: 15px;
  text-align: center;
  color: white;
}

/* Warna Kartu */
.card-1 {
  background: #27ae60;
} /* Hijau */
.card-2 {
  background: #2980b9;
} /* Biru */
.card-3 {
  background: #f1c40f;
} /* Kuning */
.card-4 {
  background: #9b59b6;
} /* Ungu */

.card-1 {
  background: linear-gradient(135deg, #27ae60, #81daa7);
}
.card-2 {
  background: linear-gradient(135deg, #2980b9, #6aafdd);
}
.card-3 {
  background: linear-gradient(135deg, #f1c40f, #f7df7f);
}
.card-4 {
  background: linear-gradient(135deg, #9b59b6, #dc85ff);
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.feature-card h3 {
  margin: 15px 0;
  font-size: 1.4em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-card p {
  line-height: 1.6;
  font-size: 0.95em;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

/* SECTION LOGO */
.partners-section {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  color: #2c3e50;
  font-size: 2em;
  margin-bottom: 15px;
}

.section-subtitle {
  color: #7f8c8d;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.logo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-item {
  width: 400px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: all 0.3s ease;
}

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

/* untuk mobile katanya */
@media (max-width: 768px) {
  .logo-item {
    width: 150px;
    height: 75px;
  }
}

/* PROFIL SEKOLAH */
.profile-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.school-title {
  color: #2c3e50;
  font-size: 2.2em;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.description {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.8;
  font-size: 1.1em;
  text-align: justify;
}

.divider {
  width: 200px;
  height: 2px;
  background-color: #27ae60;
  margin: 30px auto;
}

.subtitle {
  color: #27ae60;
  font-size: 1.8em;
  margin: 25px 0;
}

.facility {
  font-size: 1.3em;
  color: #333;
  margin-top: 20px;
  font-weight: bold;
}

/* Animasi */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-item {
  opacity: 0;
  animation-duration: 4s;
  animation-fill-mode: forwards;
}

.fade-in {
  animation-name: fadeIn;
}
/* animasi untuk judul SMA ISLAM SULTAN AGUNG 3 BOARDING SCHOOL */
.school-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 3s ease-out;
}

.school-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel Baru dengan Class Berbeda */
.new-carousel-container {
  max-width: 1000px;
  height: 700px;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.new-carousel-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.new-carousel-slide.active {
  opacity: 1;
}

/* Tombol Navigasi */
.new-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.new-carousel-btn:hover {
  background: white;
}

.new-carousel-btn.prev {
  left: 20px;
}

.new-carousel-btn.next {
  right: 20px;
}

/* Warna dan ukuran panah */
.new-carousel-btn::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-top: 3px solid #333;
  border-right: 3px solid #333;
}

.new-carousel-btn.prev::after {
  transform: rotate(-135deg);
  margin-left: 5px;
}

.new-carousel-btn.next::after {
  transform: rotate(45deg);
  margin-right: 5px;
}

/* SECTION ALASAN - CENTERED */
.reasons-section {
  background-color: #006400;
  padding: 5rem 1.25rem;
  min-height: 90vh;
}

.reasons-image {
  width: 100%;
  max-width: 400px;
  height: 650px;
  background-image: url("kepsek.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.reasons-content {
  width: 60%;
  max-width: 700px; /* Batasi lebar konten */
}

.reasons-title {
  font-size: 2.2em;
  margin-bottom: 25px;
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
}

.reasons-list {
  list-style: none;
  padding: 0;
  max-width: 700px; /* Lebar maksimum list */
  margin: 0 auto; /* Tengahkan list */
  color: #ffffff;
}

.reasons-list li {
  margin: 15px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.reasons-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .reasons-section {
    flex-direction: column;
    padding: 60px 20px;
  }

  .reasons-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin-bottom: 30px;
  }

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

@media (max-width: 768px) {
  .reasons-image {
    width: 80%;
    height: 400px;
    margin: 0 auto 30px;
  }

  .reasons-title {
    font-size: 1.8em;
  }

  .reasons-list li {
    text-align: left;
  }

  .col-lg-4 {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .reasons-image {
    width: 60%;
    height: 250px;
  }

  .reasons-title {
    font-size: 1.6em;
  }

  .reasons-list li {
    font-size: 0.95em;
    margin: 10px 0;
  }
}

/* Animasi Fade-In Kenapa Harus Mendaftarkan Anak Anda Di Sekolah Kami? */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reasons-title {
  opacity: 0; /* Awalnya tersembunyi */
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.fade-in {
  animation-name: fadeInUp;
}

/* CSS untuk gallery */
.gallery-container {
  max-width: 1300px;
  margin: 2.5rem auto;
  position: relative;
  padding: 0 3.125rem;
}

.gallery-slider {
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease;
}

.gallery-item {
  min-width: calc(33.333% - 10px); /* 3 gambar per baris di desktop */
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.prev-btn {
  left: 0;
}
.next-btn {
  right: 0;
}

.gallery-caption {
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
  color: #333;
}

/* judul Testimonial */
.testimonial-header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  width: 100%;
}

.testimonial-header h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* Animasi Fade-In Testimonial*/
.testimonial-header {
  opacity: 0;
  transform: translateY(20px);
  transition: all 3s ease-out;
}

.testimonial-header.active {
  opacity: 1;
  transform: translateY(0);
}
/* TESTIMONIAL SLIDER */
.testimonial-section {
  background-color: #006400;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slider {
  max-width: 700px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  overflow: hidden; /* Tambahkan ini */
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  height: 700px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0; /* Tambahkan ini */
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.testimonial-prev {
  left: 20px;
}

.testimonial-next {
  right: -50px;
  right: 20px;
}

.testimonial-caption {
  text-align: center;
  margin-top: 30px;
  color: white;
}

.testimonial-caption h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.testimonial-caption p {
  font-style: italic;
  line-height: 1.6;
}

.testimonial-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}
@media (max-width: 768px) {
  .testimonial-item {
    height: 400px; /* Lebih pendek di mobile */
  }

  .testimonial-nav {
    width: 35px;
    height: 35px;
  }

  .testimonial-caption {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .testimonial-item {
    height: 300px;
  }

  .testimonial-caption h3 {
    font-size: 1.2em;
  }
}

/* FAQ SECTION */
.faq-section {
  padding: 60px 20px;
  background: #ffffff;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-header {
  text-align: center;
  /* margin-bottom: 40px; */
}

.faq-header h2 {
  color: #006400;
  font-size: 2.5em;
  /* margin-bottom: 20px; */
}

/* CSS animasi FAQ*/
.faq-header {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

.faq-header.active {
  opacity: 1;
  transform: translateY(0);
}

/* SLIDER CONTAINER */
.faq-slider {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* TRACK */
.faq-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ITEM */
.faq-item {
  min-width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-image {
  width: 100%;
  height: 60vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* NAVIGATION */
.faq-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 100, 0, 0.9);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  transition: all 0.3s ease;
}

.faq-nav:hover {
  background: #004d00;
  transform: translateY(-50%) scale(1.1);
}

.faq-prev {
  left: 30px;
}
.faq-next {
  right: 30px;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .faq-item {
    padding: 10px;
  }

  .faq-image {
    width: 80%; /* Mengubah lebar gambar menjadi 80% dari container */
    height: 300px; /* Mengubah tinggi gambar */
    margin: 0 auto; /* Membuat gambar berada di tengah */
  }
}

/* Untuk layar yang sangat kecil */
@media (max-width: 480px) {
  .faq-item {
    padding: 5px;
  }

  .faq-image {
    width: 90%; /* Sedikit lebih lebar untuk layar kecil */
    height: 250px; /* Lebih kecil lagi untuk layar kecil */
  }
}

/* css Jl. Kaligawe Raya, Terboyo Kulon, Kec. Genuk, Kota Semarang, Jawa Tengah 50112  */
.address-section {
  background-color: #d2b48c; /* Warna coklat muda */
  width: 100%;
  padding: 25px 20px;
  text-align: center;
  font-family: "Arial", sans-serif;
  margin: 40px 0;
}

.address-text {
  color: #ffffff; /* Warna coklat tua */
  font-size: 1.2em;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  font-weight: 500;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .address-section {
    padding: 20px 15px;
  }

  .address-text {
    font-size: 1em;
    line-height: 1.5;
  }
}

.social-float {
  position: fixed;
  bottom: 120px;
  right: 40px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-float img {
  width: 35px;
  height: 35px;
}

.social-float .web-icon {
  background: #0080ff;
}

.social-float .instagram-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float .tiktok-icon {
  background: #000000;
}

.social-float .youtube-icon {
  background: #ffffff;
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
  .social-float {
    bottom: 90px;
    right: 20px;
    gap: 10px;
  }

  .social-float a {
    width: 50px;
    height: 50px;
  }

  .social-float img {
    width: 28px;
    height: 28px;
  }
}


.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/* css tombol promo konek wa */
.promo-button {
  background-color: #ffee00; /* Warna hijau WhatsApp */
  color: rgb(0, 0, 0);
  padding: 15px 40px;
  font-size: 1.5em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.promo-button:hover {
  transform: scale(1.05);
  background-color: #128c7e; /* Warna hijau WhatsApp lebih gelap */
}

.brosur-button {
  background-color: #ffee00; 
  color: rgb(0, 0, 0);
  padding: 15px 40px;
  font-size: 1.5em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.brosur-button:hover {
  transform: scale(1.05);
  background-color: #128c7e; /* Warna hijau WhatsApp lebih gelap */
}

/* Responsive Design untuk Mobile */
@media (max-width: 768px) {
  /* Header & Logo */
  .header {
    height: 60vh;
  }

  .logo {
    width: 200px;
    top: 40px;
    left: 200px;
  }

  /* Header Content */
  .header-content {
    width: 90%;
    top: 50%;
  }

  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .header-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Tombol Promo */
  .promo-button {
    padding: 12px 25px;
    font-size: 1.2em;
  }

  /* Info Box Section */
  .info-container {
    padding: 20px;
  }

  .green-box {
    padding: 20px 15px;
  }

  .registration-title {
    font-size: 1.5em;
  }

  .original-price,
  .discounted-price {
    font-size: 1.6em;
  }

  /* Carousel */
  .carousel-container,
  .new-carousel-container {
    height: 220px;
    margin: 15px auto;
  }

  /* Features Section */
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 15px;
  }

  .feature-icon {
    font-size: 2em;
  }

  .feature-card h3 {
    font-size: 1.2em;
  }

  .feature-card p {
    font-size: 0.9em;
  }

  /* Profile Section */
  .school-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Reasons Section */
  .reasons-section {
    padding: 40px 15px;
  }

  .reasons-title {
    font-size: 1.6em;
  }

  .reasons-list {
    padding: 0 15px;
  }

  .reasons-list li {
    font-size: 0.95em;
    margin: 10px 0;
  }

  /* Gallery */
  .gallery-container {
    padding: 0 15px;
  }

  .gallery-item {
    min-width: 100%; /* 1 gambar penuh di mobile */
    height: 250px; /* Tinggi yang lebih besar di mobile */
  }

  .gallery-caption {
    font-size: 1rem;
    padding: 15px;
  }

  /* Testimonial Section */
  .testimonial-header h2 {
    font-size: 2em;
  }

  .testimonial-item {
    height: 350px;
  }

  .testimonial-caption {
    padding: 0 15px;
  }

  /* FAQ Section */
  .faq-header h2 {
    font-size: 2em;
  }

  .faq-image {
    height: 50vh;
  }

  /* Address Section */
  .address-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
}

/* Untuk layar yang sangat kecil */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: 1.5rem;
  }

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

  .promo-button {
    padding: 10px 20px;
    font-size: 1.1em;
  }

  .feature-card {
    margin: 10px 0;
  }

  .testimonial-item {
    height: 400px; /* untuk mengubah ukuran bingkai testimonial */
  }

  .faq-image {
    height: 40vh;
  }

  /* Navigasi Carousel */
  .nav-button,
  .testimonial-nav,
  .faq-nav {
    width: 35px;
    height: 35px;
  }

  .faq-prev {
    left: 10px;
  }

  .faq-next {
    right: 10px;
  }
}

/* Perbaikan untuk orientasi landscape pada mobile */
@media (max-height: 480px) and (orientation: landscape) {
  .header {
    height: 120vh;
  }

  .header-content {
    top: 60%;
  }

  .carousel-container,
  .new-carousel-container {
    height: 200px;
  }

  .testimonial-item {
    height: 200px;
  }
}







/* Video Section y Styles */
.video-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.video-container {
  position: relative;
  padding-bottom: 45%; /* Mengubah rasio aspek video */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 1000px; /* Menambahkan lebar maksimum */
  margin-left: auto;
  margin-right: auto;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .video-container {
    padding-bottom: 56.25%; /* Kembali ke rasio 16:9 untuk mobile */
    margin: 20px 15px;
  }
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-description h3 {
  color: #0080ff;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.video-description p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-section {
    padding: 40px 0;
  }
  
  .video-description h3 {
    font-size: 1.5em;
  }
  
  .video-description p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 20px 0;
  }
}





/* Responsive Design untuk Mobile */
@media (max-width: 768px) {
  /* Header & Logo */
  .header {
    height: 60vh;
  }

  .logo {
    width: 200px;
    top: 40px;
    left: 200px;
  }

  /* Header Content */
  .header-content {
    width: 90%;
    top: 50%;
  }

  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .header-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Tombol Promo */
  .promo-button {
    padding: 12px 25px;
    font-size: 1.2em;
  }

  /* Features Section */
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 15px;
  }

  .feature-icon {
    font-size: 2em;
  }

  .feature-card h3 {
    font-size: 1.2em;
  }

  .feature-card p {
    font-size: 0.9em;
  }

  /* Profile Section */
  .school-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }



  /* Testimonial Section */
  .testimonial-header h2 {
    font-size: 2em;
  }

  .testimonial-item {
    height: 350px;
  }

  .testimonial-caption {
    padding: 0 15px;
  }

  /* FAQ Section */
  .faq-header h2 {
    font-size: 2em;
  }

  .faq-image {
    height: 50vh;
  }

  /* Address Section */
  .address-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
}

/* Untuk layar yang sangat kecil */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: 1.5rem;
  }

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

  .promo-button {
    padding: 10px 20px;
    font-size: 1.1em;
  }

  .feature-card {
    margin: 10px 0;
  }

  .testimonial-item {
    height: 400px; /* untuk mengubah ukuran bingkai testimonial */
  }

  .faq-image {
    height: 40vh;
  }

  /* Navigasi Carousel */
  .nav-button,
  .testimonial-nav,
  .faq-nav {
    width: 35px;
    height: 35px;
  }

  .faq-prev {
    left: 10px;
  }

  .faq-next {
    right: 10px;
  }
}








/* Animasi Fade-In Kenapa Harus Mendaftarkan Anak Anda Di Sekolah Kami? */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reasons-title {
  opacity: 0; /* Awalnya tersembunyi */
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.fade-in {
  animation-name: fadeInUp;
}



/* judul Testimonial */
.testimonial-header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  width: 100%;
}

.testimonial-header h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* Animasi Fade-In Testimonial*/
.testimonial-header {
  opacity: 0;
  transform: translateY(20px);
  transition: all 3s ease-out;
}

.testimonial-header.active {
  opacity: 1;
  transform: translateY(0);
}








/* Responsive Design untuk Mobile */
@media (max-width: 768px) {
  /* Header & Logo */
  .header {
    height: 60vh;
  }

  .logo {
    width: 200px;
    top: 40px;
    left: 200px;
  }

  /* Header Content */
  .header-content {
    width: 90%;
    top: 50%;
  }

  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .header-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Tombol Promo */
  .promo-button {
    padding: 12px 25px;
    font-size: 1.2em;
  }

  /* Features Section */
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 15px;
  }

  .feature-icon {
    font-size: 2em;
  }

  .feature-card h3 {
    font-size: 1.2em;
  }

  .feature-card p {
    font-size: 0.9em;
  }

  /* Profile Section */
  .school-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  /* Gallery */
  .gallery-container {
    padding: 0 15px;
  }

  .gallery-item {
    min-width: 100%; /* 1 gambar penuh di mobile */
    height: 250px; /* Tinggi yang lebih besar di mobile */
  }

  .gallery-caption {
    font-size: 1rem;
    padding: 15px;
  }

  /* Testimonial Section */
  .testimonial-header h2 {
    font-size: 2em;
  }

  .testimonial-item {
    height: 350px;
  }

  .testimonial-caption {
    padding: 0 15px;
  }

  /* FAQ Section */
  .faq-header h2 {
    font-size: 2em;
  }

  .faq-image {
    height: 50vh;
  }

  /* Address Section */
  .address-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
}

/* Untuk layar yang sangat kecil */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: 1.5rem;
  }

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

  .promo-button {
    padding: 10px 20px;
    font-size: 1.1em;
  }

  .feature-card {
    margin: 10px 0;
  }

  .testimonial-item {
    height: 400px; /* untuk mengubah ukuran bingkai testimonial */
  }

  .faq-image {
    height: 40vh;
  }

  /* Navigasi Carousel */
  .nav-button,
  .testimonial-nav,
  .faq-nav {
    width: 35px;
    height: 35px;
  }

  .faq-prev {
    left: 10px;
  }

  .faq-next {
    right: 10px;
  }
}



/* Animasi Fade-In Kenapa Harus Mendaftarkan Anak Anda Di Sekolah Kami? */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reasons-title {
  opacity: 0; /* Awalnya tersembunyi */
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.fade-in {
  animation-name: fadeInUp;
}



/* judul Testimonial */
.testimonial-header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  width: 100%;
}

.testimonial-header h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* Animasi Fade-In Testimonial*/
.testimonial-header {
  opacity: 0;
  transform: translateY(20px);
  transition: all 3s ease-out;
}

.testimonial-header.active {
  opacity: 1;
  transform: translateY(0);
}





/* Responsive Design untuk Mobile */
@media (max-width: 768px) {
  /* Header & Logo */
  .header {
    height: 60vh;
  }

  .logo {
    width: 200px;
    top: 40px;
    left: 200px;
  }

  /* Header Content */
  .header-content {
    width: 90%;
    top: 50%;
  }

  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .header-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* Tombol Promo */
  .promo-button {
    padding: 12px 25px;
    font-size: 1.2em;
  }

  /* Features Section */
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 15px;
  }

  .feature-icon {
    font-size: 2em;
  }

  .feature-card h3 {
    font-size: 1.2em;
  }

  .feature-card p {
    font-size: 0.9em;
  }

  /* Profile Section */
  .school-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }



  /* Testimonial Section */
  .testimonial-header h2 {
    font-size: 2em;
  }

  .testimonial-item {
    height: 350px;
  }

  .testimonial-caption {
    padding: 0 15px;
  }

  /* FAQ Section */
  .faq-header h2 {
    font-size: 2em;
  }

  .faq-image {
    height: 50vh;
  }

  /* Address Section */
  .address-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
}

/* Untuk layar yang sangat kecil */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: 1.5rem;
  }

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

  .promo-button {
    padding: 10px 20px;
    font-size: 1.1em;
  }

  .feature-card {
    margin: 10px 0;
  }

  .testimonial-item {
    height: 400px; /* untuk mengubah ukuran bingkai testimonial */
  }

  .faq-image {
    height: 40vh;
  }

  /* Navigasi Carousel */
  .nav-button,
  .testimonial-nav,
  .faq-nav {
    width: 35px;
    height: 35px;
  }

  .faq-prev {
    left: 10px;
  }

  .faq-next {
    right: 10px;
  }
}








