body {
    font-family: "Outfit", sans-serif;
    background-color: #ffff; 
    overflow-x: hidden;  
}

.navbar {
  height: 64px;
  z-index: 9999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
}




.abstrak-img {
  z-index: 1;
}

.img-hero {
  z-index: 1;
}

.logo {
  height: 40px;          /* ukuran dasar */
  width: auto;
  transform: scale(1); /* ini yang bikin kelihatan besar */
  transform-origin: left center;
}

.menu-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-center .navbar-nav {
  font-weight: 500;  
  flex-direction: row;
  gap: 2rem;
}

.nav-link {
    font-size: 20px;
}

.nav-link.active {
    font-weight: 700;
    color: #040C97 !important;
}

/* menu mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;

  height: auto;          /* ⬅️ ini penting */
  max-height: 100vh;     /* biar tidak lebih dari layar */

  background: #fff;
  z-index: 9999;
  transition: 0.4s ease;
  padding: 20px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);

  backdrop-filter: blur(10px);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;

  overflow-y: auto;      /* ⬅️ kalau kepanjangan bisa scroll */

  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  right: 0;   /* muncul */
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  height: 40px;
}

.close-menu {
  font-size: 30px;
  cursor: pointer;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.mobile-nav li {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  text-decoration: none;
  color: #000;
}

/* submenu umum */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.has-submenu.active > .submenu {
  max-height: 1000px;
}

/* toggle */
.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

/* arrow animasi */
.arrow {
  transition: 0.3s;
}

.has-submenu.active > .submenu-toggle .arrow {
  transform: rotate(45deg);
}

/* LEVEL 2 (biar agak masuk ke dalam) */
.has-submenu.inner .submenu-toggle {
  padding-left: 25px;
  font-size: 15px;
}

.has-submenu.inner .submenu li {
  padding-left: 35px;
}

#hero {
  position: relative;
  height: 600px; /* full tinggi layar */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;       /* mulai dari atas */
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay biar pudar + ngeblend */
.hero-overlay {
  position: absolute;
  top: 0;   /* samakan */
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, rgba(77,86,255,0.7), rgba(4,12,151,0.7));
  z-index: 2;
}

/* Konten harus di atas */
.hero-container {
  position: relative;
  z-index: 3;
  padding-left: 5%;
  padding-right: 5%;
}



.hero-tagline {
  margin-left: 110px; /* sesuaikan: -20px, -30px, dll */
}

.hero-tagline h2 {
  color: #fff;
  font-weight: 600;
  font-size: 48px;
  line-height: 50px;
  margin-top: 50px;
}

.hero-tagline h2::after {
  content: "";
  display: block;
  width: 686px;
  height: 5px;
  background: #ff3b3b;
  margin-top: 8px;
}

.hero-tagline h1 {
  color: #fff;
  font-weight: 700;
  font-size: 85px;
  margin-bottom: 50px;
}

/* buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons .btn {
  width: 327px;
  height: 68px;
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  transition: 0.3s ease;
  padding: 0;
}

/* ICON */
.btn-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* WHATSAPP */
.btn-wa {
  background-color: #8fd98a;
  color: #fff;
  border: none;
}

.btn-wa:hover {
  background-color: #83c97e;
  color: #fff;
}

/* KATALOG */
.btn-katalog {
  background-color: #d9534f;
  color: white;
  border: none;
}

.btn-katalog:hover {
  background-color: #c9302c;
  color: #fff;
}

/* partner */
#partner {
  background: #f8f9fa;
  padding: 30px 0;
}

.partner-title {
    font-size: 20px;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 5px;
}

.partner-logos img {
  max-height: 25px;
  opacity: 1;
  transition: 0.3s;
}


/* Hover effect biar hidup */
.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Jarak antar logo */
.partner-logos {
  gap: 60px;
}

.partner-wrapper {
  gap: 20px;
}


#partner {
  border-bottom: 1px solid #ddd;
}

/* about section */
#about {
  background: linear-gradient(360deg, #4D56FF, #040C97);
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* atur transparansi di sini */
  z-index: 1;
}

/* IMAGE WRAPPER */
.about-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  flex-wrap: wrap; /* penting untuk mobile */
}

/* IMAGE */
.about-image,
.about-image2 {
  width: 100%;
  max-width: 180px;
  height: 180px;

  object-fit: cover;
  border-radius: 20px;

  transition: 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {

  .about-image-wrapper {
    gap: 12px;
    margin-top: 30px;
  }

  .about-image,
  .about-image2 {
    max-width: 110px;
    height: 110px;
    border-radius: 14px;
  }

}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* tulisan "Siapa Kami?" */
.about-label {
  color: white  ;              /* warna merah */
  font-size: 18px;         /* ukuran font */
  font-weight: 600;
  display: block;
  margin-bottom: 10px;     /* jarak ke bawah */
}

/* judul */
.about-title {
  color: white;            /* warna putih */
  font-size: 36px;         /* ukuran besar */
  font-weight: bold;
  margin-bottom: 15px;
}

.about-text {
  color: white;        /* bebas ganti warna */
  font-size: 16px;
  line-height: 1.7;
} 



/* SERVICE SECTION */
#service {
  position: relative;
  overflow: hidden; /* penting supaya tidak keluar area */
  padding: 30px 0;
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* atur transparansi di sini */
  z-index: 1;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* putih transparan */
  z-index: 2;
}

/* BARU: Mengatur jarak pinggir agar full width tapi rapi */
.service-container {
  position: relative;
  z-index: 3;
  padding-left: 5%;  /* Mengatur jarak dari sisi kiri layar */
  padding-right: 5%; /* Mengatur jarak dari sisi kanan layar */
}

/* Title */
.service-title {
  font-size: 48px;
  font-weight: 700; /* Dibuat lebih tebal sesuai referensi */
  color: #1d2bbf;
  margin-bottom: 0px; /* Jarak bawah dikurangi agar garis lebih dekat */
  line-height: 1;
}

.service-line {
  width: 50%;
  height: 6px;      /* Sedikit lebih tebal */
  background: #ff3b3b;
  margin: 10px auto; 
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.5);
}

/* Card */
.why-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;          /* jarak antar card */
  flex-wrap: wrap;    /* supaya turun ke bawah saat layar kecil */
  margin-top: 30px;
}

.why-card {
  background: linear-gradient(180deg, #4D56FF, #040C97);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 30px;
  text-align: center;
  width: 405px;
  height: 300px;
  transition: 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}

.why-card:hover {
  transform: translateY(-8px);
}

/* Icon */
.vm-icon img {
  width: 50px;
  height: auto;
  margin-bottom: 40px;
  margin-top: -30px;
}

/* Text */
.why-card h4 {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-top: -30px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  text-align: justify;
}

.portfolio-section {
  background: linear-gradient(90deg, #4D56FF, #040C97);
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.portfolio-img:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.btn-nav:hover {
  background: rgba(255,255,255,0.2);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* footer */
#footer {
  background: #020771;
  padding: 60px 0;
  color: #ffffff;
}

/* Logo */
.footer-logo {
  max-width: 150px;
}

/* Nama Perusahaan */
.footer-company {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 5px;
}

/* Tagline */
.footer-tagline {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Judul Kolom */
.footer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Google Maps */
.footer-maps iframe {
  border-radius: 10px;
  width: 100%;
  height: 200px;
}

/* Biar teks tidak terlalu mepet */
.footer-contact-item p,
.footer-email-item p {
  margin: 0;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .footer-maps {
    margin-top: 20px;
  }
}

/* Contact */
.footer-contact p {
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-icon {
  width: 40px;
}

.footer-email-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-email {
  width: 40px;
  align-items: center;
}

/* Instagram */
.footer-instagram-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-instagram-item p {
  margin: 0;
  margin-left: 6px;
}

.footer-instagram {
  margin-left: 6px;
  width: 27px;
  align-items: center;
}

/* copyright */
.sub-footer {
  background: #fff;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 300;
  color: #333;
}

.sub-footer p {
  margin: 0;
}

/* Hilangkan background aneh & border */
.dropdown-menu {
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Item dropdown */
.dropdown-item {
  font-size: 16px;
  transition: all 0.2s ease;
}

/* Hover effect biar modern */
.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #000;
}



/* Hover nav */
.nav-link:hover {
  color: #040C97 !important; /* biru bootstrap */
}

/* posisi submenu ke kanan */
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}

/* hover biar muncul */
.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

/* panah kecil ke kanan */
.dropdown-submenu > .dropdown-toggle::after {
  float: right;
  margin-top: 8px;
}

#modalImage {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
}

.modal-body {
  padding: 10px;
}

/* ========================= */
/* MOBILE RESPONSIVE FIX */
/* ========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .menu-center {
    position: static;
    transform: none;
    width: 100%;
  }

  .menu-center .navbar-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* HERO */
  #hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-tagline {
    margin-left: 0;
    text-align: center;
  }

  .hero-tagline h2 {
    font-size: 28px;
  }

  .hero-tagline h2::after {
    width: 100%;
  }

  .hero-tagline h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  /* BUTTON HERO */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    height: 55px;
    font-size: 16px;
  }

  .btn-icon {
    width: 24px;
    height: 24px;
  }

  /* PARTNER */
  .partner-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .partner-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .partner-logos img {
    max-height: 20px;
  }

  /* ABOUT */
  .about-title {
    font-size: 26px;
  }

  .about-text {
    font-size: 14px;
  }

  .col-md-6.position-relative {
  position: relative;
}

.badge-box {
  position: absolute;
  top: 15px;
  right: 15px;
}

@media (max-width: 768px) {
  .badge-box {
    transform: scale(0.9);
  }
}

  /* SERVICE */
  .service-title {
    font-size: 30px;
  }

  .service-line {
    width: 70%;
  }

  .why-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .why-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 30px 20px;
  }

  .why-card p {
    text-align: center;
  }

  /* PORTFOLIO */
  .portfolio-img {
    height: 180px;
  }

  /* FOOTER */
  .footer-company,
  .footer-title {
    font-size: 18px;
  }

  .footer-tagline {
    font-size: 16px;
  }

  .footer-icon,
  .footer-email {
    width: 30px;
  }

  .footer-instagram {
    width: 20px;
  }

  .dropdown-submenu .dropdown-menu {
    display: none;
  }

  .dropdown-submenu.show .dropdown-menu {
    display: block;
  }
}

@media (min-width: 992px) {
  #navbarNav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* sembunyikan collapse */
@media (max-width: 991px) {
  #navbarNav {
    display: none !important;
  }
}

