/* navbar */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Header --- */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 24px;
  color: #e74c3c; /* Red color */
  margin-top: -50px;
  margin-bottom: -50px;
}

.logo img {
  height: 150px;
  width: 150px;
  margin-right: 10px;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin: 0 20px;
}

.main-nav a {
  font-weight: 500;
  color: #555;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e74c3c;
}

.header-right {
  display: flex;
  align-items: center;
}

.search-btn,
.menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-left: 15px;
  color: #555;
}

.menu-toggle {
  display: none; /* Hidden on desktop */
}
/* --- About Page Section Styles --- */

.about-page-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

/* Background image yang samar */
.about-page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1200"); /* Ganti dengan gambar latar Anda */
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.about-page-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Kolom kiri sedikit lebih besar */
  align-items: center;
  gap: 50px;
  position: relative;
}

.about-content-left {
  position: relative;
  z-index: 2;
}

.content-box {
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.primary-box {
  background-color: #a62124; /* Warna merah gelap */
  color: #fff;
}

.primary-box h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.primary-box blockquote {
  font-style: italic;
  border-left: 3px solid #a62124;
  padding-left: 15px;
  margin-left: 0;
  margin-bottom: 20px;
  opacity: 0.9;
}

.primary-box .btn-light {
  background-color: #f9f9f9;
  color: #333;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

.secondary-box {
  background-color: #d6612e; /* Warna biru gelap */
  color: #fff;
  width: 80%;
  margin-left: auto;
  margin-top: -50px; /* Efek tumpang tindih */
  position: relative;
  z-index: 3; /* Pastikan di atas box merah */
}

.secondary-box i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #e74c3c;
}

.decorative-dots-about {
  position: absolute;
  bottom: 50px; /* Sesuaikan posisi vertikal */
  left: 20px; /* Sesuaikan posisi horizontal */
  width: 80px;
  height: 80px;
  z-index: 2;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.2;
}

.about-content-right {
  text-align: center;
}

.about-content-right img {
  max-width: 100%;
  height: auto;
}

/* Vision state */
/* --- Vision & Stats Section Styles --- */
.vision-stats-section {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.vision-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.vision-image-column {
  position: relative;
}

.image-frame-vision {
  position: relative;
  border: 15px solid #e74c3c;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-frame-vision img {
  width: 100%;
  display: block;
  border-radius: 2px;
}

.play-icon-overlay {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 70px;
  height: 70px;
  background-color: #e74c3c;
  color: #fff;
  border: 5px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.play-icon-overlay:hover {
  transform: scale(1.1);
}

.decorative-dots-v-top,
.decorative-dots-v-bottom {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: -1;
  background-image: radial-gradient(#e74c3c 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.5;
}
.decorative-dots-v-top {
  top: -40px;
  right: -40px;
}
.decorative-dots-v-bottom {
  bottom: -40px;
  left: -40px;
}

.vision-text-column h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 15px;
}
.vision-text-column .subtitle {
  color: #e74c3c;
  font-weight: 600;
}
.vision-text-column .contact-inline {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
.vision-text-column .contact-inline i {
  color: #e74c3c;
  margin-right: 8px;
}

/* Styling Tabs */
.vision-tabs {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 15px 0;
  margin-right: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  position: relative;
}
.tab-btn.active {
  color: #e74c3c;
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e74c3c;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-pane.active {
  display: block;
}

/* Styling Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.stat-card {
  background-color: #a62124;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-icon {
  width: 50px;
  height: 50px;
  background-color: #e74c3c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin: 0 auto 20px;
}
.stat-number {
  font-size: 42px;
  font-weight: 700;
}
.stat-label {
  color: #bdc3c7;
}

.progress-overlay {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--progress, 0%); /* Variabel CSS untuk progress */
  background: linear-gradient(
    to top,
    rgba(231, 76, 60, 0.5),
    rgba(231, 76, 60, 0.2)
  );
  z-index: 1;
}

/* client section */
/* --- Client Logos Section Styles --- */
.client-section {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.decorative-dots-clients {
  position: absolute;
  top: 80px;
  left: 40px;
  width: 100px;
  height: 100px;
  z-index: 0;
  background-image: radial-gradient(#e74c3c 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.5;
}

.client-section .section-header {
  position: relative;
  z-index: 1;
}

.client-logo-grid {
  display: grid;
  /* Membuat 4 kolom di layar besar */
  grid-template-columns: repeat(4, 1fr);
  /* Jarak antar logo */
  gap: 50px 30px;
  align-items: center;
  margin-top: 60px;
}

.client-logo-item {
  text-align: center;
}

.client-logo-item img {
  max-width: 160px; /* Batas lebar logo agar tidak terlalu besar */
  height: auto;
  /* Efek abu-abu untuk keseragaman */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

/* Efek saat kursor diarahkan ke logo */
.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --- Penyesuaian Responsif untuk bagian ini --- */
@media (max-width: 992px) {
  /* Ubah grid menjadi 3 kolom di layar tablet */
  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Sembunyikan titik-titik di layar kecil */
  .decorative-dots-clients {
    display: none;
  }
  /* Ubah grid menjadi 2 kolom di layar mobile */
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* --- Penyesuaian Responsif --- */
@media (max-width: 992px) {
  .vision-container {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: 1fr;
  }
}

/* --- Penyesuaian Responsif untuk Halaman About --- */

@media (max-width: 992px) {
  .about-page-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-content-right {
    order: -1; /* Pindahkan gambar ke atas di layar kecil */
    margin-bottom: 40px;
  }
  .secondary-box {
    margin: 20px auto 0;
    width: 100%;
  }
  .decorative-dots-about {
    display: none; /* Sembunyikan titik-titik di mobile */
  }
}

/* footer */
/* footer */
/* --- Footer Styles --- */
.site-footer {
  background-color: #a62124;
  color: #bdc3c7; /* Warna teks abu-abu terang */
  padding-top: 80px;
  font-size: 15px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #4a627a; /* Garis pemisah */
}

.footer-column {
  flex: 1;
  min-width: 220px; /* Lebar minimum sebelum kolom turun baris */
}

.footer-column h4 {
  color: #fff;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-column p {
  line-height: 1.7;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-about .footer-logo img {
  height: 35px;
  margin-right: 10px;
  filter: brightness(0) invert(1); /* Membuat logo jadi putih jika aslinya berwarna */
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  background-color: #4a627a;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #e74c3c; /* Warna merah saat hover */
}

.footer-contact .view-map {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
}

.links-wrapper {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Menggunakan kembali style tombol dari section sebelumnya */
.footer-schedule .btn-primary {
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
}

/* Bagian bawah footer */
.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
  color: #95a5a6;
}

/* navbar */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide nav on mobile */
    position: absolute;
    top: 70px; /* Height of header */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .main-nav.active {
    display: block; /* Show nav when active */
  }
  .main-nav ul {
    flex-direction: column;
  }
  .main-nav li {
    text-align: center;
    margin: 0;
  }
  .main-nav a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  .menu-toggle {
    display: block; /* Show hamburger icon */
  }

  .clients-container {
    flex-wrap: wrap;
    gap: 20px;
  }
  .client-logo {
    flex-basis: 40%;
    justify-content: center;
  }
}

/* about secondary box */
@media (max-width: 768px) {
  /* Targetkan box kedua (.secondary-box) dan 
    titik-titik dekoratifnya (.decorative-dots-about)
  */
  .secondary-box,
  .decorative-dots-about {
    /* Perintah untuk menyembunyikan elemen sepenuhnya */
    display: none;
  }
}
