/* ----------- Set Awal Start ----------------*/
/* Efek scroll smooth */
html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* Pastikan tetap bisa scroll */
  scrollbar-width: none; /* Untuk Firefox */
  -ms-overflow-style: none; /* Untuk Internet Explorer */
  scroll-snap-type: y mandatory;

  
  body::-webkit-scrollbar {
    display: none; /* Sembunyikan scrollbar di Chrome, Safari */
}
}
/* Reset default margin dan padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Warna tema */
:root {
  --cyan: #87ceeb;
  --orange: orangered;
  --text-dark: #222;
  --text-light: #fff;
  --btn-color:  #18d26e;
  --cyan-light: #23AAF2;
}

/* Gaya umum */
body {
  font-family: 'Futura Md BT', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #e1e5ea;



}
@font-face {
  font-family: 'Futura Md BT';
  src: url('/font/futura_md_bt_medium-webfont.woff2') format('woff2'),
       url('/font/futura_md_bt_medium-webfont.woff') format('woff');
}

/* Loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 7.5rem;
  height: 7.5rem;
  margin: -4.75rem 0 0 -4.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  width: 100%;
  height: 100%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  /* Hapus animasi yang tidak digunakan */
}

/* Animasi bounce untuk gambar di dalam #loader */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

#loader img {
  animation: bounce 1.5s infinite;
}

/* Kontainer */
.container {
  width: 90%;
  max-width: 75rem;
  margin: 0 auto;
}

/*Pengaturan Logo*/
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.3s ease;
  transform-origin: left
}

.logo img {
  height: 3.75rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  transform-origin: left;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Gaya umum untuk setiap section */
section {
  min-height: 100vh; /* Tinggi penuh minus tinggi navbar */
  display: flex; /* Untuk menengahkan konten */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;  /* Tambahkan padding untuk menghindari overlap */
  scroll-margin-top: calc(1rem + 16px);  /* Untuk menghindari overlap dengan navbar */

}

/* ----------- Set Awal End ----------------*/

/* ----------- Navbar Scroll ----------------*/
.navbar.scrolled {
  background-color: black; /* Warna solid saat di-scroll */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Shadow saat solid */
  transform: translateY(-5px);
}

.navbar.scrolled .logo-img {
  content: url('/img/logo-girasi-nav1.png'); /* Ganti dengan logo-2 */
  max-height: 5rem; /* Jika ingin ukurannya lebih kecil saat scroll */
  transition: all 0.5s ease;
}
/* Efek hover border bawah */
.navbar.scrolled .nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;  /* Letakkan tepat di bawah navbar */
  left: 50%;  /* Awal efek dari tengah */
  width: 0;  /* Awal tanpa lebar */
  height: 3px;  /* Ketebalan border */
  background-color: whitesmoke;  /* Warna border */
  transition: all 0.5s ease;  /* Transisi untuk efek */
  transform: translateX(-50%);
}

.navbar.scrolled .nav-links li a:hover::after {
  width: 100%;  /* Border memanjang ke kedua sisi */
}

/* Menambahkan warna teks menjadi orange saat hover */
.navbar.scrolled .nav-links li a:hover {
  color:var(--orange);  /* Mengubah warna teks menjadi orange */
}
/* ----------- Navbar Scroll End----------------*/


/* ----------- Navbar Default Start ----------------*/
.hamburger {
  display: none; /* Default: Sembunyikan di layar besar */
  font-size: 1.75rem;
  color: var(--text-light);
  cursor: pointer;
}

/* Responsive: Tampilkan hamburger di layar kecil */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger:hover{
    color: var(--orange);
  }

  .nav-links {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 4.5rem;
    right: 0;
    width: 100%;
    background: #222;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    transition:  0.5s ease, visibility 0.5s ease;
  }

  .nav-links.show {
    opacity: 1;
    visibility: visible;
    display: flex; /* Munculkan menu saat tombol diklik */
  }
}

.navbar {
  position: fixed; /* Tetap di atas layar */
  top: 0;
  width: 100%;
  background-color: transparent; /* Awal transparan */
  color: var(--text-light);
  padding: 0.5rem 0;
  box-shadow: none; /* Tanpa shadow saat transparan */
  z-index: 1000;
  transition: all 0.5s ease-in-out;

}

.logo-img {
  max-height: 3rem;
  transition: all 0.5s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo img {
  max-height: 5rem;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
}

.navbar .nav-links {
  font-family: 'Poppins', sans-serif;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  position: relative;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: bold;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
}

/* Efek hover border bawah */
.navbar .nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;  /* Letakkan tepat di bawah navbar */
  left: 50%;  /* Awal efek dari tengah */
  width: 0;  /* Awal tanpa lebar */
  height: 3px;  /* Ketebalan border */
  background-color: var(--orange);  /* Warna border */
  transition: all 0.5s ease;  /* Transisi untuk efek */
  transform: translateX(-50%);
}

.navbar .nav-links li a:hover::after {
  width: 100%;  /* Border memanjang ke kedua sisi */
}

/* Menambahkan warna teks menjadi orange saat hover */
.navbar .nav-links li a:hover {
  color: black;  /* Mengubah warna teks menjadi orange */
}
/* ----------- Navbar End ----------------*/


/* ----------- Banner Start----------------*/
.banner {
  align-items: center;
  flex-direction: column;
  position: relative;
  background-color: var(--cyan);
  color: var(--text-light);
  text-align: center;
  min-height: 100vh;  /* Memastikan banner penuh tanpa gangguan */
  padding: 2rem;
  box-sizing: border-box;
  background-image: url('/img/bg_home-2.jpg'), url('/img/Topografi-1.jpg'), url('/img/Soilinvestigation-1.jpg');  /* Gambar background */
  background-size: cover;  /* Pastikan gambar menutupi seluruh area */
  background-position: center;  /* Posisi awal gambar */
  background-repeat: no-repeat;
  animation: slideBackground 25s infinite;  /* Animasi slide gambar */
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Overlay gelap */
  z-index: 1;
}

@keyframes slideBackground {
  0% {
    background-image: url('/img/bg_home-2.jpg'), url('/img/Topografi-1.jpg'), url('/img/Soilinvestigation-1.jpg');
  }

  33% {
    background-image: url('/img/Topografi-1.jpg'), url('/img/Soilinvestigation-1.jpg'), url('/img/bg_home-2.jpg');
  }

  66% {
    background-image: url('/img/Soilinvestigation-1.jpg'), url('/img/bg_home-2.jpg'), url('/img/Topografi-1.jpg');
  }

  100% {
    background-image: url('/img/bg_home-2.jpg'), url('/img/Topografi-1.jpg'), url('/img/Soilinvestigation-1.jpg');
  }
}

.banner .container {
  position: relative;
  color: var(--text-light);
  z-index: 1;
  padding-left: 1rem;
  padding-top: 12rem;
  text-align: left;
}


.banner h1 {
  color: var(--text-light);
  letter-spacing: 0.3rem;
  position: relative; /* Dibutuhkan untuk ::after */
  display: inline-block; /* Agar garis mengikuti panjang teks */
}
.banner h1::after {
  content: "";
  display: block;
  width: 100%; /* Lebar garis */
  height: 2px; /* Ketebalan garis */
  background-color: orangered; /* Warna garis */
  margin: 5px auto 0; /* Jarak dari teks ke garis */
}

.banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.315rem;
}

.banner p {
  margin: 1rem 0;
  font-size: 1rem;
  letter-spacing: 1px;
}

.banner .btn {
  position: relative; /* Untuk mengatur pseudo-element */
  overflow: hidden; /* Sembunyikan elemen yang melampaui area tombol */
  z-index: 1; /* Pastikan teks di atas elemen pseudo */
  border: none;
  cursor: pointer;
  margin-top: 2rem;
  display: inline-block;
  background-color: var(--orange);
  color: var(--text-light);
  padding: 1.25rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight:normal;
  transition: color 0.5s ease, transform 0.5s ease; /* Transisi warna teks */
}
.banner .btn::before {
content: '';
position: absolute;
top: 0;
left: -100%; /* Awal di luar tombol */
width: 100%; /* Lebar sama dengan tombol */
height: 100%; /* Tinggi sama dengan tombol */
background-color: #222; /* Warna efek slide */
transition: all 0.5s ease; /* Transisi halus */
z-index: -1; /* Pseudo-element di bawah teks */
}

.banner .btn:hover {
  color: var(--text-light); /* Warna teks tetap putih */
  transform: translateX(5px); 
}
.banner .btn:hover::before {
  left: 0; /* Geser pseudo-element ke dalam tombol */
  }

  .banner .btn:hover:focus {
    outline: 2px solid var(--orange); /* Garis fokus */
    outline-offset: 3px; /* Jarak outline */
  }

/* Responsivitas */
@media (max-width: 768px) {
  .navbar .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar .nav-links li a::after {
    bottom: -8px;    /* Sesuaikan untuk layar kecil */
  }
}
/* ----------- Banner End----------------*/

/* ----------- Feature -1 ----------------*/
.f-section {
  min-height: 30vh;
  padding: 20px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8); /* Warna transparan di atas background */
  backdrop-filter: blur(5px); /* Efek blur agar lebih smooth */

}
.f-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/banner_2.jpg");
  background-repeat: repeat;
  background-position: right top;
  background-attachment: fixed;
  background-size: cover;
  opacity: 0.6; /* Membuat hanya background image transparan */
  z-index: -1; /* Agar tetap di belakang teks dan item */
}

.f-nilai {
  display: inline-block;
  position: relative;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--text-light);
  letter-spacing: 0.4rem;
}
.f-nilai::after {
  content: '';
  position:absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #00bcd4; /* Ganti warna sesuai keinginan */
  border-radius: 2px; /* Opsional: memberi efek lengkungan */
}

.f-desk {
  font-size: 1.5rem;
  color: orangered;
  max-width: 37.5rem;
  margin: 0 auto 30px;
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Perbaikan */
  gap: 0.5rem;
  justify-content: center;
  align-items: stretch; /* Tambahan */
  max-width: 125rem;
  margin: 0 auto;
  
}

.f-frame {
  background: #222;
  padding: 20px;
  text-align: center;
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;
}

.icon-f {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: orangered;
}
.icon-f:hover {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

h3 {
  font-size: 1rem;
  color: orangered;
  margin-bottom: 10px;
  letter-spacing: 3px;
}
.f-frame h3:hover {
  color: orangered;
}

.f-frame p {
  font-size: 1rem;
  color: var(--text-light);
}
/* ====== RESPONSIVE DESIGN ====== */

/* ====== RESPONSIVE DESIGN ====== */

/* 🌟 Untuk layar kecil (HP & Tablet) */
@media (max-width: 768px) {
  .f-section {
      min-height: 50vh; /* Tinggi diperbesar agar lebih proporsional */
      padding: 15px;
  }

  /* Background tetap responsif */
  .f-section::before {
      background-attachment: scroll; /* Hindari bug di mobile */
      background-position: center;
  }

  .f-nilai {
      font-size: 1.5rem; /* Ukuran lebih kecil */
      letter-spacing: 0.2rem;
  }

  .f-desk {
      font-size: 1.2rem; /* Ukuran teks lebih kecil */
      max-width: 30rem;
  }

  .f-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Kolom lebih besar */
      gap: 1rem;
  }

  .f-frame {
      padding: 15px; /* Kurangi padding agar lebih pas */
  }

  .icon-f {
      font-size: 2rem; /* Ikon lebih kecil */
  }

  h3 {
      font-size: 0.9rem; /* Ukuran teks judul lebih kecil */
  }

  .f-frame p {
      font-size: 0.9rem;
  }
}

/* 🌟 Untuk layar sangat kecil (HP Kecil) */
@media (max-width: 480px) {
  .f-section {
      min-height: 60vh;
  }

  .f-nilai {
      font-size: 1.3rem;
  }

  .f-desk {
      font-size: 1rem;
  }

  .f-grid {
      grid-template-columns: 1fr; /* Hanya 1 kolom agar tidak terlalu kecil */
  }

  .icon-f {
      font-size: 1.8rem; /* Ikon lebih kecil */
  }

  h3 {
      font-size: 0.85rem; /* Teks lebih kecil */
  }

  .f-frame p {
      font-size: 0.85rem;
  }
}


/* ----------- Feature end----------------*/


/* ----------- OUR SERVICE ALT1----------------*/
/* Section Layanan */
/* ---- SECTION LAYANAN ---- */
.services-section {
  padding: 2.5rem 2.5rem;
  /*max-width: 75rem;*/
  margin: auto;
  background-color: var(--text-light) !important;

}

/* ---- JUDUL DAN TOMBOL HEADER ---- */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Gunakan lebar penuh */
  max-width: 75rem; /* Pastikan sejajar dengan kartu */
  margin: 0 auto 1.25rem auto; /* Biar sejajar dengan grid */
  padding: 0; /* Tambahkan padding jika perlu */
}

.services-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  color:black;
  padding-bottom: 5px; /* Jarak antara teks dan garis */
  border-bottom: 2px solid var(--orange); /* Garis bawah */
  display: inline-block; /* Agar panjang garis mengikuti teks */
}

/* Tombol Read More */
.read-more {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.5s ease; /* Transisi halus */
}

.read-more:hover {
  background-color: var(--orange); /* Warna teks tetap putih */
  transform: translateX(5px); 
}

/* ---- GRID LAYANAN ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 75rem;
}

/* ---- KARTU LAYANAN ---- */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background-color: var(--orange);
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s;
  min-height: 28rem; /* Perbesar kartu */
}

.service-card:hover {
  transform: translateY(-10px);
}

/* ---- ICON ---- */
.service-icon {
  font-size: 4.4rem;
  margin-bottom: 15px;
  color: black;
  text-align: left;
}

/* ---- JUDUL KARTU ---- */
.service-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: black;
  text-align: left;
}

/* ---- TEKS DESKRIPSI ---- */
.service-text {
  font-size: 1rem;
  color: black;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* ---- TOMBOL DALAM KARTU ---- */
.service-card .btn {
  align-self: center;
  text-align: center;
  display: inline-block;
  padding: 10px 20px;
  background-color: #222;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: -60px;
}



/* Responsif */
@media (max-width: 992px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
  }
}

@media (max-width: 768px) {
  .services-section {
      padding: 1.25rem;
  }

  .services-header {
      flex-direction: column;
      align-items: flex-start;
  }

  .services-title {
      font-size: 1.5rem;
  }

  .read-more {
      margin-top: 10px;
  }

  .services-grid {
      grid-template-columns: 1fr; /* 1 Kolom di HP */
  }
}



/* ----------- OUR SERVICE ALT1----------------*/


/* ----------- Layanan Start----------------*/
.layanan {
  background-color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
  background: url('/img/backdrop-3.png') no-repeat;
  background-position: top;
  background-size: contain;
  
}

.layanan h2 {
  display: flexbox;
  text-align: left;
  font-weight: bold;
  color: black;
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-size: 2.5rem;
}

/* Animasi awal layanan-wrapper */
.layanan-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* Responsif */
  gap: 1rem;
  justify-items: center;
  opacity: 0;  /* Awalnya tidak terlihat */
  transform: translateY(100px);  /* Posisi awal dari kiri */
  transition: all 0.8s ease-out;  /* Animasi smooth */
  padding-top: 1rem; /* Jarak antara teks dan garis */
  border-top: 2px solid orangered; /* Garis bawah */
  padding-bottom: 15px; /* Jarak antara teks dan garis */
  border-bottom: 2px solid orangered; /* Garis bawah */
}

/* Ketika elemen muncul */
.layanan-wrapper.show {
  opacity: 1;
  transform: translateY(0);  /* Posisi kembali ke tempat semula */
}

.layanan-item {
  background-color: #222;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layanan-item:hover {
  transform: translateY(-10px);  /* Efek melayang saat hover */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.layanan-item img {
  max-width: 100%;  /* Gambar responsif */
  border-radius: 0;
  margin-bottom: 0;
}

.layanan-item h3 {
  color: var(--orange);
  margin: 1rem 0;
  font-size: 1.5rem;
  border-left: 2.5rem solid var(--orange);
  border-right: 2.5rem solid var(--orange);
  background-color:#222;  
}

.layanan-item p {
  font-size: 1rem;
  margin: 1rem;
  color: var(--text-light);
}

/* Tombol utama di bawah */
.layanan .btn.utama {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  margin-top: 2rem;
  background-color: #222;
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content; /* Agar ukuran menyesuaikan isi */
  margin-left: auto;
  /*margin-right: auto;  Membantu agar tombol tetap di tengah */
}

.layanan .btn.utama::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Awal di luar tombol */
  width: 100%; /* Lebar sama dengan tombol */
  height: 100%; /* Tinggi sama dengan tombol */
  background-color: var(--orange); /* Warna efek slide */
  transition: all 0.5s ease; /* Transisi halus */
  z-index: -1; /* Pseudo-element di bawah teks */
}
.layanan .btn.utama:hover {
  color: var(--text-light); /* Warna teks tetap putih */
  transform: translateX(10px);
}

.layanan .btn.utama:hover::before {
  left: 0; /* Geser pseudo-element ke dalam tombol */
  }
  
  /* Efek fokus (akses via keyboard) */
  .layanan .btn.utama:focus {
    outline: 2px solid #ff9800; /* Garis fokus */
    outline-offset: 3px; /* Jarak outline */
  }
  @media (max-width: 768px) {
    .layanan .btn.utama {
      margin-left: auto;
      margin-right: auto; /* Pastikan tombol tetap di tengah */
      font-size: 14px; /* Sedikit kecil untuk tampilan mobile */
      padding: 10px 20px;
    }
  }
/* ----------- Layanan End----------------*/

/* ----------- Tentang Start ----------------*/
.tentang-kami {
  padding: 4rem 0;
  text-align: center;
  background: url('/img/backdrop-4.png') no-repeat;
  background-position: top;
  background-size: contain;
}

.tentang-wrapper {
  display: flex;  /* Flexbox untuk mengatur layout */
  align-items: center;  /* Vertikal rata tengah */
  justify-content: space-between;  /* Ruang di antara elemen */
  gap: 2rem;  /* Jarak antar elemen */
}

.tentang-gambar {
  flex: 1;  /* Gambar menyesuaikan ukuran */
  text-align: center;
  /* tambahan scan me start*/
  position: relative;  /* Tambahkan untuk tooltip */
  display: inline-block;  /* Tambahkan untuk tooltip */
}

.tentang-gambar .tooltip {
  visibility: hidden;
  width: 6.25rem;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 105%;  /* Sesuaikan sesuai kebutuhan */
  left: 50%;
  margin-left: -50px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tentang-gambar .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;  /* Atas keterangan */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tentang-gambar:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
/* tambahan scan me end*/

.tentang-gambar img {
  max-width: 65%;  /* Gambar responsif */
  height: auto;
  border-radius: 10px;  /* Sudut gambar melengkung */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  background-color: rgb(0, 0, 0, 1);
}

.tentang-gambar img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}


.tentang-deskripsi {
  flex: 1;  /* Deskripsi menyesuaikan ukuran */
  text-align: left;  /* Rata kiri untuk teks */
  color: var(--text-light);
  font-weight:lighter ;
}

.tentang-deskripsi h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: left;
}

.tentang-deskripsi h2::after {
  content: '';
  display: block;
  width: 3.125rem;
  height: 4px;
  background-color: orangered;
  margin-top: 0.5rem;
}

.tentang-deskripsi p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.learn-more-btn {
  position: relative; /* Untuk mengatur pseudo-element */
  display: inline-block;
  font-weight: bold;
  overflow: hidden; /* Sembunyikan elemen yang melampaui area tombol */
  z-index: 1; /* Pastikan teks di atas elemen pseudo */
  transition: color 0.3s ease, transform 0.3s ease; /* Transisi warna teks */
  padding: 0.8rem 1.5rem; /* Ukuran tombol */
  background-color: var(--orange); /* Warna dasar tombol */
  color: var(--text-light); /* Warna teks */
  font-size: 1rem; /* Ukuran teks */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;

}

/* Pseudo-element untuk efek slide */
.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Awal di luar tombol */
  width: 100%; /* Lebar sama dengan tombol */
  height: 100%; /* Tinggi sama dengan tombol */
  background-color: black; /* Warna efek slide */
  transition: all 0.3s ease; /* Transisi halus */
  z-index: -1; /* Pseudo-element di bawah teks */

}

/* Efek hover */
.learn-more-btn:hover {
  color: #fff; /* Warna teks tetap putih */
  transform: translateX(5px);

}
.learn-more-btn:hover::before {
left: 0; /* Geser pseudo-element ke dalam tombol */
}

/* Efek fokus (akses via keyboard) */
.learn-more-btn:focus {
  outline: 2px solid #ff9800; /* Garis fokus */
  outline-offset: 3px; /* Jarak outline */
}


/* Responsivitas untuk layar kecil */
@media (max-width: 768px) {
  .tentang-wrapper {
    flex-direction: column;    /* Susun vertikal */
    text-align: center;
  }

  .tentang-deskripsi {
    text-align: center;
    /* Teks tengah untuk layar kecil */
  }
}
/* ----------- Tentang End ----------------*/

/* -------- Kontak Kami Start--------------*/
.contact-us {
  background-color: var(--text-light);
  padding: 3rem 1rem;
  background: url('/img/backdrop-2.png') no-repeat;
  background-position: top;
  background-size: contain;
}

.contact-us .container {
  max-width: 75rem;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  
}
.section-subtitle{
  text-align: center;
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 2rem;
  letter-spacing: 3px;

}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: #222;
  border-radius: 1.5rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.contact-info {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: .5rem;
border-radius: 1rem;

}

.cont-head{
  display: flex;
  padding-bottom: 3rem;
}
.cont-sec{
  color: var(--text-light);
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.cont-sec b{
  background-color: var(--orange);
  display: block;
  flex: 1;
  height: 3px;
  opacity: 1;
}
.cont-sec span{
  text-align: center;
  margin: 0 15px;
}

/* .contact-info h3{
margin-bottom: 1rem;
font-size: 1.5rem;
color: #333;
text-align: center;
} */

.contact-item {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-right: 1rem;
}

.contact-item h4 {
  margin: 0;
  font-size: 1.2rem;
  color: whitesmoke;
  display: flex;
  font-weight: lighter;
}

.contact-item p {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #666;
  text-align: left;
}

.contact-form {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: .5rem;
border-radius: 1rem;

}

.contact-form h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--text-dark);
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.9rem;
}

.contact-form button {
  padding: 0.8rem;
  background-color:var(--orange);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #222;
}

/* Responsif */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}
/* -------- Kontak Kami End--------------*/

/* ------ Elemen Whatsapp Start-----*/
/* Popup WhatsApp */
.whatsapp-popup {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 20rem;
  max-width: 90%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

/* Saat popup muncul */
.whatsapp-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-header {
  background-color: #25d366;
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 0.625rem;
  border-top-right-radius: 0.625rem;
}

.whatsapp-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.whatsapp-header span {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
}

.whatsapp-body {
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
}
.whatsapp-body a{
  text-decoration: none; 
  color: inherit;
}

.whatsapp-contact {
  display: flex;
  align-items: center;
  padding: 0.625rem;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none; 
  color: inherit;
}

.whatsapp-contact:last-child {
  border-bottom: none;
}

.whatsapp-contact i {
  font-size: 1.5rem;
  color: #25d366;
  margin-right: 12px;
}

.whatsapp-contact:hover {
  background-color: #3ae97acc;
}

/* Tombol Mengambang WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: #25d366;
  color: #fff;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float i {
  font-size: 1.8rem;
}

/* Responsif */
@media (max-width: 768px) {
  .whatsapp-popup {
    width: 90%;
    right: 5%;
  }
}

/* ------ Elemen Whatsapp Start-----*/


/* --------- Artikel Start----------*/
.articles-section {
  padding-top: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 12rem;
  min-height: 10vh;
  background: url('/img/backdrop-1.png') no-repeat;
  background-position: bottom;
  background-size: contain;

}

.section-title-1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.articles-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.article-card {
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out, box-shadow 0.3s ease;
}
.article-card.show {
  opacity: 1;
  transform: translateY(0);
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.article-card a {
  text-decoration: none;
  color: inherit;
}

.article-image {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}

.article-content {
  padding: 1rem;
  text-align: center;
}

.article-title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: var(--orange);
}

.article-title:hover {
  text-decoration: underline;
}

.article-description {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Responsif */
@media (max-width: 992px) {
  .articles-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .articles-wrapper {
    grid-template-columns: 1fr;
  }
}
/* --------- Artikel End----------*/



/* -------- Footer Start--------------*/
footer {
  background: url('/img/footer_bg.png') no-repeat center center/cover;
  color: white;
  padding: 2.5rem 1.25rem;
  box-shadow: 0px 1px 14px 0px #FF5722;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 75rem;
  margin: auto;
  text-align: left
}

.footer-box {
  width: 23%;
}

.footer-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: black;
}

.footer-box p,
.footer-box ul {
  font-size: 1rem;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin: 5px 0;
}

.footer-box ul li a {
  color: white;
  text-decoration: none;
}

.footer-box ul li a:hover {
  color: black;
  transition: 0.5s;
  text-decoration: none;

}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 2.2rem;
  color: white;
  transition: 0.5s;
  
}

.social-icons a:hover {
  color: orangered;
}

form input {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 8px;
  background: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background: darkred;
  transition: 0.5s;

}
/* 🌟 RESPONSIVE FOOTER */

/* Tablet & layar sedang (max 1024px) */
@media (max-width: 1024px) {
  .footer-container {
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
  }

  .footer-box {
      width: 45%; /* 2 kolom saat layar lebih kecil */
      margin-bottom: 20px;
  }

  .footer-box h2 {
      font-size: 1.5rem;
  }

  .footer-box p,
  .footer-box ul {
      font-size: 0.95rem;
  }

  .social-icons a {
      font-size: 30px;
  }

  form input,
  form button {
      padding: 10px;
      font-size: 1rem;
  }
}

/* HP & layar kecil (max 768px) */
@media (max-width: 768px) {
  .footer-box {
      width: 100%; /* 1 kolom penuh */
      text-align: center;
  }

  .footer-box h2 {
      font-size: 1.4rem;
  }

  .footer-box p,
  .footer-box ul {
      font-size: 0.9rem;
  }

  .social-icons a {
      font-size: 28px;
  }
}

/* HP sangat kecil (max 480px) */
@media (max-width: 480px) {
  footer {
      padding: 30px 15px;
  }

  .footer-box {
      width: 100%;
  }

  .footer-box h2 {
      font-size: 1.3rem;
  }

  .footer-box p,
  .footer-box ul {
      font-size: 0.85rem;
  }

  .social-icons a {
      font-size: 25px;
  }

  form input,
  form button {
      padding: 8px;
      font-size: 0.9rem;
  }
}

/* -------- Footer End--------------*/

/* Gaya untuk tombol Top Page */
.top-page {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 3.4rem;
  height: 3.4rem;
  background: black;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: none;
  transition: all 0.3s ease-in-out;
}
.top-page i {
  font-size: 1.6rem;
  color: whitesmoke;
}
.top-page:hover {
  transform: scale(1.1);
}

