/* 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 {
  /* text-decoration: none; */
  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;
  padding: 5px 10px;
  text-decoration: none;
  border-color: transparent;
  border-radius: 10px;
  display: inline-block;
}

nav .link-hitam {
  color: black;
}

.btn-active {
  color: #fd9822 !important;
  text-decoration: underline;
  text-decoration-color: #fd9822;
  text-underline-offset: 6px;
}

.bg-white {
  background-color: white !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: 100vh;
  padding: 100px 20px;
  color: white;
}

.hero-section .hero-title {
  margin-top: 85px;
  font-size: 36px;
  font-weight: bold;
}

.hero-section .hero-text {
  font-size: 32px;
  font-weight: bold;
  color: #fd9822;
}

.hero-section .sub {
  font-size: 24px;
  margin: 10px auto;
  max-width: 512px;
}

.hero-section .cta-button {
  background-color: #fd9822;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 55px;
  display: inline-block;
}

.warna-tombol {
  background-color: #fd9822;
  color: white;
}

.warna-tombol:hover {
  background-color: #f94e15;
  color: white;
}

/* jarak saat click link di navbar */
.domain {
  margin-bottom: 100px !important;
}

/* content Section */
.content {
  padding: 20px;
  text-align: center;
  margin-bottom: 142px;
}

.content .content-header {
  margin-bottom: 60px;
}

.content .content-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Carousel Section */

.carousel {
  margin-top: 20px;
  margin-bottom: 50px;
}

.carousel-item {
  text-align: center;
  padding: 20px;
}

.carousel-indicators {
  top: 100%;
}

.testimonial {
  display: flex;
  justify-content: center; /* Untuk membuat elemen di tengah */
  align-items: center; /* Menjaga elemen sejajar secara vertikal */
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.testimonial-img-container {
  flex-shrink: 0;
  margin-right: 20px; /* Memberikan jarak antara gambar dan teks */
}

.testimonial-img {
  border-radius: 10%;
  width: 40%; /* Lebar gambar tetap */
  height: 40%; /* Tinggi gambar tetap */
  object-fit: cover;
}

.testimonial-text {
  text-align: start;
  max-width: 70%; /* Batas lebar teks */
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.5;
}

.carousel-indicators .active {
  background-color: #fd9822;
  opacity: 1;
}

/* list lowongan */
.card-img-top {
  width: auto;
  height: auto;
  object-fit: scale-down;
  border-radius: 3%;
}

.card-link {
  text-decoration: none; /* Menghilangkan underline */
  color: inherit; /* Menjaga warna teks tetap seperti default */
}

.card-link .card-date,
.card-link .card-title {
  color: black; /* Ubah warna teks menjadi hitam */
}

.container {
  width: 80%;
  margin: auto;
}

.breadcrumb {
  margin: 20px 0;
  background-color: #d9d9d9;
}

.breadcrumb a {
  text-decoration: none;
  color: #fd9822;
}

.breadcrumb span {
  color: #000;
}

#job-detail {
  margin-top: 20px;
}

#job-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.kartu {
  height: 100%;
}

/* 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;
  }

  .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-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) {
  /* CSS untuk smartphone yang lebih besar */
  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) {
  /* 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-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;
  }
}
