/********** Template CSS **********/
:root {
  /**Primary**/
  --primary-color: hsl(214, 100%, 50%);
  --primary-color-hover: hsl(220, 95%, 50%);
  --primary-disable: hsl(214, 51%, 26%);
  --primary-box-shadow: 0 0 0 0.25rem hsla(214, 100%, 50%, 0.502);
  --primary-background-light: hsl(214, 43%, 96%);

  /***Secondary******/
  --secondary-color: #fff;
  --secondary-color-hover: hsl(221, 58%, 94%);
  --secondary-disable: hsl(0, 0%, 73%);
  --secondary-box-shadow: 0 0 0 0.25rem hsla(220, 66%, 58%, 0.502);

  /****Other colors*****/
  --light: #fff5f3;
  --dark: #103741;
  --footer-background: #0d395f; /**#020d25;  #010d19;***/
  --text-color: #000000;
}
.text-dark{
  color:var(--dark);
}
body {
  background-color: hsl(214, 100%, 98%);
  color: #141414;
}
.span-bold {
  color: var(--text-color);
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/****Elements*******/
a {
  color: var(--primary-color);
}
a:hover {
  color: var(--primary-color-hover);
}
.text-primary {
  color: var(--primary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.border-primary {
  border-color: var(--primary-color) !important;
}
.bg-light {
  background-color: var(--primary-background-light) !important;
}
.bg-dark {
  background-color: var(--footer-background) !important;
}
.text-view {
  color: #fff;
}
p {
  font-size: 1rem;
}
/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #212529;
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--primary-box-shadow);
}
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-check:checked + .btn-primary:focus,
.btn-check:active + .btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: var(--primary-box-shadow);
}

.btn-dark {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.btn-dark:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color-hover);
  border-color: var(--secondary-color-hover);
}
.btn-check:focus + .btn-dark,
.btn-dark:focus {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: var(--secondary-box-shadow);
}
.btn-check:checked + .btn-dark,
.btn-check:active + .btn-dark,
.btn-dark:active,
.btn-dark.active,
.show > .btn-dark.dropdown-toggle {
  color: var(--primary-color);
  background-color: var(--secondary-colorr);
  border-color: var(--secondary-color);
}
.btn-check:checked + .btn-dark:focus,
.btn-check:active + .btn-dark:focus,
.btn-dark:active:focus,
.btn-dark.active:focus,
.show > .btn-dark.dropdown-toggle:focus {
  box-shadow: var(--secondary-box-shadow);
}
.btn-dark:disabled,
.btn-dark.disabled {
  color: var(--primary-color);
  background-color: var(--secondary-disable);
  border-color: var(--secondary-disable);
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #212529;
}
/*****Dropdown******/
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-color);
}
.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
  background-color: var(--primary-color);
}

.terms-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
}
/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: "Cooper BT Black", cursive;
  font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
  font-weight: 600;
}

.font-secondary {
  font-family: "Lobster Two", cursive;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
  padding: 30px 15px;
  color: var(--dark);
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: calc(100% - 15px);
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.car {
  min-height: 550px;
  padding: 100px 0;
  background: linear-gradient(55deg, #fff, #0084f0);
}
.title-carousel {
  color: white;
}
.subtitle-carousel {
  color: black;
}

@media (max-width: 905px) {
  .car {
    min-height: 300px;
  }
  .title-carousel {
    font-size: 36px;
  }
}
.subtitle-carousel {
  font-size: 16px;
}
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  top: 0;
  left: 0;
  /**background: url(../images/banners/bg-header-top.png) center center repeat-x;
    z-index: 1;**/
}

.header-carousel::after,
.page-header::after {
  height: 19px;
  top: auto;
  bottom: 0;
  /**background: url(../images/banners/bg-header-bottom.png) center center repeat-x;**/
}
.owl-carousel-item{
  min-height: 600px;
}
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    max-height: 800px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary-color);
  border-color: var(--light);
  color: var(--light);
}



.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/*** Facility ***/
.facility-item .facility-icon {
  position: relative;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-item .facility-icon::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-icon span {
  position: absolute;
  content: "";
  width: 15px;
  height: 30px;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
  left: auto;
  right: 0;
}

.facility-item .facility-icon i {
  position: relative;
  z-index: 2;
}

.facility-item .facility-text {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

.facility-item .facility-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-text * {
  position: relative;
  z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
  background: transparent;
}

.facility-item * {
  transition: 0.5s;
}

.facility-item:hover * {
  color: #ffffff !important;
}

/*** About ***/
.about-img img {
  transition: 0.5s;
}

.about-img img:hover {
  background: var(--primary-color) !important;
}
.text-content {
  font-size: 1.2rem;
}
/* About Page Styles */
.milestone-card {
  background: var(--primary-background-light);
  padding: 1.5rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-5px);
}

.milestone-card h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.approach-card {
  background: var(--primary-background-light);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.approach-card:hover {
  transform: translateY(-5px);
}

.approach-card i {
  transition: transform 0.3s ease;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.approach-card:hover i {
  transform: scale(1.1);
}

blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #2c3e50;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}
/*** Classes ***/
.classes-item {
  transition: 0.5s;
}

.classes-item:hover {
  margin-top: -10px;
}

/*** Team ***/
.team-item .team-text {
  position: absolute;
  width: 250px;
  height: 250px;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff;
  border: 17px solid var(--light);
  border-radius: 250px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  border-color: var(--primary-color);
}

/*** Testimonial ***/
.testimonial-carousel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


@media (min-width: 576px) {
  .testimonial-carousel {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.testimonial-carousel .testimonial-item .border {
  border: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 45px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary-color);
  border-radius: 45px;
  font-size: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

/**FAQ********/
.accordion-button {
  background-color: var(--primary-background-light);
}
.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--primary-background-light);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.accordion-button:focus {
  z-index: 3px;
  border: var(--primary-color);
}
.accordion-button:focus {
  border-color: hsl(214, 100%, 80%);
  box-shadow: 0 0 0 0.25rem hsla(214, 99%, 61%, 0.25);
}
.accordion-item {
  background-color: hsl(214, 100%, 98%);
}

.accordion-button::after {
  display: none !important; /* Hides Bootstrap's default v icon */
}

.accordion-button .icon {
  margin-left: auto; /* Pushes the + icon to the right */
  transition: transform 0.2s ease-in-out;
  font-weight: bold;
  font-size: 25px;
}

.accordion-button:not(.collapsed) .icon {
  transform: rotate(45deg); /* Rotates the + to x when opened */
}
.faq-container h3 {
  font-family: georgia, serif;
  font-size: 25px;
  font-weight: bold;
}
/***News and events***/

#school-news h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
}

#school-news h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 2rem;
}

.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-img img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.1);
}

.news-card .card-body {
  padding: 1.5rem;
}

.news-card .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: 0.3s;
}

.news-card .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
/** program*/

.section-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-card {
  background-color: #0e3a7c;
  border: none;
  border-radius: 20px;
  color: white;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.icon-circle {
  background-color: #ffffff;
  color: var(--primary-color);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  flex-shrink: 0;
}

h5 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* New styles for approach cards */
.approach-card {
  color: #212529; /* Dark text color */
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.approach-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.approach-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.approach-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .step-card {
    flex-direction: row;
    padding: 1.2rem;
  }
  .icon-circle {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* WHY CHOOSE OUR SCHOOL */
.choose-section {
  padding: 70px 0;
  text-align: center;
}
.title {
  color: var(--primary-color);
}
.sub-title {
  color: var(--secondary-color);
}
.choose-card {
  background: var(--primary-background-light);
  border-radius: 15px;
  padding: 30px 20px;
  transition: 0.3s;
  height: 100%;
}

.choose-card:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-6px);
}
.choose-card:hover p,
.choose-card:hover h5 {
  color: #fff;
}
.choose-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  transition: 0.3s;
}

.choose-card:hover i {
  color: #fff;
}
.h-max {
  max-height: 550px;
}

/**Facilities**/
.facility-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px !important;
}

.facility-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-card:hover img {
  transform: scale(1.1);
  border-radius: 10px !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
  border-radius: 10px !important;
}

.facility-card:hover .overlay {
  opacity: 1;
}
.zoom-facilities {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.facility-card .zoom-facilities {
  transform: scale(0.5);
  border-radius: 10px !important;
}
/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 45px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary-color) !important;
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: #ffffff;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
  color: var(--primary-color) !important;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
.form-control:focus {
  box-shadow: var(--primary-box-shadow) !important;
}

/**Board of Directors **/

.bod-card {
  background: var(--primary-background-light);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
}

.bod-card img {
  border-radius: 10px;
  object-fit: cover;

}
.bod-card:hover {
  transform: scale(1.05);
  transition: 0.5s ease-in-out;
}
.zoom:hover img {
  transform: scale(1.05);
  transition: 0.5s ease-in-out;
}