/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

/* Info Boxes Styles */
#info-boxes {
  padding: 20px 0;
}

.info-box {
  background-color: #f0f0f0; /* Latar belakang abu-abu muda */
  border-right: 4px solid #0056b3; /* Garis biru di sisi kanan */
  border-radius: 10px; /* Sudut melengkung */
  padding: 20px; /* Padding dalam kotak */
  text-align: center; /* Teks rata tengah */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Bayangan halus */
  margin: 10px; /* Jarak antar kotak */
  height: 100px; /* Tinggi yang sama untuk semua kotak */
}

.info-box h4 {
  font-size: 1.2rem; /* Ukuran font untuk judul */
  margin-bottom: 10px; /* Jarak bawah judul */
}

.info-box p {
  font-size: 1.5rem; /* Ukuran font untuk informasi */
  margin: 0; /* Menghilangkan margin */
}

/* Program Section */
#program {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 430px;
  margin: 15px;
  position: relative;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Lightbox effect */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 123, 255, 0.1); /* Efek light biru tipis */
  border-radius: 10px; /* Sudut melengkung agar sesuai */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
  #home h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  #home h1 {
    font-size: 2rem;
  }
}

/* Additional Styling for Buttons */
.btn {
  transition: all 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* Formulir Styling */
form .form-control {
  border-radius: 5px;
}

/* Gallery Section Styles */
#gallery {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  width: 100vw; /* Full width */
  height: calc(100vh - 100px); /* Full height minus header */
  position: relative;
  overflow: hidden;
}

.gallery-item {
  flex: 1 0 25%; /* Adjusts to fill 4 items per row */
  height: 50%; /* Half of the viewport height */
  position: relative;
  background-size: cover; /* Cover the entire item */
  background-position: center; /* Center the background image */
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05); /* Slightly scale up on hover */
}

/* Description styles */
.description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  color: #ffffff; /* White text color */
  padding: 10px;
  text-align: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Fade-in transition */
}

.gallery-item:hover .description {
  opacity: 1; /* Show description on hover */
}

/* Decorative Waves */
.footer-decorative {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: 100px; /* Adjust height as needed */
  z-index: -1; /* Behind the footer content */
}

.footer-decorative svg {
  width: 100%;
  height: 100%;
  fill: #003366; /* Match the footer background */
}
.extracurricular-card {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.extracurricular-card:hover {
  transform: scale(1.05);
}
.teacher-slider-container {
  display: flex;
  align-items: center;
  position: relative;
}

.teacher-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.teacher-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.teacher-card {
  flex: 0 0 25%; /* Menampilkan 4 kartu sekaligus, sesuaikan jika ingin menampilkan lebih banyak */
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}

.teacher-card img {
  width: 100%;
  height: auto;
  border-radius: 5px; /* Opsional: untuk membuat gambar sedikit melengkung */
}

.teacher-card h4 {
  margin: 10px 0 5px;
  font-size: 16px;
}

.teacher-card p {
  font-size: 14px;
  color: #666;
}

/* Efek hover pada kartu */
.teacher-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tombol slider */
.slider-btn {
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}
/* kotak saran */

.kontak-card {
  display: flex;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kontak-kiri {
  flex: 1;
  padding-right: 20px;
  border-right: 1px solid #ddd; /* Garis pemisah antara kiri dan kanan */
}

.kontak-kiri h2 {
  color: #007bff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.kontak-kiri p {
  font-size: 1rem;
  color: #555;
}

.kontak-kanan {
  flex: 2;
  padding-left: 20px; /* Beri jarak antara form dan bagian kiri */
}

.kontak-kanan .form-group {
  margin-bottom: 15px;
}

.kontak-kanan .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.kontak-kanan .form-group input,
.kontak-kanan .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.kontak-kanan .form-group textarea {
  resize: vertical;
}

.btn-submit {
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}
.kontak-card {
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.kontak-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.kontak-card p {
  font-size: 1rem;
  color: #555;
}
/* form formulir */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  padding-top: 50px;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
}

.card h3 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
}

.form-label {
  font-weight: 500;
}

.form-control,
.form-select {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px;
}

.form-select {
  height: 45px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

button[type='submit'] {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

button[type='submit']:hover {
  background-color: #0056b3;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.text-center {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .form-control {
    width: 100%;
  }

  .col-md-6 {
    margin-bottom: 20px;
  }
}
