/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0B1D3A;
  --ocean: #1E6CA8;
  --seafoam: #3ABAB4;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --charcoal: #1A1A2E;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--seafoam);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--navy);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-logo svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo span {
  white-space: nowrap;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

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

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

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

/* ===== Hero ===== */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(160deg, var(--navy) 0%, #0f2847 60%, var(--ocean) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(58, 186, 180, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--seafoam);
  color: var(--navy);
}

.btn-primary:hover {
  background: #2fa8a2;
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--seafoam);
  color: var(--seafoam);
}

/* ===== Wave Dividers ===== */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

.wave-divider-bottom {
  margin-bottom: -1px;
}

/* ===== Services ===== */
.services {
  padding: 96px 0;
  background: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-heading p {
  color: #5a6577;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 29, 58, 0.08);
  border-color: rgba(30, 108, 168, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--seafoam);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  color: #5a6577;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== About ===== */
.about {
  padding: 96px 0;
  background: var(--light-gray);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3d4555;
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ===== Contact ===== */
.contact {
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.contact p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

.contact .btn-primary {
  font-size: 1.05rem;
  padding: 16px 40px;
}

/* ===== Footer ===== */
.footer {
  background: #071426;
  color: rgba(255, 255, 255, 0.5);
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .nav-logo span {
    font-size: 0.95rem;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero .tagline {
    font-size: 1rem;
  }
}
