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

:root {
  --navy: #0d1f3c;
  --blue: #1a56a0;
  --blue-mid: #2a6ec4;
  --blue-light: #e8f1fb;
  --accent: #1d9e75;
  --accent-light: #e1f5ee;
  --gray: #f5f6f8;
  --text: #1a1a2e;
  --muted: #6b7280;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  max-width: 100vw;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 150px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-brand {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.2;
}

.nav-brand span {
  display: block;
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--navy) !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 120px 5% 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 80% 50%,
      rgba(26, 86, 160, 0.35) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(29, 158, 117, 0.15) 0%,
      transparent 50%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ECG line SVG decoration */
.hero-ecg {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid rgba(29, 158, 117, 0.3);
  color: #5dcaa5;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #5dcaa5;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: #5dcaa5;
}

.hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}

.btn-primary:hover {
  background: #0f6e56;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  display: block;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* SECTION COMMON */
section {
  padding: 96px 5%;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  overflow: hidden;
}

.about-card-main {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(29, 158, 117, 0.25),
    transparent 60%
  );
  border-radius: 50%;
}

.about-quote {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.about-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.about-author-name {
  font-weight: 500;
  font-size: 14px;
  color: white;
}

.about-author-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.about-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent-light);
  border: 2px solid #5dcaa5;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-float-icon {
  font-size: 24px;
}

.about-float-num {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.about-float-label {
  font-size: 11px;
  color: var(--accent);
  display: block;
}

.about-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-text {
  font-size: 14px;
  color: var(--text);
  padding-top: 8px;
  line-height: 1.5;
}

/* SERVICES */
.services {
  background: var(--gray);
}

.services-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.service-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 50px;
}

/* HOW IT WORKS */
.how {
  background: white;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-top: 56px;
  position: relative;
}

.step {
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 2;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--navy), rgba(26, 86, 160, 0.2));
}

.step h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--navy);
  color: white;
}

.testimonials .section-title {
  color: white;
}
.testimonials .section-label {
  color: #5dcaa5;
}
.testimonials .section-lead {
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px;
  transition: background 0.2s;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.star {
  width: 14px;
  height: 14px;
  background: #fac775;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.t-name {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.t-info {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* CTA */
.cta-section {
  background: var(--blue-light);
  text-align: center;
  padding: 100px 5%;
}

.cta-section .section-title {
  color: var(--navy);
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
}

.cta-card p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-wpp:hover {
  background: #1da854;
  transform: translateY(-2px);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-navy:hover {
  background: #0d1a30;
  transform: translateY(-2px);
}

.cta-contact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.contact-item-val:hover {
  color: var(--blue);
}

/* TEAM SECTION */
.team {
  background: var(--gray);
  padding: 96px 5%;
}

.team-lead {
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
  position: relative;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card-body {
  padding: 28px 28px 32px;
}

.team-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.team-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-role--blue {
  color: var(--blue);
}

.team-badge--blue {
  background: var(--blue-light);
}

.team-badge--blue .team-badge-label,
.team-badge--blue .team-badge-value {
  color: #185fa5;
}

.team-badge {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
}

.team-badge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f6e56;
  display: block;
}

.team-badge-value {
  font-size: 12px;
  font-weight: 600;
  color: #0f6e56;
}

.team-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.team-tag {
  font-size: 11px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.team-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
  position: relative;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card-body {
  padding: 28px 28px 32px;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer-sub {
  font-size: 11px;
  display: block;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-size: 12px;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 8px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeUp 0.7s ease both;
}

.hero-badge {
  animation-delay: 0.1s;
}
.hero h1 {
  animation-delay: 0.2s;
}
.hero p {
  animation-delay: 0.3s;
}
.hero-actions {
  animation-delay: 0.4s;
}
.hero-stats {
  animation-delay: 0.5s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 0 4%;
  }
  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 4% 60px;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  section {
    padding: 64px 4%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-float {
    position: static;
    margin-top: 20px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
