/* ============================================================
   Vijay Classes – Custom Stylesheet
   ============================================================ */

/* POPPINS FONT */
@font-face { font-family:'Poppins'; font-weight:300; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-300.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:400; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:500; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:600; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:700; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:800; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-800.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:900; font-style:normal; font-display:swap; src:url('../fonts/poppins/poppins-900.woff2') format('woff2'); }

/* ROOT VARIABLES */
:root {
    --primary: #0D6EFD;
    --secondary: #FF8C00;
    --dark: #0f172a;
    --light-gray: #f8f9fb;
    --grad-blue: linear-gradient(135deg, #0D6EFD 0%, #0056cc 100%);
    --grad-orange: linear-gradient(135deg, #FF8C00 0%, #e07000 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; overflow-x: hidden; color: #333; max-width: 100vw; }


/* ── TOP HEADER ── */
.top-header { background: var(--grad-blue); color: #fff; font-size: 12.5px; padding: 7px 0; }
.top-header a { color: #fff; text-decoration: none; transition: opacity .3s; }
.top-header a:hover { opacity: .75; }
.top-header .info-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ── NAVBAR ── */
.navbar { background: #fff !important; box-shadow: 0 2px 20px rgba(0,0,0,.09); padding: 10px 0; transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.15); }
.navbar-brand { font-size: 1.35rem; font-weight: 800; color: var(--primary) !important; display: flex; align-items: center; gap: 8px; }
.navbar-brand span { color: var(--secondary); }
.nav-link { font-weight: 500; color: #333 !important; padding: 7px 13px !important; border-radius: 8px; transition: all .3s; font-size: .92rem; }
.nav-link:hover, .nav-link.active { background: var(--primary); color: #fff !important; }
.btn-enquire-nav { background: var(--grad-orange); color: #fff !important; border-radius: 25px; padding: 8px 22px !important; font-weight: 700; font-size: .88rem; box-shadow: 0 4px 15px rgba(255,140,0,.35); transition: all .3s; }
.btn-enquire-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,140,0,.5); }

/* ── HERO CAROUSEL ── */
.carousel-item { height: 100vh; min-height: 580px; position: relative; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,110,253,.72) 0%, rgba(0,0,0,.5) 100%); }
.carousel-caption { bottom: auto; top: 50%; transform: translateY(-50%); left: 8%; right: 8%; text-align: center; }
.hero-badge { display: inline-block; background: var(--secondary); color: #fff; padding: 5px 18px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.carousel-caption h1 { font-size: clamp(1.7rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.18; text-shadow: 2px 2px 12px rgba(0,0,0,.25); margin-bottom: 18px; }
.carousel-caption p { font-size: clamp(.9rem, 1.5vw, 1.12rem); max-width: 580px; margin: 0 auto 30px; opacity: .95; line-height: 1.75; }
.btn-hero-p { background: var(--grad-orange); border: none; color: #fff; border-radius: 30px; padding: 13px 32px; font-weight: 700; font-size: .95rem; box-shadow: 0 5px 22px rgba(255,140,0,.45); transition: all .3s; }
.btn-hero-p:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255,140,0,.6); color: #fff; }
.btn-hero-s { background: transparent; border: 2px solid #fff; color: #fff; border-radius: 30px; padding: 13px 32px; font-weight: 700; font-size: .95rem; transition: all .3s; }
.btn-hero-s:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; margin: 0 5px; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
.section-badge { color: var(--secondary); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.section-title p { color: #666; max-width: 600px; margin: 0 auto; line-height: 1.75; font-size: .95rem; }
.divider { width: 55px; height: 4px; background: var(--grad-blue); border-radius: 3px; margin: 12px auto; }

/* ── ABOUT ── */
.about-section { background: #fff; }
.about-img-wrap { position: relative; padding-bottom: 20px; padding-right: 20px; }
.about-img-main { border-radius: 22px; width: 100%; height: 460px; object-fit: cover; box-shadow: 0 25px 60px rgba(0,0,0,.14); }
.about-badge { position: absolute; bottom: 0; right: 0; background: var(--grad-blue); color: #fff; border-radius: 16px; padding: 18px 22px; text-align: center; box-shadow: 0 12px 35px rgba(13,110,253,.4); min-width: 130px; }
.about-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .lbl { font-size: 11px; opacity: .9; margin-top: 4px; }
.about-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.about-content p { color: #555; line-height: 1.8; font-size: .94rem; }
.feat-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
.feat-row i { color: var(--secondary); font-size: 1.15rem; margin-top: 2px; flex-shrink: 0; }
.feat-row div { font-size: .93rem; color: #444; line-height: 1.6; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.stat-card { background: var(--light-gray); border-radius: 14px; padding: 22px 18px; text-align: center; border-left: 4px solid var(--primary); transition: all .35s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.stat-card .cnt { font-size: 1.9rem; font-weight: 900; color: var(--primary); }
.stat-card .slbl { font-size: 12px; color: #666; font-weight: 500; margin-top: 4px; }

/* ── COURSES ── */
.courses-section { background: var(--light-gray); }
.course-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.07); transition: all .4s; height: 100%; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 22px 55px rgba(0,0,0,.14); }
.c-img-wrap { height: 195px; overflow: hidden; position: relative; flex-shrink: 0; }
.c-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.course-card:hover .c-img-wrap img { transform: scale(1.1); }
.c-badge { position: absolute; top: 13px; left: 13px; background: var(--secondary); color: #fff; padding: 3px 13px; border-radius: 18px; font-size: 11.5px; font-weight: 700; }
.c-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.c-title { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.c-text { color: #666; font-size: 13.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.btn-call-c { background: var(--grad-blue); color: #fff; border: none; border-radius: 20px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; transition: all .3s; text-decoration: none; display: inline-block; }
.btn-call-c:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13,110,253,.4); color: #fff; }
.btn-enq-c { background: var(--grad-orange); color: #fff; border: none; border-radius: 20px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; transition: all .3s; }
.btn-enq-c:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,140,0,.4); }

/* ── WHY US ── */
.why-section { background: #fff; }
.feature-box { background: var(--light-gray); border-radius: 20px; padding: 35px 24px; text-align: center; transition: all .4s; height: 100%; border-bottom: 4px solid transparent; }
.feature-box:hover { background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.11); border-bottom-color: var(--secondary); transform: translateY(-8px); }
.feat-icon { width: 78px; height: 78px; background: var(--grad-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.9rem; color: #fff; box-shadow: 0 10px 30px rgba(13,110,253,.3); transition: all .4s; }
.feature-box:hover .feat-icon { background: var(--grad-orange); box-shadow: 0 10px 30px rgba(255,140,0,.4); transform: scale(1.08); }
.feature-box h5 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.feature-box p { color: #666; font-size: 13.5px; line-height: 1.65; }

/* ── GALLERY ── */
.gallery-section { background: var(--light-gray); }
.g-item { border-radius: 15px; overflow: hidden; cursor: pointer; position: relative; height: 240px; box-shadow: 0 5px 18px rgba(0,0,0,.08); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.g-overlay { position: absolute; inset: 0; background: rgba(13,110,253,.72); opacity: 0; transition: opacity .4s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.g-overlay i { font-size: 2.2rem; color: #fff; }
.g-overlay span { color: #fff; font-size: 13px; font-weight: 700; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover .g-overlay { opacity: 1; }

/* ── CONTACT ── */
.contact-section { background: #fff; }
.c-info-card { background: var(--light-gray); border-radius: 14px; padding: 22px 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 18px; transition: all .35s; }
.c-info-card:hover { transform: translateX(8px); box-shadow: 0 10px 30px rgba(0,0,0,.09); }
.c-info-icon { width: 56px; height: 56px; background: var(--grad-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.c-info-text h6 { font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.c-info-text p, .c-info-text a { color: #555; font-size: 13.5px; margin: 0; text-decoration: none; line-height: 1.5; }
.c-info-text a:hover { color: var(--primary); }

/* ── CTA ── */
.cta-section { background: var(--grad-blue); padding: 90px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 560px; margin: 0 auto 35px; line-height: 1.7; }
.btn-cta-p { background: var(--grad-orange); color: #fff; border: none; border-radius: 30px; padding: 15px 42px; font-size: 1rem; font-weight: 700; margin: 7px; box-shadow: 0 8px 25px rgba(255,140,0,.5); transition: all .3s; display: inline-block; text-decoration: none; }
.btn-cta-p:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(255,140,0,.6); color: #fff; }
.btn-cta-s { background: transparent; color: #fff; border: 2px solid #fff; border-radius: 30px; padding: 15px 42px; font-size: 1rem; font-weight: 700; margin: 7px; transition: all .3s; }
.btn-cta-s:hover { background: #fff; color: var(--primary); transform: translateY(-4px); }

/* ── SIDE ENQUIRE BUTTON ── */
.side-enquire-btn { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9995; background: linear-gradient(180deg, #FF8C00, #e07000); color: #fff; border: none; border-radius: 10px 0 0 10px; padding: 22px 11px; font-weight: 800; font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; writing-mode: vertical-rl; cursor: pointer; box-shadow: -4px 0 20px rgba(255,140,0,.5); transition: all .3s; line-height: 1; }
.side-enquire-btn:hover { padding-right: 16px; box-shadow: -6px 0 28px rgba(255,140,0,.7); background: linear-gradient(180deg, #e07000, #c06000); }

/* ── FLOATING BUTTONS ── */
.float-wrap { position: fixed; bottom: 28px; right: 24px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; color: #fff; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,.28); transition: all .3s; }
.float-btn:hover { transform: scale(1.15); color: #fff; }
.fb-wa { background: #25D366; }
.fb-call { background: var(--primary); animation: pulse-call 2.5s infinite; }
@keyframes pulse-call { 0%, 100% { box-shadow: 0 5px 20px rgba(13,110,253,.35); } 50% { box-shadow: 0 5px 30px rgba(13,110,253,.65); } }

/* ── BACK TO TOP ── */
#backToTop { position: fixed; bottom: 98px; right: 27px; width: 44px; height: 44px; background: var(--grad-blue); color: #fff; border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer; z-index: 9989; display: none; align-items: center; justify-content: center; box-shadow: 0 5px 16px rgba(0,0,0,.22); transition: all .3s; }
#backToTop:hover { transform: translateY(-3px); }

/* ── ENQUIRY MODAL ── */
.enq-modal .modal-content { border-radius: 22px; overflow: hidden; border: none; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.enq-modal .modal-header { background: var(--grad-blue); border: none; padding: 24px 28px; position: relative; }
.enq-modal .modal-header h5 { color: #fff; font-weight: 800; font-size: 1.2rem; margin: 0; }
.enq-modal .modal-header p { color: rgba(255,255,255,.88); font-size: 13px; margin: 5px 0 0; }
.enq-modal .modal-body { padding: 28px 30px; }
.enq-modal label { font-weight: 600; font-size: 13.5px; color: var(--dark); margin-bottom: 6px; }
.enq-modal .form-control, .enq-modal .form-select { border-radius: 10px; border: 1.5px solid #e0e4ea; padding: 11px 14px; font-size: 14px; transition: all .3s; }
.enq-modal .form-control:focus, .enq-modal .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,110,253,.1); }
.btn-enq-submit { background: var(--grad-orange); color: #fff; border: none; border-radius: 25px; padding: 13px; font-weight: 800; width: 100%; font-size: 1rem; transition: all .3s; }
.btn-enq-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,140,0,.45); }

/* ── LIGHTBOX ── */
#lbModal .modal-content { background: rgba(5,10,20,.95); border: none; border-radius: 16px; }
#lbModal .modal-header { border: none; padding: 12px 16px; }
#lbModal .modal-title { color: #fff; font-size: .95rem; }
#lbModal .btn-close { filter: invert(1); }
#lbModal .modal-body { padding: 0 16px 20px; text-align: center; }
#lbModal img { max-height: 75vh; max-width: 100%; border-radius: 10px; }
#lbModal .lb-cap { color: #aaa; font-size: 13px; margin-top: 12px; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(38px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .carousel-caption { left: 5%; right: 5%; }
    .about-badge { right: 0; bottom: 0; border-radius: 0 0 16px 0; }
}

@media (max-width: 767px) {
    .carousel-control-prev, .carousel-control-next { display: none; }
    section { padding: 60px 0; }
    .carousel-item { height: 75vh; }
    .top-header .d-flex { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
    .top-header .info-item { white-space: normal; text-align: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .c-info-card:hover { transform: none; }
    .about-badge { position: static; display: inline-block; margin-top: 18px; border-radius: 12px; width: auto; }
    .about-img-wrap { overflow: visible; }
    .side-enquire-btn { padding: 16px 8px; font-size: 10.5px; letter-spacing: 1.5px; }
    .float-btn { width: 46px; height: 46px; font-size: 1.2rem; }
    .float-wrap { right: 14px; bottom: 18px; }
    #backToTop { right: 16px; }
}

@media (max-width: 575px) {
    .carousel-caption h1 { font-size: 1.5rem; }
    .btn-hero-p, .btn-hero-s { padding: 10px 22px; font-size: .85rem; }
    .side-enquire-btn { display: none; }
}
