/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #f2f2f2;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

iframe {
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   TOPBAR
========================= */
.topbar {
  background: linear-gradient(90deg, #5e697a 0%, #6a7587 100%);
  color: #ffffff;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.2;
}

.topbar-icon {
  font-size: 14px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text h1,
.footer-brand-text h2 {
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
  color: #dc2626;
}

.brand-text p,
.footer-brand-text p {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f2244;
  transition: 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #f28c28;
}

.menu-toggle {
  display: none;
  background: #0c2550;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* mobile nav extra */
.mobile-only {
  display: none;
}

.mobile-menu-section {
  width: 100%;
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 10px;
}

.mobile-menu-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: break-word;
}

.mobile-menu-label {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* Override khusus untuk mobile menu */
.mobile-menu-section a.mobile-menu-info {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  color: #334155;
  text-decoration: none;
}


/* =========================
   SHARED PAGE SECTION
========================= */
.page-hero {
  position: relative;
  background: linear-gradient(rgba(10, 23, 48, 0.75), rgba(10, 23, 48, 0.62)),
    url("../images/home1.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0 90px;
}

.page-hero h2 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  max-width: 760px;
  color: #e5edf7;
}

.page-section {
  padding: 80px 0;
}

.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.content-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.content-card h3 {
  font-size: 28px;
  line-height: 1.15;
  color: #10284f;
  margin-bottom: 14px;
  font-weight: 900;
}

.content-card p {
  font-size: 16px;
  color: #475569;
}

.section-title {
  margin-bottom: 28px;
}

.section-title span {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: #f28c28;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.section-title h2 {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 900;
  color: #10284f;
}

.section-title p {
  margin-top: 10px;
  max-width: 760px;
  color: #64748b;
}

/* =========================
   HERO SLIDER - HOME
========================= */
.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(8, 22, 48, 0.18),
    rgba(8, 22, 48, 0.38)
  );
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 900px;
  color: #ffffff;
  padding: 110px 0 210px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-content h2 {
  font-size: 76px;
  line-height: 1.03;
  font-weight: 900;
  margin-bottom: 22px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-text {
  font-size: 22px;
  margin-bottom: 8px;
  max-width: 900px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.3s;
}

.hero-dot.active {
  background: #ffffff;
}

/* =========================
   WHY CHOOSE US - HOME
========================= */
.why-section {
  position: relative;
  margin-top: -110px;
  z-index: 10;
}

.why-box {
  background: #0d254d;
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 230px 56px minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
}

.why-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 210px;
}

.why-title span {
  color: #f4a041;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.why-title h3 {
  color: #ffffff;
  font-size: 30px;
  line-height: 0.98;
  font-weight: 900;
  margin: 0;
}

.why-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f28c28;
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: 0.2s;
}

.why-arrow:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.why-slider {
  overflow: hidden;
  width: 100%;
}

.why-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.why-card {
  background: #f28c28;
  border-radius: 24px;
  min-width: 220px;
  max-width: 220px;
  min-height: 165px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px 14px;
  text-align: center;
  transition: 0.25s;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.why-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 14px;
}

.why-card h4 {
  width: 100%;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* =========================
   VISION MISSION - HOME
========================= */
.vision-mission-section {
  padding: 84px 0 74px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.vm-card {
  position: relative;
  min-height: 340px;
  padding: 118px 36px 34px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.10);
}

.vm-blue {
  background: #10284f;
  color: #ffffff;
}

.vm-orange {
  background: #f28c28;
  color: #ffffff;
}

.vm-number {
  position: absolute;
  top: 0;
  left: 36px;
  min-width: 150px;
  text-align: center;
  background: #ffffff;
  padding: 12px 18px;
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
}

.vm-blue .vm-number {
  color: #10284f;
}

.vm-orange .vm-number {
  color: #f28c28;
}

.vm-card h3 {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vm-card p {
  font-size: 17px;
  line-height: 1.55;
}

/* =========================
   PRODUCTS / CARDS SHARED
========================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.product-image {
  height: 220px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.product-body {
  padding: 22px;
}

.product-body h3 {
  font-size: 22px;
  color: #10284f;
  margin-bottom: 10px;
  font-weight: 900;
}

.product-body p {
  color: #64748b;
  font-size: 15px;
}

/* =========================
   CONTACT / INFO SHARED
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 32px;
}

.map-box,
.side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.map-placeholder,
.image-placeholder {
  min-height: 260px;
  background: #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 20px;
}

.info-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.info-block h3 {
  font-size: 28px;
  font-weight: 900;
  color: #10284f;
  margin-bottom: 18px;
}

.info-label {
  color: #f28c28;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 18px;
  margin-bottom: 4px;
}

/* =========================
   FOOTER
========================= */
.footer-home {
  background: #10284f;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 340px 1.25fr 0.9fr;
  gap: 36px;
  padding: 48px 24px 34px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-brand-text h2 {
  color: #ffffff;
}

.footer-brand-text p {
  color: #dbe7f6;
}

.footer-map-box {
  width: 100%;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe7ef;
}

.footer-map-box iframe {
  display: block;
}

.footer-contact h3,
.footer-product h3 {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-info-group {
  margin-bottom: 18px;
}

.footer-label {
  color: #f4a041;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-contact p {
  font-size: 15px;
  line-height: 1.45;
}

.footer-product-list {
  margin-bottom: 28px;
}

.footer-product-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-product-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: #ffffff;
}

.footer-product-list a {
  transition: 0.2s;
}

.footer-product-list a:hover {
  color: #f4a041;
}

.footer-product-box {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #10284f;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* overlay gradient biru transparan */
.footer-product-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(16,40,79,0.25) 0%,
    rgba(16,40,79,0.35) 40%,
    rgba(16,40,79,0.55) 100%
  );

  z-index: 1;
  pointer-events: none;
}

/* glow lembut brand color */
.footer-product-box::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18px;
  height: 60px;

  background: radial-gradient(
    ellipse at center,
    rgba(242,140,40,0.22) 0%,
    rgba(242,140,40,0.12) 40%,
    rgba(242,140,40,0) 75%
  );

  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

/* hover effect halus */
.footer-product-box:hover .footer-product-image {
  transform: scale(1.06);
  filter: brightness(0.92) saturate(1);
}

.footer-product-box:hover::after {
  opacity: 1;
  transform: scale(1.05);
}

/* mobile tetap rapi */
@media (max-width: 768px) {
  .footer-product-box {
    height: 200px;
  }
}

@media (max-width: 520px) {
  .footer-product-box {
    height: 180px;
  }
}

.footer-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1);
  transition: transform 1.8s ease, filter 0.6s ease;

  /* sedikit meredam warna putih */
  filter: brightness(0.85) saturate(0.9);
}

.footer-product-placeholder {
  color: #d4deec;
  font-weight: 700;
  text-align: center;
}

.footer-bottom {
  background: #08182f;
  color: #cbd5e1;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
}

/* =========================
   SIMPLE REVEAL EFFECT
========================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .hero-content h2 {
    font-size: 62px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    gap: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .page-hero {
    padding: 84px 0 76px;
  }

  .page-hero h2 {
    font-size: 42px;
  }

  .page-grid-2,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 620px;
  }

  .hero-content {
    padding: 90px 0 190px;
  }

  .why-box {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 20px;
  }

  .why-title {
    min-height: auto;
    text-align: center;
  }

  .why-title span {
    font-size: 18px;
  }

  .why-title h3 {
    font-size: 36px;
    line-height: 1.02;
  }

  .why-arrow {
    display: none;
  }

  .why-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    gap: 16px;
  }

  .why-card {
    min-width: 260px;
    max-width: 260px;
    min-height: 190px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 16px;
    min-width: 260px;
    max-width: min(320px, calc(100vw - 48px));
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 1200;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    background: #ffffff;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: #f8fafc;
    color: #f28c28;
  }

  .mobile-only {
    display: block;
  }

  .brand-text h1,
  .footer-brand-text h2 {
    font-size: 20px;
  }

  .brand-text p,
  .footer-brand-text p {
    font-size: 11px;
  }

  .page-hero {
    padding: 74px 0 66px;
  }

  .page-hero h2 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .hero-slider {
    min-height: 540px;
  }

  .hero-content {
    padding: 72px 0 150px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-content h2 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 18px;
  }

  .why-section {
    margin-top: -72px;
  }

  .vm-number {
    left: 24px;
    min-width: 118px;
    font-size: 52px;
  }

  .vm-card {
    padding: 92px 24px 26px;
  }

  .vm-card h3 {
    font-size: 28px;
  }

  .footer-grid {
    padding: 34px 24px 24px;
  }

  .footer-contact h3,
  .footer-product h3 {
    font-size: 24px;
  }

  .page-section {
    padding: 64px 0;
  }

  .content-card,
  .info-block,
  .map-box,
  .side-box {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .navbar-inner {
    gap: 14px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text h1,
  .footer-brand-text h2 {
    font-size: 18px;
  }

  .hero-content h2 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .why-card {
    min-width: 240px;
    max-width: 240px;
    min-height: 150px;
  }

  .why-card h4 {
    font-size: 17px;
  }

  .content-card h3,
  .info-block h3 {
    font-size: 24px;
  }
}

/* =========================
   COMMITMENT PAGE
========================= */
.commitment-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.commitment-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/home1.jpeg") center/cover no-repeat;
  transform: scale(1.02);
}

.commitment-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(7, 21, 45, 0.28),
    rgba(7, 21, 45, 0.42)
  );
}

.commitment-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 110px;
}

.commitment-hero-content h1 {
  text-align: center;
  color: #ffffff;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 72px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

/* =========================
   COMMITMENT CARD EFFECT
========================= */

.commitment-card{
  min-height:300px;
  border-radius:18px;
  padding:34px 22px;
  color:#ffffff;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  transition:all 0.35s ease;
  cursor:default;
}

.commitment-orange{
  background:#f28c28;
}

.commitment-blue{
  background:#10284f;
}

/* ICON */
.commitment-icon{
  font-size:56px;
  margin-bottom:20px;
  transition:transform 0.35s ease;
}

/* TITLE */
.commitment-card h3{
  font-size:26px;
  font-weight:900;
  margin-bottom:10px;
}

/* TEXT */
.commitment-card p{
  font-size:16px;
  line-height:1.4;
  max-width:200px;
  margin:auto;
}

/* =========================
   HOVER EFFECT
========================= */

.commitment-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
  filter:brightness(1.08);
}

.commitment-card:hover .commitment-icon{
  transform:scale(1.15) rotate(-3deg);
}

/* responsive */
@media (max-width: 1100px) {
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .commitment-hero {
    min-height: auto;
  }

  .commitment-hero-content {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .commitment-hero-content h1 {
    font-size: 42px;
    margin-bottom: 34px;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 360px;
  }

  .commitment-card {
    min-height: 220px;
    padding: 28px 18px;
  }

  .commitment-icon {
    font-size: 44px;
    margin-bottom: 18px;
  }

  .commitment-card h3 {
    font-size: 22px;
  }

  .commitment-card p {
    font-size: 15px;
  }
}


