/* KVPM Automation - Global Styles */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0b1020;
  color: #111827;
}

.page-wrapper {
  margin-top: 72px;
}

/* Navbar */
#mainNavbar {
  background: rgba(6, 10, 26, 0.94);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.text-accent {
  color: #00c2ff !important;
}

.btn-accent {
  background: linear-gradient(135deg, #00c2ff, #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 150, 255, 0.35);
}

.btn-accent:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-accent:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.5);
}

.btn-outline-primary {
  border-radius: 999px;
}

.bg-gradient-dark {
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
}

.hero-section {
  min-height: 90vh;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, #1d4ed8, #020617 45%, #020617);
}

.hero-section .lead {
  max-width: 560px;
}

.hero-visual {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border-radius: 1.5rem;
}

.hero-visual .stat-tile {
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e5e7eb;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-unit {
  font-size: 0.8rem;
}

.stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.bg-accent-soft {
  background: rgba(56, 189, 248, 0.15);
}

.section-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
}

/* Cards & Sections */
.service-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, translate 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.icon-circle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 1.25rem;
}

.about-panel,
.values-panel,
.mini-card,
.step-card,
.benefit-card,
.service-detail-card,
.info-tile {
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}

.values-panel {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
}

.values-panel .value-tile {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.value-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  font-weight: 600;
}

.focus-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1rem 1.2rem;
  background: #f9fafb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.focus-card h6 {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step-card {
  background: #ffffff;
  text-align: left;
}

.step-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 0.25rem;
}

.step-card h6 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.check-badge {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  position: relative;
}

.check-badge::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 0.75rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.mini-card {
  background: #0f172a;
  color: #e5e7eb;
}

.mini-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

/* Gallery */
.gallery-thumb,
.gallery-item img {
  object-fit: cover;
}

.gallery-item {
  border-radius: 0.9rem;
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent, rgba(15, 23, 42, 0.7));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Contact */
.contact-section {
  position: relative;
  background: radial-gradient(circle at top left, #1d4ed8, #020617 50%, #020617);
}

.contact-card {
  border-radius: 1rem;
}

.contact-details p {
  color: #e5e7eb;
}

.contact-section .form-label,
.contact-section label {
  color: #e2e8f0;
}

.contact-section .form-control,
.contact-section .form-select {
  background: #0b132a;
  border-color: rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
}

.contact-section .form-control::placeholder,
.contact-section .form-select {
  color: #cbd5e1;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25);
}

/* Page hero */
.page-hero {
  min-height: 260px;
}

.page-hero.smaller {
  min-height: 220px;
}

/* Footer */
footer {
  color: #9ca3af;
}

/* AOS tweaks */
[data-aos] {
  transition-duration: 600ms;
}

/* Utility */
.text-gradient {
  background: linear-gradient(135deg, #93c5fd, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Improve contrast for light text accents */
.text-light-emphasis {
  color: #d5deeb !important;
}

.text-muted {
  color: #6b7280 !important;
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .page-wrapper {
    margin-top: 64px;
  }
}


