:root {
  --primary: #2758B2;
  --secondary: #44b6d1;
  --neutral: #7C7C7C;
  --white: #ffffff;
  --text: #162033;
  --text-soft: #5f6d83;
  --dark: #091427;
  --dark-2: #0d1b33;
  --soft-bg: #f3f7fc;
  --border: rgba(39, 88, 178, 0.12);
  --shadow-sm: 0 10px 30px rgba(12, 24, 48, 0.08);
  --shadow-md: 0 18px 50px rgba(12, 24, 48, 0.12);
  --shadow-lg: 0 30px 80px rgba(8, 20, 44, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --container: 1200px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 78px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-soft {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.section-head {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 42px;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

.section-head p,
.about-copy p,
.contact-copy p {
  color: var(--text-soft);
}

.section-dark .section-head p,
.section-dark .contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-top: 14px;
}

.header-container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(8, 20, 44, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
}

.brand-logo {
  width: 158px;
  height: auto;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
  margin-inline: auto;
  transition: var(--transition);
}

.site-nav {
  position: absolute;
  top: 92px;
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(9, 20, 39, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.site-nav.active {
  display: flex;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--secondary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important;
  padding: 0 18px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 17, 35, 0.94), rgba(20, 44, 90, 0.78)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  transform: scale(1.03);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-glow-1 {
  width: 320px;
  height: 320px;
  background: var(--primary);
  top: 10%;
  right: -60px;
}

.hero-glow-2 {
  width: 240px;
  height: 240px;
  background: var(--secondary);
  bottom: 10%;
  left: -40px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero-description {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.hero-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  position: relative;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}

.hero-links a:hover::after {
  width: 100%;
}

.floating-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.floating-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 22px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #36d399;
  box-shadow: 0 0 0 6px rgba(54, 211, 153, 0.15);
}

.floating-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-box strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-box span {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.floating-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.floating-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #326ad0);
  box-shadow: 0 16px 30px rgba(39, 88, 178, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 36px rgba(39, 88, 178, 0.34);
}

.btn-secondary {
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), #58c3dc);
  box-shadow: 0 16px 30px rgba(68, 182, 209, 0.24);
}

.btn-full {
  width: 100%;
}

.about {
  background: var(--white);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.about-copy p {
  margin-bottom: 16px;
}

.feature-card {
  height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text-soft);
}

.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #000;
}

.site-video {
  width: 100%;
  height: auto;
}

.stats-grid,
.services-grid,
.blog-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.stat-card,
.service-card,
.blog-card,
.gallery-item,
.contact-form {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 800;
}

.stat-card span {
  color: var(--text-soft);
  font-weight: 600;
}

.results-banner {
  margin-top: 32px;
  padding: 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), #173a83);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.results-banner h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.results-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.services {
  background: var(--white);
}

.service-card {
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card h3,
.blog-card h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.service-card p,
.blog-card p {
  color: var(--text-soft);
}

.blog {
  background: var(--soft-bg);
}

.blog-card {
  padding: 24px;
}

.blog-date {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.88rem;
}

.inline-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
}

.gallery {
  background: var(--white);
}

.gallery-item {
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: var(--white);
  font-weight: 700;
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 20, 39, 0.85) 100%),
    linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-md);
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(68, 182, 209, 0.18);
  filter: blur(50px);
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.contact-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--white);
}

.contact-list p,
.contact-list a {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-form-wrap {
  position: relative;
  z-index: 2;
}

.contact-form {
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 51, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(68, 182, 209, 0.16);
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #d93025;
  font-size: 0.84rem;
}

.form-success {
  margin-top: 14px;
  color: #198754;
  font-weight: 700;
}

.site-footer {
  background: #07111f;
  color: rgba(255, 255, 255, 0.76);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (min-width: 768px) {
  .section {
    padding: 98px 0;
  }

  .stats-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
