/*** Spinner Start ***/
/*** 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;
}

/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

.btn.btn-primary {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
  box-shadow: inset 300px 0 0 0 var(--bs-white) !important;
  color: var(--bs-primary) !important;
}

.btn.btn-secondary {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-secondary:hover {
  box-shadow: inset 300px 0 0 0 var(--bs-primary);
  color: var(--bs-light) !important;
}

.btn-hover {
  transition: 0.5s;
}

.btn-hover:hover {
  color: var(--bs-secondary) !important;
}

/*** Sub Title Start ***/
.sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-right: -110px;
  border: 1px solid var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
  transition: 0.5s;
}

.topbar {
  padding: 2px 10px 2px 20px;
  background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: var(--bs-secondary) !important;
}

@media (max-width: 576px) {
  .topbar {
    display: none;
  }
}

/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  font-family: "Yantramanav", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  /* color: var(--bs-dark) !important; */
  font-size: 18px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: f7f4ea !important;
  font-size: 18px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  transition: 0.5s;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    /* color: var(--bs-dark) !important; */
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: var(--bs-light) !important;
  }

  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}

/*** Carousel Hero Header Start ***/
.header-carousel {
  position: relative;
}

.header-carousel .owl-nav .owl-prev {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  border-radius: 60px;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border-radius: 60px;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

@media (max-width: 576px) {

  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    top: 630px;
    transition: 0.5s;
  }

  .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    width: 95% !important;
  }
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 95px;
  display: block;
  object-fit: cover;
  transition: 0.5s;
}

@media (max-width: 992px) {

  .header-carousel .header-carousel-item,
  .header-carousel .header-carousel-item img {
    margin-top: 0;
    transition: 0.5s;
  }
}

@media (min-width: 992px) {

  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    margin-top: 50px;
  }
}

.header-carousel .header-carousel-item .carousel-caption {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
  position: relative;
  width: 75%;
}

/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  padding: 145px 0 50px 0;
  background:
    linear-gradient(rgba(242, 139, 0, 0.2), rgba(242, 139, 0, 0.3)),
    url(../img/breadcrumb2.webp);
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 992px) {
  .bg-breadcrumb {
    padding-top: 50px;
  }
}

/*** Single Page Hero Header End ***/

/*** Counter Facts Start ***/

.counter-facts {
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7)),
    url(../img/abouSchool.webp);
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
}

.counter-facts .counter {
  position: relative;
  text-align: center;
  width: 200px;
  min-height: 215px;
  padding: 10px 15px;
  margin: 0 auto;
  border-radius: 100px;
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
  background: var(--bs-white);
}

.counter-facts .counter:before {
  content: "";
  position: absolute;
  height: 105px;
  width: 100%;
  left: 0;
  top: 0;
  border-radius: 10px 10px 0 0;
  background-color: var(--bs-primary);
}

.counter-facts .counter .counter-icon {
  position: relative;
  width: 120px;
  height: 100px;
  border-radius: 10px 10px 0 0;
  font-size: 50px;
  line-height: 90px;
  color: var(--bs-primary) !important;
  display: flex;
}

.counter-facts .counter h3 {
  color: var(--bs-white);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 5px 0;
  display: flex;
}

.counter-facts .counter .counter-value {
  font-size: 30px;
  font-weight: 700;
  display: block;
  color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
  .counter-facts .counter {
    margin-bottom: 40px;
  }
}

/*** Counter Facts End ***/

/*** Training Start ***/
.training-carousel .owl-stage-outer {
  margin-top: 30px;
}

.training-carousel .owl-nav .owl-prev,
.training-carousel .owl-nav .owl-next {
  position: absolute;
  top: 0;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.training-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.training-carousel .owl-nav .owl-next {
  right: 0;
}

.training-carousel .owl-nav .owl-prev:hover,
.training-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

.training .training-item .training-img {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.training .training-item .training-img img {
  transition: 0.5s;
}

.training .training-item:hover .training-img img {
  transform: scale(1.2);
}

/*** Training End ***/

/*** Dance Class Start ***/
.class-carousel .owl-stage-outer {
  margin-top: 30px;
}

.class-carousel .owl-nav .owl-prev,
.class-carousel .owl-nav .owl-next {
  position: absolute;
  top: 0;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.class-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.class-carousel .owl-nav .owl-next {
  right: 0;
}

.class-carousel .owl-nav .owl-prev:hover,
.class-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

.class .class-item .class-img {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.class .class-item .class-img img {
  transition: 0.5s;
}

.class .class-item:hover .class-img img {
  transform: scale(1.3);
}

/*** Dance Class End ***/

/*** Blog Start ***/
.blog-carousel .owl-stage-outer {
  margin-top: 30px;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
  position: absolute;
  top: 1px;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.blog-carousel .owl-nav .owl-next {
  right: 0;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.3);
}

/*** Blog End ***/

/*** Team Start ***/
.team-carousel .owl-stage-outer {
  margin-top: 30px;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: absolute;
  top: 1px;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.team-carousel .owl-nav .owl-next {
  right: 0;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

.team .team-carousel .team-item .team-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.team .team-carousel .team-item .team-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  z-index: 2;
}

.team .team-carousel .team-item .team-img .team-icon {
  position: absolute;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 25px;
  display: flex;
  opacity: 0;
  transition: 0.5s;
  z-index: 3;
}

.team .team-carousel .team-item:hover .team-img .team-icon {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

.team .team-carousel .team-item .team-content {
  position: relative;
  background: var(--bs-secondary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1;
  transition: 0.5s;
}

.team .team-carousel .team-item .team-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--bs-primary) !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 0.5s;
  z-index: -1;
}

.team .team-carousel .team-item:hover .team-content a,
.team .team-carousel .team-item:hover .team-content p {
  color: var(--bs-white) !important;
}

.team .team-carousel .team-item:hover .team-content::after {
  height: 100% !important;
}

.team .team-carousel .team-item .team-img img {
  transition: 0.5s;
}

.team .team-carousel .team-item:hover .team-img img {
  transform: scale(1.1);
}

/*** Team End ***/

/*** Vidie Gallery Start ***/
/*** Youtube Video start ***/
.gallery .tab-class {
  text-align: start !important;
}

.gallery .nav-item {
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.gallery .nav-item a span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery .nav-item a.active {
  background: var(--bs-primary) !important;
}

.gallery .nav-item a.active span {
  color: var(--bs-white) !important;
}

.video {
  position: relative;
}

.video .btn-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: content-box;
  display: block;
  width: 23px;
  height: 44px;
  border-radius: 50%;
  transition: 0.5s;
}

.video .btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 70px;
  height: 70px;
  background: var(--bs-white);
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
  transition: 0.5s;
}

.video .btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 50px;
  height: 50px;
  background: var(--bs-secondary);
  border-radius: 50%;
  transition: all 300ms;
}

.video .btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 23px solid var(--bs-primary);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal {
  z-index: 99999;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Youtube Video End ***/

/*** Vidieo Gallery End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
  margin-top: 30px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: absolute;
  top: 1px;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
  right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

/*** Testimonial End ***/

/*** Contact Start ***/
.contact button.btn.btn-primary.w-100:hover {
  box-shadow: inset 700px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: var(--bs-dark);
}

.footer .footer-item .footer-link {
  line-height: 30px;
  color: var(--bs-white);
  transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
  letter-spacing: 1px;
  color: var(--bs-primary) !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bs-dark) !important;
}

/*** copyright end ***/

.off-white-bg {
  color: #f7f4ea !important;
}

.royal-blue {
  color: #002366 !important;
}

.training-carousel .training-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.training-img {
  height: 260px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

.training-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.training-item .rounded-bottom {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.training-item .rounded-bottom p {
  flex: 1 1 auto;
  margin-bottom: 1rem;
}

.training-item .btn {
  margin-top: auto;
}

.training-item .h4 {
  text-decoration: none;
}

.team-carousel .team-item {
  height: 460px !important;
  display: flex !important;
  flex-direction: column !important;
}

.team-carousel .team-img {
  height: 320px !important;
  overflow: hidden !important;
  flex: 0 0 320px !important;
  background: #6c757d;
}

.team-carousel .team-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

.team-carousel .team-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 16px !important;
  text-align: center;
}

.team-carousel .team-content .h4 {
  margin-bottom: 6px;
  text-decoration: none;
}

.footer .footer-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer .footer-contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer .footer-contact-text {
  line-height: 1.35;
  background: transparent;
}

.footer .footer-email {
  display: inline-block;
  word-break: break-word;
  text-decoration: none;
}

.footer .footer-newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 9999px;
  padding: 6px;
  overflow: hidden;
  max-width: 100%;
}

.footer .footer-newsletter input {
  flex: 1;
  border: 0;
  outline: 0;
  box-shadow: none;
  padding: 12px 14px;
  border-radius: 9999px;
  min-width: 0;
}

.footer .footer-newsletter button {
  border: 0;
  border-radius: 9999px;
  padding: 10px 18px;
  white-space: nowrap;
}

.about-img-wrap {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 0.5rem;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .about-img-wrap {
    height: 360px;
  }
}

@media (max-width: 991.98px) {
  .off-white-bg {
    color: #f7f4ea !important;
  }

  /* Header row: brand left, toggler right */
  .navbar>.container,
  .navbar>.container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Brand: allow it to shrink and not push toggler down */
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-right: 12px;
  }

  /* The title (your h1) smaller + single line */
  .navbar-brand h1 {
    margin: 0 !important;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* responsive size */
    font-size: clamp(16px, 4.2vw, 22px) !important;
  }

  /* Logo smaller */
  .navbar-brand img {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 auto;
  }

  /* Toggler always stays on the right */
  .navbar-toggler {
    margin-left: auto;
    flex: 0 0 auto;
    position: relative;
    z-index: 1100;
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid #f5b301;
    background: transparent;
    box-shadow: none !important;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-toggler .fa-bars {
    font-size: 18px;
    color: #f5b301;
    line-height: 1;
  }

  /* Mobile dropdown panel below header */
  .navbar-collapse {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  /* Make menu links readable on blue background */
  .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: 10px 0;
  }

  .navbar-nav .nav-link.active {
    color: #f5b301 !important;
    font-weight: 700;
  }

  /* Admission button alignment */
  .navbar .btn.btn-primary {
    display: inline-block;
    margin-top: 14px;
  }

  .navbar-brand img {
    width: clamp(28px, 7vw, 42px) !important;
    height: clamp(28px, 7vw, 42px) !important;
    object-fit: contain;
    flex: 0 0 auto;
  }
}

.footer-item .footer-link {
  display: block;
  width: 100%;
  margin: 0 0 10px 0;
  line-height: 1.35;
  text-decoration: none;
}

.footer-item .footer-link:last-child {
  margin-bottom: 0;
}

.training-carousel .owl-stage {
  display: flex;
}

.training-carousel .owl-item {
  display: flex;
}

.training-item {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.training-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.training-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.training-item>.rounded-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.training-item .h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.training-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.training-carousel .training-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.training-img {
  height: 260px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

.training-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.training-item .rounded-bottom {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.training-item .rounded-bottom p {
  flex: 1 1 auto;
  margin-bottom: 1rem;
}

.training-item .btn {
  margin-top: auto;
}

.training-item .h4 {
  text-decoration: none;
}

.team-carousel .team-item {
  height: 460px !important;
  display: flex !important;
  flex-direction: column !important;
}

.team-carousel .team-img {
  height: 320px !important;
  overflow: hidden !important;
  flex: 0 0 320px !important;
  background: #6c757d;
}

.team-carousel .team-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

.team-carousel .team-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 16px !important;
  text-align: center;
}

.team-carousel .team-content .h4 {
  margin-bottom: 6px;
  text-decoration: none;
}

:root {
  --nav-h: 10px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

#site-index,
#site-about,
#site-classes,
#site-teacher,
#site-gallery,
#site-testimonial,
#site-contact {
  scroll-margin-top: var(--nav-h);
}

/* Full screen carousel */
.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .header-carousel-item {
  height: 100vh;
}

/* Image should cover full height (no stretch) */
.header-carousel .header-carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

/* Caption centered nicely */
.header-carousel .carousel-caption {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

/* Optional: avoid header overlap (if navbar is fixed) */
.header-carousel {
  margin-top: 0;
}

:root {
  --header-offset: 140px;

  --brand: #f28b00;
  --brand-2: #002366;
  --ink: #0f172a;
  --muted: #64748b;
  --card: rgba(255, 255, 255, 0.86);
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 55px rgba(2, 6, 23, 0.14);
  --shadow-soft: 0 10px 24px rgba(2, 6, 23, 0.12);
  --radius: 20px;

  --container-max: 920px;
  --pad-x: clamp(12px, 3.2vw, 28px);
  --hero-pad: clamp(16px, 3.4vw, 30px);
  --card-pad: clamp(16px, 3.2vw, 28px);
  --section-pad: clamp(14px, 2.6vw, 20px);

  --h1-size: clamp(1.55rem, 2.4vw + 0.7rem, 3rem);
  --p-size: clamp(0.95rem, 0.45vw + 0.85rem, 1.1rem);

  --label-size: clamp(0.92rem, 0.3vw + 0.88rem, 1rem);
  --input-size: clamp(0.95rem, 0.35vw + 0.9rem, 1.05rem);

  --radius-lg: clamp(16px, 2vw, 28px);
  --radius-md: clamp(12px, 1.4vw, 18px);

  --gap: clamp(16px, 3.6vw, 28px);
}

@media (max-width: 991.98px) {
  :root {
    --header-offset: 30px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-offset: 30px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family:
    "Roboto",
    "Yantramanav",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 12% 10%,
      rgba(242, 139, 0, 0.18),
      transparent 60%),
    radial-gradient(900px 520px at 90% 25%,
      rgba(0, 35, 102, 0.16),
      transparent 55%),
    linear-gradient(180deg, #fff, #f8fafc);
}

body.admission-page .admission-wrap {
  padding-top: calc(var(--header-offset) + env(safe-area-inset-top) + 12px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.admission-wrap {
  padding: 28px 0 60px;
}

.admission-wrap>.row>.col-lg-9,
.admission-wrap>.row>.col-xl-8 {
  max-width: var(--container-max);
}

.admission-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(900px 380px at 15% 15%,
      rgba(242, 139, 0, 0.22),
      transparent 60%),
    radial-gradient(900px 380px at 90% 25%,
      rgba(0, 35, 102, 0.18),
      transparent 55%),
    linear-gradient(135deg, #0b1b3a 0%, #102a57 42%, #163c7a 100%);
}

.admission-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent, rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 10px);
  opacity: 0.25;
}

.admission-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 240px at 20% 10%,
      rgba(255, 255, 255, 0.18),
      transparent 55%);
  opacity: 0.7;
}

.admission-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--hero-pad);
}

.admission-hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 10px 0 6px;
  font-size: var(--h1-size);
  line-height: 1.12;
  word-break: break-word;
}

.admission-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 72ch;
  font-size: var(--p-size);
  line-height: 1.45;
}

.admission-card {
  position: relative;
  z-index: 2;
  margin-top: var(--gap);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.admission-card .card-body {
  padding: var(--card-pad);
}

.form-section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: var(--section-pad);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px 0;
  font-weight: 800;
  color: var(--brand-2);
  font-size: clamp(0.98rem, 0.45vw + 0.9rem, 1.15rem);
  line-height: 1.2;
  flex-wrap: wrap;
}

.section-title .icon {
  width: clamp(30px, 3.2vw, 36px);
  height: clamp(30px, 3.2vw, 36px);
  border-radius: clamp(10px, 1.4vw, 14px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 139, 0, 0.12);
  border: 1px solid rgba(242, 139, 0, 0.25);
  color: var(--brand);
  font-weight: 900;
}

.form-label {
  font-weight: 700;
  color: rgba(15, 23, 42, 0.86);
  margin-bottom: 6px;
  font-size: var(--label-size);
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  font-size: var(--input-size);
  min-height: 46px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(242, 139, 0, 0.65);
  box-shadow: 0 0 0 4px rgba(242, 139, 0, 0.16);
  transform: translateY(-1px);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

input[type="file"].form-control {
  min-height: 46px;
  padding: 10px 12px;
}

.btn-admission {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 0;
  background: linear-gradient(90deg, var(--brand), #ffb703);
  box-shadow: 0 14px 32px rgba(242, 139, 0, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  width: 100%;
  min-height: 50px;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.12rem);
}

.btn-admission:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(242, 139, 0, 0.32);
  filter: brightness(1.02);
}

.btn-admission:active {
  transform: translateY(0px);
}

.fineprint {
  color: rgba(15, 23, 42, 0.62);
  font-size: 0.92rem;
  margin-top: 10px;
}

@media (min-width: 1400px) {
  :root {
    --container-max: 980px;
  }

  .admission-hero p {
    max-width: 78ch;
  }
}

@media (max-width: 1399.98px) {
  :root {
    --container-max: 940px;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --container-max: 900px;
  }
}

@media (max-width: 991.98px) {
  .admission-wrap {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .admission-card {
    backdrop-filter: none;
    box-shadow: 0 12px 34px rgba(2, 6, 23, 0.14);
  }

  .admission-hero p {
    max-width: 68ch;
  }
}

@media (max-width: 767.98px) {
  .hint {
    font-size: 0.88rem;
  }
}

@media (max-width: 575.98px) {
  .admission-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admission-hero {
    border-radius: calc(var(--radius-md) + 4px);
  }

  .admission-hero h1 {
    font-size: clamp(1.5rem, 6vw + 0.4rem, 2rem);
    line-height: 1.12;
  }

  .admission-hero p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .section-title {
    gap: 8px;
  }

  .section-title .icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .admission-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .form-control,
  .form-select {
    padding: 11px 12px;
  }

  .btn-admission {
    min-height: 48px;
  }
}

@media (max-height: 520px) and (max-width: 991.98px) {
  body.admission-page .admission-wrap {
    padding-top: calc(var(--header-offset) + 10px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.navbar .btn.btn-primary {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.navbar .btn.btn-primary:hover,
.navbar .btn.btn-primary:focus,
.navbar .btn.btn-primary:active {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #ffb703 !important;
  filter: none !important;
}

.navbar .btn.btn-primary.active {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #ffb703 !important;
}

.navbar-nav .nav-link.is-active {
  color: #f5b301 !important;
  font-weight: 700;
}

.testimonial-carousel .testimonial-item {
  position: relative;
  height: 520px;
  overflow: hidden;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
}

.testimonial-carousel .testimonial-item .avatar-wrap {
  width: 100px;
  height: 100px;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.testimonial-carousel .testimonial-item .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-carousel .testimonial-item .meta {
  margin-top: 90px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-carousel .testimonial-item .testimonial-content {
  flex: 1;
  overflow: hidden;
  padding: 16px;
}

.testimonial-carousel .testimonial-item .testimonial-content p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

body.branches-page {
  background:
    radial-gradient(1200px 520px at 12% 10%, rgba(242, 139, 0, 0.16), transparent 60%),
    radial-gradient(900px 520px at 90% 25%, rgba(0, 35, 102, 0.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  min-height: 100vh;
}

.branches-wrap {
  width: 100%;
  padding-top: calc(var(--header-offset) + 18px);
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-left: 0;
  padding-right: 0;
}

.branches-inner {
  max-width: 1400px;
}

@media (min-width: 1200px) {
  .branches-inner {
    max-width: 1560px;
  }
}

.branches-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(900px 380px at 15% 15%, rgba(242, 139, 0, 0.18), transparent 60%),
    radial-gradient(900px 380px at 90% 25%, rgba(0, 35, 102, 0.16), transparent 55%),
    linear-gradient(135deg, #0b1b3a 0%, #102a57 42%, #163c7a 100%);
}

.branches-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent, rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 10px);
  opacity: 0.22;
}

.branches-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 240px at 20% 10%, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0.7;
}

.branches-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--hero-pad);
  color: #fff !important;
}

.branch-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.branch-media {
  background: #eef2f7;
}

.branch-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.branch-body {
  padding: 18px 18px 20px;
}

.branch-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.branch-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--brand);
  background: rgba(242, 139, 0, 0.12);
  border: 1px solid rgba(242, 139, 0, 0.25);
  flex: 0 0 auto;
}

.branch-title {
  font-weight: 800;
  color: var(--brand-2);
  margin: 0;
}

.branch-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.branch-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15, 23, 42, 0.85);
  font-size: 14px;
  line-height: 1.35;
}

.branch-line i {
  color: var(--brand-2);
  margin-top: 2px;
}

.branch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.branch-actions .btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .branches-grid .branch-last-center {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .branch-media img {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .branches-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .branch-card {
    backdrop-filter: none;
  }

  .branch-media img {
    height: 200px;
  }
}

@media (max-width: 360px) {
  .branch-body {
    padding: 16px 14px 18px;
  }

  .branch-actions {
    gap: 8px;
  }

  .branch-actions .btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}


.branches-hero {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.branches-grid {
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  .branches-hero {
    margin-bottom: 16px;
  }
}


/* Services cards without image */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.5s;
}

.service-card-top {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(242, 139, 0, 0.95), rgba(0, 35, 102, 0.95));
  overflow: hidden;
}

.service-card-top::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -70px;
  right: -70px;
}

.service-card-top::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -60px;
  left: -60px;
}

.service-number {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  line-height: 1;
  z-index: 2;
}

.service-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: 0.5s;
}

.service-icon i {
  font-size: 34px;
  color: #fff;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.22);
}

#site-services .training-item .rounded-bottom {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
}

#site-services .training-item .rounded-bottom p {
  flex: 1 1 auto;
  margin-bottom: 0;
  line-height: 1.6;
}

#site-services .training-item .h4 {
  text-decoration: none;
  line-height: 1.4;
}

#site-services .training-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
  .service-card-top {
    min-height: 150px;
  }

  .service-icon {
    width: 72px;
    height: 72px;
  }

  .service-icon i {
    font-size: 28px;
  }

  .service-number {
    font-size: 22px;
    padding: 7px 12px;
  }
}


/* Children We Support cards */
.child-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.5s;
}

.child-card-top {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 35, 102, 0.95), rgba(242, 139, 0, 0.95));
  overflow: hidden;
}

.child-card-top::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -70px;
  right: -70px;
}

.child-card-top::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -60px;
  left: -60px;
}

.child-number {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  line-height: 1;
  z-index: 2;
}

.child-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: 0.5s;
}

.child-icon i {
  font-size: 34px;
  color: #fff;
}

.child-card:hover .child-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.22);
}

#site-children .training-item .rounded-bottom {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
}

#site-children .training-item .rounded-bottom p {
  flex: 1 1 auto;
  margin-bottom: 0;
  line-height: 1.6;
}

#site-children .training-item .h4 {
  text-decoration: none;
  line-height: 1.4;
}

#site-children .training-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
  .child-card-top {
    min-height: 150px;
  }

  .child-icon {
    width: 72px;
    height: 72px;
  }

  .child-icon i {
    font-size: 28px;
  }

  .child-number {
    font-size: 22px;
    padding: 7px 12px;
  }
}