body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

button.btn.btn-primary {
  background-color: #fbd352;
  border: 0;
  color: #4754c8;
  font-weight: 700;
  font-size: 17px;
  font-family: "Nunito Sans", sans-serif !important;
  border-radius: 61px;
  padding: 10px 40px;
}

p {
  font-family: "Nunito Sans", sans-serif !important;
}

.container {
  max-width: 1240px !important;
}

img {
  max-width: 100%;
}

.heading {
  h2 {
    color: #4754c8;
    font-size: 33px;
    font-weight: 700;
  }
  h3 {
    font-size: 47px;
    font-weight: 800;
    color: #7979f2;
  }

  p {
    color: #6b6783;
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

.header {
  background: #fff;
  text-align: center;
  padding: 10px 0px 0px 0px;
  width: 100%;

  img {
    max-width: 230px;
  }
}

.banner-section {
  background: url(../images/bg-banner.webp) no-repeat;
  background-size: cover;
  height: 638px;
  position: relative;
  padding: 60px 0;

  .banner-girl {
    position: absolute;
    bottom: 0;
    max-width: 850px;
    right: 0;
  }

  .b-content {
    width: 70%;
  }

  .mobile-data {
    display: none;
    h1 {
      font-size: 13px;
      background: #ed7faa;
      color: #fff;
      border-radius: 50px;
      font-family: "Nunito Sans", sans-serif !important;
      width: max-content;
      margin: auto;
      padding: 7px 20px;
    }
    h3 {
      color: #4754c8;
      font-size: 28px;
      margin-top: 10px;
      font-weight: 700;
      span {
        color: #f876a9;
      }
    }
  }

  .banner-left {
    text-align: center;
    /* padding-top: 48px; */
    h4 {
      color: #4754c8;
      font-weight: 700;
    }
    h5 {
      color: #4754c8;
      span {
        color: #f1782f;
        margin: 0px;
      }
    }

    .content-box {
      background-color: #4754c8;
      width: 70%;
      /* margin: auto; */
      border-radius: 20px;
      padding: 30px;
      margin-top: 38px !important;
      position:relative; 
      z-index: 5;

      h3 {
        color: #fbd352;
        font-size: 30px;
      }
      p {
        font-size: 18px;
        color: #fff;
        font-weight: 600;
        line-height: 23px;
        margin-top: 12px;
      }
      .form-control {
        padding: 8px 10px;
        width: 116px;
        font-size: 10px;
      }

      .WhatsApp-check {
        label {
          color: #fff;
          font-family: "Nunito Sans", sans-serif !important;
          font-size: 15px;
          margin: 13px 0px 5px 6px;

          i {
            color: #00e827;
            margin-right: 5px;
          }
        }
      }
    }
  }
}

.preschool-section {
  background-color: #cff0f7;
  width: 80%;
  margin: auto;
  padding: 50px;
  text-align: center;
  border-radius: 50px;

  .preschool-section-inner {
    img {
      max-width: 152px;
    }
    h4 {
      font-size: 16px;
      font-weight: 500;
      color: #514e66;
      margin-top: 11px;
    }
  }
}

.network-section {
  padding-bottom: 60px;
  .network-flow {
    background: #ed7faa;
    width: 130px;
    height: 130px;
    border-radius: 110px;
    margin-bottom: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    h5 {
      font-size: 30px;
      font-weight: 900;
      margin-bottom: 0px;
    }
    p {
      font-size: 12px;
      margin: 0;
    }
  }
}

.network-section img { border-radius: 60px; }

.safe-preschool {
  .feature-card {
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: 0.4s;

    &:hover {
      transform: translateY(-8px);
    }

    .feature-image {
      width: 100%;
      height: 265px;
      overflow: hidden;
      border-bottom-left-radius: 50%;
      border-bottom-right-radius: 50%;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .feature-content {
      padding: 25px;
      display: flex;
      align-items: center;
      gap: 15px;

      .icon {
        width: 110px;

        img {
          width: 100%;
        }
      }

      p {
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
      }
    }
  }

  .purple {
    background: #756ff4;
  }

  .blue {
    background: #2fb8e7;
  }

  .orange {
    background: #f18a3f;
  }

  .green {
    background: #abd92e;
  }
}

.speak-section {
  background: #fbd352;
  margin: 60px 0;
  padding: 60px 0;
  position: relative;

  .star {
    position: absolute;
    right: 250px;
    top: 16px;
  }

  img {
    border-radius: 60px;
    margin-top: 32px;
    position: relative;
    z-index: 9999999999;
  }

  video {
    border-radius: 60px;
    /* margin-top: 32px; */
    position: relative;
    z-index: 9999999999;
  }
  .big-video-box {
    border-radius: 60px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 9999999999;
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .big-video-box video,
  .big-video-box iframe {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
  }

  .testimonial-section {
    .testimonial-card {
      position: relative;
      border-radius: 35px;
      padding: 40px;
      min-height: 320px;
      overflow: hidden;
      color: white;

      .review-text {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 40px;
        max-width: 90%;
      }

      .user-box {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-top: 30px;

        .user-img {
          width: 60px;
          height: 60px;
          border-radius: 50%;
          background: #d9d9d9;
          flex-shrink: 0;
          display: none;
        }

        .user-info {
          h5 {
            margin: 0;
            font-size: 18px;
            font-weight: 500;
          }

          span {
            font-size: 16px;
          }
        }
      }

      .quote-icon {
        position: absolute;
        right: 35px;
        bottom: -15px;

        i {
          font-size: 90px;
          color: rgba(255, 255, 255, 0.15);
        }
      }

      &:hover {
        transform: translateY(-8px);
        transition: 0.4s;
      }
    }

    .orange-card {
      background: #f58542;
    }

    .purple-card {
      background: #7979f2;
    }

    .blue-card {
      background: #4754c8;
    }
  }

  .star-rating {
    display: flex;
    gap: 2px;
    margin-top: 8px;
    font-size: 16px;

    i {
      font-size: 14px;
      color: #ffd700;

      &.empty {
        color: rgba(255, 255, 255, 0.4);
      }

      &.filled {
        color: #ffd700;
      }
    }
  }
}

.testimonial-owl-carousel {
  position: relative;

  .item {
    padding: 15px;
    display: flex;
    align-items: stretch;

    .testimonial-card {
      width: 100%;
      display: flex;
      flex-direction: column;
      min-height: 400px;

      .review-text {
        flex: 1;
      }

      .user-box {
        margin-top: auto;
      }
    }
  }
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-carousel .owl-nav button {
  background-color: rgba(71, 84, 200, 0.8);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 10;
}

.owl-carousel .owl-nav button:hover {
  background-color: rgba(71, 84, 200, 1);
}

.owl-prev {
  left: 10px !important;
}

.owl-next {
  right: 10px !important;
}

.owl-carousel .owl-nav button span {
  font-size: 24px;
  color: white;
}

.owl-carousel .owl-dots {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.owl-carousel .owl-dot {
  display: inline-block;
  background-color: rgba(71, 84, 200, 0.3);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
  background-color: #4754c8;
  width: 30px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
  }

  .owl-carousel .owl-nav button span {
    font-size: 18px;
  }

  .owl-prev {
    left: 5px !important;
  }

  .owl-next {
    right: 5px !important;
  }
}

.program-card {
  border-radius: 20px;
  overflow: hidden;
  text-align: center;

  img {
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
}

.card-top {
  padding: 25px;
  min-height: 160px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.card-bottom {
  background: #f3ead1;
  padding: 12px;

  h5 {
    color: #4750d7;
    margin-bottom: 3px;
  }

  span {
    color: #4750d7;
    font-size: 14px;
  }
}

.program-info {
  padding: 50px;
  border-radius: 30px;
  height: 100%;
  background: #ceeff5;

  h2 {
    color: #4754c8;
    font-size: 44px;
    font-weight: 700;
  }

  p {
    color: #666;
    margin-bottom: 35px;
    line-height: 1.7;
    margin-top: 28px;
  }
}

.bg-pink {
  background: #e277a7;
}

.bg-orange {
  background: #f38841;
}

.bg-yellow {
  background: #efcb47;
}

.bg-sky {
  background: #39b4e2;
}

.bg-green {
  background: #acd93c;
}

.bg-purple {
  background: #7877ef;
}

.leadership-section {
  padding: 60px 0;
  .leader-card {
    border: 2px solid #26b8ff;
    border-radius: 25px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: 0.4s;

    &:hover {
      transform: translateY(-8px);
    }
  }

  .leader-image {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    margin-bottom: 25px;
    background: #efefef;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .leader-card h4 {
    color: #4a56d4;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .leader-card p {
    color: #4a56d4;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.brand-section {
  /* padding-bottom: 60px; */
  .slider {
    background: white;
    /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */

    height: 150px;
    margin: auto;
    overflow: hidden;
    position: relative;

    .slide-track {
      display: flex;
      width: calc(250px * 14);
      animation: scroll 40s linear infinite;
    }

    .slide {
      width: 250px;
      height: 100px;
      padding-left: 20px;

      img {
        max-width: 170px !important;
      }
    }
  }
}

.awards-section {
  background: #b3d83a;
  padding: 60px 0;

  .section-title {
    text-align: center;
    color: #3d4ee8;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
  }

  .award-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    margin-bottom: 24px;
  }

  .award-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    /* padding: 16px 0; */

    img {
      max-width: 330px;
      margin-bottom: -28px;
      margin-top: -28px;
    }
  }

  .award-content {
    background: #ece6d6;
    color: #4754c8;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    padding: 15px 80px;
    font-family: "Nunito Sans", sans-serif !important;
  }
}

.news-section {
  padding: 60px 0;
  .slider {
    margin: auto;
    overflow: hidden;
    position: relative;

    &::before,
    &::after {
      content: "";
      height: 100px;
      position: absolute;
      width: 200px;
      z-index: 2;
    }

    &::before {
      right: 0;
      top: 0;
      background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
      );
    }

    &::after {
      left: 0;
      top: 0;
      transform: rotateZ(180deg);
      background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
      );
    }

    .slide-track {
      display: flex;
      width: calc(250px * 14);
      animation: scroll 40s linear infinite;
    }

    .slide {
      padding-left: 20px;
    }
  }
}

.faq-section {
  padding-bottom: 60px;

  .custom-accordion {
    .accordion-item {
      border: 0;
      background: transparent;
      margin-bottom: 14px;
      font-family: "Nunito Sans", sans-serif !important;
    }

    .accordion-button {
      background: #cdeef8 !important;
      color: #4955d6 !important;
      font-size: 24px;
      font-weight: 600;
      border-radius: 18px !important;
      padding: 24px 28px !important;
      box-shadow: none !important;

      &:focus {
        box-shadow: none !important;
        border-color: #4955d6 !important;
        outline: none;
      }

      &:not(.collapsed) {
        background: #cdeef8 !important;
        color: #4955d6 !important;
      }

      &::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234955d6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-size: 1.25rem !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
      }

      &:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234955d6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 11l-6-6-6 6'/%3e%3c/svg%3e") !important;
      }
    }

    .accordion-collapse {
      background: #f0ecdf;
      border-radius: 0 0 18px 18px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
    }

    .accordion-collapse.show {
      max-height: 1000px;
      overflow: visible;
    }

    .accordion-body {
      color: #666;
      font-size: 17px;
      line-height: 1.8;
      padding: 20px 28px;
    }
  }
}
.m-80 {
  margin: 80px 0;
}
.footer-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 15px 40px 15px;
  position: relative;
  flex-wrap: wrap;

  .btn {
    padding: 12px 30px !important;
    font-weight: 600;
    border-radius: 8px !important;
  }

  .f-logo {
    position: absolute;
    max-width: 60px;
    right: 170px;
    bottom: 10px;
  }
}

.w-20 {
  width: auto;
  min-width: 140px;
}

.dn-none {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }

  .banner-section {
    height: auto !important;
    padding-top: 25px;
    background: url(../images/mobile-bg.webp) no-repeat;
    background-size: cover;
    .row {
      display: flex;
      flex-direction: column;
      text-align: center;
    }
    .col-md-6,
    .banner-left {
      display: contents;
    }

    .b-content {
      display: none;
    }
    .mobile-data {
      display: block !important;
      order: 1;
    }
    .banner-girl {
      order: 2;
      position: relative;
      z-index: 1;
      top: auto;
      right: auto;
      bottom: auto;
      max-width: 100%;
      width: 100%;
      margin: 0 auto -60px;
      display: block;
    }
    .banner-left {
      padding-top: 0 !important;
      h4 {
        display: none;
      }
      h5 {
        display: none;
      }
      .content-box {
        order: 3;
        width: 95%;
        padding: 21px;
        margin: 0 auto;
        h3 {
          font-size: 25px;
        }
        p {
          font-size: 17px;
          margin-bottom: -14px;
        }
      }
    }
    .flex-mobile {
      display: block !important;
      .form-control {
        padding: 9px 10px !important;
        width: 100% !important;
        font-size: 14px !important;
        margin-bottom: 10px;
      }
    }
  }
  button.btn.btn-primary {
    padding: 6px 40px;
  }
  .preschool-section {
    width: 94%;
    padding: 25px;
    border-radius: 22px;
    .preschool-section-inner {
      img {
        max-width: 107px;
      }
      h4 {
        margin-bottom: 16px;
        font-size: 15px;
        font-weight: 600;
        line-height: 19px;
      }
    }
    br {
      display: none;
    }
  }
  .heading {
    h2 {
      color: #4754c8;
      font-size: 26px;
      font-weight: 700;
    }
    h3 {
      font-size: 35px;
      font-weight: 800;
      br {
        display: none;
      }
    }
  }
  .network-section {
    padding-bottom: 40px;
    .network-flow {
      margin: auto;
      margin-bottom: 25px !important;
      width: 120px;
      height: 120px;
      margin-left: 60%;
      h5 {
        font-size: 19px;
        margin-bottom: 4px;
      }
      p {
        line-height: 13px;
      }
    }
    h3 {
      text-align: center !important;
    }
  }

  .md-none {
    display: none;
  }

  .dn-none {
    display: block !important;
  }

  .safe-preschool {
    .mt-5 {
      margin-top: 22px !important;
    }
    & .feature-card {
      margin-bottom: 12px;
      .feature-image {
        height: 155px;
      }
      .feature-content {
        padding: 17px;
        gap: 12px;
        p {
          font-size: 15px;
        }
        .icon {
          width: 69px;
          img {
            width: 75%;
          }
        }
      }
    }
  }

  .speak-section {
    margin: 40px 0;
    padding: 30px 0;
    img {
      border-radius: 30px;
    }
    .big-video-box {
      border-radius: 30px;
      margin-top: 20px;
      max-width: 95%;
      height: 280px;
      margin-left: auto;
      margin-right: auto;
      background: #fff;
      padding: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    .big-video-box video,
    .big-video-box iframe {
      border-radius: 25px;
    }
    .star {
      max-width: 90px;
      top: 45px;
    }
  }

  .program-info {
    padding: 30px;
    text-align: center;
    margin-bottom: 16px;
    h2 {
      font-size: 30px;
      br {
        display: none;
      }
    }
    p {
      line-height: 20px;
      margin-top: 17px;
      margin-bottom: 0;
    }
  }

  .leadership-section {
    padding: 40px 0;
    .leader-image {
      width: 110px;
      height: 110px;
      margin-bottom: 9px;
    }
    .leader-card {
      padding: 10px 7px;

      p {
        font-size: 13px;
      }
      h4 {
        font-size: 17px;
      }
    }
  }
  .brand-section {
    padding-bottom: 0px;
  }

  .news-section {
    padding: 40px 0;
  }

  .awards-section {
    padding: 40px 0;
    .award-content {
      font-size: 17px;
      line-height: 26px;
      padding: 10px 15px;
      z-index: 5;
      position: sticky;
    }
  }

  .faq-section {
    .mt-5 {
      margin-top: 25px !important;
    }
    padding-bottom: 40px;
    & .custom-accordion {
      .accordion-button {
        font-size: 17px;
        padding: 16px 28px !important;
      }
      .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234955d6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-size: 1.25rem !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
      }
      .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234955d6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 11l-6-6-6 6'/%3e%3c/svg%3e") !important;
      }
      .accordion-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
      }

      .accordion-collapse.show {
        max-height: 1000px;
        overflow: visible;
      }

      .accordion-body {
        font-size: 14px;
        line-height: 20px;
        padding: 15px 28px;
      }
    }
  }

  .footer-btn {
    display: flex !important;
    flex-direction: row !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-bottom: 0;
    width: 100% !important;
    z-index: 1000 !important;

    .btn {
      width: 50% !important;
      margin-left: 0 !important;
      padding: 14px 10px !important;
      font-size: 16px !important;
      border-radius: 0 !important;
      border: none !important;
      flex: 1;
    }

    .btn:first-child {
      background-color: #f39c12 !important;
      color: #fff !important;
    }

    .btn:last-child {
      background-color: #2ba8c1 !important;
      color: #fff !important;
    }

    .f-logo {
      display: none !important;
    }
  }

  .footer-ribbon {
    background-color: #f39c12;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    i {
      font-size: 16px;
    }
  }
  .awards-section {
    .section-title {
      font-size: 35px;
      margin-bottom: 20px;
    }
  }
  .m-80 {
    margin: 40px 0;
  }

  .speak-section {
    & .testimonial-section {
      & .testimonial-card {
        .review-text {
          font-size: 15px;
          line-height: 1.5;
          margin-bottom: 14px;
          width: 100%;
        }
      }
    }

    .carousel-control-next,
    .carousel-control-prev {
      bottom: -154px !important;
    }
  }
}
.review-info ul li.stars {
    color: #FFA500;
    position: relative;
}
.star-icon:first-child {
    margin-left: 0;
}
.star-icon {
    color: #ddd;
    font-size: 1em;
    position: relative;
}
.stars-full:before {
    color: #FFA500;
    content: '\2605';
    position: absolute;
    left: 0px;
    top: 0px;
}
.stars-half:before {
    color: #FFA500;
    content: '\2605';
    position: absolute;
    left: 0px;
    width: 51%;
    overflow: hidden;
    top: 0px;
}

/* Form Validation Styles */
.form-control {
    transition: border-color 0.3s ease;
}

.form-control:invalid,
.form-control.user-invalid {
    border-color: #dc3545;
    box-shadow: none;
}

.form-control:valid,
.form-control.user-valid {
    border-color: #28a745;
    box-shadow: none;
}

.form-control:focus {
    border-color: #4754c8;
    box-shadow: 0 0 0 0.2rem rgba(71, 84, 200, 0.25);
}

.form-control:focus:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Error Message Styling */
.form-control ~ .invalid-feedback,
.form-control ~ .error-message,
.error-message {
    display: block;
    color: rgba(220, 186, 53, 0.91) !important;
    font-size: 13px;
    margin-top: 2px;
    margin-bottom: 0;
    font-family: "Nunito Sans", sans-serif !important;
    font-weight: 500;
    color: var(--bs-danger, #dc3545);
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Alternative error message display using ::after pseudo-element approach */
.form-control.user-invalid::after {
    content: attr(data-error);
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* Input group error styling */
.input-group {
    position: relative;
}

.input-group .form-control.user-invalid {
    margin-bottom: 20px;
}

.input-group .form-control.user-invalid + .invalid-feedback,
.input-group .form-control.user-invalid + .error-message {
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
}

/* Flex container for inputs */
.flex-mobile.flex-column {
    flex-direction: column;
    gap: 10px;
}

.flex-mobile .flex-fill {
    position: relative;
    margin-bottom: 0;
}

.flex-mobile .flex-fill:has(.form-control.user-invalid) {
    margin-bottom: 20px;
}

/* Select validation styling */
select.form-control:invalid,
select.form-control.user-invalid {
    border-color: #dc3545;
}

select.form-control:focus {
    border-color: #4754c8;
    box-shadow: 0 0 0 0.2rem rgba(71, 84, 200, 0.25);
}

/* Form error container */
#frm_error {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    font-weight: 500;
}

/* WhatsApp checkbox styling */
.WhatsApp-check {
    .form-check-input:invalid,
    .form-check-input.user-invalid {
        border-color: #dc3545;
    }
}

/* Mobile responsive form styling */
@media (max-width: 767px) {
    .form-control {
        padding: 9px 10px !important;
        width: 100% !important;
        font-size: 14px !important;
    }

    .flex-mobile {
        flex-wrap: wrap;
    }

    .flex-fill {
        min-width: 100%;
        margin-bottom: 0;
    }

    .form-control ~ .invalid-feedback,
    .form-control ~ .error-message {
        font-size: 15px;
        margin-top: 2px;
        color: rgba(220, 186, 53, 0.91) !important;
    }

    .input-group .form-control.user-invalid {
        margin-bottom: 18px;
    }

    .input-group .form-control.user-invalid + .invalid-feedback,
    .input-group .form-control.user-invalid + .error-message {
        bottom: -18px;
    }
}

.captcha_col img { width: 90px;}
.captcha_col .row :nth-child(1) { margin-left: -10px;}
.captcha_col .row :nth-child(2) { margin-left: -35px;}
@media (min-width: 360px) and (max-width: 768px) {
    .captcha_col .row div { margin-bottom: 10px; }
    .captcha_col img { width: 100%; height: calc(1.4em + 0.75rem + 20px) !important; border-radius: .5rem;}
    .captcha_col .row :nth-child(1) { margin-left: 0px;}
    .captcha_col .row :nth-child(2) { margin-left: 0px;}
}
.awards-section h3 {
  font-size: 1.25rem;
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  .banner-section {

    .banner-girl {
      max-width: 565px;
    }

  }

  .banner-section {
    .banner-left {
      .content-box {
        width: 110%;
      }
    }
  }

}

#admissionLeadForm .starting_fees_sec { color: #fbd352 !important; }
@media screen and (min-width: 768px) {
  #admissionLeadForm #starting_fees { margin-left: 25%; }
}

@media (max-width: 767px) {
  .network-section-inner .row .col-3:nth-child(2),
  .network-section-inner .row .col-3:nth-child(4) {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
}

.award-content {
  z-index: 5;
  position: sticky;
}
.banner-section {
  & .banner-left {
    & .content-box {
      & .WhatsApp-check {
        & label {
          margin: 5px 0px 5px 6px;
        }
      }
    }
  }
}
.network-section-inner button{ width: 100% !important; }
#fill-f button.whatsapp-cta { margin-top: 2rem;}

@media (min-width: 700px) and (max-width: 1040px) {
  .speak-section {
    & .star {
      right: -35px;
      top: 20px;
    }
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #admissionLeadForm { margin-left: -20px !important;}
  .preschool-section{
    .preschool-section-inner {
      img {
        max-width: 100%;
      }
    }
  }

  .network-section {
    .network-flow {
        width: 90px;
        height: 90px;
    }
  }

  .network-section {
    .network-flow {
      h5 {
        font-size: 25px;
        font-weight: 900;
        margin-bottom: 0px;
      }
      p {
        font-size: 10px;
        margin: 0;
      }
    }
  }

  .safe-preschool .row .col-6:nth-child(3),
  .safe-preschool .row .col-6:nth-child(4),
  .program-section .row .col-lg-4:nth-child(2) {
    margin-top: 2rem !important;
  }
}
@media (min-width: 360px) and (max-width: 360px) {
  .safe-preschool {
    .purple,.green{ height: 96% !important;} 
  }
}

