/* ===========================
   Global Reset & Base Styles
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f3f6fb;
}

/* Layout helper (wider for large screens) */
.container {
  width: min(1280px, 100% - 3rem);
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* ===========================
   Navbar
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  position: relative;
  z-index: 2100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2100;
}

/* Logo */
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: opacity 0.2s;
}

.logo-link:hover {
  opacity: 0.8;
}

/* Nav links (desktop) */
.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: #1f2933;
  position: relative;
}

/* Active link state (desktop) */
.nav-links a.active {
  color: #2563eb;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  margin-left: 1.5rem;
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.7rem;
  padding: 0.35rem 0.6rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 2100;
  pointer-events: auto;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
}

.btn-light {
  background: #ffffff;
  color: #1f2933;
  border-color: #d1d5db;
}

.btn-light:hover {
  background: #e5edff;
  border-color: #c4d4ff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #e5edff;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.1);
}

.btn-inline {
  margin-top: 1.5rem;
}

.large {
  padding-inline: 2.5rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;

  /* FULL SCREEN FEEL */
  min-height: calc(80vh - 50px); /* approx navbar height */
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("Images/Background1.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.7));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  padding: 4.5rem 0 4rem;
  width: 100%;
}

/* Left side (headline) */
.hero-left {
  max-width: 750px; /* wider so it doesn't feel "half" */
  margin-left: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.28rem 0.75rem;
  font-size: 0.8rem;
}

.hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.7rem;
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-highlight {
  color: #60a5fa;
}

.hero-text {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: #e5edff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #dbeafe;
}

/* Right side (stat cards) */
.hero-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-right: 1rem;
  gap: 1rem;
  align-content: center;
}

.stat-card {
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(37, 99, 235, 0.65));
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
}

.stat-number {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: #e5edff;
}

.hero-wave {
  position: relative;
  z-index: 1;
  height: 60px;
  background: #ffffff;
  border-radius: 40% 40% 0 0 / 70% 70% 0 0;
  margin-top: -10px;
}

/* ===========================
   Generic Sections
   =========================== */
.section {
  padding: 3.5rem 0;
}

.section-products {
  background: #ffffff;
  padding: 4.5rem 0;
}

.section-why {
  background: #f5f8ff;
}

.section-services {
  background: #ffffff;
}

.section-cta {
  position: relative;
  background: radial-gradient(circle at top, #1d4ed8, #1e3a8a);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.section-header p {
  color: #64748b;
  font-size: 0.98rem;
  max-width: 720px;
  margin: 0.35rem auto 0;
  line-height: 1.7;
}

/* ===========================
   Products Section
   =========================== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  position: relative;
  border-radius: 1.3rem;
  overflow: hidden;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

.product-flat {
  background-image: url("Images/Stainless_Sheet3.jpg");
}

.product-round {
  background-image: url("Images/Stainless-Round1.jpg");
  background-position: center center;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.product-overlay h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.product-overlay p {
  font-size: 0.9rem;
  color: #e5edff;
}

.products-cta {
  margin-top: 2.5rem;
}

/* ===========================
   Why / About Split
   =========================== */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.why-image-wrap {
  position: relative;
}

.why-image-main {
  border-radius: 1.6rem;
  background-image: url("Images/PilihKami_Picture1.png");
  background-size: cover;
  background-position: center;
  min-height: 400px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

/* Pill label */
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #e5edff;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  color: #1d4ed8;
  margin-bottom: 0.8rem;
}

.pill-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.8rem;
}

.why-content h2 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.why-content p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* Feature list (legacy for about/contact) */
.why-features {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.why-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.why-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.why-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.why-item p {
  font-size: 0.9rem;
  color: #64748b;
}

/* Divider */
.why-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.10);
  margin: 1.2rem 0;
}

/* ===========================
   Services / Cards
   =========================== */
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: #f5f8ff;
  border-radius: 1.3rem;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
  color: #0f172a;
}

.service-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.8rem;
  line-height: 1.65;
}

.link-more {
  font-size: 0.9rem;
  color: #1d4ed8;
  text-decoration: none;
}

.link-more:hover {
  text-decoration: underline;
}

/* ===========================
   Kenapa Kami – Square Dot
   =========================== */
.why-card {
  position: relative;
  padding-top: 1.9rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.why-dot {
  position: absolute;
  top: 1.1rem;
  left: 1.45rem;
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 2px;
}

#kenapa-kami .service-card h3,
#kenapa-kami .service-card p {
  margin-left: 1.2rem;
}

#kenapa-kami .services-grid {
  margin-top: 2.2rem;
  gap: 1.6rem;
}

/* ===========================
   Siapa Kami – Split Layout
   =========================== */
.about-split {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.8rem;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  min-height: 360px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.about-badge-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.about-badge-sub {
  font-size: 0.85rem;
  color: #475569;
}

.about-copy {
  background: #ffffff;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.6rem 1.55rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.about-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 0.8rem;
}

.about-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ===============================
   INVENTORY – PROFESSIONAL
   =============================== */
.section-products .service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.section-products .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.section-products .service-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
}

.section-products .service-card p {
  font-size: 0.92rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.inventory-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.inventory-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.inventory-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #111827;
  transition: color 0.2s ease;
}

.inventory-card:hover h3 {
  color: #0f172a;
}

.card-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.inventory-card .link-more {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.inventory-card .link-more:hover {
  color: #1e40af;
}

.inventory-notes {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e5e7eb;
}

.inventory-notes h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #111827;
}

.inventory-notes ul {
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
}

.inventory-notes li {
  margin-bottom: 0.45rem;
}

.inventory-note {
  max-width: 760px;
  margin: 0.6rem auto 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
}

/* ===========================
   CTA Section
   =========================== */
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/cta-section.png");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.95), rgba(15, 23, 42, 0.95));
  opacity: 0.95;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-highlights {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  font-size: 0.9rem;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: #0b1727;
  color: #e5e7eb;
  padding-top: 2.8rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-top: 0.6rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 0.6rem;
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.footer-col ul {
  list-style: none;
  font-size: 0.86rem;
  color: #cbd5f5;
}

.footer-col ul li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-contact li {
  max-width: 250px;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  margin-top: 0.5rem;
  padding: 0.8rem 0 1.2rem;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #e5e7eb;
}

/* ===========================
   Responsive Styles
   =========================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.4fr);
    gap: 2rem;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-image-wrap {
    order: -1;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    min-height: 300px;
  }
}

@media (max-width: 780px) {
  /* Mobile menu – cleaner dropdown */
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0.75rem;

    width: min(260px, calc(100vw - 1.5rem));
    background: #ffffff;

    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);

    flex-direction: column;
    gap: 0.25rem;

    display: none;
    z-index: 2500;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;

    padding: 0.75rem 0.9rem;
    border-radius: 0.85rem;

    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;

    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-links a:hover {
    background: #f1f5ff;
    color: #1d4ed8;
  }

  /* Remove underline animation on mobile dropdown */
  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    background: #e5edff;
    color: #1d4ed8;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto; /* on mobile, avoid too-tall hero */
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 3.5rem 0 3rem;
  }

  .hero-right {
    margin-top: 1.5rem;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile safety for inventory hover */
@media (max-width: 768px) {
  .section-products {
    padding: 3.5rem 0;
  }

  .inventory-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ===========================
   Inventory Card Actions
   =========================== */
.inv-actions {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.inv-btn {
  padding: 0.55rem 1.1rem;
}

/* ===========================
   Avestindo Popup Modal Gallery
   (Model 1: centered popup + thumbnails)
   =========================== */
.ap-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.ap-modal.is-open {
  display: block;
}

body.ap-modal-open {
  overflow: hidden;
}

.ap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.ap-panel {
  position: relative;
  width: min(1020px, calc(100% - 2rem));
  margin: 6vh auto 0;
  background: #ffffff;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.ap-head {
  padding: 1.15rem 1.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.ap-title {
  font-weight: 900;
  color: #0f172a;
  font-size: 1.15rem;
}

.ap-subtitle {
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.95rem;
}

.ap-close {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.75rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  line-height: 1;
}

.ap-body {
  padding: 1.1rem 1.2rem 1.15rem;
}

.ap-stage {
  position: relative;
  border-radius: 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #0b1220;
}

.ap-img {
  width: 100%;
  height: min(54vh, 520px);
  object-fit: cover;
  display: block;
}

.ap-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.9rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.05));
}

.ap-counter {
  font-size: 0.9rem;
  opacity: 0.95;
}

.ap-captext {
  font-size: 0.95rem;
  font-weight: 600;
}

.ap-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-prev {
  left: 1.1rem;
}
.ap-next {
  right: 1.1rem;
}

.ap-thumbs {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.ap-thumb {
  width: 86px;
  height: 56px;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f1f5f9;
  cursor: pointer;
  padding: 0;
}

.ap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-thumb.is-active {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.ap-note {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding-top: 0.85rem;
}

/* Mobile */
@media (max-width: 780px) {
  .ap-panel {
    margin: 4vh auto 0;
  }

  .ap-img {
    height: min(42vh, 420px);
  }

  .ap-thumb {
    width: 74px;
    height: 50px;
  }
}
/* ===========================
   Contact Form (Short Form)
   =========================== */
.hidden {
  display: none !important;
}

.contact-cards {
  margin-top: 2.5rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.contact-form-title {
  margin-bottom: 0.25rem;
  color: #0f172a;
  font-size: 1.15rem;
}

.contact-form-subtitle {
  margin-bottom: 1rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.form-field label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #0f172a;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 0.7rem 0.85rem;
  outline: none;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 0.25rem;
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ===========================
   Success Popup (re-use ap-modal)
   =========================== */
.ap-success-modal .ap-panel {
  width: min(560px, calc(100% - 2rem));
  margin: 18vh auto 0;
}

.success-note {
  color: #475569;
  line-height: 1.7;
}

.success-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* ===========================
   Visi & Misi Accordion
   =========================== */
.vm-accordion {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.vm-item {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.vm-item.is-active {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.vm-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.vm-header:hover {
  background: #f5f8ff;
}

.vm-icon {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.vm-item.is-active .vm-icon {
  transform: rotate(45deg); /* + jadi x */
}

.vm-content {
  display: none;
  padding: 0 1.4rem 1.4rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.vm-item.is-active .vm-content {
  display: block;
}

.vm-content ul {
  padding-left: 1.2rem;
}

.vm-content li {
  margin-bottom: 0.45rem;
}

/* Visi & Misi – richer content */
.vm-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.vm-summary {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.5;
  max-width: 720px;
}
/* ===========================
   Visi & Misi – Side by Side
   =========================== */
.vm-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.vm-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1.2rem;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.vm-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #0f172a;
  text-align: center;
}

.vm-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}

.vm-card ul {
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}

.vm-card li {
  margin-bottom: 0.45rem;
}

/* Mobile */
@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   FIX: Hamburger tidak bisa diklik di mobile
   (biasanya ketutup overlay / z-index kalah)
   ========================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
}

.nav-inner {
  position: relative;
  z-index: 10000;
}

#navToggle {
  position: relative;
  z-index: 10001;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* kalau kamu pakai pseudo overlay di hero/background */
.hero::before,
.hero::after {
  pointer-events: none;
}
