
/* Base font sizing for body on mobile */
body {
  font-size: 1rem; /* default 16px */
  line-height: 1.6;
}

/* Headings */
h1 {
  font-size: 1.8rem; /* ~29px */
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 1.5rem; /* ~24px */
  font-weight: 600;
}

h3 {
  font-size: 1.3rem; /* ~21px */
  font-weight: 600;
}

/* Navbar links on mobile */
@media (max-width: 768px) {
  .navbar-links a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
  }
}

/* Button sizing */
button, .button, .cta-button {
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Tour Preview Section */
.tour-preview-section {
  background-color: #fff6e9;
  text-align: center;
  padding: 4rem 2rem;
   
}

.tour-preview-content h2 {
  font-size: 2rem; /* same as other section headings */
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
  font-family: 'Playfair Display', serif;
}

.tour-preview-content p {
  font-size: 1.1rem; /* same as Join the Team and About preview text */
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #333;
  line-height: 1.6;
}

.tour-button {background-color: #f39c12;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
    
}

.tour-button:hover {
  background-color: #d4881f;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
}


.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tuition-banner {
  background-color: #f9c74f; /* warm yellow, adjust if needed */
  padding: 0.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.banner-text {
  display: inline-block;
  white-space: nowrap;
  animation: scrollBanner 15s linear infinite;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50; /* dark navy for contrast */
}

@keyframes scrollBanner {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fffaf0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.logo {
  height: 60px;
  border-radius: 10px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links .active {
  color: #f39c12;
}
.map-container {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px; /* adjust height as desired */
  border: 0;
}

@media (max-width: 768px) {
  .about-preview,
  .more-than-daycare,
  .join-preview {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about-preview > div,
  .more-than-daycare > div,
  .join-preview > div {
    max-width: 100%;
    padding: 0;
  }

  .about-preview iframe,
  .more-than-daycare img,
  .join-preview img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
  }
}


@media (hover: hover) and (pointer: fine) {
      .hero-section::before {
    background-attachment: fixed; }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh; /* can adjust */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: black; /* fallback */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1);
  transition: transform 0.2s ease-out;
}

.hero-content {
  position: relative;
  color: white;
  z-index: 1;
  padding: 1rem;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Make sure hero-background does NOT have background-* properties */


.cta-button {
  display: inline-block;
  background-color: #fcb900; /* adjust if your site uses a different CTA color */
  color: #000;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

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


/* Buttons */
.btn {
  background-color: #f39c12; /* initial orange */
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  background-color: #f7c600; /* lighter orange on hover */
}

.btn:focus {
  background-color: #2ecc71; /* green on focus, gives "pressed" effect */
  transform: scale(0.97);
}

.highlights {
  display: flex;
  justify-content: space-around;
  padding: 3rem 1rem;
  background-color: #fef9f2;
  text-align: center;
  flex-wrap: wrap;
}
.highlight {
  flex: 1 1 250px;
  margin: 1rem;
}
.highlight img {
  width: 64px;
  margin-bottom: 1rem;
}


/* About Preview */
.about-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  gap: 2rem;
}
.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-text p {
  margin-bottom: 1.5rem;
}
.about-image {
  flex: 1;
}
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}


.more-than-daycare {
  background-color: white;
  padding: 4rem 1rem;
}

.daycare-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.daycare-image {
  flex: 1;
  max-width: 500px;
}

.daycare-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.daycare-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.daycare-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.daycare-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.daycare-text .btn {
  display: inline-block;
}




/* CTA Section */
.cta {
  background-color: #fffaf0;
  text-align: center;
  padding: 3rem 1rem 4rem; /* Added extra bottom padding */
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta .btn {
  margin-top: 1.5rem;
}

.cta p {
  margin-bottom: 1rem; /* Adds space between the paragraph and button */
}

.join-preview {
  background-color: #2c3e50;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.join-content {
  max-width: 800px;
  margin: 0 auto;
}

.join-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.join-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.join-btn {
  background-color: #f39c12;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.join-btn:hover {
  background-color: #27ae60;
}



.map-section {
  padding: 0;
  margin: 0;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}


/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  margin-top: 0.2rem;
}
footer a {
  color: #f9d342;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer p:last-child {
  margin-top: 0.2rem;
  
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .about-preview {
    flex-direction: column;
  }
}
