/* =========================================================
   VALLEY DAYCARE GROUP - RESPONSIVE MAIN STYLESHEET
   ========================================================= */

   .hamburger-icon {
    font-size: 28px;
    color: #333;
    line-height: 1;
}

/* ---------- GLOBAL ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fbff;
  color: #222;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

#nav-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar {
  background: #fff;
  padding: 0 !important;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  padding-left: 20px;
}

.navbar-nav li {
  padding: 0 10px;
}

.navbar-nav li a {
  color: #1d1c1c !important;
  font-weight: 600;
  text-align: left;
}

.navbar .nav-link:hover {
  background-color: #157c5d;
  color: #fff !important;
  border-radius: 12px;
}

.fa-bars {
  color: #2e2d2d;
  font-size: 30px !important;
}

.navbar-toggler {
  outline: none !important;
  box-shadow: none !important;
  border: 0;
}

/* Dropdown */
.navbar .dropdown-menu {
  background-color: #f8f9fa;
  border: none;
  border-radius: 8px;
}

.navbar .dropdown-menu .dropdown-item {
  color: #806d9c;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #0cc48c;
  color: #fff;
}


/* =========================================================
   HERO / BANNER
   ========================================================= */

.hero-banner {
  margin-top: 0;
}

#banner {
  position: relative;
  background: #fff;
  padding-bottom: 120px;
}

#banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  border-top-left-radius: 100% 50%;
  border-top-right-radius: 100% 50%;
}

#banner img {
  max-width: 100%;
  height: auto;
}

.promo-title {
  font-size: 40px;
  font-weight: 600;
  margin-top: 100px;
}

.bottom-img {
  width: 100%;
}

.banner-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

.banner-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.banner-text .btn {
  background-color: #9b72cf;
  border: none;
  padding: 12px 25px;
  border-radius: 20px;
  font-weight: 600;
}

.banner-text .btn:hover {
  background-color: #f1803a;
}


/* =========================================================
   HERO IMAGE SECTIONS USED ON OTHER PAGES
   ========================================================= */

.hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 20px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-right {
  animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}


/* =========================================================
   SECTION 2 / PROGRAMS ON HOME PAGE
   ========================================================= */

#sec2 {
  width: 100%;
  padding: 60px 0;
  background: #f9f9f9;
  overflow: hidden;
}

/*
  IMPORTANT:
  Do NOT turn Bootstrap .row into a custom flex layout here.
  Bootstrap's col-md-4 classes already handle the responsive
  3-column -> 1-column behavior.
*/

#sec2 .row {
  width: 100%;
}

#sec2 .services {
  width: 100%;
  padding: 20px 15px;
  text-align: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
  min-width: 0;
}

#sec2 .service-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

#sec2 .service-video {
  display: block;
  width: 150px;
  height: 150px;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

#sec2 .service-video:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#sec2 .services img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#sec2 .services h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 15px auto 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

#sec2 .services h4:hover {
  color: #a87009;
  text-decoration: underline;
  cursor: pointer;
  transform: scale(1.04);
}

#sec2 .services p {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  overflow-wrap: break-word;
}

.title {
  margin-bottom: 40px;
  font-weight: bold;
  text-align: center;
}

.title::before {
  content: '';
  background: #b1ffda;
  height: 5px;
  width: 200px;
  max-width: 70vw;
  margin: 0 auto;
  display: block;
  transform: translateY(63px);
}

.title::after {
  content: '';
  background: #8ffada;
  height: 10px;
  width: 50px;
  margin: 0 auto 40px;
  display: block;
  transform: translateY(8px);
}

#sec2 .btn-primary {
  box-shadow: none;
  padding: 8px 25px;
  border: none;
  border-radius: 20px;
  background: #fff;
}


/* =========================================================
   ABOUT US
   ========================================================= */

#about-us {
  background-color: #048b6a;
  color: #fff;
  padding: 80px 0;
  border-radius: 80px;
  margin: 40px;
}

#about-us .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-border-radius: 16px;
  --bs-accordion-inner-border-radius: 16px;
  --bs-accordion-btn-bg: #06b387;
  --bs-accordion-btn-color: #fff;
  --bs-accordion-active-bg: #06b387;
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-y: 20px;
  --bs-accordion-body-padding-x: 24px;
}

#about-us .accordion-item {
  background: transparent !important;
  border: none !important;
  margin-bottom: 18px;
}

#about-us .accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 22px;
  border-radius: 16px !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#about-us .accordion-button:hover {
  background: #c1e1c1;
}

#about-us .accordion-button:not(.collapsed) {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

#about-us .accordion-body {
  background: #8be6bc;
  color: #0a0a0a;
  border-radius: 0 0 16px 16px;
}

#about-us .accordion-collapse {
  border: none !important;
}

.philosophy {
  background: #f5f0e6;
  border-radius: 20px;
  padding: 40px;
}

.about-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ff7a00;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.custom-btn {
  background: linear-gradient(135deg, #ff8c42, #ff6a00) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  font-size: 18px;
  border-radius: 50px !important;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background: linear-gradient(135deg, #ff6a00, #ff8c42) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4);
}

.custom-btn-outline {
  background: transparent;
  border: 2px solid #ff8c42;
  color: #ff8c42;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.custom-btn-outline:hover {
  background-color: #ff8c42;
  color: #fff;
}


/* =========================================================
   CONTENT / OVERLAY
   ========================================================= */

.content1 {
  font-size: medium;
  color: #f2f0f5;
}

.content2 {
  font-size: large;
  color: #f2f0f5;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
}


/* =========================================================
   VIDEO SECTIONS
   ========================================================= */

#video-section {
  background: #fff;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.magic-video {
  width: 100%;
  max-width: 350px;
  height: 450px;
  border-radius: 30px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.magic-video:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* YouTube / iframe responsive wrapper */
.video-wrapper:has(iframe) {
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   HIGHLIGHTS / TESTIMONIALS
   ========================================================= */

#highlights,
#testimonials {
  background: #fff;
  border-radius: 40px;
  margin: 30px;
  padding: 60px 0;
}

.highlight-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #7b1798;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.highlight-title {
  font-size: 18px;
  font-weight: 700;
  color: #7b1798;
  margin-bottom: 12px;
}

.highlight-text {
  color: #555;
  font-size: 14.5px;
  line-height: 1.7;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 18px;
  color: #226194;
  font-size: 18px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeSlide 0.6s ease forwards;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.checklist li:nth-child(1) { animation-delay: 0.2s; }
.checklist li:nth-child(2) { animation-delay: 0.4s; }
.checklist li:nth-child(3) { animation-delay: 0.6s; }
.checklist li:nth-child(4) { animation-delay: 0.8s; }
.checklist li:nth-child(5) { animation-delay: 1s; }
.checklist li:nth-child(6) { animation-delay: 1.2s; }

.pill-wrap {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #dbcdf0;
  color: #4c2e92;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.mini-list li {
  margin: 8px 0;
  color: #444;
  font-size: 14px;
}

.stats {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f1803a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.stat-label {
  color: #686767;
  font-size: 14px;
}

.section3-content {
  font-size: medium;
  font-weight: 500;
}


/* =========================================================
   FEATURE SECTION
   ========================================================= */

.feature-box {
  background: linear-gradient(135deg, #e3f2fd, #4bc0ad);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-img {
  width: 100%;
  max-width: 90%;
}


/* =========================================================
   FOOTER
   ========================================================= */

.play-footer {
  background: #82d4b6;
  color: #0a0a0a;
  padding: 80px 0;
  border-radius: 60px 60px 0 0;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.25);
  margin-top: 50px;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #382e05;
}

.footer-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #382e05;
}

.footer-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 8px;
  color: #312c01;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}

.footer-copy {
  text-align: center;
  font-size: 1rem;
  opacity: 0.8;
}


/* =========================================================
   LOCATIONS PAGE
   ========================================================= */

.location-heading {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 40px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #e9e2d0;
  border-radius: 50px 50px 30px 30px;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-8px);
}

.image-box {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content h3 {
  margin: 10px 0;
}

.card-content h3 a {
  text-decoration: none;
  color: inherit;
}

.card-content h3 a:hover {
  color: #a58a2c;
}

.short-text {
  font-size: 14px;
  color: #555;
}

.address {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
  font-size: 14px;
  color: #333;
}

.location-card:hover .address {
  opacity: 1;
  transform: translateY(0);
}

.location-card:last-child {
  grid-column: span 2;
  justify-self: center;
  max-width: 300px;
}


/* =========================================================
   PROGRAMS PAGE
   ========================================================= */

.program-section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.program-section.show {
  opacity: 1;
  transform: translateY(0);
}

.program-section.alt {
  background: #f4f7ff;
}

.text-content h2 {
  font-weight: 700;
}

.text-content h5 {
  color: #666;
  margin-bottom: 15px;
}

.text-content ul {
  padding-left: 18px;
}

.text-content li {
  margin-bottom: 8px;
}

.goal {
  margin-top: 15px;
  font-weight: 500;
  color: #444;
}

.image-content {
  text-align: center;
}

.floating-img {
  width: 90%;
  max-width: 100%;
  border-radius: 20px;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-card {
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.program-card h4 {
  color: #048b6a;
  font-weight: 700;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.location-contact-card {
  background: linear-gradient(135deg, #f8f5ee, #fff);
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item strong {
  color: #048b6a;
  font-size: 1.1rem;
}

.social-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  color: #048b6a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: #ff7a00;
  color: #fff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .navbar-brand img {
    height: 45px;
    padding-left: 10px;
  }

  .navbar-nav li {
    padding: 4px 0;
  }

  .banner-text h1 {
    font-size: 40px;
  }

  #about-us {
    margin: 25px;
    border-radius: 50px;
  }

  .locations {
    padding: 25px;
    gap: 25px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  /* Global */
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    max-width: 100%;
  }

  /* Navbar */
  .navbar-brand img {
    height: 45px;
    max-width: 140px;
    padding-left: 5px;
  }

  .navbar-collapse {
    width: 100%;
  }

  .navbar-nav {
    width: 100%;
    padding: 10px 0;
  }

  .navbar-nav li {
    width: 100%;
    padding: 3px 0;
  }

  .navbar-nav li a {
    float: none;
    display: block;
    width: 100%;
    padding: 10px 15px !important;
  }

  /* Hero */
  .hero-banner {
    margin-top: 0;
  }

  .banner-text {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .banner-text h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.15;
  }

  .banner-text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .promo-title {
    font-size: 32px;
    margin-top: 40px;
  }

  /* Programs */
  #sec2 {
    padding: 40px 10px;
    overflow: hidden;
  }

  #sec2 .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #sec2 .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  #sec2 .services {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 15px 10px 30px;
  }

  #sec2 .service-link {
    width: 100%;
  }

  #sec2 .service-video,
  #sec2 img.service-video,
  #sec2 video.service-video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 150px !important;
    height: 150px !important;
    margin: 20px auto !important;
    object-fit: cover !important;
  }

  #sec2 .services h4 {
    width: 100%;
    max-width: 100%;
    font-size: 20px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
    margin: 15px auto 10px;
  }

  #sec2 .services p {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.6;
  }

  #sec2 .services:hover,
  #sec2 .service-video:hover {
    transform: none;
  }

  .title {
    margin-bottom: 25px;
    font-size: 30px;
  }

  .title::before {
    width: min(200px, 70vw);
  }

  /* About */
  #about-us {
    margin: 15px;
    padding: 45px 20px;
    border-radius: 35px;
  }

  .philosophy {
    padding: 25px 20px;
  }

  /* Videos */
  .magic-video {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 7 / 9;
  }

  .video-wrapper {
    width: 100%;
  }

  /* Locations */
  .locations {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 25px 15px;
    gap: 25px;
  }

  .location-card,
  .location-card:last-child {
    grid-column: auto;
    width: 100%;
    max-width: 380px;
  }

  .address {
    opacity: 1;
    transform: none;
  }

  /* Feature */
  .feature-box {
    padding: 25px 20px;
  }

  .feature-img {
    max-width: 100%;
  }

  /* Contact */
  .location-contact-card {
    padding: 30px 20px;
  }

  .contact-item {
    gap: 12px;
  }

  /* Footer */
  .play-footer {
    padding: 55px 20px;
    border-radius: 35px 35px 0 0;
  }

  .footer-title {
    font-size: 1.5rem;
  }

  .footer-subtitle {
    font-size: 1.2rem;
  }

  .footer-text {
    font-size: 1rem;
  }

  /* Programs page */
  .program-section {
    padding: 50px 15px;
  }

  .program-card {
    padding: 25px 20px;
  }

  .floating-img {
    width: 100%;
    margin-top: 20px;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .navbar-brand img {
    height: 40px;
  }

  .banner-text h1 {
    font-size: 28px;
  }

  .banner-text p {
    font-size: 14px;
  }

  #sec2 {
    padding-left: 5px;
    padding-right: 5px;
  }

  #sec2 .services {
    max-width: 320px;
  }

  #sec2 .services h4 {
    font-size: 19px;
  }

  #sec2 .services p {
    max-width: 260px;
  }

  #about-us {
    margin: 10px;
    padding: 35px 15px;
  }

  .location-contact-card {
    padding: 25px 15px;
  }
}