.container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}


/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.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: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
/* Navbar container spacing fix */
.navbar .container-fluid {
    max-width: 100%; /* Full width stretch */
    padding: 0 15px;  /* Consistent padding */
}

/* Navbar Brand Styling */
.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px; 
}

/* Logo Responsive */
.navbar .navbar-brand img {
    width: clamp(50px, 8vw, 80px);
    height: auto;
}

/* Text Responsive */
.navbar .navbar-brand h2 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    white-space: nowrap;
    line-height: 1.3;
    margin: 0;
}

/* Navbar links responsive */
.navbar .navbar-nav .nav-link {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 10px 20px;
}

/* Navbar transition for smooth effect */
.navbar {
    transition: all 0.3s ease-in-out;
}

/* Mobile view adjustments */
@media (max-width: 991px) {
    .navbar .navbar-brand img {
        width: 50px;
    }

    .navbar .navbar-brand h2 {
        font-size: 1.2rem;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .navbar .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* Tablet View */
@media (max-width: 768px) {
    .navbar .navbar-brand img {
        width: 40px;
    }

    .navbar .navbar-brand h2 {
        font-size: 1rem;
    }

    .navbar .btn {
        font-size: 0.8rem;
        padding: 8px 18px;
    }
}




/*** Header ***/
.header-carousel .owl-carousel-item {
    position: relative;
    height: 100vh; /* Full height for large screens */
    min-height: 400px; /* Mobile par chhoti height */
    overflow: hidden; /* Image cutting ko rokta hai */
}

/* ✅ Image ko responsive aur full cover karo */
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 👈 isse image katne ke bajaye poori dikhegi */
    object-position: center; /* Center me align */
}

/* ✅ Navigation arrows responsive */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 10px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #fff;
    color: var(--primary);
}

/* ✅ Mobile responsiveness */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 300px; /* Mobile par height chhoti */
    }

    .header-carousel .owl-carousel-item img {
        object-fit: contain; /* 👈 Mobile par image ko crop hone se roka */
    }

    .header-carousel .owl-nav {
        right: 2%;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .header-carousel .owl-carousel-item {
        height: 250px; /* Chhoti screens par height aur kam */
    }

    .header-carousel .owl-carousel-item img {
        object-fit: contain; /* Har screen par image fit */
    }

    .header-carousel .owl-nav {
        right: 1%;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}


/*** 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 ***/
.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, .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);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** 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: .3s;
}

.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: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .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) !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, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.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;
}



/* ✅ Background container styling */
.marquee-container {
    background: linear-gradient(90deg, #4CAF50, #2196F3);   /* Green to Blue gradient */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* ✅ Stylish and readable text */
.result-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;                 /* White text color */
    padding: 0 40px;             /* Spacing between texts */
    text-transform: uppercase;   /* Capital letters */
    letter-spacing: 1.2px;       /* Better readability */
    transition: transform 0.3s ease-in-out;
}

/* ✅ Hover effect */
.result-text:hover {
    transform: scale(1.1);
    text-shadow: 0 0 15px #fff;
}

/* ✅ Mobile responsiveness */
@media (max-width: 768px) {
    .result-text {
        font-size: 18px;         /* Mobile par chhota font */
        padding: 0 20px;
    }
}



/*contact map css*/
/* Wrapper to control the size */
.map-wrapper {
    width: 100%;
    max-width: 1200px;     /* Large screens par width limit */
    margin: 0 auto;         /* Center align */
}

/* Iframe Styling */
.map-iframe {
    width: 100%;
    height: 500px;          /* Default height */
}

/* Mobile view */
@media (max-width: 768px) {
    .map-iframe {
        height: 300px;      /* Mobile par chhota */
    }
}

/* Tablet view */
@media (max-width: 992px) {
    .map-iframe {
        height: 400px;      /* Tablet par medium */
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .map-iframe {
        height: 700px;      /* Large screens par bada */
    }
}
