/********** Template CSS **********/

:root {
    /* --primary: #FE5D37; */
    --primary: #376cfe;
    --light: #FFF5F3;
    --dark: #141a1b;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #1f2937;
}


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);
}

.navbar.sticky-top {
    top: -100px;
    transition: .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: .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: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.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(../img/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(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 250px;
    }
    
    .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: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Hide header decorative backgrounds on mobile & tablet */
@media (max-width: 991px) {
    .header-carousel::before,
    .header-carousel::after,
    .page-header::before,
    .page-header::after {
        display: none;
    }
}

.page-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../img/page-bg.jpg) center center no-repeat; */ 
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('../img/page-bg.jpg') center / cover no-repeat;
  background-size: cover;  
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .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, .9);
    transition: .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, .9);
    transition: .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: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .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: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}

/* ===============================
   TESTIMONIAL CAROUSEL
================================ */
.testimonial-carousel {
    padding: 0 1rem;
    position: relative;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding: 0 2rem;
    }
}

/* ===============================
   TESTIMONIAL CARD
================================ */
.testimonial-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

/* Testimonial text with clamp for uniform height */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

/* User info */
.testimonial-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #111827;
}

.testimonial-item small {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Quote Icon */
.testimonial-item i.fa-quote-right {
    font-size: 1.5rem;
    color: #3b82f6;
}

/* ===============================
   OWL NAVIGATION
================================ */
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #1e40af;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .testimonial-item {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        min-height: 260px;
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        min-height: 240px;
        padding: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ===============================
   CTA BUTTON
================================ */
.testimonial-section .btn-primary {
    background: linear-gradient(135deg, #1e3c72, #2563eb);
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-section .btn-primary:hover {
    background: linear-gradient(135deg, #27408b, #3b82f6);
}



  /*** Footer ***/
  /* Footer Premium */
  .footer-premium {
      font-size: 15px;
      border-top: 1px solid #eaeaea;
      margin-bottom: 0;
  }

  .footer-premium .m-5 {
      margin-bottom: 1.5rem !important;
  }

  .footer-premium .row.g-4 {
      row-gap: 1.25rem;
  }

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    width: 35px;
    height: 2px;
    background: var(--primary);
    display: block;
    margin-top: 6px;
}

.footer-link {
    display: block;
    margin-bottom: 8px;
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social .btn {
    padding: 0;
    margin-right: 12px;
}

  .footer-bottom {
      border-top: 1px solid #eaeaea;
      font-size: 14px;
      margin-bottom: -50px;
  }

  html, body {
      height: 100%;
  }

  body > .bg-white.p-0 {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
  }

  .footer-premium {
      margin-top: auto;
  }

/* ULTRA-MINIMAL MOBILE FOOTER */
    @media (max-width: 768px) {
  
      .footer-premium {
          text-align: left;
      }

    .footer-title {
        font-size: 16px;
    }

      .footer-block {
          margin-bottom: 20px;
      }
  
      .footer-link {
          display: block;
          margin: 6px 0;
      }
  
      .footer-social {
          margin-top: 10px;
          text-align: left;
      }
  
      .footer-bottom {
          font-size: 13px;
          padding: 15px 10px;
          line-height: 1.6;
          text-align: left;
          padding-bottom: 0;
      }

      .footer-premium .m-5 {
          margin: 1.5rem !important;
      }
      
      
  }
