/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #1a9da9dd;
  color: #333;
  line-height: 1.6;
}

/* Navbar styles handled by navbar.css */
/* .navbar { ... } */
/* .navbar .nav-links ... */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  align-items: center;
  padding: 120px 2rem 4rem;
  /* Increased top padding for navbar */
  background: linear-gradient(to right, #f4f4f9, #ffffff);
}

.hero-content {
  max-width: 500px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0d1b2a;
  margin-left: 19%;
}

.hero-content p {
  margin-bottom: 1.5rem;
  margin-left: 22%;
}

.hero-content .btn {
  background: #0c5d63;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
  margin-left: 30%;
  margin-bottom: 2rem;
}

.hero-content .btn:hover {
  background: #e09e00;
}

.hero-image img {
  width: 100%;
  border-radius: 60px 0px 60px 0px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  margin-left: -15%;
}

.nannies-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  height: 100%;
  background: #83b3b2;
  padding: 0rem 0;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
  margin-right: 30%;/
}

.marquee-track {
  display: flex;
  gap: 0.8rem;
  animation: scroll 25s linear infinite;
}

.marquee-track img {
  width: 900px;
  /* adjust size */
  height: 550px;
  /* uniform height */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.marquee-track img:hover {
  transform: scale(1.05);
}

/* Keyframes */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* Features */
.features {
  padding: 3rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0d1b2a;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: #f4b400;
}

/* Testimonials */
.testimonials {
  padding: 3rem 2rem;
  background: #f6f6f7;
  color: rgba(21, 157, 141, 0.783);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonials blockquote {
  font-style: italic;
  margin: 1rem auto;
  max-width: 600px;
  border-left: 4px solid #f4b400;
  padding-left: 1rem;
}

/* Booking */
.booking {
  padding: 5rem 2rem;
  text-align: center;

}

.booking p {
  margin-bottom: 16px;
}

.booking .btn {
  background: #124a4e;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
  margin-top: 20px;

}

.booking .btn:hover {
  background: #f4b400;
  color: #0d1b2a;
}

/* Footer */

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }

  .hero-content h1 {
    margin-left: 0;
  }

  .hero-content p {
    margin-left: 0;
  }

  .hero-content .btn {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .nannies-marquee {
    display: none;
  }

  /* Feature Grid 1 col */
  .feature-grid {
    grid-template-columns: 1fr;
  }
}