/* Base Styles for Healthplansamerica Website */

/* Reset and base typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Header and navigation */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e7e9;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #103e8e;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar a.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #103e8e;
  text-decoration: none;
}

.navbar nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.navbar nav a {
  color: #103e8e;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: #0d2c6b;
  text-decoration: underline;
}

/* CTA button */
/* CTA buttons */
.call-button,
.main-cta {
  background-color: #103e8e;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.call-button:hover,
.main-cta:hover {
  background-color: #0d2c6b;
  transform: translateY(-1px);
}

/* Section containers */
/* General section wrapper */
.section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Hero section layout */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: linear-gradient(90deg, #f6f9ff 0%, #eef3ff 100%);
  color: #103e8e;
  text-align: left;
}

/* Inner wrapper splits hero into two columns */
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 50%;
  max-width: 600px;
}

.hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #103e8e;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #324a8f;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  background-color: #e8f0fe;
  color: #103e8e;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Steps/timeline */
/* Step/timeline section */
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  flex: 1;
  min-width: 260px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #103e8e;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.step strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #103e8e;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #103e8e;
  color: #ffffff;
  padding: 3rem 1rem;
  text-align: center;
  border-top: 1px solid #0d2c6b;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-nav a {
  color: #c7d4ed;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Forms */
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

form.contact-form label {
  font-weight: bold;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

form.contact-form button {
  background-color: #103e8e;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

form.contact-form button:hover {
  background-color: #0d2c6b;
}

/* Tables (for rate examples) */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.table th {
  background-color: #e8f0fe;
  color: #0b57d0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .navbar nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-list {
    flex-direction: column;
  }
}

/* Responsive layout for hero section */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero-inner {
    flex-direction: column;
    align-items: center;
  }
  .hero-text,
  .hero-image {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .chips {
    justify-content: center;
  }
}

/* Icon styling */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}