/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
  width: 5px;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #ededed;
}

::-webkit-scrollbar-thumb {
  background: #E04A28;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
  cursor: pointer;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    z-index: 99;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

/* 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;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    color: var(--white);
    background-color: #e04a28;
    border-color: #d44322;
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0.875rem;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 1.25rem;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

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;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

.font-secondary {
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
}

/* Navbar */
.navbar {
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

.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: var(--transition);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: var(--transition);
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 0.25rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: var(--transition);
        opacity: 1;
    }
}

/* Header */
.header-carousel,
.page-header {
    position: relative;
}

.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;
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.header-carousel .owl-carousel-item .container {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.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: var(--white);
    background: transparent;
    border: 1px solid var(--white);
    border-radius: 45px;
    font-size: 22px;
    transition: var(--transition);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: transparent;
    border-radius: 0.25rem;
    justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }
    
    .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;
    }
    
    .page-header {
        padding: 60px 0;
    }
}

/* Facility */
.facility-item {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.facility-item .facility-icon {
    position: relative;
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: var(--transition);
}

.facility-item .facility-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.facility-item .facility-text {
    padding: 20px;
    border-radius: 10px;
    background: var(--light);
    transition: var(--transition);
}

.facility-item:hover .facility-icon {
    background: var(--primary);
}

.facility-item:hover .facility-icon i {
    color: var(--white);
}

.facility-item:hover .facility-text {
    background: var(--primary);
    color: var(--white);
}

/* About */
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-img img {
    transition: var(--transition);
    width: 100%;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Classes */
.classes-item {
    transition: var(--transition);
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.classes-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Team */
.team-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.team-item img {
    width: 100%;
    transition: var(--transition);
}

.team-item .team-text {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--white);
    border: 4px solid var(--light);
    border-radius: 250px;
    transform: translate(0, 0); 
    transition: none; 
    border-color: var(--primary);
}

.team-item img {
    transform: none;
}


@media (max-width: 768px) {
    .team-item .team-text {
        width: 180px;
        height: 180px;
        border-width: 4px;
    }
    .teacher-name{
      font-size: 12px !important;
    }
    .team-social-handler{
         width: 25px;
        height: 25px;
    }
    .vibodh-justify-content-center{
        justify-content: center;
    }
}

/* Testimonial */
.testimonial-carousel {
    padding: 0 1.5rem;
}

.testimonial-item {
    padding: 30px;
    margin: 15px;
    border-radius: 10px;
    background: var(--light);
    position: relative;
}

.testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
    padding: 20px;
    border-radius: 10px;
}

.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;
    padding: 0 15px;
}

.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: var(--white);
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: var(--transition);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding: 0 4rem;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: var(--transition);
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    text-transform: capitalize;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.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) !important;
    letter-spacing: 1px;
    box-shadow: none;
    text-decoration: none;
}

.footer .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.footer .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: var(--primary);
    color: var(--white);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    text-align: center;
}

.footer .copyright a {
    color: var(--white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255,255,255,0.7);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer .btn.btn-link {
        text-align: center;
    }
    
    .footer .footer-menu a {
        margin: 0 5px;
        padding: 0 5px;
        border-right: none;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.mt-100 {
    margin-top: 100px;
}

.mb-100 {
    margin-bottom: 100px;
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .mt-100 {
        margin-top: 60px;
    }
    
    .mb-100 {
        margin-bottom: 60px;
    }
    
    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

.img-fluid-height{
 height: 25vh;
 object-fit: cover;
}

@media screen and (max-width: 786px) {
    .size-testimonial {
      font-size: 11px !important;
    }
    .img-fluid-objectfit{
    height: 18em;
}
}

.size-testimonial {
      font-size: 14px !important;
}

@media screen and (min-width: 1086px){
.img-fluid-objectfit{
    height:73.8vh;
    object-fit: cover;
}
}

