/* =====================================================================
   GRAVIIT ACADEMY, DAVANAGERE  -  Public site styles
   Colours taken from the logo: royal blue + signal red + navy
   ===================================================================== */
:root {
    --brand: #195b96;          /* GRAV blue (logo) */
    --brand-dark: #124574;
    --brand-deep: #0b2b4c;
    --accent: #da251d;         /* IIT red (logo) */
    --accent-dark: #b91e17;
    --charcoal: #3a3331;       /* utility bar */
    --navy: #2b2d74;           /* GA monogram */
    --leaf: #2f8a2f;           /* apple leaf */
    --ink: #1c2434;
    --muted: #5d6778;
    --line: #e4e9f1;
    --soft: #f3f7fc;
    --blue-bg:linear-gradient(115deg, var(--brand-deep) 0%, var(--brand) 60%, #2a73b8 100%)
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 69, 116, .10);
    --shadow-lg: 0 20px 45px rgba(18, 69, 116, .18);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --util-h: 46px;
    --bar-h: 60px;
    font-family: 'Poppins', sans-serif !important;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 800; color: var(--brand-deep); }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; }

.section { padding: 20px 0; background: linear-gradient(120deg, #fbf7f0 0%, #f4e3d3 50%, #e8cfb8 100%);}
.section-soft { background: var(--soft); }
@media (max-width: 767px) { .section { padding: 60px 0; } }

/* ---------- Buttons ---------- */
.btn-brand { background: var(--brand); color: #fff; border: 0; border-radius: 50px; padding: .7rem 1.6rem; font-weight: 600; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-accent {font-size: 14px; background: var(--accent); color: #fff; border: 0; border-radius: 50px; padding: .6rem 1.4rem; font-weight: 600; box-shadow: 0 6px 18px rgba(227, 34, 42, .35); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); border-radius: 50px; padding: .6rem 1.5rem; font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn { transition: all .25s ease; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow { display: inline-block; color: var(--accent); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.section-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.section-title h2 span { color: var(--accent); }
.section-title .title-line { width: 80px; height: 4px; margin: 0 auto; border-radius: 4px; background: linear-gradient(90deg, var(--brand) 60%, var(--accent) 60%); }
.section-title p { color: var(--muted); max-width: 640px; margin: 14px auto 0; }
.section-title.text-start .title-line { margin: 0; }

/* =====================================================================
   HEADER  (two tiers: charcoal utility bar + blue main bar w/ red rule)
   ===================================================================== */
.util-bar { background: var(--charcoal); color: rgba(255,255,255,.88); font-size: .85rem; position: relative; z-index: 1041; }
.util-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--util-h); position: relative; }
.util-spacer { width: 210px; flex: 0 0 210px; }
.logo-card { position: absolute; top: 0; left: 12px; background: #fff; padding: 10px 18px 14px; border-radius: 0 0 16px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.22); z-index: 5; display: block; transition: transform .3s; animation: cardDrop .8s cubic-bezier(.2,.9,.3,1.2) both; }
.logo-card:hover { transform: translateY(3px); }
.logo-card img { height: 122px; width: auto; display: block; }
.logo-card::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) 50%, var(--accent) 50%); }
@keyframes cardDrop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.util-links { display: flex; align-items: center; gap: 22px; padding: 6px 0; }
.util-contact { display: flex; align-items: center; gap: 14px; }
.util-contact a { color: rgba(255,255,255,.88); display: flex; align-items: center; gap: 8px; }
.util-contact a:hover { color: #fff; }
.util-contact .ic { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: .7rem; }
.util-contact .sep { color: rgba(255,255,255,.3); }
.util-social { display: flex; gap: 8px; }
.util-social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .75rem; transition: transform .25s, opacity .25s; }
.util-social a:hover { transform: translateY(-3px) scale(1.08); color: #fff; }
.s-fb { background: #1877f2; }
.s-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.s-yt { background: #e62117; }
.s-wa { background: #25d366; }

.main-bar { background: var(--brand); color: #fff; border-bottom: 4px solid var(--accent); position: sticky; top: 0; z-index: 1030; transition: box-shadow .3s; }
.main-bar.stuck { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.main-inner { --spacer-w: 210px; display: flex; align-items: center; justify-content: space-between; min-height: var(--bar-h); position: relative; }
.main-bar.stuck .main-inner { --spacer-w: 90px; }
.nav-spacer { width: var(--spacer-w); flex: 0 0 var(--spacer-w); display: flex; align-items: center; transition: width .35s, flex-basis .35s; }
.mini-logo { height: 46px; background: #fff; padding: 3px 8px; border-radius: 8px; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s; pointer-events: none; }
.main-bar.stuck .mini-logo { opacity: 1; transform: none; pointer-events: auto; }

.main-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex: 1; justify-content: center; align-self: stretch; }
.main-menu > li { display: flex; align-items: stretch; }
.main-menu > li > a { display: flex; align-items: center; gap: 7px; padding: 0 .9rem; color: #fff; font-weight: 600; font-size: .93rem; white-space: nowrap; position: relative; transition: background .2s; }
.main-menu > li > a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 3px; background: #fff; border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .3s; }
.main-menu > li:hover > a, .main-menu > li:focus-within > a { background: rgba(255,255,255,.1); color: #fff; }
.main-menu > li:hover > a::after, .main-menu > li > a.active::after { transform: scaleX(1); }
.main-menu > li > a.active { background: rgba(255,255,255,.12); }
.main-menu .chev { font-size: .65rem; transition: transform .3s; }
.main-menu > li:hover .chev, .main-menu > li:focus-within .chev { transform: rotate(180deg); }

/* mega menu */
.has-mega { position: static; }
.mega-menu { position: absolute; left: calc(var(--spacer-w) + 12px); right: 12px; top: calc(100% + 4px); background: #fff; color: var(--ink); display: flex; border-radius: 0 0 14px 14px; box-shadow: 0 25px 50px rgba(11,43,76,.22); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .22s, transform .22s, visibility .22s; z-index: 1050; }
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-intro { flex: 0 0 33%; background: var(--soft); padding: 30px 32px; border-right: 1px solid var(--line); }
.mega-intro h3 { font-size: 1.15rem; color: var(--brand); display: inline-block; border-bottom: 3px solid var(--accent); padding-bottom: 4px; }
.mega-intro p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 14px 0; }
.mega-more { color: var(--accent); font-weight: 700; font-size: .9rem; }
.mega-promo { flex: 0 0 25%; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; padding: 30px 24px; text-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mega-promo > i:first-child { font-size: 2.4rem; color: rgba(255,255,255,.85); margin-bottom: 10px; animation: floatY 3s ease-in-out infinite; }
.mega-promo h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.mega-promo p { color: rgba(255,255,255,.8); font-size: .87rem; }
.mega-promo .promo-bg { position: absolute; right: -30px; bottom: -30px; font-size: 8rem; color: rgba(255,255,255,.08); }
.mega-cols { flex: 1; padding: 30px 32px; display: grid; gap: 28px; }
.mega-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-cols.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-cols h4 { font-size: .98rem; color: var(--brand); padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.mega-cols ul { list-style: none; padding: 0; margin: 0; }
.mega-cols li a { display: inline-block; padding: 5px 0; color: var(--muted); font-size: .9rem; transition: color .2s, transform .2s; }
.mega-cols li a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); margin-right: 8px; font-size: .75rem; }
.mega-cols li a:hover { color: var(--brand); transform: translateX(5px); }

/* small dropdown */
.has-drop { position: relative; }
.drop-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 4px); min-width: 210px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 20px 40px rgba(11,43,76,.2); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .22s; z-index: 1050; }
.has-drop:hover .drop-menu, .has-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.drop-menu a i { color: var(--accent); width: 18px; }
.drop-menu a:hover { background: var(--soft); color: var(--brand); }

/* Apply CTA */
.btn-apply-nav { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: .6rem 1.2rem; border-radius: 50px; font-weight: 700; font-size: .92rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(218,37,29,.45); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-apply-nav:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(218,37,29,.35); }
.btn-apply-nav .arr { font-size: .75rem; transition: transform .2s; }
.btn-apply-nav:hover .arr { transform: translateX(4px); }
@keyframes floatY { 50% { transform: translateY(-8px); } }

.menu-btn { display: none; background: none; border: 0; color: #fff; font-weight: 600; font-size: 1rem; padding: 10px 4px; align-items: center; gap: 8px; }
.menu-btn i { font-size: 1.3rem; }

/* laptop widths: tighten items, hide item icons */
@media (max-width: 1199.98px) {
    .main-menu > li > a { padding: 0 .6rem; font-size: .88rem; }
    .main-menu > li > a > i:not(.chev) { display: none; }
    .util-spacer { width: 190px; flex-basis: 190px; }
    .main-inner { --spacer-w: 190px; }
    .logo-card img { height: 108px; }
    .btn-apply-nav { padding: .55rem 1rem; font-size: .85rem; }
}

/* tablet & mobile */
@media (max-width: 991.98px) {
    .util-inner { flex-direction: column; padding-bottom: 8px; }
    .util-spacer { display: none; }
    .logo-card { position: static; margin: 0 auto 8px; border-radius: 0 0 14px 14px; }
    .logo-card img { height: 88px; }
    .util-links { gap: 14px; flex-wrap: wrap; justify-content: center; padding: 0; }
    .util-contact .txt { font-size: .8rem; }
    .main-menu { display: none; }
    .menu-btn { display: inline-flex; order: 1; }
    .nav-spacer { order: 2; width: auto; flex: 0 0 auto; justify-content: center; }
    .main-inner .btn-apply-nav { order: 3; }
    .mini-logo { height: 40px; }
    :root { --bar-h: 56px; }
}
@media (max-width: 575.98px) {
    .util-contact .sep, .util-contact a:nth-of-type(2) .txt { display: none; }
    .main-inner .btn-apply-nav span { display: none; }
    .main-inner .btn-apply-nav { padding: .55rem .85rem; }
    .main-inner .btn-apply-nav .arr { display: none; }
}

/* mobile drawer */
.m-menu { position: fixed; top: 0; bottom: 0; left: 0; width: 300px; max-width: 86vw; background: #fff; z-index: 1060; transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; box-shadow: 10px 0 40px rgba(0,0,0,.25); }
.m-menu.open { transform: none; }
.m-head { background: var(--brand); border-bottom: 4px solid var(--accent); padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.m-logo { background: #fff; border-radius: 8px; padding: 4px 8px; }
.m-logo img { height: 44px; }
.m-close { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; }
.m-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.m-list > li > a, .m-acc > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; text-align: left; }
.m-list > li > a { justify-content: flex-start; }
.m-list i:not(.chev) { color: var(--brand); width: 20px; text-align: center; margin-right: 4px; }
.m-list > li > a:hover, .m-acc > button:hover { background: var(--soft); color: var(--brand); }
.m-acc .chev { font-size: .7rem; transition: transform .3s; color: var(--muted); }
.m-acc.open .chev { transform: rotate(180deg); }
.m-acc > ul { list-style: none; padding: 0; margin: 0; background: var(--soft); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.m-acc.open > ul { max-height: 400px; }
.m-acc > ul a { display: block; padding: 12px 18px 12px 54px; color: var(--muted); border-bottom: 1px solid #e9eef5; font-size: .9rem; }
.m-acc > ul a:hover { color: var(--brand); }
.m-foot { padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.m-foot .btn-apply-nav { display: flex; }
.m-call { text-align: center; color: var(--brand); font-weight: 600; }
.m-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1055; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.m-overlay.show { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* ---------- Hero slider (Ken Burns backgrounds, floating science icons, progress bar) ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-deep); }
.hero .carousel-item { height: 88vh; min-height: 560px; max-height: 800px; position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-color: var(--brand-deep); background-size: cover; background-position: right center; background-repeat: no-repeat; }
/* image overlay: dark on the text side, clear on the photo side */
.slide-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,43,76,.92) 0%, rgba(11,43,76,.72) 38%, rgba(11,43,76,.15) 72%, rgba(11,43,76,0) 100%), linear-gradient(to top, rgba(11,43,76,.55), transparent 35%); }
.slide-shade.center { background: radial-gradient(ellipse at center, rgba(11,43,76,.78) 0%, rgba(11,43,76,.45) 60%, rgba(11,43,76,.25) 100%); }
.image-only .slide-shade { background: linear-gradient(to top, rgba(11,43,76,.45), transparent 30%); }
.hero-text { max-width: 640px; }
.hero-content .hero-h { color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; margin-bottom: 18px; }
.hero-content .hero-h span { color: #ff5a52; }
.hero-arrow { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; font-size: 1.1rem; backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.hero .carousel-control-prev:hover .hero-arrow, .hero .carousel-control-next:hover .hero-arrow { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.hero .carousel-item::before { content: ""; position: absolute; inset: 0; z-index: 2; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; color: #fff; padding-top: 30px; }
.hero-content .badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 18px; border-radius: 30px; font-size: .82rem; letter-spacing: 1.5px; margin-bottom: 18px; backdrop-filter: blur(4px); }
.hero-content .badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; margin-bottom: 18px; }
.hero-content h1 span, .hero-content .hero-h span { color: #ff5a52; position: relative; }
.hero-content h1 span::after, .hero-content .hero-h span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: rgba(255,90,82,.25); z-index: -1; }
.hero-content p { font-size: 1.1rem; color: #d7e4f5; max-width: 560px; margin-bottom: 28px; }

@keyframes spin { to { transform: rotate(360deg); } }


/* floating icons drifting across all slides */
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero-floats i { position: absolute; color: rgba(255,255,255,.09); animation: drift linear infinite; }
.hero-floats i:nth-child(1) { left: 6%;  top: 70%; font-size: 3rem;   animation-duration: 18s; }
.hero-floats i:nth-child(2) { left: 45%; top: 12%; font-size: 2.2rem; animation-duration: 22s; animation-delay: -5s; }
.hero-floats i:nth-child(3) { left: 60%; top: 80%; font-size: 3.4rem; animation-duration: 26s; animation-delay: -9s; }
.hero-floats i:nth-child(4) { left: 85%; top: 20%; font-size: 2.6rem; animation-duration: 20s; animation-delay: -3s; }
.hero-floats i:nth-child(5) { left: 30%; top: 45%; font-size: 1.8rem; animation-duration: 24s; animation-delay: -12s; }
.hero-floats i:nth-child(6) { left: 92%; top: 65%; font-size: 2rem;   animation-duration: 19s; animation-delay: -7s; }
@keyframes drift { 0% { transform: translate(0,0) rotate(0); } 25% { transform: translate(30px,-40px) rotate(45deg); } 50% { transform: translate(-20px,-80px) rotate(90deg); } 75% { transform: translate(-40px,-30px) rotate(135deg); } 100% { transform: translate(0,0) rotate(180deg); } }

.hero .carousel-indicators { z-index: 4; margin-bottom: 2.4rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 5px; border-radius: 5px; transition: width .3s; }
.hero .carousel-indicators .active { background: var(--accent); width: 54px; }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 4; width: 7%; opacity: 0; transition: opacity .3s; }
.hero:hover .carousel-control-prev, .hero:hover .carousel-control-next { opacity: .85; }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--accent); z-index: 5; }
.hero-progress.run { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }
/* tablet & mobile: full image on top (no crop), text on brand background below */
@media (max-width: 991px) {
    .hero .carousel-item { height: auto; min-height: 0; max-height: none; background: var(--brand-deep); }
    .hero .carousel-item.active, .hero .carousel-item-next, .hero .carousel-item-prev { display: flex; flex-direction: column; }
    .slide-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 1920 / 900; flex: 0 0 auto; background-position: center; }
    .slide-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(to top, var(--brand-deep), transparent); }
    .slide-shade { display: none; }
    .hero-content { height: auto; min-height: 330px; align-items: flex-start; padding-top: 18px; padding-bottom: 64px; }
    .hero-content .badge-pill { font-size: .72rem; margin-bottom: 12px; }
    .hero-content h1, .hero-content .hero-h { font-size: clamp(1.6rem, 6.5vw, 2.4rem); margin-bottom: 12px; }
    .hero-content p { font-size: .98rem; margin-bottom: 20px; }
    .hero .carousel-indicators { margin-bottom: 1.2rem; }
    .hero .carousel-item.image-only .hero-content { display: none; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}
@media (max-width: 575px) { .hero-content .btn-lg { padding: .6rem 1.2rem; font-size: 1rem; } }

/* ---------- News ticker ---------- */
.ticker { background: #fff; box-shadow: var(--shadow); position: relative; z-index: 5; margin-top: -32px; border-radius: 12px; overflow: hidden; display: flex; align-items: stretch; }
.ticker-label { background: var(--accent); color: #fff; font-weight: 700; padding: 16px 22px; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-move { display: inline-flex; gap: 50px; white-space: nowrap; padding-left: 100%; animation: tick 35s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: var(--ink); font-weight: 500; }
.ticker-move a:hover { color: var(--accent); }
.ticker-move .tag { font-size: .7rem; background: var(--soft); color: var(--brand); padding: 2px 8px; border-radius: 20px; margin-right: 6px; font-weight: 600; }
@keyframes tick { to { transform: translateX(-100%); } }
@media (max-width: 575px) { .ticker-label span { display: none; } .ticker { margin-top: 0; border-radius: 0; } }

/* ---------- About / stats ---------- */
.about-img { position: relative; }
.about-img .frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; background: linear-gradient(135deg, var(--brand), var(--navy)); display: grid; place-items: center; }
.about-img .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img .frame .placeholder-icon { color: rgba(255, 255, 255, .85); font-size: 6rem; }
.about-img .exp-badge { position: absolute; bottom: -26px; right: -10px; background: var(--accent); color: #fff; padding: 20px 26px; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; }
.about-img .exp-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { padding: 6px 0 6px 32px; position: relative; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: .7rem; display: grid; place-items: center; }

.stats { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(227, 34, 42, .25); }
.stat-box { text-align: center; position: relative; z-index: 1; }
.stat-box i { font-size: 2rem; color: #ff6b70; margin-bottom: 10px; }
.stat-box .num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.stat-box p { color: #cfe0f5; margin: 0; }

/* ---------- Course cards ---------- */
.course-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; height: 100%; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s; border-bottom: 4px solid transparent; }
.course-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); transition: height .45s ease; z-index: 0; }
.course-card > * { position: relative; z-index: 1; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-bottom-color: var(--accent); }
.course-card:hover::before { height: 100%; }
.course-card:hover h4, .course-card:hover p, .course-card:hover li { color: #fff; }
.course-card .icon { width: 70px; height: 70px; border-radius: 18px; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 20px; transition: all .35s; }
.course-card:hover .icon { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.course-card h4 { font-size: 1.25rem; transition: color .35s; }
.course-card p, .course-card li { color: var(--muted); transition: color .35s; font-size: .93rem; }
.course-card ul { padding-left: 18px; margin-bottom: 18px; }
.course-card .more { font-weight: 600; color: var(--accent); }
.course-card:hover .more { color: #fff; }

/* ---------- Why choose ---------- */
.why-box { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; transition: transform .3s; }
.why-box:hover { transform: translateY(-5px); }
.why-box .icon { flex: 0 0 40px; height: 35px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ff5a60); color: #fff; display: grid; place-items: center; font-size: 18px; }
.why-box h5 { font-size: 1.05rem; margin-bottom: 6px; }
.why-box p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- News cards ---------- */
.news-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand), var(--navy)); position: relative; overflow: hidden; display: grid; place-items: center; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.08); }
.news-card .thumb .ph { color: rgba(255, 255, 255, .8); font-size: 3rem; }
.news-card .date-badge { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 10px; padding: 6px 12px; text-align: center; line-height: 1.1; box-shadow: var(--shadow); }
.news-card .date-badge strong { display: block; font-size: 1.3rem; color: var(--accent); font-family: var(--font-head); }
.news-card .date-badge small { font-size: .72rem; color: var(--muted); text-transform: uppercase; }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.chip { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--soft); color: var(--brand); }
.chip-event { background: #fdecec; color: var(--accent); }
.chip-pdf { background: #fdecec; color: var(--accent-dark); }
.chip-link { background: #eaf6ea; color: var(--leaf); }
.news-card h5 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; }
.news-card h5 a { color: var(--brand-deep); }
.news-card h5 a:hover { color: var(--accent); }
.news-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.news-card .read { font-weight: 600; font-size: .9rem; }

.news-list-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.news-list-item:last-child { border-bottom: 0; }
.news-list-item .d { flex: 0 0 62px; height: 62px; border-radius: 12px; background: var(--brand); color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.news-list-item .d strong { font-size: 1.3rem; font-family: var(--font-head); }
.news-list-item .d small { font-size: .7rem; text-transform: uppercase; }
.news-list-item a { color: var(--ink); font-weight: 500; }
.news-list-item a:hover { color: var(--accent); }

.filter-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pills a { padding: 8px 22px; border-radius: 30px; border: 2px solid var(--line); color: var(--ink); font-weight: 500; }
.filter-pills a.active, .filter-pills a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-body { font-size: 1.02rem; line-height: 1.85; color: #33404f; white-space: pre-line; }
.sidebar-box { background: var(--soft); border-radius: var(--radius); padding: 26px; }

/* ---------- Gallery ---------- */
.album-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); aspect-ratio: 4/3; background: linear-gradient(135deg, var(--brand), var(--navy)); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album-card:hover img { transform: scale(1.1); }
.album-card .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-size: 3rem; }
.album-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 31, 61, .92) 0%, rgba(7, 31, 61, .1) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.album-card .overlay h5 { color: #fff; margin: 0 0 4px; font-size: 1.1rem; }
.album-card .overlay small { color: #cfe0f5; }
.album-card .count { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-size: .78rem; padding: 4px 12px; border-radius: 20px; font-weight: 600; }

.photo-grid { columns: 4 240px; column-gap: 16px; }
.photo-item { display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; position: relative; break-inside: avoid; box-shadow: var(--shadow); }
.photo-item img { width: 100%; display: block; transition: transform .5s; }
.photo-item::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(17, 96, 172, .55); opacity: 0; transition: opacity .3s; }
.photo-item:hover::after { opacity: 1; }
.photo-item:hover img { transform: scale(1.06); }

.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-gallery a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; position: relative; }
.home-gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-gallery a:hover img { transform: scale(1.08); }
@media (max-width: 767px) { .home-gallery { grid-template-columns: repeat(2, 1fr); } }

.video-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); height: 100%; transition: transform .3s; }
.video-card:hover { transform: translateY(-6px); }
.video-card .vthumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video-card .vthumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s, opacity .3s; }
.video-card:hover .vthumb img { transform: scale(1.06); opacity: .75; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 0 0 0 rgba(227, 34, 42, .6); }
.video-card .vbody { padding: 18px 20px; }
.video-card h6 { font-family: var(--font-head); font-weight: 700; margin: 0; color: var(--brand-deep); }
.video-card p { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 3rem; color: #c6d3e3; margin-bottom: 14px; }

/* ---------- Page banner ---------- */
.page-banner { background: linear-gradient(115deg, rgba(7, 31, 61, .95), rgba(17, 96, 172, .85)), url('/images/page-banner.jpg') center/cover, url('/images/slider/slide3.jpg') center/cover; padding: 80px 0 70px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 24px 24px; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: #cfe0f5; }
.page-banner .breadcrumb-item.active { color: #fff; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #ff6b70; }

/* ---------- Apply form ---------- */
.apply-wrap { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.apply-side { background: linear-gradient(160deg, var(--brand-deep), var(--brand)); color: #fff; padding: 40px 34px; height: 100%; }
.apply-side h3 { color: #fff; }
.apply-side .step { display: flex; gap: 14px; margin-top: 22px; }
.apply-side .step span { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 700; }
.apply-side .step p { margin: 0; color: #d7e4f5; font-size: .92rem; }
.apply-form { padding: 40px 36px; }
.apply-form h5 { font-size: 1rem; color: var(--brand); border-left: 4px solid var(--accent); padding-left: 10px; margin: 26px 0 16px; }
.apply-form h5:first-child { margin-top: 0; }
.form-label { font-weight: 500; font-size: .9rem; }
.form-label .req { color: var(--accent); }
.form-control, .form-select { border-radius: 10px; padding: .65rem .9rem; border-color: #d6dfeb; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(17, 96, 172, .15); }
.field-validation-error { color: var(--accent); font-size: .82rem; }
.input-validation-error { border-color: var(--accent) !important; }
@media (max-width: 767px) { .apply-form, .apply-side { padding: 28px 20px; } }

.success-card { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 50px 36px; text-align: center; }
.success-card .tick { width: 90px; height: 90px; border-radius: 50%; background: #e7f6e7; color: var(--leaf); font-size: 2.6rem; display: grid; place-items: center; margin: 0 auto 20px; animation: pop .6s ease; }
@keyframes pop { 0% { transform: scale(0); } 80% { transform: scale(1.15); } 100% { transform: scale(1); } }
.app-no { display: inline-block; background: var(--soft); border: 2px dashed var(--brand); border-radius: 12px; padding: 10px 26px; font-family: var(--font-head); font-size: 1.5rem; color: var(--brand); letter-spacing: 2px; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; text-align: center; height: 100%; transition: transform .3s; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .icon { width: 66px; height: 66px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.5rem; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA & Footer ---------- */
.cta-strip { background: #b91e17; color: #fff; padding: 44px 0; }
.cta-strip h3 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.cta-strip p { color: #ffe1e2; }

.site-footer { background: var(--brand-deep); color: #b9cbe2; padding-top: 90px; position: relative; font-size: .93rem; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; height: 50px; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: var(--accent-dark); }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 12px; }
.footer-logo img { height: 70px; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b9cbe2; transition: all .25s; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; color: var(--accent); }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer-contact i { flex: 0 0 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #ff6b70; display: grid; place-items: center; }
.footer-contact a { color: #b9cbe2; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: all .3s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding: 20px 0; font-size: .85rem; }
.footer-bottom a { color: #ff8a8e; }

.float-whatsapp { position: fixed; left: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; z-index: 999; box-shadow: 0 8px 20px rgba(37, 211, 102, .45); }
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; z-index: 999; opacity: 0; visibility: hidden; transition: all .3s; box-shadow: var(--shadow-lg); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); }

/* about image fallback layering */
.about-img .frame { position: relative; }
.about-img .frame .placeholder-icon { position: absolute; }
.about-img .frame img { position: relative; z-index: 1; }

/* anchor targets land below the sticky nav bar; highlight the course opened from the menu */
section[id], .course-anchor { scroll-margin-top: 90px; }
.course-anchor:target .course-card { border-bottom-color: var(--accent); box-shadow: 0 0 0 3px rgba(218,37,29,.35), var(--shadow-lg); animation: targetPulse 1.2s ease 2; }
@keyframes targetPulse { 50% { transform: translateY(-8px); } }

/* opening hours in utility bar */
.util-hours { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); }
@media (max-width: 575.98px) { .util-contact { flex-wrap: wrap; justify-content: center; row-gap: 6px; } .util-contact .sep { display: none; } .util-contact .txt { font-size: .78rem; } }

/* ---------- Main menu: 8 links with icons + Apply button ---------- */
.main-menu > li > a { padding: 0 .75rem; font-size: .9rem; gap: 7px; }
.main-menu > li > a::after { left: .75rem; right: .75rem; }
.main-inner > .btn-apply-nav { margin-left: 16px; }
@media (max-width: 991.98px) { .main-inner > .btn-apply-nav { margin-left: 0; } }
/* laptops (1200-1499px): keep icons, tighten spacing */
@media (max-width: 1499.98px) {
    .main-menu > li > a { padding: 0 .5rem; font-size: .86rem; gap: 5px; }
    .main-menu > li > a > i:not(.chev) { font-size: .82rem; }
    .main-menu > li > a::after { left: .5rem; right: .5rem; }
    .main-menu .chev { font-size: .55rem; }
    .btn-apply-nav { padding: .55rem 1rem; font-size: .86rem; }
}
@media (max-width: 1365.98px) {
    .main-menu > li > a { padding: 0 .34rem; font-size: .83rem; gap: 4px; }
    .main-menu > li > a::after { left: .34rem; right: .34rem; }
    .btn-apply-nav .arr { display: none; }
}
/* small laptops (992-1199px): not enough room for icons */
@media (max-width: 1199.98px) {
    .main-menu > li > a > i:not(.chev) { display: none; }
    .main-menu > li > a { padding: 0 .42rem; font-size: .82rem; }
    .main-menu > li > a::after { left: .42rem; right: .42rem; }
}

/* ---------- Faculty ---------- */
.faculty-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .35s, box-shadow .35s; }
.faculty-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fc-photo { position: relative; aspect-ratio: 1 / 1.05; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; overflow: hidden; }
.fc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.faculty-card:hover .fc-photo img { transform: scale(1.06); }
.fc-initials { font-family: var(--font-head); font-weight: 900; font-size: 4rem; color: rgba(255,255,255,.9); }
.fc-subject { position: absolute; left: 14px; bottom: 14px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.fc-body { padding: 20px 22px 22px; }
.fc-body h5 { margin: 0 0 2px; font-size: 1.12rem; }
.fc-desig { color: var(--brand); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.fc-meta { list-style: none; padding: 0; margin: 0 0 8px; font-size: .86rem; color: var(--muted); }
.fc-meta li { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; }
.fc-meta i { color: var(--accent); width: 16px; }
.fc-body p { font-size: .87rem; color: var(--muted); margin: 0; }
.js-item.hide { display: none; }

/* ---------- Facilities ---------- */
.facility-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .35s, box-shadow .35s; }
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fa-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.fa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.facility-card:hover .fa-img img { transform: scale(1.08); }
.fa-badge { position: absolute; right: 16px; bottom: -22px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(218,37,29,.4); border: 4px solid #fff; }
.fa-img:has(.fa-badge) { overflow: visible; }
.fa-img:has(.fa-badge) img { border-radius: 18px 18px 0 0; }
.fa-noimg { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; }
.fa-noimg i { font-size: 3.6rem; color: rgba(255,255,255,.9); transition: transform .4s; }
.facility-card:hover .fa-noimg i { transform: scale(1.12) rotate(-6deg); }
.fa-body { padding: 26px 24px 24px; }
.fa-body h5 { font-size: 1.12rem; margin-bottom: 8px; }
.fa-body p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Achievers ---------- */
.achiever-filter { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.achiever-filter .form-select { width: auto; min-width: 170px; border-radius: 30px; }
.achiever-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; text-align: center; transition: transform .35s, box-shadow .35s; border-bottom: 4px solid var(--accent); }
.achiever-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ac-photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; overflow: hidden; }
.ac-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ac-initials { font-family: var(--font-head); font-weight: 900; font-size: 3.4rem; color: rgba(255,255,255,.9); }
.ac-year { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--brand-deep); font-weight: 700; font-size: .75rem; padding: 3px 10px; border-radius: 20px; }
.ac-body { padding: 16px 14px 18px; }
.ac-result { display: inline-block; margin-top: -34px; position: relative; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem; padding: 6px 16px; border-radius: 30px; box-shadow: 0 8px 18px rgba(218,37,29,.35); }
.ac-body h6 { font-family: var(--font-head); font-weight: 800; color: var(--brand-deep); margin: 12px 0 6px; font-size: 1rem; }
.ac-exam { display: inline-block; font-size: .75rem; font-weight: 600; background: var(--soft); color: var(--brand); padding: 3px 10px; border-radius: 20px; }
.ac-college { display: block; color: var(--muted); font-size: .78rem; margin-top: 8px; }
@media (max-width: 575px) { .ac-result { font-size: .85rem; padding: 5px 12px; } .ac-body h6 { font-size: .9rem; } }

/* =====================================================================
   HOME SLIDER - calm cross-fade (no zoom, no blinking)
   All slides stay rendered (just transparent) so their images are already
   decoded when their turn comes - this removes the one-frame flash.
   ===================================================================== */
.hero .carousel-item { display: block; }
.hero .carousel-fade .carousel-item { transition-duration: 1s; transition-timing-function: ease-in-out; }
.hero .carousel-fade .active.carousel-item-start,
.hero .carousel-fade .active.carousel-item-end { transition: opacity 0s 1s; }   /* keep old slide fully visible until the new one has faded in */
.hero .carousel-item:not(.active) .hero-content { pointer-events: none; }
@media (max-width: 991px) {
    .hero .carousel-item { display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .hero .carousel-fade .carousel-item { transition-duration: .01s; }
    .hero-floats { display: none; }
}

/* =====================================================================
   BROCHURE CONTENT: GST, batches, leadership, coaching strip
   ===================================================================== */
.util-gst { color: #ffd84d !important; font-weight: 600; font-size: .82rem; white-space: nowrap; }
.util-gst:hover { color: #fff !important; }
.util-gst i { margin-right: 5px; }
@media (max-width: 1199.98px) { .util-gst { display: none; } }

.about-student { position: relative; text-align: center; background: radial-gradient(circle at 50% 60%, #e8f0fa 0%, #fff 70%); border-radius: 24px; padding-top: 20px; }
.about-student img { max-height: 520px; width: auto; max-width: 100%; }
.about-student .exp-badge { position: absolute; bottom: 24px; right: 0; background: var(--accent); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); text-align: center; }
.about-student .exp-badge strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.1; }
.about-student .exp-badge small { font-size: .78rem; }

.coaching-strip { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.coaching-strip .cs-label { font-family: var(--font-head); font-weight: 800; color: var(--brand-deep); margin-right: 6px; }
.coaching-strip a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); color: var(--brand-deep); font-weight: 600; padding: 9px 20px; border-radius: 40px; transition: all .25s; }
.coaching-strip a i { color: var(--accent); }
.coaching-strip a:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.coaching-strip a:hover i { color: #fff; }

.gst-band { background: linear-gradient(115deg, var(--brand-deep) 0%, var(--brand) 60%, #2a73b8 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.gst-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(218,37,29,.25); }
.gst-band .container { position: relative; z-index: 1; }
.gst-kicker { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 16px; border-radius: 30px; font-size: .85rem; letter-spacing: .5px; color: #ffd84d; }
.gst-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 16px 0 10px; }
.gst-band h2 span { color: #ffd84d; }
.gst-sub { color: #d7e4f5; font-size: 1.05rem; }
.gst-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.gst-facts > div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; }
.gst-facts i { color: #ffd84d; font-size: 1.2rem; margin-bottom: 6px; display: block; }
.gst-facts strong { display: block; font-family: var(--font-head); }
.gst-facts small { color: #cfe0f5; font-size: .8rem; }
@media (max-width: 767px) { .gst-facts { grid-template-columns: 1fr; } }

.gst-prizes { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.gp-head { background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; padding: 16px 24px; }
.gp-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px dashed var(--line); font-size: 1.05rem; }
.gp-row strong { font-family: var(--font-head); color: var(--brand-deep); font-size: 1.3rem; }
.gp-cons strong { color: var(--accent); font-size: 1.1rem; }
.gp-foot { background: var(--soft); padding: 14px 24px; font-size: .92rem; color: var(--brand-deep); }

.batch-card { border-radius: 20px; padding: 26px 26px 22px; height: 100%; border: 3px solid; background: #fff; transition: transform .3s, box-shadow .3s; }
.batch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.batch-exon { border-color: #f2c11c; background: #fffbea; }
.batch-apex { border-color: #e8707a; background: #fdf0f1; }
.batch-ignite { border-color: #8cc63f; background: #f4faea; }
.bc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.bc-head > i { width: 62px; height: 62px; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.6rem; flex: 0 0 62px; }
.bc-head h4 { margin: 0; color: var(--accent); font-size: 1.6rem; letter-spacing: 1px; }
.bc-head span { color: var(--brand-deep); font-weight: 600; font-size: .95rem; }
.bc-tag { display: inline-block;  color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 6px; margin-bottom: 10px; }
.batch-card p { color: #3d4757; font-size: .93rem; margin-bottom: 10px; }
.bc-small { font-size: .85rem !important; color: var(--muted) !important; margin-bottom: 6px !important; }
.bc-list { list-style: none; padding: 0; margin: 0; }
.bc-list li { font-weight: 700; color: var(--brand-deep); padding: 4px 0; font-size: .93rem; }
.bc-list i { color: var(--brand); margin-right: 8px; }
.batch-card:target { box-shadow: 0 0 0 4px rgba(218,37,29,.35), var(--shadow-lg); }

.leader-card { display: flex; gap: 32px; align-items: center; background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); max-width: 980px; margin-left: auto; margin-right: auto; border-left: 6px solid var(--accent); }
.lc-photo { flex: 0 0 220px; height: 240px; border-radius: 18px; overflow: hidden; border: 3px solid var(--brand); background: linear-gradient(150deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; }
.lc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lc-kicker { color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; }
.lc-body h3 { margin: 6px 0 4px; color: var(--brand-deep); }
.lc-desig { color: var(--brand); font-weight: 600; margin-bottom: 12px; }
.lc-body p { color: #3d4757; margin: 0 0 10px; line-height: 1.75; }
@media (max-width: 767px) { .leader-card { flex-direction: column; text-align: center; padding: 22px; } .lc-photo { flex-basis: auto; width: 200px; height: 220px; } }

@media (min-width: 1200px) { .pillar-col { width: 20%; } }
.pillar-col .fc-body h5 { font-size: 1rem; }
.pillar-col .fc-meta { font-size: .8rem; }

.quote-line { text-align: center; margin: 44px auto 0; max-width: 760px; font-family: var(--font-head); font-weight: 700; font-style: italic; color: var(--brand-deep); font-size: 1.15rem; }
.quote-line i { color: var(--accent); font-size: .9rem; margin: 0 6px; vertical-align: top; }

.strengths-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.strengths-row > div { background: #fff; border-radius: 14px; padding: 16px; text-align: center; font-weight: 700; color: var(--brand-deep); box-shadow: var(--shadow); font-size: .92rem; }
.strengths-row i { display: block; color: var(--accent); font-size: 1.5rem; margin-bottom: 8px; }
@media (max-width: 767px) { .strengths-row { grid-template-columns: repeat(2, 1fr); } }

.badge-attn { display: inline-block; background: #fdecec; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .5px; padding: 6px 16px; border-radius: 30px; }
.gst-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.gst-info-grid .gi { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: 14px; padding: 16px 18px; }
.gst-info-grid .gi-wide { grid-column: 1 / -1; }
.gst-info-grid i { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 44px; }
.gst-info-grid small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.gst-info-grid strong { color: var(--brand-deep); font-size: .98rem; }
@media (max-width: 575px) { .gst-info-grid { grid-template-columns: 1fr; } }
.gst-student { max-height: 560px; width: auto; max-width: 100%; }
.gst-table-card { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); height: 100%; }
.gst-table-card h4 { color: var(--brand); }
.gst-table thead th { background: var(--brand); color: #fff; border: 0; }
.gst-table thead th:first-child { border-radius: 10px 0 0 10px; }
.gst-table thead th:last-child { border-radius: 0 10px 10px 0; }
.gst-table td { padding: 12px 10px; vertical-align: middle; }
.gst-table td strong { color: var(--accent); font-size: 1.15rem; font-family: var(--font-head); }
.gst-mini { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(110deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 22px; padding: 30px 36px; }
.gst-mini h3 { color: #fff; margin: 10px 0 6px; }
.gst-mini .gst-kicker { color: #fff; }
.eyebrow-inline { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.apply-gst { display: flex; gap: 12px; margin-top: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 14px; font-size: .88rem; color: #e6eef8; }
.apply-gst i { color: #ffd84d; font-size: 1.3rem; }
.footer-motto { color: #ffd84d; font-weight: 600; letter-spacing: 1px; font-size: .85rem; }
.gst-student, .about-student img { border-radius: 24px; box-shadow: 0 20px 45px rgba(18,69,116,.18); }
.about-student { background: none; padding-top: 0; }
/* Card Outer Shell */
.gst-card-wrap {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0f172a;
  border-radius: 16px;
  padding: 20px; /* Reduced from 28px */
  color: #ffffff;
  position: relative;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header Area */
.gst-card-header {
  margin-bottom: 14px; /* Reduced margin */
}

.gst-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff9900, #ff5500);
  color: #ffffff;
  font-size: 0.65rem; /* Smaller badge font */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px; /* Compact badge padding */
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 3px 8px rgba(255, 102, 0, 0.3);
}

.gst-main-title {
  font-size: 1.25rem; /* Reduced from 1.75rem */
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin: 0;
}

/* Prize Box List */
.gst-prize-list {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Tighter spacing */
  margin-bottom: 16px;
}

.gst-prize-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px; /* Reduced row padding */
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.gst-prize-box:hover {
  transform: translateY(-1px);
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-badge {
  width: 28px; /* Smaller icon box */
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem; /* Smaller rank icon font */
}

.rank-name {
  font-weight: 600;
  font-size: 0.88rem; /* Reduced from 1rem */
  color: #ffffff;
}

.rank-value {
  font-weight: 800;
  font-size: 1rem; /* Reduced from 1.25rem */
  letter-spacing: -0.2px;
}

/* Color Themes for Each Prize */

/* 1st Prize - Gold */
.rank-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.rank-gold .rank-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}
.rank-gold .rank-value { color: #fbbf24; }

/* 2nd Prize - Silver Cyan */
.rank-silver {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.rank-silver .rank-badge {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #ffffff;
}
.rank-silver .rank-value { color: #38bdf8; }

/* 3rd Prize - Bronze Purple */
.rank-bronze {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(126, 34, 206, 0.04) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.rank-bronze .rank-badge {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  color: #ffffff;
}
.rank-bronze .rank-value { color: #c084fc; }

/* Consolation Prize - Emerald Green */
.rank-consolation {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.03) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.rank-consolation .rank-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.rank-consolation .rank-value {
  color: #34d399;
  font-size: 0.9rem;
}
.rank-consolation .rank-value span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #a7f3d0;
}

/* Bottom Scholarship Banner */
.gst-scholarship-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #311b92 100%);
  border-radius: 12px;
  padding: 10px 14px; /* Reduced banner padding */
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.banner-icon {
  width: 32px; /* Smaller icon box */
  height: 32px;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.banner-text {
  margin: 0;
  font-size: 0.78rem; /* Smaller text size */
  color: #e0e7ff;
  line-height: 1.35;
}

.banner-text strong {
  color: #ffffff;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Card Shell */
.batch-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.batch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Icon Box */
.bc-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Titles & Subtitles - High Contrast White & Bright Gray */
.bc-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff !important; /* Pure White for Primary Heading */
  line-height: 1.2;
}

.bc-batch-sub {
  font-size: 0.8rem;
  color: #e2e8f0 !important; /* High contrast bright slate */
  font-weight: 600;
}

.bc-badge {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Tagline & Main Description Text */
.bc-tag {
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}

.bc-text {
  font-size: 0.88rem;
  color: #f1f5f9 !important; /* Extremely high readability white-gray */
  line-height: 1.55;
  font-weight: 400;
}

/* Perks / Scholarship Box */
.bc-perks-box {
  background: #1e293b; /* Solid dark contrast backing */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px;
}

.bc-small {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff !important; /* White for clear label readability */
}

.bc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bc-list li {
  font-size: 0.82rem;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.bc-list li strong {
  font-weight: 700;
}

.bc-list li i {
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/* High-Contrast Bright Color Themes (EXON, APEX, IGNITE)                     */
/* -------------------------------------------------------------------------- */

/* 1. EXON (Vibrant Emerald / Mint Green) */
.batch-exon {
  border-top: 4px solid #10b981;
}
.batch-exon .bc-icon-box {
  background: #059669;
  color: #ffffff;
}
.batch-exon .bc-badge {
  background: #065f46;
  color: #6ee7b7;
  border: 1px solid #10b981;
}
.batch-exon .bc-tag {
  color: #34d399; /* Bright Emerald */
}
.batch-exon .bc-list li i {
  color: #34d399;
}

/* 2. APEX (Bright Sky Blue) */
.batch-apex {
  border-top: 4px solid #0284c7;
}
.batch-apex .bc-icon-box {
  background: #0284c7;
  color: #ffffff;
}
.batch-apex .bc-badge {
  background: #075985;
  color: #7dd3fc;
  border: 1px solid #38bdf8;
}
.batch-apex .bc-tag {
  color: #38bdf8; /* Bright Cyan */
}
.batch-apex .bc-list li i {
  color: #38bdf8;
}

/* 3. IGNITE (Vibrant Gold / Amber) */
.batch-ignite {
  border-top: 4px solid #f59e0b;
}
.batch-ignite .bc-icon-box {
  background: #d97706;
  color: #ffffff;
}
.batch-ignite .bc-badge {
  background: #78350f;
  color: #fde047;
  border: 1px solid #f59e0b;
}
.batch-ignite .bc-tag {
  color: #fbbf24; /* Bright Yellow-Gold */
}
.batch-ignite .bc-foundation-box {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.batch-ignite .bc-foundation-box p {
  color: #fef08a !important; /* Vivid Light Yellow */
}