/* 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');
}


/* 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 */
}

/* Menyesuaikan scroll offset agar tidak terpotong oleh navbar */
section {
  scroll-margin-top: calc(1rem + 16px);
  /* Sesuaikan dengan tinggi navbar */
}
/* ----------- Set Awal 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: black; /* Awal transparan */
  color: var(--text-light);
  padding: 0.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Shadow saat solid */
  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 {
  content: url('/img/logo-girasi-nav1.png');
  max-height: 5rem;
  transition: all 0.5s ease;
}

.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: whitesmoke;  /* 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: var(--orange);  /* Mengubah warna teks menjadi orange */
  width: 100%;
}
/* ----------- Navbar End ----------------*/

/* ------ Elemen Whatsapp Start-----*/
/* Popup WhatsApp */
.whatsapp-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 320px;
  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: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.whatsapp-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.whatsapp-header span {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
}

.whatsapp-body {
  padding: 16px;
  font-size: 0.9rem;
  color: #333;
}
.whatsapp-body a{
  text-decoration: none; 
  color: inherit;
}

.whatsapp-contact {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.whatsapp-contact:last-child {
  border-bottom: none;
}

.whatsapp-contact i {
  font-size: 1.5rem;
  color: #25d366;
  margin-right: 12px;
  text-decoration: none;
  
}

.whatsapp-contact:hover {
  background-color: #3ae97acc;
}

/* Tombol Mengambang WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  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-----*/

/* Banner About */
 /* Reset aturan umum hanya untuk section About */
.about-banner {
  min-height: unset !important; /* Override aturan global */
  height: 40vh; /* Pastikan tingginya hanya 20vh */
  max-height: 40vh;
  background-color: var(--orange); /* Warna latar oranye */
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hindari tambahan tinggi */
  padding: 12rem;
  margin: 0;
}


/* Kontainer di dalam banner */
.about-banner .container {
  max-width: 1100px;
  width: 100%;
}

/* Judul utama */
.about-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.3rem; /* Kurangi margin agar tidak menambah tinggi */
  text-transform: uppercase;
  padding-top: 4rem;
}

/* Garis putih di bawah teks "ABOUT US" */
.underline {
  width: 4rem;
  height: 4px;
  background-color: var(--text-light);
  margin: 5px auto;
}

/* Subjudul */
.about-subtitle {
  font-size: 2rem;
  font-weight: bold;
  color: black;
  margin-top: 5px;
}

/* 🌟 RESPONSIVE ABOUT BANNER */

/* Untuk Tablet & layar sedang (max 1024px) */
@media (max-width: 1024px) {
  .about-banner {
      height: 35vh; /* Sedikit dikurangi agar lebih proporsional */
      padding: 8rem; /* Kurangi padding agar tidak terlalu besar */
  }

  .about-title {
      font-size: 1.8rem; /* Ukuran judul sedikit dikurangi */
  }

  .about-subtitle {
      font-size: 1.6rem;
  }
}

/* Untuk HP & layar kecil (max 768px) */
@media (max-width: 768px) {
  .about-banner {
      height: 30vh; /* Kurangi tinggi */
      padding: 6rem; /* Sesuaikan padding */
  }

  .about-title {
      font-size: 1.6rem;
      padding-top: 2rem;
  }

  .about-subtitle {
      font-size: 1.4rem;
  }
}

/* Untuk HP sangat kecil (max 480px) */
@media (max-width: 480px) {
  .about-banner {
      height: 25vh; /* Lebih kecil agar pas di layar HP */
      padding: 4rem; /* Kurangi padding */
  }

  .about-title {
      font-size: 1.4rem;
      padding-top: 4rem;
  }

  .about-subtitle {
      font-size: 1.2rem;
  }
}



/* --- Container Umum --- */
.about-section {
  background-color: #d1ecf1; /* Warna background biru muda */
  padding: 50px 5%;
}

/* --- History --- */
.history {
  background-color: #d1ecf1;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.history .title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid orangered;
  display: inline-block;
  padding-bottom: 5px;
}

.history p {
  font-size: 1rem;
  color: black;
  text-align: justify;
}

.highlight {
  color: orangered;
  font-weight: bold;
}

/* --- Visi & Misi --- */
.visi-misi {
  display: flex;
  flex-wrap: wrap;
  background-color: #222;
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 20px;
  align-items: top;
}

.visi, .misi {
  flex: 1;
  padding: 20px;
}

.visi h3, .misi h3 {
  color: orangered;
  font-size: 1.8rem;
  letter-spacing: 0.3rem;
}

.visi p, .misi ul {
  font-size: 1rem;
}

.misi ul {
  list-style: none;
  padding: 0;
}

.misi ul li {
  padding: 5px 0;
}

.separator {
  width: 2px;
  background-color: white;
  height: 5rem;
  margin: auto 1px auto 1px;
  align-self: center;
  padding-top: 10rem;
}

/* --- Responsif --- */
@media (max-width: 768px) {
  .visi-misi {
      flex-direction: column;
      text-align: center;
  }

  .separator {
      width: 1%;
      height: 2px;
      margin: 20px auto;
  }
}

/* --- Container Umum --- */
.company-value {
  background-color: #d1ecf1; /* Warna biru muda */
  padding: 50px 5%;
}

/* --- Header --- */
.company-header {
  text-align: center;
  margin-bottom: 30px;
}

.company-header .title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid orangered;
  display: inline-block;
  padding-bottom: 5px;
}

.company-header p {
  font-size: 1rem;
  color: black;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.highlight {
  color: orangered;
  font-weight: bold;
}

/* --- Grid Nilai Perusahaan --- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background-color: #222;
  color: white;
  padding: 1.875rem;
  border-radius: 10px;
}

.value-box {
  padding: 20px;
}

.value-box h3 {
  color: orangered;
  font-size: 1.5rem;
  margin-bottom: 5px;
  letter-spacing: 0.3rem;
}

.value-box hr {
  width: 3.125rem;
  height: 2px;
  background-color: orangered;
  border: none;
  margin-bottom: 10px;
}

.value-box p {
  font-size: 1rem;
}

/* --- Responsif untuk Mobile --- */
@media (max-width: 768px) {
  .value-grid {
      grid-template-columns: 1fr;
      text-align: center;
  }
  .value-box hr{
    align-content: center;
    margin: 0 auto;
  }
}


/* --- Section Our Team & Partner --- */
.team {
  background-color: #d1ecf1; /* Warna biru muda */
  padding: 50px 5%;
  text-align: center;
  min-height: unset !important; /* Override aturan global */
}

/* --- Judul Section --- */
.team .title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid orangered;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

/* --- Container Tim --- */
.team-container {
  display: flex;
  flex-wrap: wrap; /* Perbaikan: Agar item turun ke baris berikutnya jika penuh */
  justify-content: center;
  gap: 20px;
}

/* --- Box Tiap Anggota Tim --- */
.team-member {
  background-color: #222;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: calc(33.33% - 20px); /* Perbaikan: Gunakan persentase agar responsif */
  min-width: 250px;
  min-height: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.team-member:hover {
  transform: translateY(-5px);
}

/* --- Gaya Gambar Profil --- */
.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid orangered;
}

/* --- Nama & Jabatan --- */
.team-member h3 {
  font-size: 1.5rem;
  margin: 10px 0 5px;
  color: orangered;
  white-space: nowrap; /* Tetap satu baris */
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.team-member p {
  font-size: 1rem;
}

/* --- Responsif untuk Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  .team-member {
    width: calc(50% - 20px); /* 2 kolom di tablet */
  }
}

/* --- Responsif untuk Mobile (max 768px) --- */
@media (max-width: 768px) {
  .team-container {
      flex-direction: column; /* Stack ke bawah di layar kecil */
      align-items: center;
  }

  .team-member {
    width: 90%; /* Lebar penuh dengan sedikit margin */
  }
}




/* -------- 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 {
  text-decoration: underline;
  color: black;
  transition: 0.5s;
  text-decoration: none;

}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 35px;
  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--------------*/


