/* 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: white;
}

nav.text-black {
  color: #000;
}

nav.text-black:hover {
  color: white;
}

nav.border-black {
  border-color: #000;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  color: black;
  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 .language-switch-black button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: transparent;
  color: black;
  border: 1px solid black;
  cursor: pointer;
}

nav .toggle-icon {
  color: #000;
}

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: black;
  text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #d9d9d9;
  border-radius: 4px;
}

.breadcrumb a {
  text-decoration: none;
  color: #fd9822; /* Ubah warna sesuai kebutuhan */
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span.separator {
  margin: 0 0.5em; /* Menambahkan spasi di kiri dan kanan tanda > */
  font-weight: bold; /* Ubah sesuai kebutuhan */
}

.breadcrumb #job-title {
  font-weight: bold; /* Ubah sesuai kebutuhan */
  color: #545454;
}

/* Job Detail */
#job-detail h1 {
  margin-bottom: 20px;
}

#job-detail h2 {
  color: #000;
  margin-bottom: 10px;
}

#job-detail p {
  margin-bottom: 15px;
}

#job-detail .img-fluid {
  max-width: 424px;
  height: auto;
}

/* 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;
  padding: 20px;
}

footer .copyright {
  padding: 0 0 0 40px;
}

footer .privacyterms {
  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;
}

/* Responsive Adjustments */

/* Tablet (Medium devices) */
@media (max-width: 1024px) {
  .navbar-nav {
    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: #fd9822;
  }

  .hero-section .sub {
    margin: 10px 20px;
  }

  .content .content-title {
    font-size: 30px;
  }

  .content .content-sub {
    font-size: 18px;
  }

  .content-text {
    font-size: 18px;
  }
}

/* Mobile (Small devices) */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .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: navy;
  }

  .content .content-title {
    font-size: 24px;
  }

  .content .content-sub {
    font-size: 16px;
  }

  .content-text {
    font-size: 16px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }

  .testimonial p {
    font-size: 1rem;
  }
}

/* Mobile (Very small devices) */
@media (max-width: 480px) {
  nav .tombol-bahasa {
    width: 50%;
  }

  .hero-section {
    background-image: url("../images/background-hp.png");
  }

  .hero-section .hero-text {
    font-size: 18px;
    color: #fd9822;
  }

  .hero-section .sub {
    font-size: 16px;
    margin: 10px 10px;
  }

  .content .content-title {
    font-size: 20px;
  }

  .content .content-sub {
    font-size: 14px;
  }

  .content-text {
    font-size: 14px;
  }

  .carousel-indicators {
    top: 80%;
  }

  .testimonial-text {
    text-align: start;
    margin-left: 5%;
    max-height: 40%;
    width: 80%;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }

  .card-img-top {
    width: auto;
    height: auto;
    object-fit: scale-down;
    border-radius: 3%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .copyright {
    padding: 20px 0 0 0;
  }

  footer .privacyterms {
    padding: 0 0 20px 0;
  }
}
