:root {
  --primary-deep: #0b3c5d;
  --primary-blue: #0077c2;
  --accent-cyan: #328cc1;
  --light-bg: #f9fbfd;
  --text-dark: #1d2731;
  --text-muted: #6c7a89;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Navbar Styling */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 800;
  color: var(--primary-deep) !important;
  letter-spacing: -0.5px;
}
.navbar-brand span {
  color: var(--primary-blue);
}
.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0b3c5d 0%, #0077c2 100%);
  color: #ffffff;
  padding: 160px 0 120px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #ffffff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}
.hero-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}
.btn-cta-primary {
  background-color: #ffffff;
  color: var(--primary-deep);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn-cta-primary:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section Structural Utility */
.section-padding {
  padding: 100px 0;
}
.section-title-wrapper {
  margin-bottom: 60px;
}
.section-tag {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 10px;
  display: inline-block;
}
.section-title {
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.5px;
}

/* Vision & Mission Cards */
.vm-card {
  border: none;
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.vm-card.vision {
  background: linear-gradient(to bottom right, #ffffff, #f0f7fc);
  border-left: 5px solid var(--primary-blue);
}
.vm-card.mission {
  background: linear-gradient(to bottom right, #ffffff, #f4fbf9);
  border-left: 5px solid #2ecc71;
}
.mission-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.mission-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #2ecc71;
}

/* Value Section (D.E.S.V.A.R.A) */
.value-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11, 60, 93, 0.08);
}
.value-letter {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 10px;
}
.value-title {
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

/* Service Cards & Tabs */
.service-nav-link {
  font-weight: 600;
  padding: 15px 25px !important;
  border-radius: 12px !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-right: 10px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
.service-nav-link.active {
  background-color: var(--primary-deep) !important;
  color: #ffffff !important;
  border-color: var(--primary-deep) !important;
}
.service-content-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
}
.position-badge {
  background-color: #f0f4f8;
  color: var(--primary-deep);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-block;
  margin: 5px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.position-badge:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* Process Steps (Stepper) */
.process-row {
  position: relative;
}
.process-step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  z-index: 2;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}
.process-step-card:hover {
  border-color: var(--primary-blue);
  transform: scale(1.02);
}
.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px auto;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 119, 194, 0.3);
}

/* Advantage Cards */
.advantage-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border-bottom: 4px solid transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--primary-blue);
  box-shadow: 0 15px 35px rgba(0, 119, 194, 0.1);
}
.advantage-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

/* CEO Quote Section */
.ceo-section {
  background:
    linear-gradient(rgba(11, 60, 93, 0.95), rgba(11, 60, 93, 0.95)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1200") center/cover;
  color: #ffffff;
  padding: 90px 0;
  border-radius: 24px;
}
.quote-icon {
  font-size: 3rem;
  color: var(--accent-cyan);
  opacity: 0.6;
}

/* Footer */
footer {
  background-color: #082942;
  color: #ffffff;
  padding: 80px 0 30px 0;
}
.footer-title {
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-blue);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.contact-item i {
  margin-right: 15px;
  color: var(--accent-cyan);
  margin-top: 5px;
}

/* Floating WA widget */
.wa-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.2s;
  text-decoration: none !important;
}
.wa-floating:hover {
  color: white;
  transform: scale(1.1);
  text-decoration: none !important;
}

/* Optimasi grid Proses Kerja (Stepper) agar vertikal di mobile */
@media (max-width: 991.98px) {
  .process-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .process-row [class*="col-"] {
    width: 100% !important;
  }

  .process-step-card {
    padding: 30px 20px;
  }
}

/* Penyesuaian ukuran teks Hero & padding di layar kecil */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.2rem !important; /* Perkecil judul agar tidak memotong layar */
  }

  .hero-section {
    padding: 120px 0 80px 0 !important;
  }

  .section-padding {
    padding: 60px 0 !important; /* Longgarkan padding section agar pas di HP */
  }

  /* Buat Values Grid (D.E.S.V.A.R.A) lebih rapi saat vertical layout */
  .value-box {
    padding: 20px;
  }

  /* Merapikan visual tab layanan pada perangkat mobile */
  .service-nav-link {
    margin-right: 0 !important;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .service-content-box {
    padding: 25px 15px !important;
  }

  /* Mengamankan letak tombol WhatsApp agar tidak menutupi konten penting */
  .wa-floating {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
