:root {
  --bg-1: #07111f;
  --bg-2: #0a1730;
  --card: rgba(11, 24, 46, 0.72);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: rgba(238, 244, 255, 0.76);
  --accent: #4f8cff;
  --accent-2: #78b5ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(120, 181, 255, 0.16), transparent 25%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

a {
  text-decoration: none;
}

.site-nav {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-link {
  padding: 0;
  margin-right: 0.5rem;
}

.brand-logo {
  width: clamp(170px, 18vw, 220px);
  height: auto;
  display: block;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(238, 244, 255, 0.8);
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.section-pad {
  padding: 7.5rem 0;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.15), transparent 45%);
  pointer-events: none;
}

.hero-title,
.section-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.hero-title {
  max-width: 11ch;
  line-height: 0.94;
}

.hero-copy,
.about-copy,
.service-card p,
.project-card p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8bb9ff;
}

.shadow-soft {
  box-shadow: 0 14px 35px rgba(79, 140, 255, 0.28);
}

.glass-card,
.service-card,
.project-card,
.about-card,
.stat-card {
  position: relative;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(18px);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.glass-card {
  overflow: hidden;
}

.hero-panel {
  width: min(100%, 40rem);
  margin-left: auto;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-one {
  width: 260px;
  height: 260px;
  top: -90px;
  right: -50px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.32), transparent 65%);
}

.orb-two {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -60px;
  animation-delay: -2s;
  background: radial-gradient(circle, rgba(120, 181, 255, 0.22), transparent 65%);
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #49d17f;
  box-shadow: 0 0 0 0 rgba(73, 209, 127, 0.55);
  animation: pulse 2s infinite;
}

.panel-kicker {
  display: inline-block;
  color: #8bb9ff;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-mini {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 600;
}

.feature-mini i,
.service-card i,
.project-icon i,
.contact-item i,
.form-note i {
  color: #8bb9ff;
  font-size: 1.35rem;
}

.stat-card {
  padding: 1.15rem;
  height: 100%;
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat-card:hover,
.service-card:hover,
.project-card:hover,
.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 185, 255, 0.42);
}

.stat-card h3,
.service-card h3,
.project-card h3,
.about-card h2,
.contact-card h2 {
  font-family: "Space Grotesk", sans-serif;
}

.stat-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-card,
.project-card {
  padding: 1.6rem;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card i {
  display: inline-flex;
  margin-bottom: 1rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(79, 140, 255, 0.15);
}

.project-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dce9ff;
  background: rgba(255, 255, 255, 0.08);
}

.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-weight: 700;
}

.project-link:hover {
  color: #8bb9ff;
}

.project-link i {
  font-size: 0.95rem;
}

.about-card {
  padding: 2rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item span,
.form-note span {
  display: block;
  color: var(--muted);
}

.contact-item a {
  color: #fff;
  font-weight: 600;
}

.form-label {
  color: #e6efff;
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
}

.form-control::placeholder {
  color: rgba(238, 244, 255, 0.48);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(139, 185, 255, 0.85);
  box-shadow: 0 0 0 0.25rem rgba(79, 140, 255, 0.22);
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(238, 244, 255, 0.7);
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

.delay-3 {
  animation-delay: 360ms;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(73, 209, 127, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(73, 209, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(73, 209, 127, 0);
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 6.75rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .section-pad {
    padding: 5.5rem 0;
  }

  .feature-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 4.75rem 0;
  }

  .hero-section {
    padding-top: 7rem;
  }

  .page-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.55rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .page-hero .hero-copy {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .brand-logo {
    width: clamp(145px, 44vw, 185px);
  }

  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 2rem !important;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-stats > [class*="col-"] {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
  }

  .stat-card {
    min-height: 7.25rem;
    padding: 0.8rem;
    border-radius: 1rem;
  }

  .stat-card h3 {
    font-size: 1rem;
    letter-spacing: -0.02em;
  }

  .stat-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-panel {
    margin-top: -0.5rem;
    border-radius: 1.2rem;
  }

  .feature-mini {
    padding: 0.95rem;
  }
}
