/* ==============================================
   SOLUSI MASALAH WC - STYLESHEET
   Color Palette:
   Primary:    #0E4A63
   Secondary:  #1C6A89
   Accent:     #2E8FB3
   Light BG:   #F8FBFC
   White:      #FFFFFF
   Dark Text:  #1F2937
   Border:     #D9E4EA
   ============================================== */

/* ===== ROOT & BASE ===== */
:root {
  --primary:      #0E4A63;
  --secondary:    #1C6A89;
  --accent:       #2E8FB3;
  --accent-light: #D4EDF7;
  --light-bg:     #F8FBFC;
  --white:        #FFFFFF;
  --dark-text:    #1F2937;
  --muted-text:   #6B7A8A;
  --border:       #D9E4EA;
  --shadow-sm:    0 2px 12px rgba(14, 74, 99, 0.08);
  --shadow-md:    0 8px 32px rgba(14, 74, 99, 0.12);
  --shadow-lg:    0 16px 48px rgba(14, 74, 99, 0.16);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  50px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* FIX: cegah horizontal scroll di level html */
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  overflow-x: hidden; /* FIX: cegah horizontal scroll */
  line-height: 1.7;
  max-width: 100vw; /* FIX: batasi lebar maksimal */
}

/* ===== UTILITY ===== */
.text-accent { color: var(--accent) !important; }
.bg-light-custom { background-color: var(--light-bg) !important; }

.section-padding {
  padding: 96px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc {
  color: var(--muted-text);
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
#mainNavbar {
  background: transparent;
  padding: 18px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
}

#mainNavbar.scrolled {
  background: var(--white) !important;
  box-shadow: 0 4px 24px rgba(14, 74, 99, 0.12);
  padding: 10px 0;
}

.navbar-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.navbar-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  color: white;
  font-size: 1.3rem;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: color 0.4s;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color 0.4s;
}

#mainNavbar.scrolled .brand-name { color: var(--primary); }
#mainNavbar.scrolled .brand-tagline { color: var(--muted-text); }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.15);
}

#mainNavbar.scrolled .nav-link {
  color: var(--dark-text) !important;
}

#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active {
  color: var(--primary) !important;
  background: var(--accent-light);
}

.btn-nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
}

.btn-nav-cta:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

#mainNavbar.scrolled .btn-nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
}

#mainNavbar.scrolled .btn-nav-cta:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
}

/* ===== NAVBAR TOGGLER ===== */
#mainNavbar .navbar-toggler-icon {
  filter: invert(1);
}
#mainNavbar.scrolled .navbar-toggler-icon {
  filter: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden; /* FIX: clip semua child yang overflow */
  display: flex;
  align-items: center;
}

.hero-bg-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46,143,179,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(14,74,99,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero Badges */
.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-badge i { color: #6ee7b7; font-size: 0.85rem; }

/* Hero Title */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

/* Hero Desc */
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero Buttons */
.btn-hero-primary {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover {
  background: var(--light-bg);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  overflow: hidden; /* FIX: clip wave rings agar tidak overflow */
}

.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 40px;
}

.truck-icon-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.2);
  animation: floatY 4s ease-in-out infinite;
  flex-shrink: 0; /* FIX: jangan mengecil */
}

.hero-truck {
  font-size: 6rem;
  color: white;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

/* Animated Rings */
.truck-wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  animation: pulseRing 3s ease-out infinite;
  /* FIX: pointer-events none agar tidak menyebabkan layout issue */
  pointer-events: none;
}
.truck-wave.wave1 { width: 260px; height: 260px; animation-delay: 0s; }
.truck-wave.wave2 { width: 320px; height: 320px; animation-delay: 0.8s; }
.truck-wave.wave3 { width: 380px; height: 380px; animation-delay: 1.6s; }

@keyframes pulseRing {
  0%   { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 0; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 2;
}

.float-card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.float-card-2 { bottom: 15%; left: -5%; animation-delay: 1.5s; }
.float-card-3 { top: 30%; right: -5%; animation-delay: 0.8s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bounce {
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ===== ABOUT SECTION ===== */
.about-logo-card {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.about-logo-inner {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.about-logo-img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}

.about-logo-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}

.about-logo-fallback i { font-size: 5rem; }
.about-logo-fallback span { font-size: 1rem; font-weight: 700; }

.about-logo-deco-1 {
  position: absolute;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 50%;
  top: -20px; right: -20px;
  opacity: 0.25;
  z-index: -1;
}

.about-logo-deco-2 {
  position: absolute;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  bottom: -30px; left: -30px;
  opacity: 0.15;
  z-index: -1;
}

/* Stats */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted-text);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon-wrap {
  width: 68px;
  height: 68px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap { transform: scale(1.1); }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.btn-service {
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-service:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateX(4px);
}

/* ===== TIMELINE ===== */
.timeline-horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.timeline-item {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.timeline-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(14,74,99,0.3);
  margin-bottom: 20px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon-wrap {
  transform: scale(1.1);
}

.timeline-step {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.timeline-connector {
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border));
}

.timeline-connector.last {
  display: none;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.83rem;
  color: var(--muted-text);
  line-height: 1.5;
  margin: 0;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-item-large {
  grid-column: span 2;
}

.gallery-item-large img {
  height: 280px;
}

.gallery-item-tall img {
  height: 420px;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,74,99,0.7) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-overlay i {
  font-size: 2rem;
  color: white;
  background: rgba(255,255,255,0.2);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Gallery Modal */
.gallery-modal-content {
  background: var(--dark-text);
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.gallery-modal-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-modal-img {
  border-radius: 0;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

/* ===== AREA LAYANAN ===== */
.area-map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.area-map-icon {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.area-map-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

.area-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46,143,179,0.2);
  transition: all 0.25s ease;
}

.area-badge:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.area-badge i { font-size: 0.8rem; color: var(--accent); }
.area-badge:hover i { color: rgba(255,255,255,0.8); }

.area-badge-more {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.area-badge-more i { color: rgba(255,255,255,0.7); }

.area-note {
  font-size: 0.88rem;
  color: var(--muted-text);
  margin: 0;
  padding: 14px 20px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ===== FAQ ===== */
.faq-intro { padding-right: 32px; }

.faq-accordion { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-button {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-text) !important;
  background: var(--white) !important;
  padding: 18px 22px;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.faq-button i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-button:not(.collapsed) {
  color: var(--primary) !important;
  background: var(--light-bg) !important;
}

.faq-button::after {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230E4A63'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.faq-body {
  font-size: 0.9rem;
  color: var(--muted-text);
  padding: 16px 22px 20px;
  background: var(--white);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.cta-icon-top {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto;
}

.btn-cta-primary {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--light-bg);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-4px);
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* ===== PRIMARY BUTTON ===== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(14,74,99,0.3);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(14,74,99,0.4);
}

/* ===== FOOTER ===== */
.footer-section {
  background: #0A2D3D;
  color: rgba(255,255,255,0.8);
  padding-top: 72px;
}

.footer-top { padding-bottom: 56px; }

.footer-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
}

.footer-brand-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

.footer-links a i { font-size: 0.65rem; color: var(--accent); }

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-list li i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom strong { color: rgba(255,255,255,0.65); }

.footer-bottom-note i { color: var(--accent); }

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(14, 74, 99, 0.45);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 12px 36px rgba(14, 74, 99, 0.55);
  transform: translateY(-4px);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px);
}

.scroll-to-top-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(46, 143, 179, 0.4);
  animation: sttPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sttPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.18); opacity: 0; }
}

/* ===== WHATSAPP FLOATING BTN ===== */
.wa-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
  background: #1ebe5a;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}

@keyframes waFloat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

/* ===== RESPONSIVE ===== */

/* --- Tablet (≤991px) --- */
@media (max-width: 991.98px) {
  .section-padding { padding: 72px 0; }

  .hero-content { text-align: center; margin-bottom: 48px; }
  .hero-badge-group { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }

  /* FIX: float cards posisi aman, tidak overflow kiri/kanan */
  .float-card-1 { top: 5%; left: 0; }
  .float-card-2 { bottom: 5%; left: 0; }
  .float-card-3 { top: 20%; right: 0; }

  .faq-intro {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item-large { grid-column: span 2; }
  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-tall img { height: 200px; }

  .timeline-horizontal {
    flex-direction: column;
    align-items: center;
  }
  .timeline-item { max-width: 100%; width: 100%; padding: 0 0 32px; }
  .timeline-connector { display: none; }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767.98px) {
  .section-padding { padding: 56px 0; }
  .about-logo-card { width: 240px; }
  .area-map-card { padding: 36px 24px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large { grid-column: span 1; }
  .gallery-item img,
  .gallery-item-large img { height: 200px; }

  .scroll-to-top-btn { bottom: 24px; right: 24px; width: 44px; height: 44px; font-size: 1rem; }

  /* FIX: hero illustration lebih kecil di mobile */
  .hero-illustration { padding: 30px 16px; }
  .truck-icon-wrap { width: 140px; height: 140px; }
  .hero-truck { font-size: 3.8rem; }

  /* FIX: sembunyikan wave rings di mobile agar tidak overflow */
  .truck-wave { display: none; }

  /* FIX: float cards lebih sederhana di mobile */
  .float-card {
    font-size: 0.75rem;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .float-card-1 { top: 2%; left: 2%; }
  .float-card-2 { bottom: 2%; left: 2%; }
  .float-card-3 { display: none; }

  /* FIX: hero buttons full width di layar kecil */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  /* FIX: CTA note wrap rapi */
  .cta-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  /* FIX: area note teks wrap */
  .area-note {
    display: block;
    text-align: left;
  }
}

/* --- Small mobile (≤575px) --- */
@media (max-width: 575.98px) {
  /* FIX: sembunyikan semua float cards di layar sangat kecil */
  .float-card { display: none; }

  .hero-badge-group { gap: 6px; }
  .hero-badge { font-size: 0.72rem; padding: 4px 10px; }

  /* FIX: hero illustration padding minimal */
  .hero-illustration { padding: 20px 8px; }
  .truck-icon-wrap { width: 120px; height: 120px; }
  .hero-truck { font-size: 3.2rem; }

  /* FIX: stat cards 2 kolom agar tidak terlalu sempit */
  .stat-card { padding: 16px 8px; }
  .stat-number { font-size: 1.2rem; }

  /* FIX: footer bottom text wrap */
  .footer-bottom-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
  }

  /* FIX: wa-float dan scroll-to-top lebih kecil */
  .wa-float { width: 46px; height: 46px; font-size: 1.3rem; left: 16px; bottom: 16px; }
  .scroll-to-top-btn { width: 40px; height: 40px; font-size: 0.9rem; right: 16px; bottom: 16px; }
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== SELECTION COLOR ===== */
::selection {
  background: var(--accent);
  color: white;
}