/* Reset default margin, padding, and box-sizing */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: transparent;
}

nav.sticky {
  background-color: #000;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  /* text-decoration: none; */
  color: white;
  font-size: 20px;
  font-weight: 900;
  transition: color 0.3s ease;
}

nav ul li a.active {
  color: #fd9822;
}

nav .language-switch button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  cursor: pointer;
}

nav .tombol-bahasa {
  width: 20%;
}

nav .icon-bendera {
  width: 15%;
  height: 15%;
}

nav .logo img {
  width: 100px;
}

nav .nav-text {
  margin-top: 5px;
  font-size: larger;
}

nav .login-button {
  background-color: #fd9822;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-color: transparent;
  border-radius: 10px;
  display: inline-block;
}
nav .login-button:hover {
  background-color: #f94e15;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-color: transparent;
  border-radius: 10px;
  display: inline-block;
}

.btn-active {
  color: #fd9822 !important;
  text-decoration: underline;
  text-decoration-color: #fd9822;
  text-underline-offset: 6px;
}

.bg-black {
  background-color: #000 !important;
}

.register-modal {
  max-width: 900px;
}

.modal-header {
  border-bottom: 0px;
}

.modal-title {
  position: relative;
  font-size: 30px;
  font-weight: 550;
  top: -45px; /* Adjust this value as needed */
}

.show-mobile {
  display: none !important;
}

/* Hero Section */
.hero-section {
  background-image: url("../images/background-desktop-dark.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 713px;
  padding: 100px 20px;
  color: white;
}

.hero-section .language-switch button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  cursor: pointer;
}

.hero-section .hero-title {
  margin-top: 85px;
  font-size: 36px;
  font-weight: bold;
}

.hero-section .hero-text {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

.hero-section .sub {
  font-size: 24px;
  margin: 10px auto;
  max-width: 512px;
  color: #fff;
}

.hero-section .cta-button {
  background-color: #fd9822;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 55px;
  display: inline-block;
}

/* Services Section */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
  position: relative;
  top: -130px; /* Adjust this value as needed */
  padding: 20px;
  margin-bottom: 146px;
}

.service-item {
  display: flex;
  gap: 30px;
  font-size: larger;
  justify-content: center;
  text-align: center;
  width: 30%;
  height: 410px;
  margin: 10px;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-direction: column;
}

.service-item .service-title {
  font-weight: bold;
}

.service-item .service-text {
  font-size: large;
  max-height: 80px;
}

.warna-tombol {
  background-color: #fd9822;
  color: white;
}

.warna-tombol:hover {
  background-color: #f94e15;
  color: white;
}

/* jarak saat click link di navbar */
.domain {
  margin-bottom: 165px !important;
}

/* About Section */
.about {
  padding: 20px;
  text-align: center;
  margin-bottom: 142px;
}

.about .about-header {
  margin-bottom: 60px;
}

.about .about-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 5px;
}

.about .about-sub {
  font-size: 20px;
  margin-bottom: 20px;
}

.about-text {
  display: inline-block;
  max-width: 1400px;
  padding: 0 20px;
  text-align: start;
  font-size: 25px;
}

/* Service Details Section */
.service-details {
  padding: 20px;
  text-align: center;
  margin-bottom: 330px;
}

.service-details .service-list {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 100px;
}

.service-details .service-list .service-detail-item {
  text-align: center;
  flex: 1;
  max-width: 350px;
}

/* Contact Section */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  background-color: #fd9822;
  height: 100vh;
}

.contact .contact-header {
  font-size: 30px;
  margin-bottom: 40px;
}

.contact h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact .contact-text {
  font-size: 20px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 950px;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
}
.contact .col {
  flex: 1;
  padding: 10px;
}
.contact .col input,
.contact .col textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.contact form input {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact form textarea {
  width: 100%;
  max-width: 400px;
  height: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Icon Styles */
.icon {
  width: 180px;
  margin-bottom: 20px;
}

.icon-options {
  width: 45px;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

/* Options Section */
.options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 50px 20px;
}

.options-header {
  color: #000;
}

.options-text {
  color: #000;
}

.options-link {
  text-decoration: none;
  color: inherit;
}

.callcenter,
.whatsapp {
  text-align: center;
  width: 300px;
  height: 200px;
  margin: 10px;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.whatsapp {
  border-style: solid;
  border-width: 2px;
  border-color: #25d366;
  transition: background-color 0.3s, border-color 0.3s;
}

.whatsapp:hover {
  border-color: #000; /* Ubah border menjadi hitam saat hover */
  background-color: #25d366; /* Ubah background menjadi hijau saat hover */
}

.callcenter {
  border-style: solid;
  border-width: 2px;
  border-color: #a3a3a3;
  transition: background-color 0.3s, border-color 0.3s;
}

.callcenter:hover {
  border-color: #000; /* Ubah border menjadi hitam saat hover */
  background-color: #a3a3a3; /* Ubah background menjadi hijau saat hover */
}

/* Footer */
footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: white;
  text-align: center;
  flex-wrap: wrap;
}

footer .copyright {
  /* text-align: start; */
  padding: 0 0 0 40px;
}

footer .privacyterms {
  /* text-align: end; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 40px 0 0;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #fd9822;
  text-decoration: none;
}

/* Tablet (Medium devices) */
@media (max-width: 1024px) {
  /* CSS untuk tablet */
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-bottom: 10px;
    list-style: none;
  }

  .hero-section {
    background-image: url("../images/background-laptop.png");
  }

  .hero-section .hero-title {
    font-size: 35px;
  }

  .hero-section .hero-text {
    font-size: 25px;
    color: #ff6600;
  }

  .hero-section .sub {
    color: #ff6600;
    margin: 10px 20px;
  }

  .services {
    flex-direction: row;
  }

  .service-item {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .service-item h3 {
    font-size: x-large;
    font-weight: bold;
  }

  .service-item .service-text {
    font-size: small;
  }

  .about .about-title {
    font-size: 30px;
  }

  .about .about-sub {
    font-size: 18px;
  }

  .about-text {
    font-size: 18px;
  }

  .contact .contact-header {
    font-size: 24px;
  }

  .contact .contact-text {
    font-size: 18px;
  }

  .contact-options {
    flex-direction: column;
    align-items: center;
  }

  .service-details .service-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

/* Mobile (Small devices) */
@media (max-width: 768px) {
  /* CSS untuk smartphone yang lebih besar */
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-bottom: 10px;
    list-style: none;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .show-large {
    display: block;
  }

  .show-mobile {
    display: none !important;
  }

  .hero-section {
    background-image: url("../images/background-tabled.png");
    padding: 50px 20px;
  }

  .hero-section .hero-title {
    font-size: 28px;
  }

  .hero-section .hero-text {
    font-size: 20px;
    color: #ff6600;
  }

  .hero-section .sub {
    color: #ff6600;
    margin: 10px 20px;
  }

  .services {
    flex-direction: row;
  }

  .service-item {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .about .about-title {
    font-size: 24px;
  }

  .about .about-sub {
    font-size: 16px;
  }

  .about-text {
    font-size: 16px;
  }

  .contact .contact-header {
    font-size: 24px;
  }

  .contact .contact-text {
    font-size: 16px;
    max-width: 100%;
  }

  .contact form input,
  .contact form textarea {
    max-width: 100%;
  }
  .contact .message {
    height: 100%;
  }

  .service-details,
  .options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sub {
    margin: 0 20px;
  }
}

/* Mobile ( Very small devices) */
@media (max-width: 480px) {
  /* CSS untuk layar kecil seperti iPhone SE */

  nav .tombol-bahasa {
    width: 50%;
  }

  .show-lang-nav {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  .language-switch-mobile {
    /* margin-top: 13rem; */
    margin-bottom: 4rem;
  }

  .icon-bendera-mobile {
    width: 1rem !important;
  }

  .hero-section {
    background-image: url("../images/background-hp-dark.png");
  }

  .hero-section .hero-title {
    font-size: 22px;
  }

  .hero-section .hero-text {
    font-size: 18px;
    color: #ff6600;
  }

  .hero-section .sub {
    font-size: 16px;
    margin: 10px 10px;
    color: #fff;
  }

  /* .hero-section .sub {
    font-size: 24px;
    margin: 10px auto;
    max-width: 800px;
  } */

  .services {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }

  .service-item {
    margin: 20px 0 0 0;
    width: 100%;
    max-width: 320px;
  }

  .about .about-title {
    font-size: 20px;
  }

  .about .about-sub {
    font-size: 14px;
  }

  .about-text {
    font-size: 14px;
  }

  .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 40% 20px !important;
    margin-bottom: 10%;
    text-align: center;
    background-color: #fd9822;
    height: 100vh;
  }

  .contact .contact-header {
    font-size: 20px;
  }

  .contact .contact-text {
    font-size: 14px;
  }

  .contact .row {
    flex-direction: column;
  }
  .contact .col {
    width: 100%;
    padding: 0;
  }

  .contact .col input,
  .contact .col textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .contact-options {
    flex-direction: column;
    align-items: center;
  }

  .callcenter,
  .whatsapp {
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .icon {
    width: 120px;
  }

  .icon-options {
    width: 30px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .copyright {
    padding: 20px 0 0 0;
  }

  footer .privacyterms {
    padding: 0 0 20px 0;
  }
}
