body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.navbar-container {
  position: absolute;
  top: 30px;
  width: 84%;
  display: flex;
  justify-content: center;
  z-index: 2;
  transition: top 0.3s ease;
}
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  justify-content: center;
}

/* Awal navbar di tengah layar */
.navbar {
  display: center;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  background-color: white;
  border-radius: 50px;
  margin: 170px auto;
  width: fit-content;
  transition: all 0.5s ease-out; /* Animasi perpindahan posisi */
}

/* Sembunyikan menu saat awal load */
.navbar .menu {
  display: none;
}
.logo span {
  display: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: center;
}
.logo img:first-child {
  margin-left: 5px; /* geser logo KKP ke kanan */
}

.logo img {
  height: 50px;
  margin-left: -20px;
  margin-right: 5px;
}

/* Setelah tombol diklik (navbar naik ke atas, menu muncul) */
.navbar.scrolled {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: white;
  border-radius: 50px;
  margin: 20px;
}
.navbar.scrolled .menu {
  display: flex;
  gap: 20px;
}
.navbar.scrolled .menu a {
  text-decoration: none;
  color: black;
  margin: 0 10px;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.3s;
}
.navbar.scrolled .logo span {
  display: inline;
}

scrolled .menu a.active,
.menu a:hover {
  background-color: #87a9bc; /* biru transparan */
  border-radius: 20px;
  padding: 10px 15px;
  color: #ffffff; /* atau warna biru yang lo mau */
}

.hero {
  position: relative;
  height: 100vh;
  background: url("asset/fotoudara.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(2, 38, 199, 0.36), transparent);
  z-index: 1;
}

.content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.welcome {
  font-size: 16px;
  margin-bottom: 10px;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}

.desc {
  font-size: 14px;
  margin: 10px 0 30px;
  line-height: 1.5;
}

.scroll-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  background-color: #9ebdcf;
  color: white;
  font-size: 14px;
  cursor: pointer;
}
/*CSS TAMPILAN NAVABAR HP DAN TABLET*/
/* Section Pelayanan SARPRAS */
.pelayanan {
  padding: 80px 20px;
  background-color: white;
  text-align: center;
  background-color: rgba(244, 244, 246, 0.41);
}

.pelayanan h2 {
  font-size: 28px;
  color: #1f3261;
  margin-bottom: 10px;
}

.pelayanan p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #333;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #dce1e8;
  border-radius: 25px;
  padding: 30px 20px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card img {
  height: 60px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18px;
  color: #1f3261;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #1f3261;
  line-height: 1.5;
  letter-spacing: 0.1px;
  word-spacing: 0px;
}

/*CSS PELAYANAN HOME FOR ANDROID*/
@media (max-width: 600px) {
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .card {
    width: 65%;
    padding: 16px 12px;
    border-radius: 40px;
  }

  .card img {
    height: 80px;
    margin-bottom: 0px;
    margin-top: 25px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card p {
    text-align: justify;
    line-height: 1.5;
    word-spacing: normal;
    letter-spacing: -20;
    hyphens: auto;
    padding: 0 15px;
  }
  @media (max-width: 600px) {
    .card h3,
    .card p {
      text-align: inherit;
      padding: 0 15px;
    }
  }
}

/*admin css*/
.admin-section {
  background-color: #ffffff;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center; /* vertikal center */
}

.admin-container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto; /* supaya center */
}

.admin-image img {
  max-width: 404px;
  width: 73%;
  border-radius: 20px;
}

.admin-info {
  max-width: 600px;
  color: #1f3261;
}

.admin-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.admin-info p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.admin-info h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-block;
  padding: 12px 30px;
  background-color: #28a745;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #218838;
}
/*BATAS AKHIR CSS ADMIN*/
/*CSS ADMIN FOR ANDROID*/
@media (max-width: 767px) {
  .admin-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .admin-image img {
    width: 300px;
    height: auto;
    border-radius: 12px;
  }

  .admin-info {
    flex: 1;
    text-align: left;
    margin-left: -20px;
  }

  .admin-info h2 {
    font-size: 25px;
    margin-bottom: 8px;
  }

  .admin-info p {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .admin-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .btn-whatsapp {
    font-size: 15px;
    padding: 13px 25px;
  }
}

/*CSS BUKU PANDUAN*/
.panduan-section {
  background-color: #ffffff;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 30px;
}

.panduan-content {
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
}

.panduan-text {
  max-width: 500px;
  margin-left: 40px;
}

.panduan-text h2 {
  font-size: 35px;
  font-weight: bold;
  color: #22304c;
  margin-bottom: 20px;
  margin-right: 20px;
}

.panduan-text p {
  font-size: 16px;
  color: #22304c;
  line-height: 1.6;
  margin-bottom: 30px;
  margin-right: 30px;
}

.panduan-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-top: -28px;
}

@media (max-width: 768px) {
  .panduan-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .panduan-text {
    margin-bottom: 40px;
    margin-left: 0;
  }
}

/*AKHIR CSS BUKU PANDUAN*/

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
  border-color: var(--light);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
/*FOOTER AKHIR CSS*/
/*FOOTER CSS ANDROID*/
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px;
    font-size: 13px;
  }

  .footer .col-md-3,
  .footer .col-md-2,
  .footer .col-md-4 {
    padding: 10px;
  }

  .footer h5 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer p,
  .footer a {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer .galeri img {
    .footer .galeri img {
      width: 60px; /* semula 65px */
      height: 60px; /* semula 65px */
      margin: 2px; /* semula 3px */
      border-radius: 6px;
      object-fit: cover;
    }
  }

  .footer .social-icons a {
    font-size: 16px;
    margin: 0 6px;
  }

  .footer .copyright {
    font-size: 12px;
    padding-top: 15px;
  }

  .footer .col-md-3:nth-child(4) {
    margin-left: 35px; /* Sesuaikan sampai rata sempurna */
  }

  .footer .social-icons {
    margin-left: -6px;
  }
}

/*FOOTER CSS ANDROID AKHIR*/
/* ============ MOBILE MENU ============ */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 767px) {
  /* Saat BELUM discroll */
  .navbar-container {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40;
    display: flex;
    justify-content: center;
    z-index: 1000;
  }

  .navbar:not(.scrolled) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0 auto;
    padding: 10px 20px;
    border-radius: 50px;
  }

  /* Saat SUDAH discroll */
  .navbar-container.navbar-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    justify-content: center;
    z-index: 9999;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .navbar.scrolled {
    width: 90%;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo span {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
  }

  .logo img {
    height: 40px;
    margin: 0;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    font-size: 28px;
    padding: 10px;
  }

  .navbar.scrolled .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    flex-direction: column;
    background-color: white;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar.scrolled .menu.show {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .navbar.scrolled .menu a {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    color: #1f3261;
    font-weight: 600;
    text-align: left;
  }

  .navbar.scrolled .menu a:last-child {
    border-bottom: none;
  }
}
/*CSS TAMPILAN TABLET*/
@media (min-width: 768px) and (max-width: 1260px) {
  .navbar-container {
    position: absolute;
    top: 30px;
    width: 101%;
    display: flex;
    justify-content: center;
    z-index: 2;
    transition: top 0.3s ease;
    margin-left: -5px;
  }
  .navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    justify-content: center;
    margin-left: 0px;
  }

  /* Awal navbar di tengah layar */
  .navbar {
    display: center;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    background-color: white;
    border-radius: 50px;
    margin: 170px auto;
    width: fit-content;
    transition: all 0.5s ease-out; /* Animasi perpindahan posisi */
  }

  /* Sembunyikan menu saat awal load */
  .navbar .menu {
    display: none;
  }
  .logo span {
    display: none;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: center;
  }
  .logo img:first-child {
    margin-left: 5px; /* geser logo KKP ke kanan */
  }

  .logo img {
    height: 50px;
    margin-left: -20px;
    margin-right: 5px;
  }

  /* Setelah tombol diklik (navbar naik ke atas, menu muncul) */
  .navbar.scrolled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: white;
    border-radius: 50px;
    margin: 20px;
  }
  .navbar.scrolled .menu {
    display: flex;
    gap: 20px;
  }
  .navbar.scrolled .menu a {
    text-decoration: none;
    color: black;
    margin: 0 10px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.3s;
  }
  .navbar.scrolled .logo span {
    display: inline;
  }
}

/*** About us ***/
/* ABOUT PAGE HERO SECTION */
.about-hero {
  position: relative;
  height: 400px;
  background: url("asset/aboutus.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(222, 222, 248, 0.91);
  mix-blend-mode: multiply;
}

.about-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.about-content h1 {
  font-size: 60px;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
}

.about-content h1 span {
  color: #d1e46a;
}
/** Profil pelabuhan**/
.profil-section {
  background-color: white;
  padding: 60px 0;
}

.profil-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.profil-image {
  position: relative;
  flex: 1;
}

.profil-image img {
  width: 70%;
  height: auto;
  border-radius: 8px;
  margin-left: 50px;
  margin-top: 55px;
}

.profil-button {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.profil-button span {
  color: #0a2f4e;
  font-size: 24px;
}

.profil-text {
  flex: 1;
}

.profil-text h3 {
  color: #c6d13b;
  font-weight: 800;
  font-size: 45px;
  margin-bottom: 10px;
}

.profil-text h2 {
  color: #0a2f4e;
  font-size: 28px;
  font-weight: 785;
  margin-bottom: 20px;
}

.profil-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.profil-visi-misi .visi,
.profil-visi-misi .misi {
  flex: 1 1 45%;
  background-color: #daecff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 100px;
}
.profil-visi-misi {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 100px 80px;
}

.profil-visi-misi h2 {
  font-size: 30px;
  font-weight: bold;
  color: #0a2f4e;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 15px;
}

.profil-visi-misi p {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}
/** PROFIL TAMPILAN ANDROID **/
@media (max-width: 768px) {
  @media (max-width: 768px) {
    .profil-container {
      display: flex;
      flex-direction: row;
      align-items: flex-start; /* penting: sejajarkan atas */
      gap: 15px;
      padding: 10px 15px;
    }

    .profil-visi-misi {
      display: flex;
      flex-direction: row; /* kiri–kanan */
      gap: 10px;
      justify-content: space-between;
      align-items: stretch;
      padding: 20px 15px;
      flex-wrap: wrap;
    }

    .profil-visi-misi .visi,
    .profil-visi-misi .misi {
      flex: 1 1 48%; /* dua kolom */
      background-color: #f6f6f6;
      padding: 15px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      min-width: 120px;
    }

    .profil-visi-misi h2 {
      font-size: 15px;
      font-weight: 700;
      text-align: center;
      color: #0a2f4e;
      margin-bottom: 8px;
    }

    .profil-visi-misi p {
      font-size: 11.5px;
      line-height: 1.4;
      text-align: justify;
      margin: 0;
    }
    /* BERLAKU UNTUK SEMUA PERANGKAT (GLOBAL) */
    .profil-image {
      max-width: 250px; /* batas lebar maksimum */
      width: 100%; /* tetap fleksibel */
    }

    .profil-image img {
      width: 80%;
      height: auto;
      border-radius: 8px;
      object-fit: cover;
      display: block;
      margin-top: 19px;
      margin-left: 26px;
    }
  }
  .profil-button {
    display: none;
  }

  .profil-text {
    flex: 1;
    margin-right: 15px;
  }
  /* Judul PROFIL */
  .profil-text h3 {
    font-size: 14px;
    margin-bottom: 4px;
    color: #c6d13b;
  }

  /* Nama Pelabuhan */
  .profil-text h2 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #0a2f4e;
  }

  /* Paragraf deskripsi */
  .profil-text p {
    font-size: 11.5px;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 8px;
  }
}

/**CSS Failitas**/
.fasilitas-section {
  padding: -50px 20px;
  text-align: center;
}

.fasilitas-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #a7c947;
  margin-bottom: 50px;
  margin-top: -28px;
}

.fasilitas {
  padding: 60px 20px;
  text-align: center;
  color: #11205e;
  background-color: white;
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 30px 20px;
  justify-items: center;
}

.item img {
  width: 260px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 5px;
}

.item h3 {
  font-size: 16px;
  font-weight: bold;
  color: #11205e;
  margin: 0;
}

.fasilitas-text {
  max-width: 850px;
  margin: 40px auto 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: #1d2a57;
  text-align: justify;
}

/*CSS FASILITAS ANDROID*/
/* FASILITAS RESPONSIF UNTUK HP */
@media (max-width: 600px) {
  .fasilitas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
  }

  .fasilitas-section h2 {
    font-size: 20px;
  }

  .item img {
    width: 80%;
    margin-left: 20px;
  }

  .item h3 {
    font-size: 14px;
  }

  .fasilitas-text {
    font-size: 13px;
    padding: 0 15px;
  }
}

/* FASILITAS RESPONSIF UNTUK TABLET */
@media (min-width: 601px) and (max-width: 1024px) {
  .fasilitas-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 16px;
    padding: 0 10px;
  }

  .item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .item h3 {
    font-size: 13px;
    margin-top: 5px;
    color: #11205e;
    font-weight: 600;
  }

  .fasilitas-section h2 {
    font-size: 18px;
    padding: 0 10px;
  }

  .fasilitas-text {
    font-size: 13px;
    padding: 0 15px;
    text-align: justify;
  }
}

/* FASILITAS UNTUK DESKTOP */
@media (min-width: 1025px) {
  .fasilitas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*CSS FASILITAS-1*/
.fasilitas-section-1 {
  padding: -50px 20px;
  text-align: center;
}

.fasilitas-section-1 h2 {
  font-size: 28px;
  font-weight: bold;
  color: #a7c947;
  margin-bottom: 50px;
  margin-top: 74px;
}

.fasilitas-1 {
  padding: 60px 20px;
  text-align: center;
  color: #11205e;
  background-color: white;
}

.fasilitas-grid-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 30px 20px;
  justify-items: center;
}

.item-1 img {
  width: 260px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 5px;
}

.item-1 h3 {
  font-size: 16px;
  font-weight: bold;
  color: #11205e;
  margin: 0;
}

.fasilitas-text-1 {
  max-width: 850px;
  margin: 40px auto 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: #1d2a57;
  text-align: justify;
}

/*CSS FASILITAS-1 ANDROID*/
/* FASILITAS RESPONSIF UNTUK HP */
@media (max-width: 600px) {
  .fasilitas-grid-1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
  }

  .fasilitas-section-1 h2 {
    font-size: 20px;
  }

  .item-1 img {
    width: 80%;
    margin-left: 20px;
  }

  .item-1 h3 {
    font-size: 14px;
  }

  .fasilitas-text-1 {
    font-size: 13px;
    padding: 0 15px;
  }
}

/* FASILITAS RESPONSIF UNTUK TABLET */
@media (min-width: 601px) and (max-width: 1024px) {
  .fasilitas-grid-1 {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 16px;
    padding: 0 10px;
  }

  .item-1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .item-1 h3 {
    font-size: 13px;
    margin-top: 5px;
    color: #11205e;
    font-weight: 600;
  }

  .fasilitas-section-1 h2 {
    font-size: 18px;
    padding: 0 10px;
  }

  .fasilitas-text-1 {
    font-size: 13px;
    padding: 0 15px;
    text-align: justify;
  }
}

/* FASILITAS UNTUK DESKTOP */
@media (min-width: 1025px) {
  .fasilitas-grid-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*CSS TEAM E-SARPRAS DEFAULT*/
/* TIM SARPRAS DESKTOP */
.team-section {
  padding: 60px 100px;
  background-color: white;
}

.team-container {
  max-width: 1200px;
  margin: auto;
}

.team-section h2 {
  color: #14246c;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 113px;
}

.team-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.team-content img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: -86px;
}

.team-content > div {
  flex: 1;
  min-width: 300px;
  padding-left: 40px;
}

.team-content p {
  color: #14246c;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/*CSS TEAM E-SARPRAS ANDROID*/
/* TIM E-SARPRAS - TABLET */
@media (min-width: 601px) and (max-width: 1024px) {
  .team-section {
    padding: 40px 30px;
  }

  .team-section h2 {
    font-size: 26px;
    text-align: center;
  }

  .team-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }

  .team-content > div {
    flex: 1 1 45%;
  }

  .team-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* TIM E-SARPRAS - HP */
@media (max-width: 600px) {
  .team-section {
    padding: 40px 20px;
  }

  .team-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 75px; /* Dikurangi dari sebelumnya yang 40px */
    text-align: center;
  }

  .team-content {
    flex-direction: column;
    gap: 20px;
  }

  .team-content img {
    max-width: 98%;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  .team-content p {
    font-size: 13px;
    line-height: 1.5;
    text-align: justify;
  }

  .team-content > div {
    padding-left: 0 !important;
  }
}

/*CSS STRUKTUR ORGANISASI*/
/* STRUKTUR ORGANISASI */
.struktur-section {
  padding: 60px 20px;
  background-color: white;
}

.struktur-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.struktur-container h2 {
  color: #d4df6d;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
}

.struktur-box img {
  width: 50%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsif untuk Tablet */
@media (max-width: 1024px) {
  .struktur-container h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .struktur-box img {
    max-width: 95%;
  }
}

/* Responsif untuk HP */
@media (max-width: 600px) {
  .struktur-container h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .struktur-box img {
    width: 100%;
    border-radius: 10px;
  }
}

/* Footer */
.footer {
  background-color: #083344; /* Biru laut gelap */
  color: #e2e8f0; /* Putih kebiruan */
  padding-top: 60px;
  padding-bottom: 30px;
  font-size: 14px;
}

.footer h5 {
  color: #a3e635; /* Lime soft, buat judul */
  margin-bottom: 20px;
  font-weight: 700;
}

.footer a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #a3e635;
  text-decoration: underline;
}

.footer .fa,
.footer .fab {
  margin-right: 10px;
}

/* Biar tiap kolom punya jarak */
.footer .row > div {
  margin-bottom: -20px;
}

/* ICON & TEKS HUBUNGI KAMI */
.footer .fa-map-marker-alt,
.footer .fa-phone,
.footer .fa-envelope {
  color: #a3e635;
  margin-right: 8px;
}

/* SOSIAL ICON */
.footer .social-icons a {
  display: inline-block;
  font-size: 18px;
  margin-right: 10px;
  color: #e2e8f0;
  transition: color 0.3s;
}

.footer .social-icons a:hover {
  color: #a3e635;
}

/* GALERI */
.footer .galeri img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid #a3e635;
  margin: 5px;
}

/* GARIS PEMBATAS */
.footer hr {
  border: none;
  height: 1px;
  background-color: #e2e8f044;
  margin: 30px 0 20px;
}

/* COPYRIGHT */
.footer .copyright {
  font-size: 13px;
  color: #e2e8f088;
}

.footer .copyright a {
  color: #a3e635;
  font-weight: bold;
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .col-md-3,
.footer .col-md-2 {
  flex: 1 1 200px;
}

.footer .text-center {
  text-align: center;
}

.footer .col-md-3,
.footer .col-md-2 {
  padding-left: 15px;
  padding-right: 15px;
}

/*css section  persetujuan masuk kendaraan*/
.approval-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.approval-container {
  max-width: 1000px;
  margin: 0 auto;
}

.approval-header {
  text-align: center;
  margin-bottom: 40px;
}

.approval-icon {
  width: 300px;
  margin-bottom: 3px; /* lebih dekat ke teks */
  margin-top: 90px; /* lebih rendah dari atas */
}

.approval-header h2 {
  font-size: 25px;
  color: #14246c;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 0px;
}

.approval-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.approval-image {
  max-width: 450px;
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
}

.approval-text {
  max-width: 494px;
  font-size: 16px;
  color: #14246c;
  line-height: 1.6;
}

/*css section form pengajuan*/
.form-pengajuan {
  text-align: center;
  padding: 100px 20px;
  background-color: #f0f0f0; /* Latar abu-abu muda */
  transition: background-color 0.3s ease;
}

.form-pengajuan:hover {
  background-color: #e0e0e0; /* Hover effect: abu sedikit lebih gelap */
}

.form-pengajuan h2 {
  color: #172866;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.form-pengajuan p {
  color: #2f3a68;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-form {
  display: inline-block;
  background-color: #dbe27e;
  color: #172866;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-form:hover {
  background-color: #c9d668;
  transform: scale(1.05); /* Tambahan efek membesar saat hover */
}
/**CSS APPROVAL ANDROID**/
/* ===== RESPONSIVE KHUSUS HALAMAN KENDARAAN ===== */

/* Mobile: max 600px */
@media (max-width: 600px) {
  .approval-header h2 {
    font-size: 18px;
    text-align: center;
    line-height: 1.4;
  }

  .approval-icon {
    width: 200px;
    margin-top: 40px;
  }

  .approval-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .approval-image {
    max-width: 90%;
    margin: 0 auto;
  }

  .approval-text {
    font-size: 14px;
    text-align: justify;
    padding: 0 15px;
  }

  .form-pengajuan h2 {
    font-size: 22px;
  }

  .form-pengajuan p {
    font-size: 14px;
    padding: 0 10px;
  }

  .btn-form {
    font-size: 16px;
    padding: 12px 30px;
  }
}

/* Tablet: 601px - 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .approval-header h2 {
    font-size: 22px;
    text-align: center;
  }

  .approval-icon {
    width: 250px;
  }

  .approval-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .approval-image,
  .approval-text {
    max-width: 45%;
  }

  .approval-text {
    font-size: 15px;
    text-align: justify;
  }
  .form-pengajuan h2 {
    font-size: 26px;
  }

  .form-pengajuan p {
    font-size: 15px;
  }

  .btn-form {
    font-size: 18px;
    padding: 13px 36px;
  }
}

/**css secction panduan**/

.panduan-content {
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
}

.panduan-text {
  max-width: 500px;
  margin-left: -22px;
}

.panduan-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: #22304c;
  margin-bottom: 20px;
}

.panduan-text p {
  font-size: 16px;
  color: #22304c;
  line-height: 1.6;
  margin-bottom: 30px;
}

.panduan-text button {
  background-color: #22304c;
  color: #a7c947;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panduan-text button:hover {
  background-color: #a7c947;
  color: #22304c;
}

.panduan-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-top: -48px;
  margin-bottom: -36px;
}

/* === CSS PANDUAN TABLET === */

/* === RESPONSIVE HP & TABLET TETAP DUA KOLOM === */
@media (max-width: 1024px) {
  .panduan-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .panduan-text {
    flex: 1 1 48%;
    padding: 0 10px;
    text-align: justify;
  }

  .panduan-text h2 {
    font-size: 22px;
  }

  .panduan-text p {
    font-size: 14px;
  }

  .panduan-text button {
    display: block; /* Supaya bisa dimanipulasi posisinya */
    margin: 0 auto; /* Tengah horizontal */
    width: 100%; /* Ambil semua ruang yang tersedia */
    max-width: 300px; /* Atur maksimum lebarnya */
    background-color: #22304c;
    color: #a7c947;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .panduan-image {
    flex: 1 1 48%;
    display: flex;
    justify-content: center;
  }

  .panduan-image img {
    max-width: 100%;
    height: auto;
    margin-top: -110px;
  }

  /*EORROR PAGE CSS*/
  .error-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fdfdfd;
    color: #22304c;
    text-align: center;
    padding: 20px;
  }

  .error-page h1 {
    font-size: 100px;
    margin-bottom: 10px;
    color: #a7c947;
    font-weight: bold;
  }

  .error-page p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #22304c;
  }

  .back-button {
    background-color: #22304c;
    color: #a7c947;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  .back-button:hover {
    background-color: #a7c947;
    color: #22304c;
  }
}

/*CSS ERORR*/
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fdfdfd;
  color: #22304c;
  text-align: center;
  padding: 20px;
}

.error-page h1 {
  font-size: 100px;
  margin-bottom: 10px;
  color: #a7c947;
  font-weight: bold;
}

.error-page p {
  font-size: 24px;
  margin-bottom: 30px;
  color: #22304c;
}

.back-button {
  background-color: #22304c;
  color: #a7c947;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #a7c947;
  color: #22304c;
}
