:root {
  --primary: #0d3b66;
  --secondary: #14b8a6;
  --light: #f8fafc;
  --text: #17324d;
  --muted: #64809b;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0d3b66 0%, #14b8a6 100%);
  --radius: 16px;
  --shadow: 0 14px 40px rgba(13, 59, 102, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0;
}

h1,
h2,
h3 {
  color: #082b4e;
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.lead {
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}

.btn-outline {
  border: 1px solid rgba(13, 59, 102, 0.2);
  color: var(--primary);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.six-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(13, 59, 102, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
}

.brand-badge {
  width: 38px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--gradient);
  color: var(--white);
  display: grid;
  place-content: center;
  font-size: 0.8rem;
}

.brand span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  color: var(--primary);
}

.hero {
  background: radial-gradient(circle at 100% 0, rgba(20, 184, 166, 0.18), transparent 42%);
}

.wave-top {
  position: relative;
}

.wave-top::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 36px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.12), rgba(13, 59, 102, 0.12));
  border-bottom-left-radius: 80% 100%;
  border-bottom-right-radius: 80% 100%;
}

.hero-grid,
.split-grid,
.testimonial-grid {
  display: grid;
  gap: 34px;
  align-items: center;
  grid-template-columns: 1.1fr 1fr;
}

.hero-image-wrap img,
.split-image img,
.testimonial-grid img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--white);
  background: var(--gradient);
  font-weight: 700;
  margin-bottom: 14px;
}

.wave-bg {
  background: linear-gradient(180deg, #eef8fb 0%, #f8fbfd 100%);
  position: relative;
}

.wave-bg-light {
  background: linear-gradient(180deg, #f3fdff 0%, #f8fafc 100%);
}

.service-card a {
  color: var(--secondary);
  font-weight: 700;
}

.service-card img {
  border-radius: 12px;
  margin-bottom: 14px;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.progress-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #dbe8f2;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.cta-banner {
  background: #062f63;
}

.cta-banner h2 {
  color: var(--white);
  margin: 0;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature-overlay {
  position: absolute;
  inset: auto 14px 14px;
  border-radius: 14px;
  background: rgba(6, 47, 99, 0.86);
  padding: 18px;
}

.feature-overlay h3,
.feature-overlay p {
  color: var(--white);
  margin-bottom: 8px;
}

.profile-card img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.role {
  color: var(--secondary);
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e7f8f6;
  color: var(--secondary);
  display: grid;
  place-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.accordion details {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
}

.accordion summary {
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.testimonial-grid blockquote {
  margin: 0;
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--secondary);
}

.testimonial-grid cite {
  color: var(--primary);
  font-weight: 700;
}

.blog-card img {
  border-radius: 14px;
  margin-bottom: 14px;
  height: 170px;
  object-fit: cover;
}

.page-hero {
  background: linear-gradient(180deg, #eaf7fb 0%, #f8fafc 100%);
  padding: 72px 0 56px;
}

.page-hero p {
  max-width: 720px;
}

.content-block {
  margin-top: 26px;
}

.services-detailed {
  display: grid;
  gap: 22px;
}

.service-detail {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.service-detail img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 14px;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-detail ul {
  padding-left: 18px;
  color: var(--muted);
}

.form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #c7d7e6;
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--secondary);
  outline: 3px solid rgba(20, 184, 166, 0.15);
}

.error {
  font-size: 0.88rem;
  color: #c93c3c;
  min-height: 1.2rem;
}

.success-message {
  margin-top: 14px;
  color: #0b7a6f;
  font-weight: 600;
}

.site-footer {
  background: #052b59;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 54px 0 34px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0 24px;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .testimonial-grid,
  .three-grid,
  .six-grid,
  .steps-grid,
  .two-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > :first-child,
  .split-grid > :first-child,
  .testimonial-grid > :first-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 58px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid rgba(13, 59, 102, 0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-wrap .btn {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .testimonial-grid,
  .three-grid,
  .six-grid,
  .steps-grid,
  .two-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail img {
    min-height: 220px;
  }

  .hero-grid > :first-child,
  .split-grid > :first-child,
  .testimonial-grid > :first-child {
    grid-column: auto;
  }

  .cta-flex {
    flex-direction: column;
    text-align: center;
  }
}
