:root {
  --bg: #0b1220;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #f8fafc;
  scroll-behavior: smooth;
}

.glass-nav {
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(8px);
}

.hero-section {
  min-height: 94vh;
  padding-top: 90px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.28), transparent 36%),
    radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.25), transparent 33%),
    linear-gradient(140deg, #0b1220 0%, #0f172a 55%, #111827 100%);
  color: #f8fafc;
}

.badge-pill {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.navbar-brand img,
.brand-inline img {
  border-radius: 0.45rem;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.list-check {
  margin: 0;
  padding-left: 1.1rem;
}

.section-space {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%);
}

.section-title h2 {
  color: #0f172a;
}

.project-card,
.service-card,
.contact-card,
.form-card {
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover,
.service-card:hover,
.contact-card:hover,
.form-card:hover {
  transform: translateY(-4px);
  border-color: #cfe0ff;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.1);
}

.project-tag {
  font-size: 0.75rem;
  background: var(--primary-soft);
  color: #1e40af;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
}

.mini-hero {
  color: #ffffff;
  padding-top: 2rem;
}

.k360-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.eco-hero {
  background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 100%);
}

.detail-page {
  background: #f8fafc;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.list-group-item {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
}

.list-group-item:last-child {
  border-bottom: 0;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 4rem;
  }

  .section-space {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
  }
}
