/* ==========================================================================
   STYLE SYSTEM - BORNEO AUTO SERVICE (BAS/BXS)
   Aesthetic: Ultra-Premium Light Theme, High-End Corporate & Automotive Tech,
              Clean Slate Canvas, Royal Blue & Gold Accents, Elegant Shadows.
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* CSS variables for consistent Design Tokens (LIGHT THEME OVERHAUL) */
:root {
  /* Color Palette */
  --bg-main: #ffffff;          /* Clean white canvas */
  --bg-section-alt: #f8fafc;   /* Very light slate blue-grey for sections */
  --bg-card: #ffffff;          /* Crisp white cards */
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --primary: #1e3a8a;          /* Logo Royal Blue */
  --primary-light: #2563eb;    /* Vibrant Cobalt Blue */
  --primary-dark: #172554;     /* Deep Navy */
  --accent: #f59e0b;           /* Logo Golden Yellow */
  --accent-light: #fbbf24;     /* Bright yellow gold */
  
  --text-white: #ffffff;
  --text-primary: #0f172a;     /* Deep slate for high contrast */
  --text-secondary: #475569;   /* Cool slate grey for body copy */
  --text-muted: #94a3b8;       /* Muted grey for details & boundaries */
  
  --border-light: #e2e8f0;     /* Soft slate border */
  --border-active: rgba(30, 58, 138, 0.15);
  --border-glass: rgba(30, 58, 138, 0.04);
  
  /* Shadow & Glow System */
  --shadow-sm: 0 4px 12px rgba(30, 58, 138, 0.02);
  --shadow-lg: 0 20px 40px rgba(30, 58, 138, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.15);
  --glow-blue: 0 0 30px rgba(37, 99, 235, 0.04);
  --blur-val: 18px;
  
  /* Layout Constants */
  --container-max-w: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-section-alt);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   UTILITY CLASSES & REUSABLE LAYOUTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-section-alt);
}

/* Individual Section Backgrounds for Premium Differentiated Layout */
#tentang {
  background: radial-gradient(circle at 15% 30%, rgba(37, 99, 235, 0.04) 0%, rgba(255, 255, 255, 0) 65%),
              radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.03) 0%, rgba(255, 255, 255, 0) 65%),
              linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.04);
}

#visi-misi {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.03);
}

#layanan {
  background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.03) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.04);
}

#promo {
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.06) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #fffdf5 0%, #fff7e6 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

#klien {
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.03);
}

#cek-servis {
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.04);
}

#kontak {
  background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(30, 58, 138, 0.12);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.02);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.18);
}

/* Custom Gradients & Accents */
.gold-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 850;
  display: inline-block;
}

.gradient-bg {
  background: 
    radial-gradient(circle at 80% 15%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 20% 75%, rgba(245, 158, 11, 0.03) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.01) 0%, rgba(255, 255, 255, 0) 70%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism & Sticky)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(30, 58, 138, 0.03);
}

.header.scrolled {
  height: 70px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(var(--blur-val));
  -webkit-backdrop-filter: blur(var(--blur-val));
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: 0 10px 40px rgba(30, 58, 138, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 65px;
  width: auto;
  transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
  height: 52px;
}

.logo-link:hover .logo-img {
  transform: scale(1.03);
}

.header-cta {
  padding: 0.6rem 1.4rem !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 20px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* Hamburger transition to 'X' */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (Clean Light Theme Showcase)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.04) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  background: rgba(30, 58, 138, 0.03);
  border: 1px solid rgba(30, 58, 138, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  position: relative;
}

/* Elite status ripple effect for dot */
.hero-badge-dot::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: radar-ripple 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hero-title {
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2.8rem;
  max-width: 580px;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(30, 58, 138, 0.08);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.02);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.12);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.05);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.stat-num span {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* Elegant Floating Card Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-glow {
  display: none;
}

.hero-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-box::before,
.hero-logo-box::after {
  display: none;
}

.hero-logo-box:hover {
  transform: translateY(-5px);
}

/* Image Logo in Hero Box */
.hero-logo-large-img {
  width: 280px; /* Slightly larger since there is no bounding card border */
  height: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 12px rgba(30, 58, 138, 0.04));
}

.hero-logo-box:hover .hero-logo-large-img {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 20px rgba(30, 58, 138, 0.08));
}

.hero-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.hero-logo-box:hover .hero-logo-text {
  color: var(--primary-dark);
  letter-spacing: 0.48em;
}

/* ==========================================================================
   ABOUT US SECTION (Futuristic Light Layout)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-img-container:hover .about-img {
  transform: scale(1.02);
}

.about-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Floating Mascot Badge in Light Theme */
.about-badge-mechanic {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.08);
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float-slow 4s infinite alternate ease-in-out;
}

.mechanic-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(30, 58, 138, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.mechanic-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.1rem;
}

.mechanic-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.about-content-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.point-icon {
  width: 20px;
  height: 20px;
  background: rgba(30, 58, 138, 0.06);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.7rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.point-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   VISION & MISSION SECTION (Elegant Light Cards)
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: flex-start;
}

.vision-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.vision-card::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: 10px;
  font-size: 12rem;
  color: rgba(30, 58, 138, 0.02);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  font-weight: 800;
}

.vision-card:hover {
  border-color: rgba(30, 58, 138, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.08);
}

.vision-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vision-title-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.vision-quote {
  font-size: 1.3rem;
  line-height: 1.75;
  color: var(--primary-dark);
  font-weight: 500;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.mission-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mission-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.4rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.mission-card:hover {
  border-color: var(--primary);
  transform: translateX(8px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.05);
}

.mission-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(30, 58, 138, 0.15);
  transition: var(--transition-smooth);
  min-width: 32px;
}

.mission-card:hover .mission-num {
  color: var(--primary);
  transform: scale(1.1);
}

.mission-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.mission-card:hover .mission-text {
  color: var(--primary-dark);
}

/* ==========================================================================
   SERVICES SECTION (Light Glass Grid)
   ========================================================================== */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 0.5rem 3rem;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.06), 0 0 25px rgba(245, 158, 11, 0.08);
}

.service-icon-box {
  grid-column: 1;
  grid-row: 1;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 58, 138, 0.02) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.8rem;
  border: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
  transform: scale(1.08) rotate(5deg);
}

.service-card-title {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
  color: var(--primary-dark);
}

.service-card:hover .service-card-title {
  color: var(--primary);
}

.service-card-subtitle {
  grid-column: 1;
  grid-row: 3;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.service-card-desc {
  grid-column: 2;
  grid-row: 1 / span 3;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
  align-self: center;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-desc {
  color: var(--text-primary);
}

.service-card-link {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  align-self: center;
  margin-left: auto;
  white-space: nowrap;
}

.service-card-link svg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  stroke-width: 3;
}

.service-card-link:hover {
  color: var(--accent);
}

.service-card-link:hover svg {
  transform: translateX(6px);
  stroke: var(--accent);
}

/* SPECIAL WARRANTY NEON BANNER */
.warranty-banner {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.02) 0%, rgba(30, 58, 138, 0.05) 100%);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 24px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.03);
}

.warranty-banner-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3.5rem;
  align-items: center;
}

.warranty-badge-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, #d97706 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
  border: 4px solid var(--bg-section-alt);
  animation: pulse-slow 4s infinite ease-in-out;
}

.warranty-badge-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
}

.warranty-badge-unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.warranty-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.warranty-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   CLIENT MARQUEE (Infinite scrolling list)
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 1.5rem 0;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: default;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.marquee-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.marquee-logo-placeholder {
  width: 32px;
  height: 32px;
  background: rgba(30, 58, 138, 0.04);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.marquee-client-name {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   OFFICE & CONTACT SECTION (Elegant Form & Cards)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.office-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.office-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.office-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
}

.office-address {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.office-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
}

.office-map-link:hover {
  color: var(--primary-light);
}

.quick-contacts-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(30, 58, 138, 0.03);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(30, 58, 138, 0.06);
}

.contact-row-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-row-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.contact-row-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  word-break: break-all;
}

/* Elegant Light Contact Form */
.contact-form-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.contact-form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.contact-form-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.95rem 1.2rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%231e3a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  cursor: pointer;
}

select.form-control option {
  background-color: #ffffff;
  color: var(--text-primary);
}

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

/* ==========================================================================
   FOOTER (Light Theme Overhaul)
   ========================================================================== */
.footer {
  background-color: #f8fafc;
  color: var(--text-secondary);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid #e2e8f0;
}

.footer h3, .footer h4 {
  color: var(--primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.3fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-info-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-links-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-hours-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.hours-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.8rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.hours-day {
  color: var(--text-secondary);
  font-weight: 600;
}

.hours-time {
  color: var(--primary);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   DETAIL POPUP MODAL (Services Detail display)
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
  transition: all 0.5s ease;
}

.modal-content-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 36px;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 
    0 40px 100px rgba(15, 23, 42, 0.18), 
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  transform: scale(0.92) translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal.active .modal-content-wrapper {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.6rem;
  font-weight: 300;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
  transform: rotate(90deg) scale(1.05);
}

.modal-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  flex-shrink: 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0.1) 92%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0.1) 92%, rgba(0,0,0,0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.modal-body {
  padding: 3rem;
}

.modal-header-tag {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

.modal-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(30, 58, 138, 0.05);
}

.modal-desc-full {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2.8rem;
  background: rgba(30, 58, 138, 0.02);
  padding: 1.8rem 2.2rem;
  border-radius: 20px;
  border-left: 5px solid transparent;
  border-image: linear-gradient(to bottom, var(--primary), var(--primary-light)) 1 100%;
  border-right: 1px solid rgba(30, 58, 138, 0.04);
  border-top: 1px solid rgba(30, 58, 138, 0.04);
  border-bottom: 1px solid rgba(30, 58, 138, 0.04);
  box-shadow: inset 0 2px 8px rgba(30, 58, 138, 0.01), 0 4px 20px rgba(30, 58, 138, 0.01);
  position: relative;
  white-space: pre-wrap;
}

.modal-desc-full::before {
  content: 'DESKRIPSI KERJA & SPESIFIKASI';
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.8rem;
  opacity: 0.8;
}

.modal-footer {
  border-top: 1px solid rgba(30, 58, 138, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.modal-footer-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(30, 58, 138, 0.02);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 58, 138, 0.04);
}

.modal-footer-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  background: rgba(30, 58, 138, 0.05);
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.04);
}

.modal-footer-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.8;
    transform: scale(0.98);
  }
  100% {
    opacity: 1.2;
    transform: scale(1.02);
  }
}

@keyframes shine-gold {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes radar-ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes btn-pulse-ring {
  0% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25), 0 0 0 0px rgba(245, 158, 11, 0.15);
  }
  70% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25), 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25), 0 0 0 0px rgba(245, 158, 11, 0);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(-0.5deg);
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-shine {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* Tablet Screens (1024px and below) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    max-width: 600px;
    width: 100%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-visual {
    order: 2;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-badge-mechanic {
    right: 10px;
  }
  
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-hours-card {
    grid-column: span 2;
  }
}

/* Mobile Screens (768px and below) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }
  
  .hero-badge-dot {
    flex-shrink: 0;
  }
  
  .hero-stats {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    padding-top: 1.8rem;
    width: 100%;
  }
  
  .stat-item {
    padding: 0.8rem 0.5rem;
    border-radius: 12px;
    text-align: center;
    align-items: center;
  }
  
  .stat-num {
    font-size: 1.5rem;
    justify-content: center;
  }
  
  .stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }
  
  .warranty-banner {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }
  
  .office-card, .quick-contacts-card {
    padding: 1.5rem;
    border-radius: 16px;
    gap: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .header-cta {
    display: none !important;
  }
  
  /* Mobile Navbar Setup */
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-main);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    border-top: 1px solid #e2e8f0;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    display: block;
  }
  
  .warranty-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .warranty-badge-lg {
    margin: 0 auto;
  }
  
  .contact-form-container {
    padding: 2.5rem 1.8rem;
  }
  
  .modal {
    padding: 1rem;
  }
  
  .modal-hero-img {
    height: 180px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  
  .modal-content-wrapper {
    border-radius: 24px;
    max-height: 92vh;
  }
  
  .modal-body {
    padding: 1.5rem 1.25rem;
  }
  
  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .modal-desc-full {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .modal-footer {
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .modal-footer-info {
    justify-content: center;
  }
  
  #modal-booking-btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-hours-card {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.8rem;
    gap: 0;
  }
  
  .service-icon-box {
    margin-bottom: 1.2rem;
  }
  
  .service-card-title {
    margin-bottom: 0.4rem;
  }
  
  .service-card-subtitle {
    margin-bottom: 1.2rem;
  }
  
  .service-card-desc {
    margin-bottom: 2rem;
  }
  
  .service-card-link {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-top: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem;
    width: 100%;
  }
  
  .stat-num {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-logo-box {
    width: 250px;
    height: 250px;
  }
  
  .hero-logo-large-img {
    width: 160px;
  }
  
  .about-img {
    height: 350px;
  }
  
  .about-badge-mechanic {
    position: relative;
    bottom: 0;
    right: 0;
    margin: 2rem auto 0 auto;
  }
  
  .warranty-badge-lg {
    width: 85px;
    height: 85px;
  }
  
  .warranty-badge-num {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   PROMO GRID & CARDS
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 380px)); /* Capped card width to keep 3-column sizing */
  justify-content: center; /* Horizontally centers 1 or 2 cards in the container */
  gap: 2.5rem;
  margin-top: 3rem;
}

.promo-image-container {
  width: 100%;
  height: 260px; /* Fixed height for clean, consistent grid alignment */
  overflow: hidden;
  position: relative;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom: 4px solid var(--accent); /* Elegant gold divider line to make the image stand out */
  background: #0b1329; /* Ultra-premium dark slate background */
}

/* Glassmorphic ambient blurred background layer */
.promo-img-blur-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(20px) brightness(0.55) saturate(1.4);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}

.promo-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: block; /* Remove default inline spacing */
  object-fit: contain; /* Prevents cropping, ensures full flyers are 100% visible */
  z-index: 2; /* Sits on top of blurred ambient layer */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card:hover .promo-img {
  transform: scale(1.04); /* Subtle focus zoom on hover */
}

.promo-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.08), 0 0 25px rgba(245, 158, 11, 0.12);
}

.promo-badge-discount {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  z-index: 3; /* Sits on top of the sharp image */
}

.promo-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  line-height: 1.35;
  padding-right: 120px; /* Safe cushion to prevent overlap with the absolute-positioned badge! */
}

.promo-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.promo-meta {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-promo {
  text-align: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 1rem 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
  transition: all 0.3s ease;
}

.btn-promo:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   SERVICE HISTORY LOOKUP UI & TIMELINE
   ========================================================================== */
.lookup-wrapper {
  max-width: 860px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.lookup-panel-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(30, 58, 138, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.lookup-panel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.lookup-form {
  display: flex;
  gap: 1.2rem;
  max-width: 680px;
  margin: 0 auto 1rem auto;
}

.lookup-input-group {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.lookup-icon {
  position: absolute;
  left: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.lookup-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.lookup-input::placeholder {
  text-transform: none;
  font-weight: 500;
  color: var(--text-muted);
}

.lookup-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
  outline: none;
}

.btn-lookup {
  padding: 0 2.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 160px;
  justify-content: center;
}

.lookup-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.lookup-note strong {
  color: var(--primary);
}

/* Spinner Loading */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Timeline Layout */
.lookup-result-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  animation: fade-in 0.4s ease-out;
}

.result-header-box {
  background: rgba(30, 58, 138, 0.03);
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.result-car-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.result-car-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.result-car-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.result-plate-badge {
  background-color: var(--primary-dark);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.timeline-track {
  position: relative;
  padding: 1rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background-color: rgba(30, 58, 138, 0.1);
}

.timeline-node {
  position: relative;
  padding-left: 55px;
  margin-bottom: 2.5rem;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 10px rgba(30, 58, 138, 0.25);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-node:hover .timeline-dot {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-date-box {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.timeline-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.timeline-nota {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.timeline-stat-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.timeline-stat-badge.selesai {
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.timeline-stat-badge.proses {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.timeline-odo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(30, 58, 138, 0.03);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(30, 58, 138, 0.06);
}

.timeline-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.timeline-detail-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-detail-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.timeline-complaints {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: rgba(15, 23, 42, 0.015);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  border-left: 3px solid #e2e8f0;
  white-space: pre-line;
}

.timeline-parts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.timeline-part-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.timeline-part-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-mechanic {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Alert Lookup Error State */
.lookup-error-box {
  background-color: rgba(239, 68, 68, 0.04);
  border: 1px dashed rgba(239, 68, 68, 0.15);
  border-radius: 18px;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fade-in 0.4s ease-out;
}

.lookup-error-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookup-error-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.lookup-error-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .lookup-form {
    flex-direction: column;
  }
  
  .btn-lookup {
    width: 100%;
    padding: 1.1rem;
  }
  
  .timeline-track::before {
    left: 15px;
  }
  
  .timeline-dot {
    left: 6px;
  }
  
  .timeline-node {
    padding-left: 35px;
  }
  
  .timeline-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .result-header-box {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .result-plate-badge {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   PROMO EMPTY STATE CUSTOM STYLING (Rich Aesthetics & Premium Glassmorphism)
   ========================================================================== */
.promo-empty-card {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  margin: 2rem auto 0 auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fade-in 0.5s ease-out;
}

.promo-empty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.05);
}

.promo-empty-icon {
  width: 80px;
  height: 80px;
  background: rgba(30, 58, 138, 0.04);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  box-shadow: inset 0 2px 8px rgba(30, 58, 138, 0.03);
}

.promo-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.promo-empty-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-promo-empty {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-promo-empty:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   TIMELINE PAGINATION UI (Premium Glassmorphism Style)
   ========================================================================== */
.timeline-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3.5rem;
  animation: fade-in 0.4s ease-out;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(30, 58, 138, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.01);
  outline: none;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.1);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.pagination-btn:disabled {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(30, 58, 138, 0.03);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.5;
}

.pagination-ellipsis {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  user-select: none;
}
