/* =========================================
   ICALO INSTITUTE - PREMIUM STYLES (FINAL + FOOTER)
   MOBILE-FRIENDLY / RESPONSIVE UPDATE
   ========================================= */

:root {
    --primary: #0B3C8A;
    --dark: #082E68;
    --gold: #CDA349;
    --light-bg: #F4F7FB;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --gradient: linear-gradient(90deg, #0B3C8A 0%, #082E68 100%);
    --shadow-card: 0 10px 30px rgba(11, 60, 138, 0.08);
    --radius-lg: 16px;
}

/* Base & Utilities */
* { box-sizing: border-box; }
html { 
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    -webkit-overflow-scrolling: touch;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

/* Modal open ke time Bootstrap ka scrollbar-compensation padding kill karo
   — isi se popup ke baad right side white gap aata tha */
body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
/* Extra safety - kabhi kabhi Bootstrap navbar/fixed elements pe bhi padding daal deta hai */
body.modal-open .navbar,
body.modal-open .whatsapp-float,
body.modal-open .enquire-float,
body.modal-open #backToTop {
    padding-right: 0 !important;
}


img { max-width: 100%; height: auto; }
.ls-2 { letter-spacing: 2px; }
.object-fit-cover { object-fit: cover; }
.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.bg-light-blue { background-color: var(--light-bg); }

/* Prevent any container from causing horizontal scroll on mobile */
.container, .container-fluid { max-width: 100%; overflow-x: hidden; }

/* =========================================
   GLOBAL FIX: stop any section from creating its
   own internal horizontal/vertical scrollbar.
   Rows/columns can overflow their parent width
   (Bootstrap gutters use negative margins) —
   clip that at the section level instead of
   letting the browser draw a scrollbar in it.
   ========================================= */
section, footer, .row { overflow: clip; }
/* Elements that intentionally scroll horizontally (marquee/sliders)
   are explicitly excluded so their own scroll logic keeps working */
.accreditation-swiper, .accreditation-section,
.swiper, .swiper-wrapper, .swiper-slide,
#why-us .slider-frame, #why-us .slider-track {
    overflow-x: visible;
}
.accreditation-section, .accreditation-swiper { overflow-x: hidden; }

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--gold); z-index: 9999; width: 0%; transition: width 0.1s;
}

/* Navbar */
.top-bar { background: var(--dark); color: white; font-size: 0.85rem; padding: 8px 0; }
.navbar { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); transition: all 0.3s ease; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0; }
.navbar.scrolled { box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding-top: 10px; padding-bottom: 10px; }
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-sub {
    font-size: 0.6rem;
    color: #666;
    line-height: 1.2;
    font-weight: 500;
}
.nav-link { color: var(--text) !important; font-weight: 500; font-size: 0.95rem; margin: 0 5px; transition: color 0.3s; position: relative; padding-top: 10px; padding-bottom: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--gold); transition:0.3s; }
.nav-link:hover::after { width:100%; }
.navbar-toggler { border: none; padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }

/* Hero Section */
.hero-section {
    background: url('/assets/Mobile_Banners/Mobile_Banner_1.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.hero-bg-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(8, 46, 104, 0.95) 0%, rgba(8, 46, 104, 0.7) 60%, rgba(8, 46, 104, 0.4) 100%);
}
.min-vh-75 { min-height: 75vh; }
.hero-badge { padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; display: inline-block; }
.hero-list i { font-size: 1.1rem; }

.hero-section .carousel-item{
    position:relative;
    min-height:100vh;
}

.hero-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    transform:scale(1.05);
}

.hero-bg-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,
        rgba(6,38,92,.92) 0%,
        rgba(6,38,92,.78) 45%,
        rgba(6,38,92,.45) 100%);
}

.min-vh-100{
    min-height:100vh;
}

.carousel-item>.container{
    position:relative;
    z-index:5;
}

.carousel-control-next,
.carousel-control-prev{
    width:60px;
    z-index:20;
}

.carousel-indicators{
    bottom:25px;
    z-index:30;
}

.carousel-indicators button{
    width:12px;
    height:12px;
    border-radius:50%;
    margin:0 6px;
}

/* Fluid hero heading so it scales smoothly instead of jumping at breakpoints */
.hero-section h1 {
    font-size: clamp(1.75rem, 4.5vw + 1rem, 3.2rem);
    line-height: 1.25;
}

@media(max-width:991px){

.hero-section .carousel-item{
min-height:auto;
padding:110px 0 60px;
}

.hero-bg{
background-position:center center;
}

.hero-bg-overlay{
background:linear-gradient(to bottom,
rgba(6,38,92,.85),
rgba(6,38,92,.78));
}

}

@media(max-width:767px){

.hero-bg{
background-position:65% center;
}

.hero-form-card{
margin-top:20px;
}

.carousel-control-next,
.carousel-control-prev{
display:none;
}

.hero-badge { font-size: 0.75rem; padding: 5px 12px; }
.hero-list i { font-size: 1rem; }

}

@media(max-width:480px){
    .hero-section .carousel-item{ padding: 90px 0 40px; }
    .hero-badge { display: block; width: fit-content; }
}

/* Glassmorphism Form */
.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-top: 4px solid var(--gold);
    width: 100%;
}
.form-control, .form-select {
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    transition: 0.3s;
    font-size: 16px; /* prevents iOS auto-zoom on focus */
    min-height: 48px;
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,60,138,0.1); }

/* Buttons - comfortable tap targets on touch devices */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/*=========================
   Premium Stats Section
==========================*/

.stats-wrapper{
    margin-top:-60px;
    position:relative;
    z-index:20;
}

.stats-bar{
    background: var(--gradient);
    color: white;
    box-shadow: 0 15px 40px rgba(11,60,138,0.3);
    overflow:hidden;
    border-radius:18px;
}

.stat-item{
    text-align:center;
    transition:.35s;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:180px;
    padding:20px 15px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover{
    background:rgba(255,255,255,.06);
}

.stat-img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:14px;
    border:2px solid rgba(255,255,255,.15);
    transition:.35s;
}

.stat-item:hover .stat-img{
    transform:scale(1.08);
}

.stat-num{
    font-size:34px;
    font-weight:700;
    margin-bottom:6px;
}

.stat-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#fff;
    opacity:.9;
}

/* Feature Boxes */
.feature-box { transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid transparent; }
.feature-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: rgba(205, 163, 73, 0.3); }
.feature-img { height: 160px; object-fit: cover; width: 100%; }

/* Swipers */
.programs-swiper, .testi-swiper { padding-bottom: 3rem !important; }
.program-card { background: white; transition: 0.3s; border: 1px solid #eee; }
.program-card:hover { box-shadow: var(--shadow-card); transform: translateY(-5px); }
.prog-img-wrap { height: 350px; overflow: hidden; }
.prog-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* =========================================
   Programs section: plain stacked cards on mobile
   (Swiper is destroyed via JS below 768px; this CSS
   makes the plain markup look right once Swiper's
   classes/inline styles are removed)
   ========================================= */
@media (max-width: 767px) {
    .programs-swiper:not(.swiper-initialized) {
        overflow: visible;
    }
    .programs-swiper:not(.swiper-initialized) .swiper-wrapper {
        display: block;
        transform: none !important;
    }
    .programs-swiper:not(.swiper-initialized) .swiper-slide {
        width: 100% !important;
        margin-bottom: 20px;
    }
    .programs-swiper:not(.swiper-initialized) .swiper-slide:last-child {
        margin-bottom: 0;
    }
    .programs-swiper:not(.swiper-initialized) .swiper-pagination {
        display: none;
    }
}

/* =========================================
   Accreditation strip: continuous marquee-style
   auto-slide on both desktop and mobile
   ========================================= */
.accreditation-section { overflow: hidden; }
.accreditation-swiper { overflow: hidden; }
.accreditation-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
.accreditation-slide {
    width: auto !important;
    padding: 10px 30px;
    white-space: nowrap;
}
.accreditation-slide h5 {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.accreditation-slide img { height: 100px; width: auto; object-fit: contain; }

/* Journey Section */
.journey-step { position: relative; z-index: 2; }
.step-icon { width: 50px; height: 50px; font-size: 1.2rem; font-weight: bold; flex-shrink: 0; }
.journey-line {
    position: absolute; top: 25px; left: 10%; right: 10%; height: 2px;
    background: #e0e0e0; z-index: 1;
}

/* =========================================
   Batch Section — background image + overlay
   ========================================= */
.batch-section {
    background-image:
        linear-gradient(120deg, rgba(11,60,138,0.92) 0%, rgba(8,46,104,0.88) 55%, rgba(8,46,104,0.85) 100%),
        url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.backdrop-blur { backdrop-filter: blur(5px); }

/* Countdown timer - keep readable and non-overflowing on small screens */
#countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.timer-digit { font-size: 1.8rem; }

@media (max-width: 991px) {
    .batch-section .col-lg-4:first-child { text-align: center; margin-bottom: 10px; }
    .batch-section .col-lg-4.text-lg-end { text-align: center !important; }
}

/* Training Grid */
.train-item img { height: 200px; object-fit: cover; transition: 0.3s; width: 100%; }
.train-item:hover img { transform: scale(1.05); }

/* Faculty */
.faculty-card { background: white; transition: 0.3s; }
.faculty-card:hover { border-color: var(--primary); box-shadow: var(--shadow-card); }
.faculty-card img { width: 100%; object-fit: cover; }

/* =========================================
   Expert Faculty - premium showcase (matches locations-card)
   ========================================= */
.faculty-showcase {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 70%);
    border: 1px solid rgba(11, 60, 138, 0.08);
    box-shadow: var(--shadow-card);
}
.faculty-bg-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 9rem;
    color: var(--primary);
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}
.faculty-card-premium {
    background: white;
    border: 1px solid rgba(11, 60, 138, 0.08);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.35s;
    box-shadow: 0 6px 18px rgba(11,60,138,0.05);
}
.faculty-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(205, 163, 73, 0.35);
}
.faculty-photo-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient);
    margin-bottom: 14px;
    flex-shrink: 0;
}
.faculty-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    display: block;
}
.faculty-exp-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(205,163,73,0.4);
}
.faculty-info { width: 100%; }
.faculty-tag {
    display: inline-block;
    background: rgba(11, 60, 138, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.faculty-showcase,
.locations-card {
    position: relative;
    overflow: hidden;
}

.faq-section {
    overflow: hidden; /* already position: relative hai, bas overflow hidden add karo */
}
@media (max-width: 991px) {
    .faculty-showcase { margin-top: 10px; }
}
@media (max-width: 576px) {
    .faculty-showcase { padding: 24px !important; }
    .faculty-photo-wrap { width: 84px; height: 84px; }
    .faculty-bg-icon { font-size: 6rem; }
}

/* =========================================
   Pan-India Training Centers - premium card
   (now with background image + dark overlay
   so text/chips stay readable)
   ========================================= */
.locations-card {
    background-image:
        linear-gradient(135deg, rgba(11,60,138,0.93) 0%, rgba(8,46,104,0.90) 70%),
        url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(11, 60, 138, 0.08);
    box-shadow: var(--shadow-card);
    color: #fff;
}
.locations-card .text-muted { color: rgba(255,255,255,0.75) !important; }
.locations-card h3.text-primary { color: #fff !important; }
.locations-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 20px rgba(11,60,138,0.25);
}
.location-chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}
.location-chip i { color: var(--gold); font-size: 0.85rem; }
.location-chip:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.location-chip:hover i { color: var(--dark); }
.locations-bg-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 9rem;
    color: #fff;
    opacity: 0.06;
    z-index: 1;
}
@media (max-width: 991px) {
    .locations-card { margin-top: 10px; }
}
@media (max-width: 576px) {
    .locations-icon { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 12px; }
    .location-chip { font-size: 0.78rem; padding: 6px 12px; }
    .locations-bg-icon { font-size: 6rem; }
}

/* Testimonials */
.testi-card { transition: 0.3s; }
.testi-card:hover { transform: translateY(-5px); }
.play-icon { transition: 0.3s; }
.testi-card:hover .play-icon { background: var(--gold); color: white; }

/* =========================================
   Testimonial video trigger (YouTube popup)
   ========================================= */
.testi-video-wrap { height: 200px; }
.testi-play-trigger {
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    background: none;
}
.testi-play-trigger img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}
.testi-play-trigger:hover img { filter: brightness(0.85); }
.testi-play-trigger .play-icon {
    width: 50px;
    height: 50px;
}

/* YouTube modal */
#ytVideoModal .modal-content { background: #000; }
#ytVideoModal .yt-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    z-index: 5;
    opacity: 1;
}
#ytVideoModal .ratio { background: #000; }
@media (max-width: 767px) {
    #ytVideoModal .modal-dialog { margin: 1rem; }
    #ytVideoModal .yt-modal-close { top: -38px; }
}

/* =========================================
   FAQ Section - premium two-column layout
   ========================================= */
.faq-section { position: relative; }
.faq-media {
    min-height: 420px;
    height: 100%;
}
.faq-media img { min-height: 420px; }
.faq-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,46,104,0.75) 0%, rgba(8,46,104,0.05) 45%);
}
.faq-media-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.faq-media-badge i { font-size: 1.8rem; color: var(--gold); }
.faq-media-badge strong { display: block; color: var(--primary); font-size: 1.2rem; line-height: 1.1; }
.faq-media-badge span { display: block; font-size: 0.75rem; color: #666; }

.faq-accordion .accordion-item {
    border: none;
    border-radius: 14px !important;
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 20px rgba(11,60,138,0.06);
}
.faq-accordion .accordion-button {
    border-radius: 14px;
    padding: 18px 20px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white !important;
}
.faq-accordion .accordion-button::after {
    filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(2);
}
.faq-accordion .accordion-body { padding: 18px 20px; }

.faq-bg-icon {
    position: absolute;
    right: -40px;
    top: -40px;
    font-size: 14rem;
    color: var(--primary);
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .faq-media, .faq-media img { min-height: 280px; }
}
@media (max-width: 576px) {
    .faq-media, .faq-media img { min-height: 220px; }
    .faq-media-badge { padding: 10px 14px; left: 12px; bottom: 12px; }
    .faq-media-badge i { font-size: 1.4rem; }
    .faq-media-badge strong { font-size: 1rem; }
    .faq-accordion .accordion-button { padding: 14px 16px; font-size: 0.95rem; }
    .faq-accordion .accordion-body { padding: 14px 16px; }
}

/* FAQ Accordion Polish (legacy, kept for other accordions) */
.accordion-button:not(.collapsed) { background-color: rgba(11, 60, 138, 0.05); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,.125); }
.accordion-button { font-size: 0.95rem; }

/* =========================================
   FOOTER STYLES
   ========================================= */
footer { background: var(--dark); color: white; padding: 70px 0 20px; font-size: 0.9rem; position: relative; }
footer h5 { color: var(--gold); font-weight: 600; margin-bottom: 25px; font-size: 1.1rem; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 12px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; display: block; }
footer a:hover { color: var(--gold) !important; padding-left: 5px; }

/* Premium Footer Form Card */
.footer-form-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}
.footer-form-card .form-control,
.footer-form-card .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    min-height: 48px;
}
.footer-form-card .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer-form-card .form-control:focus,
.footer-form-card .form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold);
    color: white;
    box-shadow: none;
}
.footer-form-card option { background: var(--dark); color: white; }

.security-badge {
    font-size: 0.75rem; color: rgba(255,255,255,0.5);
    margin-top: 15px; display: flex; align-items: center; gap: 5px; justify-content: center;
    flex-wrap: wrap; text-align: center;
}

/* ===== Premium add-on for footer enquiry form (safe — no class/JS changes) ===== */
.footer-form-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(205, 163, 73, 0.25);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px -18px rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
}

.footer-form-card h5 {
    position: relative;
    padding-bottom: 10px;
}

.footer-form-card h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--gold, #CDA349);
    border-radius: 3px;
}

#footerForm .form-control,
#footerForm textarea.form-control {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.14);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#footerForm .form-control::placeholder,
#footerForm textarea.form-control::placeholder {
    color: rgba(255,255,255,0.55);
}

#footerForm .form-control:focus,
#footerForm textarea.form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold, #CDA349);
    box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.18);
    outline: none;
}

#footerForm textarea.form-control {
    resize: vertical;
    min-height: 70px;
}

#footerForm .btn-gold {
    background: linear-gradient(90deg, #CDA349 0%, #b8892f 100%);
    border: none;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#footerForm .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -8px rgba(205,163,73,0.55);
}

#footerForm .security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 14px;
}

#footerForm #footerFormError {
    border-radius: 10px;
}

/* ===== Footer — mobile responsiveness ===== */
@media (max-width: 991px) {
    footer .row { text-align: center; }
    footer .d-flex.align-items-center.gap-3 { justify-content: center; }
    footer .d-flex.gap-3:not(.justify-content-center) { justify-content: center; }
    .footer-form-card { text-align: left; }
}
@media (max-width: 576px) {
    footer { padding: 40px 0 16px; font-size: 0.85rem; }
    .footer-form-card { padding: 22px 18px; border-radius: 16px; }
    .footer-logo { width: 46px; height: 46px; }
    footer .fs-3 { font-size: 1.4rem !important; }
    #footerForm .row.g-2 > [class^="col-"] { margin-bottom: 8px; }
}

/* Floating Elements */
.whatsapp-float {
    position: fixed; bottom: 18px; right: 17px;
    width: 60px; height: 60px; z-index: 1000;
    background: #25D366; animation: pulse 2s infinite;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

#backToTop {
    position: fixed; bottom: 100px; right: 30px; z-index: 999;
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
  .enquire-float {
    position: fixed;
    left: 21px;
    bottom: 21px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow-card), 0 8px 20px -6px rgba(8,46,104,0.45);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .enquire-float:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card), 0 14px 26px -6px rgba(8,46,104,0.55);
  }

  .enquire-float svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
  }

  @media (max-width: 560px) {
    .enquire-float {
      left: 16px;
      bottom: 16px;
      padding: 13px 18px;
      font-size: 13.5px;
    }
  }
/* Modal / Popup Styles */
.modal-content { border-radius: 12px; border: none; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.modal-header { background: var(--gradient); color: white; border: none; }
.modal-header .btn-close { filter: invert(1); }
.modal-body .form-control { border: 1px solid #ddd; padding: 12px; border-radius: 6px; background: #f8f9fa; font-size: 16px; min-height: 48px; }
.modal-body .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,60,138,0.1); }
/* ===== Premium add-on for #enquiryModal (safe — no class/JS changes) ===== */
#enquiryModal .modal-content {
    background: #ffffff;
    box-shadow: 0 30px 60px -20px rgba(8, 20, 40, 0.5);
    overflow: hidden;
}

#enquiryModal .modal-header {
    background: var(--gradient, linear-gradient(90deg, #0B3C8A 0%, #082E68 100%)) !important;
    padding: 22px 24px;
    position: relative;
}

#enquiryModal .modal-header::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 3px;
    background: var(--gold, #CDA349);
    border-radius: 3px 3px 0 0;
}

#enquiryModal .modal-title {
    letter-spacing: 0.2px;
}

#enquiryModal .modal-body {
    padding: 32px 28px 26px;
}

#popupForm .form-floating .form-control {
    border: 1.5px solid #e1e7f0;
    border-radius: 12px;
    background: #f7f9fc;
    font-size: 14.5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#popupForm .form-floating .form-control:focus {
    background: #ffffff;
    border-color: var(--primary, #0B3C8A);
    box-shadow: 0 0 0 3px rgba(11, 60, 138, 0.12);
}

#popupForm .form-floating label {
    color: #6b7c93;
    font-size: 13.5px;
}

#popupForm .form-floating .form-control:focus ~ label,
#popupForm .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary, #0B3C8A);
    font-weight: 600;
}

#popupForm .btn-primary {
    background: var(--gradient, linear-gradient(90deg, #0B3C8A 0%, #082E68 100%)) !important;
    border: none;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 22px -8px rgba(11, 60, 138, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#popupForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(11, 60, 138, 0.55);
}

#enquiryModal .btn-close-white {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

#enquiryModal .btn-close-white:hover {
    opacity: 1;
}

#popupForm .invalid-feedback {
    font-size: 12px;
}

#popupForm #popupFormError {
    border-radius: 10px;
}
/* Keep modal-dialog-centered truly centered on every screen size,
   just tighten the side margins a touch on small phones */
@media (max-width: 576px) {
    .modal-dialog { margin: 0.75rem auto; }
}

/* =========================================
   HEADER & POPUP FORM ENHANCEMENTS
   ========================================= */
.hero-form-card .form-floating > label,
.modal-body .form-floating > label {
    color: #6c757d;
}
.hero-form-card .form-control.is-invalid,
.hero-form-card .form-select.is-invalid,
.modal-body .form-control.is-invalid,
.modal-body .form-select.is-invalid {
    border-color: #dc3545;
}
.hero-form-card .form-control.is-valid,
.hero-form-card .form-select.is-valid,
.modal-body .form-control.is-valid,
.modal-body .form-select.is-valid {
    border-color: #198754;
}
.loading-btn:disabled { opacity: 0.85; cursor: not-allowed; }

/* =========================================
   Hero slider — mobile: full height rakho,
   bas image ka focal point adjust karo
   ========================================= */
@media (max-width: 767px) {
    .hero-bg.hero-bg-1 { background-position: center 20% !important; }
    .hero-bg.hero-bg-2 { background-position: center 15% !important; }
    .hero-bg.hero-bg-3 { background-position: center 25% !important; }
    .hero-bg.hero-bg-4 { background-position: center 20% !important; }
}
/* =========================================
   Hero slider — mobile-specific banner crops
   (Desktop: original inline images unchanged.
   Mobile: same photos, tighter portrait crop
   so faces/subject stay in frame properly.)
   ========================================= */
@media (max-width: 767px) {
    .hero-bg.hero-bg-1 {
        background-image: url('/assets/Mobile_Banners/Mobile_Banner_1.png') !important;
        background-position: center 30% !important;
    }
    .hero-bg.hero-bg-2 {
        background-image: url('/assets/Mobile_Banners/Mobile_Banner_2.png') !important;
        background-position: center 25% !important;
    }
    .hero-bg.hero-bg-3 {
        background-image: url('/assets/Mobile_Banners/Mobile_Banner_3.png') !important;
        background-position: center 30% !important;
    }
    .hero-bg.hero-bg-4 {
        background-image: url('/assets/Mobile_Banners/Mobile_Banner_4.png') !important;
        background-position: center 25% !important;
    }
}

/* =========================================
   Premium add-on for hero lead-capture forms
   (heroForm1-4 — safe, no class/JS/ID changes)
   ========================================= */
.hero-form-card {
    border-radius: 20px;
    box-shadow: 0 25px 55px -18px rgba(8, 20, 40, 0.45);
    border-top: none;
    position: relative;
    overflow: hidden;
}

.hero-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.hero-form-card .card-header-custom {
    margin-bottom: 22px;
}

.hero-form-card .card-header-custom h3 {
    font-size: 1.3rem;
    letter-spacing: 0.2px;
}

.hero-form-card .form-floating .form-control {
    border: 1.5px solid #e1e7f0;
    border-radius: 12px;
    background: #f7f9fc;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-form-card .form-floating .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 60, 138, 0.12);
}

.hero-form-card .form-floating label {
    color: #6b7c93;
    font-size: 13.5px;
}

.hero-form-card .form-floating .form-control:focus ~ label,
.hero-form-card .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
    font-weight: 600;
}

.hero-form-card .btn-primary {
    background: var(--gradient) !important;
    border: none;
    letter-spacing: 0.3px;
    box-shadow: 0 12px 24px -8px rgba(11, 60, 138, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(11, 60, 138, 0.55);
}

@media (max-width: 767px) {
    .hero-bg.hero-bg-1,
    .hero-bg.hero-bg-2,
    .hero-bg.hero-bg-3,
    .hero-bg.hero-bg-4 {
        background-attachment: scroll;
    }
}
/* =========================================
   RESPONSIVE BREAKPOINTS (MAIN)
   ========================================= */

/* Large tablets / small laptops */
@media (max-width: 1199px) {
    .hero-section { background-position: 70% center; }
}

/* Tablets */
@media (max-width: 991px) {
    .stats-wrapper{
        margin-top:20px;
    }

    .stat-item{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.12);
        min-height:170px;
    }

    .stat-item:nth-child(even){
        border-right:none;
    }

    .stat-item:last-child,
    .stat-item:nth-last-child(2){
        border-bottom:none;
    }

    .navbar-collapse { background: white; padding: 1rem; border-radius: 12px; margin-top: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .nav-link { margin: 2px 0; }
    .journey-line { display: none; }
    .min-vh-75 { min-height: auto; padding-bottom: 60px; }
    .footer-form-card { margin-top: 30px; }
    footer { padding: 50px 0 20px; text-align: center; }
    footer h5 { margin-top: 20px; }
}


.footer-logo{
    width:60px;
    height:60px;
    object-fit:contain;
    flex-shrink:0;
}

@media (max-width:576px){
    .footer-logo{
        width:50px;
        height:50px;
    }
}


/* Large phones */
@media (max-width: 767px) {
    .hero-form-card { padding: 20px; }
    .batch-section { padding: 30px 20px !important; }
    .timer-digit { font-size: 1.5rem !important; }
    #countdown > div { min-width: 60px !important; }
    .feature-img { height: 140px; }
    .prog-img-wrap { height: 350px; }
    .step-icon { width: 42px; height: 42px; font-size: 1rem; }
    .stats-bar { border-radius: 14px; }
    .logo-img {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-sub {
        font-size: 0.55rem;
    }

}

/* Small phones */
@media (max-width: 576px) {
    .stats-wrapper{
        margin-top:25px;
        padding:0 12px;
    }

    .stats-bar{
        border-radius:15px;
    }

    .stat-item{
        min-height:150px;
        padding:15px 10px;
    }

    .stat-img{
        width:70px;
        height:70px;
        margin-bottom:10px;
    }

    .stat-num{
        font-size:24px;
    }

    .stat-label{
        font-size:11px;
        line-height:1.4;
        letter-spacing:.5px;
    }

     .logo {
        gap: 8px;
    }

    .logo-img {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .logo-sub {
        font-size: 0.48rem;
    }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    #backToTop { bottom: 80px; right: 20px; width: 40px; height: 40px; }
    .hero-form-card { padding: 16px; border-radius: 12px; }
    .footer-form-card { padding: 20px; }
    .train-item img { height: 150px; }
    .feature-img { height: 120px; }
}

/* Very small phones */
@media (max-width: 375px) {
    .stat-num { font-size: 20px; }
    .stat-img { width: 55px; height: 38px; }
    .timer-digit { font-size: 1.2rem !important; }
    #countdown > div { min-width: 50px !important; padding: 8px !important; }
    
     .logo-img {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.42rem;
        line-height: 1.1;
    }
}

/* Landscape phones - avoid huge min-height hero on short screens */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-section .carousel-item{ min-height: auto; padding: 80px 0 40px; }
    .min-vh-100 { min-height: auto; }
}
/* Honeypot Field Hide (Spam Protection) */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }


/* why us section css start */

  #why-us {
    font-family: inherit;
    background: var(--light-bg);
    padding: 96px 24px;
    overflow: hidden;
  }
 
  #why-us .wrap {
    max-width: 1180px;
    margin: 0 auto;
  }
 
  /* ---------- Top grid: slider + content ---------- */
  #why-us .why-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
  }
 
  /* Slider */
  #why-us .slider-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
    background: var(--dark);
  }
 
  #why-us .slider-track {
    position: relative;
    width: 100%;
    height: 100%;
  }
 
  #why-us .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease, transform 6s ease;
    will-change: opacity, transform;
  }
 
  #why-us .slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }
 
  #why-us .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
 
  #why-us .slider-frame:hover .slide.is-active img {
    transform: scale(1.05);
  }
 
  #why-us .slider-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,46,104,0) 55%, rgba(8,46,104,0.55) 100%);
    z-index: 3;
    pointer-events: none;
  }
 
  #why-us .slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
  }
 
  #why-us .slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
  }
 
  #why-us .slider-dots button.is-active {
    background: var(--gold);
    width: 22px;
    border-radius: 5px;
  }
 
  /* Content */
  #why-us .why-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 12.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
 
  #why-us .why-content .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
  }
 
  #why-us .why-content h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin: 0 0 20px;
  }
 
  #why-us .why-content p.lede {
    color: var(--text);
    opacity: 0.72;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    max-width: 54ch;
  }
 
  #why-us .why-content .lede strong {
    color: var(--dark);
    font-weight: 600;
    opacity: 1;
  }
 
  #why-us .why-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 64px 0 44px;
  }
 
  #why-us .why-divider .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    opacity: 0.4;
  }
 
  #why-us .why-divider .badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }
 
  /* ---------- Icon strip ---------- */
  #why-us .why-features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
 
  #why-us .feature-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 8px 6px;
  }
 
  #why-us .feature-pill .icon-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
 
  #why-us .feature-pill .icon-ring::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0;
    transition: opacity 0.35s ease, inset 0.35s ease;
  }
 
  #why-us .feature-pill:hover .icon-ring {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -10px rgba(11, 60, 138, 0.35);
  }
 
  #why-us .feature-pill:hover .icon-ring::after {
    opacity: 0.6;
    inset: -7px;
  }
 
  #why-us .feature-pill svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.8;
  }
 
  #why-us .feature-pill .label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    max-width: 130px;
  }
 
  /* ---------- Responsive ---------- */
  @media (max-width: 992px) {
    #why-us .why-grid { grid-template-columns: 1fr; gap: 40px; }
    #why-us .why-content { text-align: center; }
    #why-us .why-content .eyebrow { justify-content: center; }
    #why-us .why-content p.lede { margin-inline: auto; }
    #why-us .why-features { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
    #why-us .why-divider { margin: 48px 0 36px; }
  }
 
  @media (max-width: 560px) {
    #why-us { padding: 64px 16px; }
    #why-us .slider-frame { aspect-ratio: 5 / 4; }
    #why-us .why-features { grid-template-columns: repeat(2, 1fr); }
    #why-us .feature-pill .label { max-width: 160px; }
  }
 
  @media (prefers-reduced-motion: reduce) {
    #why-us .slide,
    #why-us .slider-frame:hover .slide.is-active img,
    #why-us .feature-pill .icon-ring { transition: none !important; }
  }

  .accreditation-slide{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:15px;
}

.accreditation-slide img{
    max-width:140px;
    width:100%;
    height:auto;
    object-fit:contain;
    transition:.3s;
}

.accreditation-slide img:hover{
    transform:scale(1.05);
}

@media (max-width:768px){
    .accreditation-section h2{
        font-size:24px !important;
    }

    .accreditation-slide img{
        max-width:100px;
    }
}
.program-card h5 {
    min-height: 60px;
}

.program-card p {
    margin-bottom: 25px !important;
}

/* Premium CTA Section */

.premium-cta-section {
    background: #ffffff;
}

.premium-cta-box {
    min-height: 420px;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d');
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11,60,138,0.95),
        rgba(11,60,138,0.65),
        rgba(0,0,0,0.35)
    );
}


.premium-cta-box h2 {
    line-height: 1.2;
}


.premium-cta-box .btn {
    transition: all .3s ease;
}


.premium-cta-box .btn:hover {
    transform: translateY(-4px);
}


/* Responsive */

@media(max-width:768px){

    .premium-cta-box {
        min-height: auto;
        background-position:center;
    }

    .premium-cta-box .row {
        padding:35px 20px !important;
        text-align:center;
    }

    .premium-cta-box h2 {
        font-size:32px;
    }

    .premium-cta-box .d-flex {
        justify-content:center;
    }

}


@media(max-width:480px){

    .premium-cta-box h2 {
        font-size:26px;
    }

    .premium-cta-box p {
        font-size:15px;
    }

    .premium-cta-box .btn {
        width:100%;
    }

}