/* =======================
   Global Styles
======================= */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  color: #191919;
  padding-top: 80px;
}

/* =======================
   Navbar - Responsive Improvements
======================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.nav-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand img {
  width: 70px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: bold;
  font-size: 16px;
}

.brand-subtitle {
  font-size: 14px;
  color: #555;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links li a {
  text-decoration: none;
  color: #191919;
  font-weight: 600;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

.nav-links li a:hover {
  color: orangered;
  border-color: orangered;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 999;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dropdown-bahasa:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 4px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    display: none; /* Hidden by default */
  }

  .nav-links.active {
    display: flex; /* Show when menu is toggled */
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
  }

  .dropdown-bahasa:hover .dropdown-menu {
    display: none;
  }

  .dropdown-bahasa.active .dropdown-menu {
    display: block;
  }
}

.dropdown-menu {
  transition: all 0.3s ease;
}


/* =======================
   Hero Section - Responsive Improvements
======================= */
.hero-new {
  background-color: #dcdcdc;
  background-image: url('/Prev Img/Hero\ Section3.png');
  background-repeat: no-repeat;
  background-position: right center; /* Gambar tetap di kanan */
  background-size: contain;
  padding: 12rem 5%;
}

.hero-box {
  display: flex;
  max-width: 1200px;
  margin: 0 auto; /* Ubah dari margin: left 15px */
  align-items: center;
  justify-content: flex-start; /* Tambahkan ini untuk mengarahkan konten ke kiri */
}

.hero-text {
  background-color: #e17835;
  padding: 3rem;
  border-radius: 16px;
  color: white;
  max-width: 600px;
  margin-left: 0; /* Pastikan tidak ada margin kiri */
  margin-right: auto; /* Dorong ke kiri */
}

.hero-text h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: black;
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: black;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: white;
}

.cta-button {
  background-color: white;
  color: orangered;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 300ms;
  display: inline-block;
}

.cta-button:hover {
  background-color: #f1f1f1;
}

@media (max-width: 992px) {
  .hero-new {
    padding: 6rem 5%;
    background-size: cover;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-new {
    padding: 4rem 5%;
    background-image: none;
  }

  .hero-box {
    flex-direction: column;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }
}

/* =======================
   Tentang Kami - Responsive Improvements
======================= */
.tentang-kami {
  padding: 8rem 2rem;
  background-color: #ffffff;
  background-image: url('/Prev Img/Tentang\ kami\ BG.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tentang-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tentang-text {
  flex: 1;
  min-width: 300px;
}

.tentang-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #191919;
}

.tentang-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.tentang-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.tentang-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.visi-misi-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.box {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
}

.box h3 {
  font-size: 1.5rem;
  color: orangered;
  margin-bottom: 1rem;
}

.box p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tentang-kami {
    padding: 4rem 1rem;
  }

  .tentang-container {
    gap: 2rem;
  }

  .box {
    padding: 1.5rem;
  }
}

/* =======================
   Layanan Kami - Responsive Improvements
======================= */
.layanan {
  padding: 4rem 1rem;
  background-color: #f2f2f2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url('/Prev Img/Layanan BG.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.judul-layanan {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.layanan-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  margin-top: 2rem;
  max-width: 1200px;
}

.layanan-box {
  background-color: #ffe6c7;
  border-radius: 20px;
  padding: 5rem 1.5rem 2rem;
  width: 100%;
  max-width: 250px;
  min-height: 300px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.layanan-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid #ffe6c7;
  background-color: white;
}

.layanan-box h3 {
  margin-top: 1px;
  font-size: 1.1rem;
  text-align: center;
}

.layanan-box p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 768px) {
  .layanan {
    padding: 4rem 1rem;
  }

  .layanan-box {
    max-width: 100%;
    min-width: 200px;
  }
}

/* =======================
   Kontak Kami - Responsive Improvements
======================= */
.kontak-kami {
  padding: 4rem 1rem 1rem 1rem;
  background-color: #ffffff;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #222;
}

.kontak-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.kontak-form,
.kontak-info {
  flex: 1 1 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  max-width: 500px;
}

.kontak-form {
  background-color: #f9f9f9;
}

.kontak-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontak-form input,
.kontak-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.kontak-form button {
  background-color: orangered;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.kontak-form button:hover {
  background-color: #cc3300;
}

.kontak-info {
  background-color: #fff;
}

.kontak-info h3 {
  margin-bottom: 1rem;
  color: orangered;
}

.kontak-info p {
  margin-bottom: 0.8rem;
  color: #555;
  font-size: 1rem;
}

/* =======================
   Client Kami - Responsive Improvements
======================= */
.client {
  background-color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
}

.client-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #444;
}

.client-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.client-logo {
  flex: 0 1 150px;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s;
}

.client-logo img:hover {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .client-logo {
    flex: 0 1 120px;
    padding: 0.8rem;
  }
}

/* =======================
   Footer - Responsive Improvements
======================= */
.site-footer {
  background-color: #1a1a1a;
  color: white;
  padding: 3rem 1rem;
}

.footer-top {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-top h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-button {
  display: inline-block;
  background-color: white;
  color: black;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-button:hover {
  background-color: orangered;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 220px;
  padding: 0 1rem;
}

.footer-logo {
  width: 100%;
  max-width: 200px;
  margin-bottom: 1rem;
}

.brand-name {
  font-size: 1rem;
  color: #ccc;
}

.contact-footer h3,
.nav-footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-footer ul,
.nav-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-footer ul li,
.nav-footer ul li {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #ccc;
}

.nav-footer ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.nav-footer ul li a:hover {
  color: orangered;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* =======================
   WhatsApp Button
======================= */
.wa-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.wa-button:hover {
  transform: scale(1.1);
}

.wa-button img {
  width: 40px;
  height: 40px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav-links {
    display: none;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }
}
