:root {
  --bg-dark: #0b1220;
  --bg-navy: #0f1b33;
  --accent: #4f8cff;
  --accent-soft: #eef4ff;
  --text-main: #1f2a37;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
}

.section-padding {
  padding: 6rem 0;
}

#mainNav {
  background: rgba(11, 18, 32, 0.45);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.3);
}

.hero-section {
  position: relative;
  background: radial-gradient(circle at top right, #1c2f57, var(--bg-dark) 48%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(79, 140, 255, 0.2), transparent 60%);
}

.hero-content {
  z-index: 2;
}

.hero-section h1,
.hero-section p {
  color: #f8fafc;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-indicator span {
  display: inline-block;
  width: 1.75rem;
  height: 2.7rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 1.7s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 1rem);
  }
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-card,
.contact-box {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.service-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--accent-soft);
}

.stats-section {
  background: linear-gradient(180deg, #101a2e, #111827);
}

.stat-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
}

footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .section-padding {
    padding: 4rem 0;
  }
}
