html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}



/* Hero section */

.childcare-hero {
  background: url('TopImages/WrapAround1Upscale\).jpg') no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.8);
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 8px black;
  font-size: 3rem;
  font-weight: bold;
}

.childcare-title {
  background: rgba(0, 0, 0, 0.5); /* black, semi-transparent */
    padding: 0.05em 0.3em; /* space around text */
    border-radius: 2em;   /* curved corners */
    display: inline-block; /* shrink wrap around text */
}


/* =========================
   MISSION STATEMENT SECTION
========================= */
.about-section {
    background-color: #e6f2ff;
    padding: 80px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.about-Photo {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.about-Photo img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }
}


/* Staff Section */
.staff-section {
  background-color: #000000; /* blue */
  padding: 3rem 1rem;
  text-align: center;
  font-size: 20;
  color: #e6f2ff;
  padding-bottom: 100px;
}

/* Container for grid (if you want grid outside Glide slider) */
.staff-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* Glide slider wrapper */
.glide__slides {
  display: flex;
  gap: 0px;
  justify-content: center;
  padding: 20px 60px;
  overflow: visible;  /* allow active slide to scale without clipping */
}

/* Each slide styling */
.glide__slide {
             /* fixed width */        /* fixed height to prevent jumping */
  background-color: white;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px;
  box-sizing: border-box;

  aspect-ratio: 11 / 22; /* width / height ratio */
  height: auto;
  width: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* or center if you want */


  /* Default dimmed style */
  opacity: 0.5;
  transform: scale(0.9);
  filter: grayscale(0%);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  transform-origin: center; 
}

/* Highlight center/active slide */
.glide__slide--active {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1);
  margin-left: -15px;
  margin-right: -15px;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  overflow: visible;
}

/* Staff card content */
.staff-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 15px 0 5px;
  color: #131313;

}

.staff-title {
  font-size: 0.7rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 15px;
}

.staff-name {
  max-height: 2.4em;   /* ~2 lines */
  overflow: visible;
  text-overflow: ellipsis;
}

.staff-title {
  max-height: 1.6em;   /* ~1 line */
  overflow: visible;
  text-overflow: ellipsis;
}

/* Image inside slide */
.glide__slide img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .staff-hero {
    font-size: 2rem;
    height: 30vh;
  }

  .glide__slides {
    gap: 15px;
  }

  .glide__slide {
    width: 180px;
    height: 280px;
  }
  
  .glide__slide--active {
    transform: scale(1.15);
  }
}


@media (max-width: 480px) {
  .glide__slides {
    gap: 10px;
  }

  .glide__slide {
    width: 90vw;
    height: auto; /* allow flexible height on small screens */
  }

  .glide__slide img {
    height: auto;
  }
}


.glide__arrow {


  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 5;
}


.glide__arrow--left {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.glide__arrow--right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.glide {
    position: relative;
}

