/* About page section match */

.page-about {
  color: #888;
  background: #fff;
}

/* Header uses default site.css behavior (same as contact page) */

/* Global sub-banner styles are now in site.css */

.page-about .vision_mission.sub_banner_dwn {
  position: relative;
  padding: 0;
  background: transparent;
}

#vision, #mission, #faculty, #testimonials_block {
  scroll-margin-top: 130px;
}

.page-about .vision_mission.sub_banner_dwn::before {
  display: none;
}

.page-about .sub_slider {
  width: 100%;
  height: 82px !important;
  min-height: 82px;
  background: url("https://www.tlcmontessoripreschool.co.in/wp-content/themes/tlc/images/pattern2.jpg") repeat;
  background-size: 10px;
}

.about-anchor {
  position: relative;
  top: -90px;
  display: block;
  height: 0;
  overflow: hidden;
}

.about-row {
  display: flex;
  gap: 30px;
}

.about-row--center {
  align-items: center;
}

.about-col {
  flex: 1 1 0;
}

.about-image {
  margin: 0;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
}


.about-image--who img {
  border-radius: 0 12px 0 12px;
}

.about-vision .mission,
.about-mission {
  padding: 40px 0;
}

.about-vision,
.about-vision .mission {
  background-color: #0f5681;
}

.about-vision .about-row,
.about-mission .about-row {
  align-items: flex-start;
}

.about-list-block {
  padding-top: 6px;
}

.abt-title h2 {
  margin: 0;
  padding: 20px 0 21px;
  color: var(--color-primary-dark);
  font-family: "Bubblegum Sans", cursive;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

.about-bullet-list {
  margin: 0;
  padding-left: 18px;
}

.about-bullet-list li {
  list-style: circle;
  text-align: left;
}

.about-bullet-list li p {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}

.about-bullet-list--light li,
.about-bullet-list--light li p {
  color: #fff;
}

.about-mission {
  background: #fff;
  border-top: 4px solid #0f5681;
}

.about-mission .abt-title h2 {
  margin-left: 29px;
}

.vision-desc {
  margin-left: 0;
}

.vision-desc>p {
  margin: 0 0 12px;
  color: #888;
  font-size: 20px;
  line-height: 28px;
}

.vision-desc .about-bullet-list {
  padding-left: 36px;
}

.vision-desc li,
.vision-desc li p {
  color: #888;
}



/* ── OUR TEAM ───────────────────────────────────────────── */
.about-team {
  padding: 40px 0;
  background: #fdfdfd;
}

.about-team .section-title h2 {
  margin: 0;
  padding: 20px 0 21px;
  color: var(--color-primary-dark);
  font-family: "Bubblegum Sans", cursive;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.team-member__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-member__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0f0;
}

.team-member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member__card:hover .team-member__image img {
  transform: scale(1.05);
}

.team-member__info {
  padding: 25px 20px;
}

.team-member__info h3 {
  margin: 0 0 5px;
  color: #2693df;
  font-family: "Bubblegum Sans", cursive;
  font-size: 24px;
}

.team-member__info p {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media only screen and (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1199px) {
  .about-hero__title-wrap {
    left: 63%;
  }
}

@media only screen and (max-width: 992px) {

  .about-scroll-copy p,
  .about-bullet-list li p,
  .Philosophy_info li p,
  .corporate_info p,
  .vision-desc>p {
    font-size: 18px;
    line-height: 27px;
  }

  .about-scroll-copy {
    height: 285px;
  }
}

@media only screen and (max-width: 767px) {


  .about-top-strip {
    display: none;
  }

  .page-about .about-hero {
    height: 230px;
    background-position: 36% center;
  }

  .about-hero__title-wrap {
    top: 92px;
    left: 58%;
  }

  .about-hero .entry-title {
    font-size: 30px;
  }

  .page-about .sub_slider {
    height: 48px;
  }

  .about-row {
    flex-direction: column;
    gap: 24px;
  }

  .about-who {
    padding-top: 34px;
  }

  .about-scroll-copy {
    width: 100%;
    height: auto;
    max-height: 320px;
  }

  .about-mission .about-image {
    order: 2;
  }

  .about-mission .about-list-block {
    order: 1;
  }

  .about-mission .abt-title h2 {
    margin-left: 0;
  }

  .abt-title h2,
  .about-scroll-copy h2,
  .Philosophy_info h2,
  .corporate .section-title h2,
  .about-testimonials-heading .section-title h2,
  .corporate_info h2 {
    font-size: 27px;
    text-align: center;
  }

  .Philosophy_info {
    width: 92%;
  }

  .corporate {
    padding: 30px 0;
  }

  .about-testimonials-heading {
    padding-top: 42px;
  }

  .testimonials_block {
    max-height: none;
    padding-bottom: 70px;
  }
}

@media only screen and (max-width: 480px) {
  .page-about .about-hero {
    height: 190px;
  }

  .about-hero__title-wrap {
    top: 74px;
    left: 53%;
  }

  .about-hero .entry-title {
    font-size: 25px;
  }

  .about-scroll-copy p,
  .about-bullet-list li p,
  .Philosophy_info li p,
  .corporate_info p,
  .vision-desc>p {
    font-size: 16px;
    line-height: 25px;
  }
}