:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #eaf2ff;
  --ink: #07111f;
  --ink-soft: #4b5a6b;
  --primary: #0b5fff;
  --primary-dark: #0737a6;
  --accent: #39a0ff;
  --border: rgba(7, 17, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(7, 17, 31, 0.12);
  --shadow-md: 0 14px 34px rgba(7, 17, 31, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 95, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(57, 160, 255, 0.09), transparent 24%),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

::selection {
  background: rgba(11, 95, 255, 0.16);
  color: var(--ink);
}

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

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 242, 255, 0.9));
}

.performance-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.section-dark {
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(7, 55, 166, 0.92));
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--primary-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.text-accent {
  color: #9bc8ff;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-subtitle {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.fw-extrabold {
  font-weight: 800;
}

.btn {
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.social-links a:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid rgba(11, 95, 255, 0.34);
  outline-offset: 3px;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 0;
  box-shadow: 0 16px 30px rgba(11, 95, 255, 0.22);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  color: #fff;
  box-shadow: 0 20px 38px rgba(11, 95, 255, 0.28);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
}

.site-header {
  position: relative;
  z-index: 1030;
}

.brand-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-width: 320px;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.38));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand-mark:hover .brand-logo {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.nav-shell {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.08);
}

.nav-shell .container-fluid {
  min-height: 74px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar-collapse {
  flex-grow: 1;
}

.nav-shell .navbar-nav {
  width: 100%;
  justify-content: center;
  gap: 0.25rem;
}

.nav-shell .navbar-nav .nav-link {
  color: #0b5fff;
  font-weight: 700;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-shell .navbar-nav .nav-link:hover,
.nav-shell .navbar-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #0b5fff, #1e7bff);
  box-shadow: 0 8px 18px rgba(11, 95, 255, 0.18);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, #0b5fff, #1e7bff);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(11, 95, 255, 0.22);
}

.nav-cta:hover,
.nav-cta.active {
  background: linear-gradient(135deg, #0060ff, #39a0ff);
  box-shadow: 0 14px 26px rgba(11, 95, 255, 0.26);
}

.navbar-toggler {
  border: 1px solid rgba(11, 95, 255, 0.18);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.navbar-toggler:hover {
  background: rgba(11, 95, 255, 0.06);
  border-color: rgba(11, 95, 255, 0.28);
  transform: translateY(-1px);
}

.navbar-toggler-icon {
  width: 1.2em;
  height: 1.2em;
}

.hero-section {
  position: relative;
  color: #fff;
  overflow: clip;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(11, 95, 255, 0.7)),
    linear-gradient(90deg, #07111f, #0b1f3a);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(155, 200, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 90%, rgba(57, 160, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero-points i {
  margin-right: 0.55rem;
  color: #9bc8ff;
}

.hero-card,
.stat-card,
.service-card,
.contact-card,
.form-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: 0.85rem;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
}

.hero-image {
  border-radius: calc(var(--radius-xl) - 8px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stats-strip {
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  height: 100%;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-number {
  margin: 0;
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.service-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.contact-card:hover,
.form-shell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 95, 255, 0.18);
}

.service-icon,
.contact-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.22);
}

.service-card h3,
.contact-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.services-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(7, 17, 31, 0.08);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.04), rgba(255, 255, 255, 0.9));
}

.services-carousel .carousel-item {
  aspect-ratio: 16 / 9;
  background: #dfe9f7;
}

.services-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
  width: 14%;
  opacity: 0.92;
}

.services-carousel .carousel-control-prev-icon,
.services-carousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(7, 17, 31, 0.5);
  background-size: 1.15rem 1.15rem;
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.18);
}

.services-carousel .carousel-indicators {
  margin-bottom: 0.85rem;
}

.services-carousel .carousel-indicators [data-bs-target] {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.72);
  opacity: 0.8;
}

.services-carousel .carousel-indicators .active {
  background-color: #fff;
}

.services-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.14));
  pointer-events: none;
}

.services-carousel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.services-carousel-btn {
  min-width: 9.5rem;
  border-radius: 999px;
  font-weight: 800;
}

.experience-list {
  display: grid;
  gap: 0.9rem;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-item i {
  margin-top: 0.25rem;
  color: #9bc8ff;
}

.contact-card,
.form-shell {
  border-radius: var(--radius-lg);
}

.contact-card {
  height: 100%;
  padding: 1.6rem;
}

.contact-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.form-shell {
  padding: 1.5rem;
}

.form-label {
  color: var(--ink);
  font-weight: 700;
}

.form-control,
.form-select {
  border: 1px solid rgba(7, 17, 31, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(11, 95, 255, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(11, 95, 255, 0.12);
}

.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.invalid-feedback {
  font-weight: 600;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #06101f, #0b1f3a);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.7);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.social-links {
  display: inline-flex;
  gap: 0.8rem;
}

.social-links a {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), background-color var(--transition);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(155, 200, 255, 0.16);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1080;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#formMessage {
  border-radius: 14px;
}

#formMessage.alert-success {
  background: rgba(25, 135, 84, 0.12);
  border-color: rgba(25, 135, 84, 0.25);
  color: #0f5132;
}

#formMessage.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.22);
  color: #842029;
}

:focus-visible {
  outline: 3px solid rgba(11, 95, 255, 0.34);
  outline-offset: 3px;
}

@media (min-width: 576px) {
  .nav-shell .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }
}

@media (min-width: 768px) {
  .brand-logo {
    max-height: 152px;
  }

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

  .hero-section {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
  }

  .form-shell {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .nav-shell .navbar-collapse {
    margin-left: auto;
  }

  .nav-shell .navbar-nav {
    gap: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .nav-shell .container-fluid {
    min-height: 72px;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 102, 255, 0.12);
    box-shadow: 0 18px 40px rgba(7, 17, 31, 0.08);
  }

  .nav-shell .navbar-nav {
    gap: 0.15rem;
  }

  .nav-shell .navbar-nav .nav-link {
    width: 100%;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: min(88vw, 280px);
    max-height: 120px;
  }

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

  .stats-strip {
    margin-top: -1rem;
  }

  .hero-section .display-4 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }

  .services-carousel .carousel-item {
    aspect-ratio: 4 / 3;
  }

  .services-carousel .carousel-control-prev,
  .services-carousel .carousel-control-next {
    width: 18%;
  }

  .services-carousel .carousel-control-prev-icon,
  .services-carousel .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    background-size: 0.95rem 0.95rem;
  }

  .services-carousel-btn {
    min-width: 8.5rem;
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
