/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

html, body{
    width: 100%;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height: auto;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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,
.btn.btn-outline-primary:hover {
    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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* ✅ Desktop height */
.navbar .navbar-brand,
.navbar a.btn {
    height: 80px;
}

/* ✅ Links */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* ======================================================
   ✅ YOUR NAVBAR LOGO + TITLE (FINAL CLEAN)
====================================================== */

/* Brand wrapper: allow wrap on small screens */
.navbar-brand{
    white-space: normal !important;
    max-width: 100%;
}

/* Logo wrapper */
.logo-wrap{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* Logo image (ONLY ONE FINAL RULE) */
.navbar-logo{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain; /* ✅ logo cut nahi hoga */
    background: #fff;
    padding: 6px;
    border: 3px solid #0d6efd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: block;
}

/* Text */
.navbar-title{
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1.2;
}

.navbar-subtitle{
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Navbar overall height: keep flexible (NO fixed min-height) */
.navbar{
    min-height: auto;
}

/* ✅ Tablet & below */
@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 16px;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
        padding: 10px 0;
        background: #fff;
    }

    /* Brand height auto on mobile */
    .navbar .navbar-brand,
    .navbar a.btn {
        height: auto;
    }

    /* Logo smaller */
    .logo-wrap{
        width: 60px;
        height: 60px;
    }

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

    .navbar-subtitle{
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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


/*** Header ***/
/* =========================
   HERO / CAROUSEL FINAL
========================= */

.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Caption overlay – NO DARKNESS */
.carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* 🔥 NO TRANSPARENCY */
    background: transparent;

    z-index: 2;
}

/* Text styling */
.carousel-caption h1 {
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;

    /* 🔥 text readable without dark image */
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.85);
}

.carousel-caption p {
    font-size: 20px;
    color: #ffffff;
    max-width: 850px;
    line-height: 1.6;

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
}

/* Buttons */
.carousel-caption .btn {
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
}


.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ✅ Carousel text mobile readable */
    .carousel-caption .display-2{
        font-size: 26px;
        line-height: 1.15;
    }
    .carousel-caption p{
        font-size: 14px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/kantibanner.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
background: linear-gradient(
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.15)
),
url(../img/hh.png) center center no-repeat;
background-size: cover;

}

.courses {
    min-height: 100vh;
    background: #f8f9fa;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}
.about-img-wrap{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.about-img-wrap img{
  width: 100%;
  display: block;
  object-fit: contain;     /* ✅ full image, no crop */
  height: 520px;           /* ✅ default height (desktop) */
}





@media (max-width: 991px){
  .about-img-wrap img{
    height: 520px !important;   /* ✅ force bigger */
    object-fit: contain;
    width: 100% !important;
  }
}
.section-badge{
    display: inline-block;
    background: #000;          /* black box */
    color: #fff;               /* white text */
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    margin: 0 auto;            /* center */
}

/* mobile me thoda bada */
@media (max-width: 768px){
    .section-badge{
        font-size: 18px;
        padding: 12px 28px;
    }
}
.about-text{
  text-align: justify;        /* ✅ dono taraf se barabar */
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Mobile ke liye thoda better spacing */
@media (max-width: 768px){
  .about-text{
    font-size: 15px;
    line-height: 1.8;
  }
}
.about-text::first-letter{
  font-size: 20px;
  font-weight: 600;
}
/* Carousel height fix */
#header-carousel .carousel-item {
  height: 90vh; /* ya 100vh */
  min-height: 450px;
}

#header-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* text readable, but slider clickable */
#header-carousel .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: rgba(0,0,0,0.25);  /* light overlay only */
  z-index: 2;
  pointer-events: none; /* ✅ IMPORTANT: arrows click work */
}

#header-carousel .carousel-caption a,
#header-carousel .carousel-caption button {
  pointer-events: auto; /* buttons clickable */
}
/* ===== Carousel Base ===== */
#header-carousel .carousel-item{
  height: 90vh;
  min-height: 450px;
}

#header-carousel .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Desktop: full look */
  object-position: center;
}

/* ===== Mobile Fix: image cut na ho ===== */
@media (max-width: 768px){
  #header-carousel .carousel-item{
    height: auto;         /* height image ke hisaab se */
    min-height: 0;
  }

  #header-carousel .carousel-item img{
    height: auto;         /* image full show */
    max-height: 55vh;     /* optional: zyada lamba na ho */
    object-fit: contain;  /* ✅ IMPORTANT: no crop */
    background: #000;     /* empty space black (optional) */
  }

  /* Caption center & readable */
  #header-carousel .carousel-caption{
    padding: 20px 12px;
  }
}
@media (max-width: 768px){
  #header-carousel .carousel-item{ height: 60vh; }
  #header-carousel .carousel-item img{
    height: 100%;
    object-fit: contain;
    background:#000;
  }
}
/* ===== REMOVE ALL OVERLAYS FROM PAGE HEADER ===== */
.page-header {
    background-image: url("../img/kantibanner.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    min-height: 60vh;   /* desktop */
    width: 100%;
    display: flex;
    align-items: center;
}


/* ❌ agar ::before ya ::after overlay ho */
.page-header::before,
.page-header::after {
    display: none !important;
    content: none !important;
}

/* ❌ agar andar koi overlay div ho */
.page-header .overlay,
.page-header .bg-overlay {
    display: none !important;
}
#header-carousel .carousel-item{
height:60vh;
}

#header-carousel .carousel-item img{
height:100%;
object-fit:cover;
}

/* =========================================================
   REMOVE ALL TRANSPARENT / DARK OVERLAY FROM HERO BANNER
========================================================= */

.premium-hero {
    background: transparent !important;
}

/* Blue/dark transparent overlay completely remove */
.premium-hero .carousel-item::before,
.premium-hero .carousel-item::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    background: transparent !important;
    background-image: none !important;
    opacity: 0 !important;
}

/* Grid transparent layer remove */
.hero-grid-pattern {
    display: none !important;
    visibility: hidden !important;
    background: none !important;
    background-image: none !important;
    opacity: 0 !important;
}

/* Banner image original brightness me show */
.premium-hero .carousel-item > img {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

/* Carousel ke kisi parent ka background bhi remove */
.premium-hero .carousel-inner,
.premium-hero .carousel-item,
.premium-hero .carousel-item.active,
.premium-hero .carousel-caption {
    background: transparent !important;
}


