:root {
  --bg: #0d2344;
  --surface: #12365f;
  --surface-2: #0f2e54;
  --text: #eef6ff;
  --muted: #b3c9e4;
  --primary: #0f5b8c;
  --primary-dark: #0a3d61;
  --primary-light: #e9f3fb;
  --accent: #f2a51a;
  --accent-dark: #cb8610;
  --border: #234a7b;
  --shadow: 0 22px 50px rgba(1, 10, 22, 0.48);
  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(15, 91, 140, 0.18), transparent 18%),
    linear-gradient(180deg, #0b1f3d 0%, var(--bg) 100%);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.15;
  z-index: -1;
}

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

img {
  max-width: 100%;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(15, 91, 140, 0.18));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0b1f3d 0%, #0f2d56 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35, 74, 123, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #d7e6fb;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-small {
  padding: 0.75rem 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #176b9d);
  color: #fff;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 14px 28px rgba(15, 91, 140, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0e4e77, var(--primary));
}

.btn-secondary {
  color: var(--primary);
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--border);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(242, 165, 26, 0.16), rgba(242, 165, 26, 0));
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -4%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(15, 91, 140, 0.08), rgba(15, 91, 140, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  color: var(--muted);
}

.hero-highlights li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.4rem;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, #0f5b8c, #0b3353 70%, #0d446d);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 28px 60px rgba(11, 51, 83, 0.3);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(242, 165, 26, 0.25), transparent 68%);
}

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

.card-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.stat-label,
.stat-text {
  color: #dce8f1;
}

.card-panel h2 {
  font-size: 3rem;
  margin: 0.3rem 0;
}

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

.mini-grid div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.mini-grid strong {
  display: block;
  font-size: 1.8rem;
}

.logos {
  padding: 0.75rem 0 2rem;
  text-align: center;
  color: var(--muted);
}

.logos p {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #eef4f9;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-grid h2,
.cta-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card,
.process-grid div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.process-grid div:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 37, 63, 0.08);
}

.service-card h3,
.process-grid h3 {
  margin-bottom: 0.65rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, #0f2d56 0%, #12365f 55%, #0d2244 100%);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 1rem;
}

.about-left h2 {
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-text {
  color: #d7e6fb;
  max-width: 58ch;
}

.about-right {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: #f7faff;
  color: #1a2637;
  border-radius: 18px;
  padding: 1.2rem;
}

.about-card-main {
  background: linear-gradient(180deg, #f9fbff 0%, #eef6ff 100%);
}

.about-card-main h3 {
  margin: 0.5rem 0;
}

.about-divider {
  border: none;
  border-top: 1px solid #dde8f5;
  margin: 1rem 0;
}

.about-mission-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.4rem;
}

.about-mission-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2d3a4a;
  margin: 0;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.about-mini-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7faff;
  border-radius: 16px;
  padding: 1rem;
}

.about-mini-card strong {
  display: block;
  font-size: 1.8rem;
}

.about-card-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.about-card-list ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: #1a2637;
}

.about-card-list li::before {
  content: '';
}

.about-panel ul {
  margin-top: 1rem;
  padding-left: 1rem;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 91, 140, 0.08);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.form-message {
  min-height: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.form-success {
  padding: 1.5rem;
  background: rgba(15, 91, 140, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta {
  flex-shrink: 0;
}

.page-hero {
  padding-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 3.3vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.page-text {
  max-width: 62ch;
  color: var(--muted);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.values-grid article {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form-page {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .about-showcase,
  .about-layout,
  .contact-layout,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    font-size: 0.8rem;
    padding: 0.6rem 0.85rem;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(90deg, #0b1f3d 0%, #0f2d56 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1rem;
    z-index: 999;
    gap: 0;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(35, 74, 123, 0.4);
    font-size: 1rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-showcase {
    padding: 1.5rem;
  }

  .services-grid,
  .process-grid,
  .mini-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 0.5rem;
  }
}
