* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #0a2a4d;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0a2a4d, #134b7b);
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 4rem 0;
}

.about h2,
.how-it-works h2,
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0a2a4d;
}

/* One-row horizontal feature layout */
.features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 1rem;
}

.feature {
  flex: 1;
  max-width: 260px;
  min-height: 300px;
  background-color: #f6f8fb;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-6px);
}

.feature h3 {
  margin-bottom: 0.75rem;
  color: #134b7b;
  font-size: 1.15rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Make sure layout still looks good on mobile */
@media (max-width: 900px) {
  .features {
    flex-wrap: wrap;
  }
  .feature {
    flex: 1 1 45%;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .features {
    gap: 1rem;
  }
  .feature {
    flex: 1 1 100%;
    min-height: 260px;
    padding: 1.5rem 1rem;
  }
}

/* How it works */
.steps {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.steps li {
  background: #f6f8fb;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #134b7b;
}

/* Contact */
.contact-info {
  text-align: center;
  margin-top: 1.5rem;
}

.contact-info a {
  display: inline-block;
  color: #134b7b;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  font-size: 1rem;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #0a2a4d;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Responsive Typography & Spacing */
@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
  }

  .main-title {
    font-size: 2.25rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* Motion & Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Safe Area Insets for iPhones */
.hero, header, footer {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* Main Title Section */
.main-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

/* Responsive divider line */
.divider {
  width: clamp(120px, 25vw, 500px); /* responsive width */
  height: 4px;
  background-color: #ffffff;
  margin: 0 auto 2.5rem;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.hero-container {
  text-align: center;
  padding-top: 2rem;
}

