* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  /* color: #171513; */
  font-weight: 500;
  font-size: 18px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* navbar */
#navbar .navbar {
  background-color: #133e87 !important;
  /* Warna biru tua */
}

#navbar .navbar-brand img {
  width: 80px;
  height: 80px;
}

#navbar .nav-item {
  margin: 0 5px;
  position: relative;
}

#navbar .nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 18px;
  padding: 8px 8px !important;
  transition: all 0.3s ease;
  position: relative;
}

/* Efek hover untuk nav item */
#navbar .nav-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Garis bawah animasi saat hover */
#navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  transition: width 0.3s ease;
}

#navbar .nav-link:hover::after {
  width: 100%;
}

/* Untuk item yang aktif - garis tetap terlihat */
#navbar .active-nav::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
}

@media (min-width: 992px) {
  #navbar .nav-link::after {
    bottom: -30px;
  }
}

.checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.navbar-toggler {
  position: absolute;
  top: 35px;
  right: 10px;
  z-index: 3;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 26px;
  width: 32px;
  cursor: pointer;
}

.hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #ffff;
  transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out;
}

.hamburger-lines .line1 {
  transform-origin: 0% 0%;
}

.hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.hamburger-lines .line3 {
  transform-origin: 0% 100%;
}

/* Saat tombol ditekan (Navbar terbuka) */
.navbar-toggler[aria-expanded="true"] .line1 {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .line2 {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .line3 {
  transform: rotate(-45deg);
}

/* tutup navbar */

/* Hero Section */
#hero {
  margin-top: 50px;
  background-color: #eef5ff;
}



#hero .hero-section {
  padding: 100px 0;
  position: relative;
}

#hero .company-tag {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 50px;
  background-color: #eef5ff;
  color: #545454;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #a3a3a3;
}

#hero .hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #171513;
  margin-bottom: 20px;
  line-height: 1.2;
}

#hero .hero-description {
  color: #171513;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 100%;
  font-weight: 500;
  font-size: 18px;
}

#hero .btn-primary {
  background-color: #133e87;
  border-color: #133e87;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 15px;
}

#hero .btn-primary .image-arrow {
  height: 25px;
  width: 25px;
}

#hero .btn-primary:hover {
  background-color: #0f2a5c;
  border-color: #0f2a5c;
}

#hero .btn-outline {
  background-color: transparent;
  border: 1px solid #a3a3a3;
  color: #171513;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 15px;
}

#hero .btn-outline:hover {
  background-color: #f5f5f5;
}

#hero .hero-image-container {
  position: relative;
}

#hero .hero-image-container .hero-image {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

#hero .carousel-wrapper {
  width: 100%;
  max-width: 800px;
  height: 400px;
  overflow: hidden;
  position: relative;
}

#hero .carousel {
   display: flex;
  flex-direction: row;
  transition: transform 0.5s ease;
  height: 100%;
   position: relative;
  z-index: 2;
}

#hero .carousel img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}


#hero .image-dot {
  position: absolute;
  right: -15px;
  top: 96%;
  transform: translateY(-50%);
  z-index: 0;
}
/* Media query for medium screens and up (Bootstrap's 'md') */
@media (min-width: 768px) {
  #hero {
    margin-top: 120px;
  }
}
@media (min-width: 992px) {
  #hero .hero-description {
    max-width: 500px;
  }
}
/* tutup hero */

/* our projects */
#project .project-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#project .section-title {
  text-align: center;
  margin-bottom: 30px;
  color: #171513;
  font-weight: 400;
}

#project .section-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #171513;
  margin-bottom: 50px;
}

#project .project-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

#project .check-icon {
  min-width: 30px;
  height: 30px;
  background-color: #133e87;
  border-radius: 50%;
  margin-right: 15px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#project .project-description {
  font-size: 18px;
  color: #171513;
}

#project .image-dot {
  position: absolute;
  left: 30px;
  top: 85%;
  transform: translateY(-50%);
  opacity: 0.1;
}

.ff-lato {
  font-family: "Istok Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 768px) {
  #project .image-dot {
    position: absolute;
    left: 30px;
    top: 85%;
    transform: translateY(-50%);
    opacity: 1;
  }
}

/* tutup projects */

/* services */
#services {
  background-color: #eef5ff;
  padding: 100px 0;
  color: #171513;
  position: relative;
}

#services .bg-cover {
  position: relative;
}

#services .img-rectangle {
  position: absolute;
  left: 0;
  top: 20%;
  transform: translateY(-80%);
  z-index: -1;
}

@media (min-width: 992px) {
  #services {
    background-color: #eef5ff;
  }

  #services .img-rectangle {
    position: absolute;
    left: 0;
    top: 20%;
    transform: translateY(-80%);
    z-index: 0;
  }
}

#services .logo-container {
  height: 500px;
  position: relative;
  /* Add this to establish stacking context */
  z-index: 2;
}

#services .logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

#services .header-container {
  position: relative;
}

#services .services-heading {
  font-size: 36px;
  font-weight: 700;
  color: #171513;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

#services .header-container .image-rectangle {
  position: absolute;
  right: -15px;
  top: 30%;
  transform: translateY(-50%);
  z-index: -1;
  width: 230px;
}

@media (min-width: 768px) {
  #services .header-container .image-rectangle {
    position: absolute;
    right: -15px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 0;
  }
}

#services h5 {
  font-weight: 600;
  /* font-size: 22px; */
  margin-bottom: 5px;
}

/* tutup services */

/* about */
/* Improved styles for responsive design */
#about {
  padding: 100px 0;
  background-image: url(../assets/img/pattern-about.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

/* Add these additional responsive styles */
@media (max-width: 767px) {
  /* #about {
        padding: 50px 0;
    } */

  #about .row {
    margin-bottom: 40px;
  }

  #about img {
    margin: 20px auto;
    /* max-width: 80% !important;  */
  }

  #about .section-heading {
    /* font-size: 24px; */
    text-align: center;
  }

  #about .hero-description {
    text-align: center;
  }
}

/* Image container for better responsive handling */
#about .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (min-width: 768px) {
  #about .image-container.text-md-end {
    justify-content: flex-end;
  }

  #about .image-container.text-md-start {
    justify-content: flex-start;
  }
}

#about h1 {
  font-size: 36px;
  font-weight: 700;
  color: #171513;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* tutup about */

/* our clients */
#clients-partner {
  padding: 100px 0 0;
  background-color: #eef5ff;
  color: #171513;
}

#clients-partner .clients img {
  max-width: 216px;
  max-height: 112px;
  margin: 5px 10px;
}

#clients-partner .partner {
  margin-top: 100px;
}

#clients-partner .partner img {
  max-height: 45px;
  margin: 5px 10px;
}

/* tutup our clients */

/* legality */
#legality {
  padding: 50px 0 100px;
  background-color: #eef5ff;
  color: #171513;
}

#legality h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  line-height: 1.2;
}

#legality .certificate-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#legality .certificate-image {
  width: 100%;
}

/* tutup legality */

/* footer */
#contact {
  background-color: #133e87;
  color: white;
  padding: 100px 0;
}

#contact .logo-container {
  width: 190px;
  height: 190px;
}

#contact .logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#contact .footer-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

#contact .nav-link {
  color: white;
  margin-bottom: 0;
}

#contact .nav-link .bi {
  margin-right: 10px;
}

#contact .email-container {
  margin-bottom: 20px;
}

#contact a {
  font-size: 14px !important;
}

@media (min-width: 768px) {
  #contact a {
    font-size: 18px !important;
  }
}

#contact .email-container img {
  width: 37px;
  height: 37px;
}

#contact .rotate {
  transform: rotate(45deg);
}

#contact .nav-footer a .bi-airplane-fill {
  animation-name: airplane-reverse;
  animation-duration: 0.25s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

#contact .nav-footer a:hover .bi-airplane-fill {
  animation-name: airplane;
}

.rotate-vertical {
  transform: rotate(90deg);
}

@keyframes airplane {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(90deg);
  }
}

@keyframes airplane-reverse {
  from {
    transform: rotate(90deg);
  }

  to {
    transform: rotate(45deg);
  }
}

/* tutup footer */
