* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

/* ================= NAVBAR ================= */

.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  height: 90px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1000;
}

.nav-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* MENU */
.menu {
  display: flex;
  gap: 60px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: #000000;
  letter-spacing: 1px;
}

/* DROPDOWN */
/* ================= DROPDOWN STYLE FINAL ================= */

.dropdown-content {
  position: absolute;
  top: calc(100% + 45px);
  /* 100% = tinggi link LAYANAN
     +20px supaya tepat di bawah garis navbar */

  left: 50%;
  transform: translateX(-50%);

  width: 320px;
  background: #0f2a44;
  display: none;
  flex-direction: column;
  padding: 0;
  z-index: 999;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* ACTIVE CLASS (dipanggil JS) */
.dropdown.active .dropdown-content {
  display: flex;
}

/* Item dropdown */
.dropdown-content a {
  color: #ffffff;
  padding: 18px 0;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}

/* Hapus garis terakhir */
.dropdown-content a:last-child {
  border-bottom: none;
}

/* Hover effect */
.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(180deg);
}
.dropdown {
  position: relative;
}

/* BUTTON NAV */

.btn-nav {
  background: #0e2a47;
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 140vh; /* lebih panjang dari layar */
  width: 100%;
  background: url("../images/bgimagetentang.png") center center / cover
    no-repeat;
  display: flex;
  align-items: center;
}

/* Overlay kiri saja */

.overlay-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0)
  );
}

/* HERO CONTENT */

.hero-content {
  position: relative;
  width: 92%;
  max-width: 1400px;
  margin: auto;
  color: white;
  z-index: 2;
}

.small {
  margin-bottom: 20px;
  font-size: 18px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  line-height: 1.5;
  max-width: 800px;
  font-weight: 600;
  margin-bottom: 25px;
}

.sub {
  margin-bottom: 35px;
}

.btn-hero {
  background: #0e2a47;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.pt-name {
  white-space: nowrap;
}
/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #111;
  transition: 0.3s ease;
}

/* Animasi X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= ABOUT SECTION ================= */

.about-section {
  padding: 120px 0;
  background: #f4f4f4;
}

.about-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* LEFT - VISION */

.vision-box {
  background: #2f4c73;
  color: white;
  padding: 60px 50px;
}

.vision-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.vision-header img {
  width: 60px;
}

.vision-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
}

.vision-box p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 20px;
}

.vision-box ul {
  margin: 25px 0;
  padding-left: 20px;
}

.vision-box ul li {
  margin-bottom: 12px;
  font-size: 18px;
}
.vision-footer {
  font-size: 16px;
}

/* RIGHT - MISSION */

.mission-box {
  background: white;
  padding: 60px 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.mission-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.mission-header img {
  width: 60px;
}

.mission-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

.mission-item {
  margin-bottom: 25px;
}

.mission-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.mission-item p {
  line-height: 1.7;
  color: #555;
}
/* ANIMATION BASE */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

/* LEFT masuk dari kiri */
.reveal-left {
  transform: translateX(-60px);
}

/* RIGHT masuk dari kanan */
.reveal-right {
  transform: translateX(60px);
}

/* Saat aktif */
.reveal-active {
  opacity: 1;
  transform: translateX(0);
}
.legalitas {
  padding: 120px 0;
  background: #f9fafc;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #666;
  line-height: 1.6;
}

/* ===== UBAH BAGIAN INI ===== */
.card-wrapper {
  display: flex; /* ganti dari grid */
  justify-content: center; /* center horizontal */
  align-items: stretch;
  gap: 50px;
  flex-wrap: wrap;
}

.legal-card {
  width: 450px; /* perbesar ukuran */
  background: #ffffff;
  padding: 50px 40px; /* lebih lega */
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 90px; /* perbesar icon */
  height: 90px;
  margin: 0 auto 25px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.legal-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

/* ===== TRUST ===== */

.trust {
  padding: 120px 0;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.trust-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 15px;
}

.trust-sub {
  color: #666;
  margin-bottom: 80px;
}

/* SLIDER WRAPPER */
.trust-slider {
  overflow: hidden;
  position: relative;
}

/* TRACK YANG BERGERAK */
.trust-track {
  display: flex;
  width: calc(250px * 10); /* 5 logo x2 */
  animation: scroll 25s linear infinite;
}

/* ITEM */
.trust-item {
  width: 250px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item img {
  max-height: 90px;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.trust-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMASI */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause saat hover */
.trust-slider:hover .trust-track {
  animation-play-state: paused;
}

/* ================= CTA ================= */
.cta {
  position: relative;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto 30px auto;
  background: url("../images/ChatGPT.webp") center/cover no-repeat;
  padding: 140px 60px;
  text-align: center;
  color: white;
  border-radius: 12px;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 25px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.cta p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
/* ================= FOOTER ================= */

.footer {
  background: #0e2a47;
  color: #ffffff;
  padding: 100px 0 0;
}

.footer-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 80px;
}

.footer-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 25px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #cfd8e3;
}

/* QR */
.qr-code {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 25px;
  object-fit: contain;
}

/* Wrapper contact button */
.contact-img {
  display: block;
  margin-top: 10px;
}

/* Image contact */
.contact-img img {
  width: 220px;
  display: block;
}
.footer-col:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* List */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

/* LINK PUTIH FIX */
.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:visited {
  color: #ffffff;
}

.footer-col ul li a:hover {
  color: #cfd8e3;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 80px;
  text-align: center;
  padding: 25px 0;
  background: #0b223a;
  font-size: 14px;
  color: #cfd8e3;
}
/* ================= MOBILE DRAWER ================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #0c1b2f, #0a1424);
  padding: 40px 30px;
  transition: 0.4s ease;
  z-index: 2000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER */
.mobile-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
}

.mobile-close {
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
}

/* NAV */
.mobile-nav {
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav li {
  margin-bottom: 28px;
}

.mobile-nav a,
.mobile-toggle {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-nav a.active {
  color: #3c7dff;
}

/* SUBMENU */
.mobile-submenu {
  list-style: none;
  margin-top: 15px;
  padding-left: 10px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.mobile-submenu li {
  margin-bottom: 14px;
}

.mobile-submenu a {
  font-size: 16px;
  font-weight: 400;
  color: #cfd8ff;
}

.mobile-dropdown.active .mobile-submenu {
  max-height: 300px;
}

.mobile-arrow {
  transition: 0.3s;
}

.mobile-dropdown.active .mobile-arrow {
  transform: rotate(180deg);
}

/* BUTTON */
.mobile-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #3c63a8;
  padding: 14px 0;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  color: #ffffff !important;
  transition: 0.3s ease;
}

.mobile-btn:hover {
  background: #0e2a47;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qr-code {
    margin: 0 auto 25px;
  }

  .contact-img img {
    margin: auto;
  }
  .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

/* ===============================
   TABLET (max 1024px)
================================= */
@media (max-width: 1024px) {
  .nav-container {
    width: 95%;
  }

  .menu {
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fire-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .fire-content h2 {
    font-size: 32px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ===============================
   MOBILE (max 768px)
================================= */
@media (max-width: 768px) {
  /* ===== NAVBAR ===== */
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .logo {
    height: 50px;
  }

  .logo img {
    max-height: 50px;
  }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
  }

  .overlay-left {
    width: 100%;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 13px;
    line-height: 1.6;
    padding: 0 15px;
  }

  .sub {
    font-size: 8px;
    margin-top: 4px;
    line-height: 1.6;
    padding: 0 15px;
  }

  .small {
    font-size: 10px;
  }

  /* ===== WHY ===== */
  .why-title {
    font-size: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-card p {
    text-align: justify;
  }

  /* ===== CTA ===== */
  .cta {
    padding: 80px 20px;
  }

  .cta h2 {
    font-size: 26px;
  }

  .cta p {
    font-size: 16px;
    text-align: justify;
  }
  /* ===== FOOTER ===== */
  /* ===== FOOTER MOBILE FIX ===== */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left; /* ubah dari center ke left */
  }

  .footer-col {
    text-align: left;
  }

  .footer-col:first-child {
    align-items: flex-start; /* supaya QR dan button tidak center */
  }

  .qr-code {
    margin: 0 0 25px 0; /* hilangkan auto center */
  }

  .contact-img img {
    margin: 0; /* jangan center */
  }
}
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .vision-box,
  .mission-box {
    padding: 40px 30px;
  }
}
/* ===============================
   LEGALITAS RESPONSIVE (ADD ONLY)
================================= */

/* TABLET */
@media (max-width: 1024px) {
  .card-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .legal-card {
    padding: 25px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .legalitas {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 26px;
    text-align: center;
  }

  .section-desc {
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
  }

  .card-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-card {
    text-align: left;
    padding: 25px;
  }

  .legal-card h3 {
    font-size: 16px;
  }

  .legal-card p {
    font-size: 13px;
    text-align: justify;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 15px 0;
  }
}

/* FLOATING ICON */
.floating-lang {
  position: fixed;
  left: 20px;
  bottom: 30px;
  width: 55px;
  height: 55px;
  background: #0e2a47;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.floating-lang:hover {
  transform: scale(1.1);
}

/* POPUP */
.lang-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lang-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 280px;
}

.lang-box button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  background: #0e2a47;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
