@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Source+Sans+Pro:wght@400;700&display=swap');

@font-face {
  font-family: 'Nunito';
  src: url('path/to/nunito.woff2') format('woff2'),
    url('path/to/nunito.woff') format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('path/to/source-sans-pro.woff2') format('woff2'),
    url('path/to/source-sans-pro.woff') format('woff');
}

:root {
  --body-color: #ffffff;
  --card-color: #fff;
  --title-color: rgba(218, 32, 22, 0.902);
  --title2-color: #fff;
  --text-color: #6A6A71;
  --tab-bg-color: #DE362D;
  --tab-content-color: #E6E6E6;
  --caption-color: #e22218e6;
  --normal-color: lightgrey;
}

body {
  font-family: 'Source Sans pro', sans-serif !important;
  color: var(--text-color) !important;
  font-size: 17px;
  line-height: 1.7;
  background-color: var(--body-color);
  overflow-x: hidden;
}

h2 {
  font-family: Nunito;
  line-height: 1.0;
}

h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2em !important;
  color: var(--title-color);
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  line-height: 1.1 !important;
}

h5 {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 20px;
}

p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 62px;
  font-weight: 900;
}

.about-sec {
  margin-top: 16rem;
  padding: 6px 6px 6px 6px;
}


.title {
  color: var(--title-color);
}

.title2 {
  color: var(--title2-color);
}

.title3 {
  text-align: center;
  margin-top: 10px;
  color: white;
}


/* jumbotron */

.header {
  position: relative;
  padding: 0 0 80px !important;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0px 15px;
  width: 100%;
  text-align: center;
}

.logo img {
  width: 10%;
  margin: 0 auto;
}



.carousel-inner>.item>a>img,
.carousel-inner>.item>img {
  width: 100%;
}



.bg-banner {
  width: fit-content;
}

.bg-banner-div {
  text-align: left;
  color: #fff;
  padding: 8% 9% 3%;
}

.bg-banner-div h1 {
  font-size: 90px;
  font-weight: 800;
  line-height: 90px;
  margin-bottom: 30px;
}

.bg-banner-div p {
  font-size: 25px;
  line-height: 40px;
}

/* End Jumbotron  */

/* Form */

/* .bg-banner-form {
  width: 25%;
  background: var(--title-color);
  padding: 11px 30px;
  position: absolute;
  top: 9%;
  right: 10%;
  color: var(--title2-color);
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.bg-banner-form h1 {
  font-size: 25px;
  line-height: 25px;
  margin-top: 1rem;
  font-family: '';
  font-weight: bold;
  text-align: center
}

.apply-form {
  display: block;
  width: 100%;
  padding: 0.3rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: var(--body-color);
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.6rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-lbtext {
  margin-top: 0.25rem;
  font-size: 0.9em;
  color: var(--normal-text2-color);
}


.form-horizontal .form-control {
  border-radius: 10px;
  box-shadow: none;
  background: var(--body-color);
  color: #000;
  height: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-horizontal {
  margin: 4% 0;
}

.banner-link a {
  color: var(--tab-bg-color);
  background: var(--body-color2);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 40px;
}

.bg-banner-form-btn,
.bg-banner-form-btn:hover {
  background: var(--body-color2);
  color: var(--normal-text2-color);
  border: none;
  border-radius: 0;
  padding: 8px 35px;
  text-transform: uppercase;
  font-weight: 700;
  width: 100%;
} */

/* Form */
.as_form {
  border-radius: 20px;
  padding: 20px 30px 20px 30px;
  background-color: var(--tab-bg-color);
}

.apply-form {
  display: block;
  width: 100%;
  padding: 0.3rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: var(--body-color);
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.6rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-lbtext {
  margin-top: 0.25rem;
  font-size: 0.9em;
  color: var(--normal-text2-color);
}


.form-horizontal .form-control {
  border-radius: 10px;
  box-shadow: none;
  background: var(--body-color);
  color: #000;
  height: 10px;
}

.form-group {
  margin-bottom: 15px;
  text-align: start;
}


/* End  Form */


.pin-image {
  width: 6%;
  margin-bottom: 0.6rem;
}

.pin-image2 {
  width: 6%;
  margin-left: -0.1rem;
  margin-bottom: 0.6rem;
  transform: scaleX(-1);
}

/* catchpa */
#ebcaptchatext {
  padding-right: 1rem;
}

#ebcaptchainput {
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: black;
  background-color: var(--body-color);
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.help-block,
.with-errors {
  color: var(--normal-text2-color);
}

/* End Catchpa */

/* About */
.ornament-image {
  position: absolute;
  bottom: -31px;
  right: 0;
}

/* About */



/* waves */
.floating-whale {
  /* z-index: 100; */
  -webkit-animation: float 6s ease-in-out infinite;
  animation: float 6s ease-in-out infinite;
  margin-bottom: -45px;
  margin-left: 120px;
}

.floating-whale {
  animation-name: floating-whale;
  animation-timing-function: linear;
}

@keyframes floating-whale {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}




.ocean {
  height: 53px;
  /* change the height of the waves here */
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  overflow-x: hidden;
}

.wave {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23003F7C'/%3E%3C/svg%3E");
  position: absolute;
  width: 200%;
  height: 100%;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
}

.wave:nth-of-type(2) {
  bottom: 0;
  animation: wave 18s linear reverse infinite;
  opacity: 0.5;
}

.wave:nth-of-type(3) {
  bottom: 0;
  animation: wave 20s -1s linear infinite;
  opacity: 0.5;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.sea {
  background-color: #00407C;
  margin-top: 3rem;
  height: 80px;
  z-index: 99;
}

/* waves */

/* Features */
.features-wrapper {
  background-color: #00407C;
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  margin: 0 auto;
}

.circle i {
  color: white;
  font-size: 40px;
}

.feature-img {
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}


.background-image {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url('../img/pre_school/childrenbg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
  /* Adjust the opacity as needed */
}

/* Features */

/* Programmes */
figcaption {
  background-color: #E5382F;
}


/* Programmes */

/* SERVICE */

/* .panel-wrap {
  margin-left: -2.6rem;
} */

.panel-container {
  background-color: #F8F8F8 !important;
  padding: 20px;
  border: 1px solid #ddd;
  height: 100%;
  display: flex;
  align-items: center;

}


.vertical-card {
  background-color: var(--tab-bg-color) !important;
  color: white;
  border: 1px solid #ccc;
  margin-right: 10px;
  margin-bottom: 20px;
  border-radius: 10px 0 0 10px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.vertical-card.active {
  background-color: #ff7f7f;
  /* Slightly red color when active */
}


.center-text {
  text-align: center;
}

.right-panel-content {
  flex: 1;
  padding-left: 20px;
}

.service-content {
  margin-left: 20px;
}

/* SERVICE */


.step-image {
  width: 10rem;
  margin-left: 7rem;
  margin-top: -4rem;
}


.section {
  margin-right: 0.5rem;
}

.enq-add {
  position: relative;
}


.section {
  margin-right: 0.5rem;
}

.arrow-steps {
  margin-left: 3rem;
}



.arrow-steps .step {
  font-size: 14px;
  text-align: center;
  color: var(--normal-text-color);
  cursor: default;
  margin: 0 3px;
  padding-top: 0.4rem;
  min-width: 9.5rem !important;
  height: 2.22rem;
  float: left;
  position: relative;
  background-color: var(--normal-color);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.arrow-steps .step:after,
.arrow-steps .step:before {
  content: " ";
  position: absolute;
  top: 0;
  right: -17px;
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 17px solid var(--normal-color);
  z-index: 2;
  transition: border-color 0.2s ease;
}

.arrow-steps .step:before {
  right: auto;
  left: 0;
  border-left: 17px solid #fff;
  z-index: 0;
}

.arrow-steps .step:first-child:before {
  border: none;
}

.arrow-steps .step:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.arrow-steps .step span {
  position: relative;
}

.arrow-steps .step span:before {
  opacity: 0;
  content: "✔";
  position: absolute;
  top: -2px;
  left: -20px;
}

.arrow-steps .step.done span:before {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease 0.5s;
  -moz-transition: opacity 0.3s ease 0.5s;
  -ms-transition: opacity 0.3s ease 0.5s;
  transition: opacity 0.3s ease 0.5s;
}

.arrow-steps .step.current {
  color: #fff;
  background-color: var(--caption-color);

}

.arrow-steps .step.current:after {
  border-left: 17px solid var(--caption-color);
}

.step-process-desc {
  background: var(--normal-color) !important;
  padding: 30px 54px 30px 54px;
  width: 100% !important;
  margin-top: 1rem !important;
  border-radius: 1rem !important;
}

.step-process-desc:after {
  content: "";
  position: absolute;
  display: none;
  top: -15px;
  width: 0;
  height: 0;
  border-bottom: 15px solid #f5f5f5;
  border-left: 15px solid #f5f5f500;
  border-right: 15px solid #f5f5f500;
  z-index: 1;
  clear: both;
}

.admi1:after {
  left: 6%;
}

.admi2:after {
  left: 22%;
}

.admi3:after {
  left: 39%;
}

.admi4:after {
  left: 56%;
}

.admi5:after {
  left: 73%;
}

.admi6:after {
  left: 90%;
}

.nopadding {
  padding: 0
}


@media screen and (max-width: 414px) {
  .arrow-steps {
    margin-left: 0rem;
  }

  .step-image {
    width: 5rem !important;
    margin-left: 0rem !important;
    margin-top: 0rem !important;
  }

  .step-process-desc {
    background: var(--normal-color) !important;
    padding-right: 10rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
    border-radius: 1rem !important;
    margin-left: 0.1rem;
  }
}

@media screen and (max-width: 700px) {
  .arrow-steps {
    margin-left: 1rem;
  }

  .step-image {
    width: 7rem !important;
    margin-left: 3rem !important;
    margin-top: 0rem !important;
  }

  .step-process-desc {
    background: var(--normal-color) !important;
    padding-right: 10rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
    border-radius: 1rem !important;
    margin-left: 0.1rem;
  }
}




/* Gallery */
.gallery {
  width: 100%;
  display: block;
  min-height: 100vh;
}

.gallery .gallery-filter {
  padding: 0 15px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.gallery .gallery-filter .filter-item {
  color: var(--title-color);
  font-size: 17px;
  border: 2px solid var(--title-color);
  text-transform: uppercase;
  display: inline-block;
  border-radius: 20px;
  margin-right: 8px;
  cursor: pointer;
  padding: 8px 20px 8px 20px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.gallery .gallery-filter .filter-item.active {
  color: white;
  border-color: var(--caption-color);
  background: var(--caption-color);
}

.gallery .gallery-item {
  width: calc(100% / 3);
  padding: 15px;

}

.gallery .gallery-item-inner img {
  width: 100%;
  border: 3px solid #d4dad9;
}

.gallery .gallery-item.show {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.gallery .gallery-item.hide {
  display: none;
}

/*responsive*/
@media(max-width: 491px) {
  .gallery .gallery-item {
    width: 50%;
  }
}

@media(max-width: 467px) {
  .gallery .gallery-item {
    width: 100%;
  }

  .gallery .gallery-filter .filter-item {
    margin-bottom: 10px;
  }
}

/* Gallery */

/* Infrastructure */

.infra-item {
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

.infra-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: -10px;
  background-color: var(--caption-color);
  color: white;
  font-size: 14px;
  text-align: center;
}

/* Infrastructure */


/* Testimonial */
.testimonial-image {
  width: 15%;
  margin-bottom: -15rem;
  margin-left: 0rem;
  transform: rotate(-25deg);
}

.testimonial {
  margin: 0 10px;
  border-radius: 1rem;

}

.testimonial .testimonial-content {
  margin: 50px 0 50px 0;
  position: relative;
  border-radius: 1rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.testimonial .description {
  padding: 20px 35px;
  margin: 0;
  background-color: var(--tab-bg-color);
  border-radius: 1rem;
  font-size: 15px;
  color: var(--title2-color);
  position: relative;
}

.test-card {
  border-radius: 1rem;
  margin-top: 1rem;
  overflow: hidden;
  -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.test-card:hover {
  -webkit-transform: translate(0, -8px);
  -moz-transform: translate(0, -8px);
  -ms-transform: translate(0, -8px);
  -o-transform: translate(0, -8px);
  transform: translate(0, -8px);
}

/* Testimonial */


/* FAQ */
details {
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); */
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px,
    rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px,
    rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
  /* width: 50rem; */
  background: var(--tab-bg-color);
  border-radius: 30px;
  position: relative;
  width: 100%;
  float: left;
  margin-bottom: 1rem;
}

details .summary-title {
  user-select: none;
  color: var(--body-color);
}

details:hover {
  cursor: pointer;
}

details .summary-content {
  border-top: 1px solid #e2e8f0;
  cursor: default;
  padding: 1em;
  font-weight: 300;
  line-height: 1.5;
  background-color: var(--tab-content-color);
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
  color: var(--title2-color);
}

.summary-content p {
  background-color: var(--tab-content-color);
  color: var(--text-color);
}

details summary {
  list-style: none;
  padding: 1em;
}

details summary:focus {
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.04);
}

details summary:hover .summary-chevron-up svg {
  opacity: 1;
}

details .summary-chevron-up svg {
  opacity: 0.5;
}

details .summary-chevron-up,
details .summary-chevron-down {
  pointer-events: none;
  position: absolute;
  flood-opacity: 10%;
  top: 0.75em;
  right: 1em;
  color: var(--title2-color);
}

/* FAQ */


/* Footer */
.copyright {
  text-align: center;
  display: block;
  background-color: var(--caption-color);
  color: var(--title2-color);
  height: 2.5rem;
  width: 100%;

}

.copyright-text {
  text-decoration: none;
  color: var(--normal-text2-color);
  padding-top: 0.5rem;
}

.scrollup {
  width: 34px;
  height: 34px;
  position: fixed;
  bottom: 70px;
  right: 35px;
  display: none;
  text-indent: -9999px;
  background: url(../images/Down-arrow.png) no-repeat;
  background-color: #fff;
  border-radius: 50px;
  background-position: -3px -3px;
}

/* Footer */



@media screen and (max-width: 414px) {
  .bg-banner-form {
    width: 81%;
  }
}

/* hide mobile show desktop */
@media only screen and (min-width: 750px) {
  .mobile-image {
    display: none;
  }

  .desktop-image {
    display: block;
    width: 100%;

  }
}

/* show mobile hide desktop */
@media only screen and (max-device-width: 700px) {
  .mobile-image {
    display: block;
    width: 100%;

  }

  .desktop-image {
    display: none;
  }

}

/* CTA */

.cta-wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-image: linear-gradient(to bottom right, rgba(3, 88, 109, 0.603), rgba(17, 17, 17, 0.8)),
    url('../img/pre_school/ctabg.png');
}



.cta-btn {
  border-radius: 20px;
  background-color: var(--caption-color) !important;
}

/* CTA */

/* Achievements */
.baseBlock {
  padding-left: 1rem;
  padding-top: 1rem;
  padding-right: 1rem;
  border-radius: 5px;
  overflow: hidden;
  background: var(--tab-content-color);
  -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* box-shadow: 0 40px 40px rgba(0, 0, 0, 0.2); */
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;

}

.baseBlock:hover {
  -webkit-transform: translate(0, -8px);
  -moz-transform: translate(0, -8px);
  -ms-transform: translate(0, -8px);
  -o-transform: translate(0, -8px);
  transform: translate(0, -8px);

}

.card-img {
  width: 100%;
  height: 15vw;
  object-fit: cover;
  -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-image {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* Our Programmes */
.program-card {
  display: flex;
  align-items: center;
}


/* floating Button */

.float-btn {
  position: fixed;
  top: 50%;
  right: 0px;
  width: 115px;
  height: 0px;
  text-align: right;
  z-index: 9999;
  margin-top: -15px;
}

.float-btn a {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  display: block;
  background: var(--caption-color);
  text-align: center;
  height: 42px;
  width: 165px;
  padding: 8px 16px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 1px #333;
  border-left: solid 1px #333;
  border-right: solid 1px #fff;

}

.float-btn a:hover {
  background: #CCC;
}