* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #fff;
  color: #333;
}


/* ===== HEADER ===== */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Wrapper utama */
.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 80px;
  padding: 0 40px;
}

/* KIRI */
.header-left {
  display: flex;
  align-items: center;
}

/* Logo */
.logo img {
  height: 60px;
}

/* MENU TENGAH */
.nav {
  display: flex;
  justify-content: center;
}

.nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  position: relative;
}

/* Hover underline */
.nav a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #f5c400;
  position: absolute;
  bottom: -6px;
  left: 0;
  transition: .3s;
}

.nav a:hover::after {
  width: 100%;
}

/* KANAN */
.header-right {
  display: flex;
  align-items: center;
}

/* SEARCH BOX */
/* SEARCH BOX */
.search-box {
  display: flex;
  border: 1px solid #000; /* hitam */
  border-radius: 2px;     /* radius kecil */
  overflow: hidden;
  background: #fff;      /* putih */
}

/* Input */
.search-box input {
  border: none;
  padding: 8px 12px;
  outline: none;
  font-size: 0.9rem;
  width: 160px;
  color: #000;
}

/* Placeholder hitam soft */
.search-box input::placeholder {
  color: #666;
}

/* Button */
.search-box button {
  border: none;
  background: #fff;     /* putih */
  color: #000;          /* hitam */
  padding: 0 12px;
  cursor: pointer;
  border-left: 1px solid #000;
  transition: background .3s;
}

/* Hover */
.search-box button:hover {
  background: #f2f2f2;
}

.gallery-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  background: rgba(0, 56, 140, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-overlay p {
  max-width: 700px;
  font-size: 1.1rem;
}


/* ===== INFORMASI PERUSAHAAN ===== */
.company-info {
  padding: 80px 20px;
  background: #ffffff;
}

.company-info-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEKS */
.company-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #00388c;
}

.company-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

/* GAMBAR */
.company-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}



/* ===== LAYANAN KAMI ===== */
.services {
  padding: 90px 20px;
  background: rgba(245, 196, 0, 0.15); /* kuning pudar soft */
  overflow: hidden;
  position: relative;
}



.services-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
  color: #00388c;
}

/* SLIDER */
.services-slider {
  width: 100%;
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slideServices 25s linear infinite;
}

/* CARD */
.service-card {
  width: 220px;
  height: 180px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.service-card span {
  font-size: 3rem;
  margin-bottom: 15px;
}

.service-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

/* HOVER */
.services-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollLoop 30s linear infinite;
}

/* ANIMASI LOOP TANPA PUTUS */
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.services-slider:hover .services-track {
  animation-play-state: paused;
}


/* ===== WHY CHOOSE US ===== */
.why-us {
  background: #fff; /* kuning pudar */
  padding: 90px 20px;
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

.why-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEKS */
.why-text h2 {
  font-size: 2.4rem;
  color: #00388c;
  margin-bottom: 18px;
}

.why-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.why-points {
  display: grid;
  gap: 18px;
}

.why-item h4 {
  font-size: 1.05rem;
  color: #00388c;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* GAMBAR */
.why-image img {
  width: 100%;
  max-width: 460px;
  display: block;
  margin-left: auto;
}

/* ===== ABOUT COMPANY ===== */
.about-company {
  padding: 90px 20px;
  background: #ffffff;
}

.about-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

/* LOGO */
.about-logo img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: auto;
}

/* TEKS */
.about-text h2 {
  font-size: 2.6rem;
  color: #00388c;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  max-width: 600px;
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .why-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-image img {
    margin: 30px auto 0;
  }
}

@media (max-width: 480px) {
  .why-text h2 {
    font-size: 1.8rem;
  }
}





/* ===== FOOTER ===== */
.footer {
  background: #00388c;
  color: #fff;
  margin-top: 50px;
}

/* Grid utama */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 20px;
  align-items: start;
}

/* ===== FOOTER LEFT ===== */
.footer-left img {
  height: 50px;
  margin-bottom: 12px;
}

.footer-left h3 {
  margin-bottom: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-left p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-weight: 400;
}

/* ===== FOOTER LOGO TRANSPARENT ===== */
.footer-left img {
  max-width: 140px;
  opacity: 0.85;
  filter: brightness(1.1);
  margin-bottom: 10px;
}

/* ===== FOOTER CONTACT ICON ===== */
.footer-contact {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #ddd;
  text-decoration: none;
  transition: all .3s ease;
}

.footer-icon:hover {
  color: #f5c400;
  transform: translateX(5px);
}


/* ===== FOOTER LOGO CIRCLE ===== */
.footer-logo-circle {
  width: 110px;
  height: 110px;
  background: #fff; /* putih transparan */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-logo-circle img {
  width: 70%;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}


/* ===== FOOTER CENTER ===== */
.footer-center {
  justify-self: center;     /* benar-benar ke tengah kolom */
  padding-left: 30px;       /* jarak dari footer kiri */
}

.footer-center h4 {
  margin-bottom: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-center ul {
  list-style: none;
  margin-top: 10px;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 12px;
}

.footer-center ul li a {
  text-decoration: none;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color .3s;
}

.footer-center ul li a:hover {
  color: #f5c400;
}

/* ===== FOOTER RIGHT ===== */
.footer-right h4 {
  margin-bottom: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-right p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-weight: 400;
}

.footer-right p br {
  content: "";
  display: block;
  margin-bottom: 6px;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  text-align: center;
  background: #002c6a;
  padding: 15px;
  font-size: 0.9rem;
}


/* ===== HAMBURGER ICON ===== */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  justify-self: end; /* PENTING: pojok kanan */
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* ANIMASI JADI X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  z-index: 9999;
}

.mobile-menu a {
  padding: 16px 22px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:active {
  background: #f5c400;
  color: #000;
}

/* ===== ACTIVE STATE ===== */
.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


/* ===== VISI PERUSAHAAN ===== */
.vision {
  background: #00388c;
  padding: 90px 20px;
}

.vision-wrap {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.vision-wrap h2 {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 22px;
}

.vision-wrap p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: auto;
}

/* ===== MISI PERUSAHAAN ===== */
.mission {
  background: #ffffff;
  padding: 90px 20px;
}

.mission-wrap {
  max-width: 1000px;
  margin: auto;
}

.mission-wrap h2 {
  text-align: center;
  font-size: 2.6rem;
  color: #00388c;
  margin-bottom: 50px;
}

/* LIST MISI */
.mission-list {
  display: grid;
  gap: 28px;
}

/* ITEM */
.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.mission-item span {
  min-width: 46px;
  height: 46px;
  background: #f5c400;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-item p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

/* ===== GALERI ===== */
.gallery {
  padding: 90px 20px;
  background: #f7f9fc;
  overflow: hidden;
}

.gallery-wrap {
  max-width: 1200px;
  margin: auto;
}

.gallery-wrap h2 {
  text-align: center;
  font-size: 2.6rem;
  color: #00388c;
  margin-bottom: 50px;
}

/* SLIDER */
.gallery-slider {
  overflow: hidden;
  width: 100%;
}

/* TRACK */
.gallery-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: galleryScroll 28s linear infinite;
}

/* CARD */
.gallery-card {
  width: 260px;
  height: 180px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  overflow: hidden;
  flex-shrink: 0;
}

/* PLACEHOLDER GAMBAR */
.gallery-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #e4e8f0,
    #f1f3f8
  );
}

/* ANIMASI LOOP */
@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* PAUSE SAAT HOVER */
.gallery-slider:hover .gallery-track {
  animation-play-state: paused;
}

/* ===== PRODUK & LAYANAN ===== */
.product-services {
  padding: 90px 20px;
  background: #ffffff;
}

.ps-intro {
  max-width: 900px;
  margin: auto;
  text-align: center;
  margin-bottom: 60px;
}

.ps-intro h2 {
  font-size: 2.6rem;
  color: #00388c;
  margin-bottom: 16px;
}

.ps-intro p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

/* GRID */
.ps-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.ps-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ps-card span {
  font-size: 3rem;
  display: block;
  margin-bottom: 20px;
}

.ps-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #00388c;
}

.ps-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* HOVER */
.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

/* ===== CONTACT US ===== */
.contact-us {
  padding: 90px 20px;
  background: #f7f9fc;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* INFO */
.contact-info h2 {
  font-size: 2.4rem;
  color: #00388c;
  margin-bottom: 16px;
}

.contact-info p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-detail p {
  margin-bottom: 18px;
  color: #444;
  line-height: 1.6;
}

/* FORM */
.contact-form form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00388c;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #00388c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}

.contact-form button:hover {
  background: #002c6a;
}

/* ===== MAP ===== */
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-info h2 {
    font-size: 1.9rem;
  }

  .contact-form form {
    padding: 30px 20px;
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ps-grid {
    grid-template-columns: 1fr;
  }

  .ps-intro h2 {
    font-size: 2rem;
  }
}




/* ============================= */
/* RESPONSIVE BREAKPOINT SYSTEM */
/* ============================= */

/* ===== LARGE DESKTOP (>=1400px) ===== */
@media (min-width: 1400px) {
  .header-wrap {
    padding: 0 80px;
  }

  .hero-overlay h1 {
    font-size: 3.5rem;
  }
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-wrap {
    grid-template-columns: auto 1fr auto;
  }
}


/* ===== LAPTOP & DESKTOP (<=1200px) ===== */
@media (max-width: 1200px) {
  .nav a {
    margin: 0 14px;
    font-size: 0.95rem;
  }

  .search-box input {
    width: 130px;
  }
}

/* ===== TABLET LANDSCAPE (<=992px) ===== */
@media (max-width: 992px) {
  .header-wrap {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  .nav a {
    margin: 0 12px;
    font-size: 0.9rem;
  }

  .hero-overlay h1 {
    font-size: 2.4rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  /* Footer jadi 2 kolom */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-center {
    padding-left: 0;
    justify-self: start;
  }
}

/* ===== TABLET PORTRAIT & MOBILE BESAR (<=768px) ===== */
@media (max-width: 768px) {
  /* HEADER */
  .header-wrap {
    grid-template-columns: auto 1fr;
    height: 70px;
  }

  .nav,
  .search-box {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  /* HERO */
  .hero {
    height: 75vh;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 0.95rem;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-center,
  .footer-right {
    justify-self: center;
  }
}

/* ===== MOBILE KECIL (<=480px) ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-wrap {
    grid-template-columns: auto 1fr auto;
    height: 70px;
  }

  .nav,
  .search-box {
    display: none;
  }

  .logo img {
    height: 48px;
  }
}


@media (max-width: 768px) {
  .company-info-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .company-text h2 {
    font-size: 1.8rem;
  }

  .company-image {
    order: -1; /* gambar pindah ke atas */
  }
}

@media (max-width: 768px) {
  .services-title {
    font-size: 1.8rem;
  }

  .service-card {
    width: 170px;
    height: 150px;
  }

  .service-card span {
    font-size: 2.4rem;
  }
}


@media (max-width: 992px) {
  .about-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .about-text p {
    margin: auto;
  }
}

@media (max-width: 480px) {
  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }
}


@media (max-width: 768px) {
  .vision-wrap h2 {
    font-size: 2rem;
  }

  .vision-wrap p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .vision {
    padding: 70px 18px;
  }

  .vision-wrap h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .mission-wrap h2 {
    font-size: 2rem;
  }

  .mission-item {
    gap: 14px;
  }

  .mission-item span {
    min-width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .mission-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .mission {
    padding: 70px 18px;
  }
}

@media (max-width: 768px) {
  .gallery-wrap h2 {
    font-size: 1.9rem;
  }

  .gallery-card {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .gallery {
    padding: 70px 15px;
  }

  .gallery-card {
    width: 170px;
    height: 130px;
  }
}

/* ===== FLOATING WEBMAIL BUTTON ===== */
.floating-mail {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 68px;
  height: 68px;
  border-radius: 50%;

  background: linear-gradient(135deg, #00388c, #0052cc);

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  z-index: 999999;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25),
    0 0 0 0 rgba(0,82,204,0.5);

  animation: floatingPulse 2s infinite;

  transition: all .3s ease;
}

/* ICON */
.floating-mail span {
  font-size: 30px;
  color: #fff;
  line-height: 1;
}

/* HOVER */
.floating-mail:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.3);
}

/* PULSE EFFECT */
@keyframes floatingPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(0,82,204,0.45);
  }

  70% {
    box-shadow:
      0 0 0 18px rgba(0,82,204,0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(0,82,204,0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .floating-mail {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }

  .floating-mail span {
    font-size: 26px;
  }
}