.hero {
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  height: auto;
padding: 80px 8% 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  text-align: left;
  color: white;
  position: relative;
overflow: hidden;
  padding-left: 8%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;

}


.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}gr

.hero-heading {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero { justify-content: center; text-align: center; padding-left: 0; }
  .hero-overlay { max-width: 90%; }
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay h2 { font-size: 1rem; }
  .hero-overlay p { font-size: 1rem; }
}
.cta-btn {
  background-color: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}
.hero-overlay {
  margin-bottom: 0; /* Prevent extra space below */
}


.cta-btn:hover {
  background-color: #1e40af;
}
.cta-btn {
  opacity: 0;
margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.5s forwards;

}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #FFD700;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav-links a.active {
  border-bottom: 2px solid white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #FFD700;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #f9fafc;
}

header {
  background-color: #002B5B;
  padding: 0;
  margin: 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0 5px;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  vertical-align: middle;
}

.nav-links a.active {
  border-bottom: 2px solid white;
  padding-bottom: 2px;
}
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  color: white;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: #FFD700;
}  

.milestone-journey {
  background: linear-gradient(to bottom, #ffffff, #f4f7fc);
  padding: 80px 20px 60px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  color: #333;
  border-top: 4px solid #002B5B;
}

.milestone-journey h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  color: #002B5B;
}

.milestone-journey .intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

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

.icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

/* Color Echo from Growth Journey */
.step.care       { border-top-color: #4CAF50; }
.step.finance    { border-top-color: #2196F3; }
.step.providers  { border-top-color: #9C27B0; }
.step.facilities { border-top-color: #FF9800; }

.icon.care       { color: #4CAF50; }
.icon.finance    { color: #2196F3; }
.icon.providers  { color: #9C27B0; }
.icon.facilities { color: #FF9800; }

.step h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 600;
}

.step p {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .journey-steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 90%;
    margin-bottom: 20px;
  }

  .milestone-journey h2 {
    font-size: 2em;
  }

  .milestone-journey .intro {
    font-size: 1em;
  }
}


/* Growth Journey Section */
.growth-journey {
  background: linear-gradient(to bottom, #f4f7fc, #ffffff);
  padding: 80px 20px 60px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  color: #333;
}

.growth-journey h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  color: #002B5B;
}

.growth-journey .intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

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

.icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

/* Color Echo from Milestone */
.step.care       { border-top-color: #4CAF50; }  /* Green */
.step.finance    { border-top-color: #2196F3; }  /* Blue */
.step.providers  { border-top-color: #9C27B0; }  /* Purple */
.step.facilities { border-top-color: #FF9800; }  /* Orange */

.icon.care       { color: #4CAF50; }
.icon.finance    { color: #2196F3; }
.icon.providers  { color: #9C27B0; }
.icon.facilities { color: #FF9800; }

.step h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 600;
}

.step p {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  margin-top: 50px;
  padding: 14px 28px;
  background-color: #2563eb;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #1e40af;
}

@media (max-width: 768px) {
  .journey-steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 90%;
    margin-bottom: 20px;
  }

  .growth-journey h2 {
    font-size: 2em;
  }

  .growth-journey .intro {
    font-size: 1em;
  }
}

.divider-gradient {
  height: 60px;
  background: linear-gradient(to bottom, #003f7d, #f4f7fc);
  margin-bottom: -1px;
}

@media (max-width: 768px) {
  .divider-gradient {
    height: 40px;
  }
}

.top-carousel {
  background: linear-gradient(to right, #ffffff, #f4f7fc);
  color: #002B5B;
  font-family: 'Lato', sans-serif;
  overflow: hidden;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #e0e6ed; /* subtle divider line */
}
.carousel-track {
  display: flex;
  animation: scrollCarousel 40s linear infinite;
}

.carousel-slide {
  flex: 0 0 100%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0 20px;
  white-space: nowrap;
}

@keyframes scrollCarousel {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  100% { transform: translateX(-400%); }
}

footer {
      background-color: #1a2e4f;
      color: white;
      text-align: center;
      padding: 10px 20px;
      font-size: 0.8rem;
    }