/* MICE — extra sections (journey, enquiry, FAQ), chatbot, decorative visuals.
   Palette: navy #03045E, blue #023EBA, cyan #00B4D8, light blue #CAF0F8, CTA #FBB02D. */

:root { --ex-navy: #03045E; --ex-blue: #023EBA; --ex-cyan: #00B4D8; --ex-light: #CAF0F8; --ex-cta: #FBB02D; --ex-ease: cubic-bezier(.22, .8, .24, 1); }

/* ---------- Decorative floating orbs ---------- */
.ex-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(2px); opacity: .55; }
.ex-orb.a { width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, rgba(0, 180, 216, .35), rgba(0, 180, 216, 0) 70%); }
.ex-orb.b { width: 260px; height: 260px; background: radial-gradient(circle at 60% 40%, rgba(2, 62, 186, .22), rgba(2, 62, 186, 0) 70%); }
.ex-orb.a { top: -80px; left: -60px; }
.ex-orb.b { bottom: 10%; right: -50px; }
.ex-orb.c { top: 42%; right: 28%; }
.ex-orb.c { width: 200px; height: 200px; background: radial-gradient(circle at 50% 50%, rgba(251, 176, 45, .3), rgba(251, 176, 45, 0) 70%); }
@media (prefers-reduced-motion: no-preference) {
  .ex-orb { animation: exFloat 11s ease-in-out infinite alternate; }
  .ex-orb.b { animation-duration: 14s; animation-delay: -4s; }
  .ex-orb.c { animation-duration: 9s; animation-delay: -2s; }
}
@keyframes exFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(28px, -34px, 0) scale(1.12); } }
body.cinematic-home .cine-has-orbs { position: relative; overflow: hidden; }
body.cinematic-home .cine-has-orbs > .container { position: relative; z-index: 1; }

/* Soft section backgrounds so the page feels less flat */
body.cinematic-home #why-mice { background: linear-gradient(180deg, var(--cine-bg) 0%, #E6F7FB 100%) !important; }
body.cinematic-home #journey { background: linear-gradient(180deg, #E6F7FB 0%, var(--cine-bg) 100%) !important; }
body.cinematic-home #enquiry { background: linear-gradient(135deg, #CAF0F8 0%, #E6F7FB 55%, #F4FBFE 100%) !important; }
body.cinematic-home #faq { background: var(--cine-bg) !important; }

/* ---------- Journey (admission steps) ---------- */
body.cinematic-home .journey-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
body.cinematic-home .journey-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px rgba(3, 4, 94, .22); }
body.cinematic-home .journey-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
body.cinematic-home .journey-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 4, 94, 0) 55%, rgba(3, 4, 94, .55) 100%); }
body.cinematic-home .journey-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font: 600 .95rem var(--cine-sans); }
body.cinematic-home .journey-copy h2 { margin-bottom: 36px !important; }
body.cinematic-home .journey-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
body.cinematic-home .journey-steps::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--ex-cyan), var(--ex-blue)); transform-origin: top; opacity: .5; }
body.cinematic-home .journey-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
body.cinematic-home .journey-icon { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--ex-cyan); color: var(--ex-blue); box-shadow: 0 10px 24px rgba(0, 180, 216, .25); }
body.cinematic-home .journey-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.cinematic-home .journey-steps li:last-child .journey-icon { background: var(--ex-cta); border-color: var(--ex-cta); color: var(--ex-navy); }
body.cinematic-home .journey-steps h3 { margin: 4px 0 6px !important; font: 400 1.35rem/1.1 var(--cine-display) !important; letter-spacing: .02em !important; text-transform: uppercase; color: var(--ex-navy) !important; }
body.cinematic-home .journey-steps p { margin: 0 !important; color: var(--cine-soft) !important; line-height: 1.6; }
body.cine-motion-ready [data-cine-reveal]:not(.is-visible) .journey-steps li { opacity: 0; transform: translateX(34px); }
.journey-steps li { transition: opacity .8s var(--ex-ease), transform .8s var(--ex-ease); }
.journey-steps li:nth-child(2) { transition-delay: .12s; } .journey-steps li:nth-child(3) { transition-delay: .24s; }
.journey-steps li:nth-child(4) { transition-delay: .36s; } .journey-steps li:nth-child(5) { transition-delay: .48s; }
@media (max-width: 860px) { body.cinematic-home .journey-layout { grid-template-columns: 1fr; } body.cinematic-home .journey-photo { aspect-ratio: 4 / 3; } }

/* ---------- Enquiry form ---------- */
body.cinematic-home .enquiry-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
body.cinematic-home .enquiry-copy p:not(.eyebrow) { color: var(--cine-soft) !important; font-size: 1.08rem; line-height: 1.7; max-width: 46ch; }
body.cinematic-home .enquiry-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
body.cinematic-home .enquiry-points li { display: flex; gap: 12px; align-items: center; color: var(--ex-navy); font-weight: 600; }
body.cinematic-home .enquiry-points li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ex-cyan); color: #fff; font-size: .85rem; flex: none; }
body.cinematic-home .enquiry-card { position: relative; background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 70px rgba(3, 4, 94, .16); border: 1px solid rgba(3, 4, 94, .08); }
body.cinematic-home .enquiry-card h3 { margin: 0 0 20px !important; font: 400 1.9rem/1.05 var(--cine-display) !important; text-transform: uppercase; color: var(--ex-navy) !important; }
body.cinematic-home .enquiry-form { display: grid; gap: 16px; }
body.cinematic-home .enquiry-form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ex-navy); }
body.cinematic-home .enquiry-form input, body.cinematic-home .enquiry-form select {
  min-height: 52px; padding: 0 16px; border: 1.5px solid rgba(3, 4, 94, .2); border-radius: 12px; background: #F4FBFE; color: var(--ex-navy); font: 500 1rem var(--cine-sans);
  transition: border-color .25s ease, box-shadow .25s ease;
}
body.cinematic-home .enquiry-form input:focus, body.cinematic-home .enquiry-form select:focus { outline: none; border-color: var(--ex-blue); box-shadow: 0 0 0 4px rgba(0, 180, 216, .25); }
body.cinematic-home .enquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.cinematic-home .enquiry-submit { min-height: 56px; border: 0; border-radius: 999px; background: var(--ex-cta); color: var(--ex-navy); font: 700 1rem var(--cine-sans); cursor: pointer; transition: transform .25s var(--ex-ease), box-shadow .25s ease; }
body.cinematic-home .enquiry-submit:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(251, 176, 45, .5); }
body.cinematic-home .enquiry-note { margin: 4px 0 0 !important; font-size: .85rem !important; color: var(--cine-muted) !important; }
body.cinematic-home .enquiry-error { color: #B3261E; font-size: .88rem; min-height: 1.1em; margin: 0; }
@media (max-width: 860px) { body.cinematic-home .enquiry-layout { grid-template-columns: 1fr; } body.cinematic-home .enquiry-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
body.cinematic-home .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
body.cinematic-home .faq-list { display: grid; gap: 14px; }
body.cinematic-home .faq-item { background: #fff; border: 1px solid rgba(3, 4, 94, .1); border-radius: 18px; overflow: hidden; transition: box-shadow .35s ease, border-color .35s ease; }
body.cinematic-home .faq-item[open] { border-color: var(--ex-cyan); box-shadow: 0 18px 44px rgba(0, 180, 216, .18); }
body.cinematic-home .faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; color: var(--ex-navy); font: 700 1.05rem var(--cine-sans); }
body.cinematic-home .faq-item summary::-webkit-details-marker { display: none; }
body.cinematic-home .faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ex-light); color: var(--ex-blue); font-size: 1.4rem; line-height: 1; transition: transform .35s var(--ex-ease), background .35s ease; }
body.cinematic-home .faq-item[open] summary::after { transform: rotate(45deg); background: var(--ex-cta); color: var(--ex-navy); }
body.cinematic-home .faq-answer { padding: 0 24px 22px; color: var(--cine-soft); line-height: 1.7; }
body.cinematic-home .faq-answer a { color: var(--ex-blue); font-weight: 600; }
@keyframes exFaqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-item[open] .faq-answer { animation: exFaqIn .4s var(--ex-ease); }
@media (max-width: 860px) { body.cinematic-home .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Chatbot ---------- */
.ex-chat-btn {
  position: fixed; right: 20px; bottom: 150px; z-index: 950; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--ex-blue), var(--ex-cyan)); color: #fff; font: 700 .95rem "Manrope", system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 16px 40px rgba(2, 62, 186, .45); transition: transform .3s var(--ex-ease), box-shadow .3s ease;
}
.ex-chat-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(2, 62, 186, .55); }
.ex-chat-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .ex-chat-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--ex-cyan); animation: exPulse 2.4s ease-out infinite; pointer-events: none; } }
@keyframes exPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
@media (min-width: 861px) { .ex-chat-btn { bottom: 92px; } }
.ex-chat { position: fixed; right: 20px; bottom: 150px; z-index: 960; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: none; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(3, 4, 94, .35); border: 1px solid rgba(3, 4, 94, .12); font-family: "Manrope", system-ui, sans-serif; }
.ex-chat.is-open { display: flex; animation: exChatIn .35s var(--ex-ease); }
@media (min-width: 861px) { .ex-chat { bottom: 92px; } }
@keyframes exChatIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.ex-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--ex-navy); color: #fff; }
.ex-chat-head strong { display: block; font-size: 1rem; }
.ex-chat-head small { color: var(--ex-light); font-size: .78rem; }
.ex-chat-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; cursor: pointer; }
.ex-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; background: #F4FBFE; min-height: 220px; }
.ex-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; color: var(--ex-navy); background: #fff; border: 1px solid rgba(3, 4, 94, .08); white-space: pre-line; }
.ex-msg.bot { border-bottom-left-radius: 4px; justify-self: start; }
.ex-msg.user { border-bottom-right-radius: 4px; justify-self: end; background: var(--ex-blue); color: #fff; border-color: transparent; }
.ex-msg a { color: var(--ex-blue); font-weight: 700; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; background: #fff; border-top: 1px solid rgba(3, 4, 94, .08); }
.ex-chip { padding: 8px 14px; border: 1.5px solid var(--ex-cyan); border-radius: 999px; background: #fff; color: var(--ex-blue); font: 600 .82rem "Manrope", system-ui, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ex-chip:hover { background: var(--ex-cyan); color: #fff; }
.ex-chat-form { display: flex; gap: 8px; padding: 10px 16px 14px; background: #fff; }
.ex-chat-form input { flex: 1; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(3, 4, 94, .2); border-radius: 999px; font: 500 .95rem "Manrope", system-ui, sans-serif; color: var(--ex-navy); }
.ex-chat-form input:focus { outline: none; border-color: var(--ex-blue); }
.ex-chat-form button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ex-cta); color: var(--ex-navy); font: 700 .9rem "Manrope", system-ui, sans-serif; cursor: pointer; }
.ex-wa-link { display: inline-flex; margin-top: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ex-cta); color: var(--ex-navy) !important; font-weight: 700; text-decoration: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ex-orb, .ex-chat-btn::after { animation: none !important; }
  .journey-steps li, .faq-item[open] .faq-answer, .ex-chat.is-open { transition: none !important; animation: none !important; }
}

@media (max-width: 560px) { .ex-chat-btn { width: 56px; padding: 0; justify-content: center; right: 14px; } .ex-chat-btn span { display: none; } .ex-chat { right: 12px; } }

/* ---------- Hero photo slideshow ---------- */
body.cinematic-home .hero-slide { opacity: 0; transition: opacity 1.8s ease-in-out; }
body.cinematic-home .hero-slide.is-on { opacity: 1; }
body.cinematic-home .hero-slide[data-slide="0"] { opacity: 1; }
body.cinematic-home .hero-slide[data-slide="0"]:not(.is-on) { opacity: 0; }
body.cinematic-home .hero-slide:not([data-slide="0"]) img { animation: none !important; transform: scale(1.08); }
body.cinematic-home .hero-slide.is-on img { animation: cineKenBurns 14s ease-out both !important; transform: none; }
body.cinematic-home .hero-slide[data-slide="2"] img { object-position: center 38% !important; }
.hero-dots { position: absolute; right: 28px; bottom: 26px; z-index: 4; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(3, 4, 94, .3); cursor: pointer; transition: width .35s ease, background .35s ease; }
.hero-dots button.is-on { width: 30px; background: #FBB02D; }
.hero-dots button:focus-visible { outline: 2px solid #023EBA; outline-offset: 3px; }
@media (max-width: 860px) { .hero-dots { right: 50%; transform: translateX(50%); bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { body.cinematic-home .hero-slide { transition: none; } .hero-dots { display: none; } }

/* ---------- Student success carousel ---------- */
body.cinematic-home .student-success-more { display: block !important; position: relative; margin-top: 18px !important; }
body.cinematic-home .success-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: #00B4D8 transparent; }
body.cinematic-home .success-track::-webkit-scrollbar { height: 6px; }
body.cinematic-home .success-track::-webkit-scrollbar-thumb { background: #00B4D8; border-radius: 999px; }
body.cinematic-home .success-track .student-success-card { flex: 0 0 clamp(210px, 22vw, 270px) !important; min-height: 380px !important; scroll-snap-align: start; }
body.cinematic-home .success-track .student-success-card img { object-position: center 24% !important; }
body.cinematic-home .success-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
body.cinematic-home .success-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #023EBA; background: #fff; color: #023EBA; font-size: 1.25rem; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
body.cinematic-home .success-nav button:hover { background: #023EBA; color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { body.cinematic-home .success-track .student-success-card { flex-basis: 72vw !important; min-height: 340px !important; } }

/* ---------- Film strip: continuous moving gallery ---------- */
body.cinematic-home .institute-gallery { display: block !important; overflow: hidden !important; }
body.cinematic-home .film-track { display: flex; gap: 14px; width: max-content; will-change: transform; animation: filmMove 70s linear infinite; }
body.cinematic-home .film-track .gallery-item { flex: 0 0 clamp(240px, 24vw, 320px) !important; }
body.cinematic-home .institute-gallery:hover .film-track,
body.cinematic-home .institute-gallery:focus-within .film-track { animation-play-state: paused; }
@keyframes filmMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 560px) { body.cinematic-home .film-track .gallery-item { flex-basis: 68vw !important; } body.cinematic-home .film-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) {
  body.cinematic-home .institute-gallery { overflow-x: auto !important; }
  body.cinematic-home .film-track { animation: none; }
  body.cinematic-home .film-track .gallery-item[aria-hidden="true"] { display: none; }
}

/* ---------- Certificate wall: continuous marquee moving the other way ---------- */
body.cinematic-home .student-success-more { overflow: visible; }
body.cinematic-home .cert-marquee { position: relative; overflow: hidden; padding: 6px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
body.cinematic-home .cert-track { display: flex; gap: 16px; width: max-content; will-change: transform; animation: certMove 95s linear infinite; }
body.cinematic-home .cert-track .student-success-card { flex: 0 0 clamp(210px, 22vw, 270px) !important; min-height: 380px !important; }
body.cinematic-home .cert-track .student-success-card img { object-position: center 24% !important; }
body.cinematic-home .cert-marquee:hover .cert-track, body.cinematic-home .cert-marquee:focus-within .cert-track { animation-play-state: paused; }
@keyframes certMove { from { transform: translateX(calc(-50% - 8px)); } to { transform: translateX(0); } }
@media (max-width: 560px) { body.cinematic-home .cert-track .student-success-card { flex-basis: 66vw !important; min-height: 340px !important; } body.cinematic-home .cert-track { animation-duration: 70s; } }
@media (prefers-reduced-motion: reduce) { body.cinematic-home .cert-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } body.cinematic-home .cert-track { animation: none; } body.cinematic-home .cert-track .gallery-item[aria-hidden="true"] { display: none; } }

/* ---------- Certificate verification band with QR ---------- */
body.cinematic-home .cert-verify-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: 40px !important; padding: clamp(26px, 5vw, 56px) !important; border-radius: 28px; background: linear-gradient(135deg, #03045E 0%, #023EBA 100%); color: #fff; position: relative; overflow: hidden; box-shadow: 0 30px 70px rgba(3, 4, 94, .28); }
body.cinematic-home .cert-verify-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 216, .5), rgba(0, 180, 216, 0) 70%); pointer-events: none; }
body.cinematic-home .cert-band-copy { position: relative; z-index: 1; }
body.cinematic-home .cert-band-copy .eyebrow { color: #00B4D8 !important; }
body.cinematic-home .cert-band-copy h3 { margin: 10px 0 14px !important; color: #fff !important; font: 400 clamp(1.8rem, 3.6vw, 2.8rem)/1.05 var(--cine-display) !important; text-transform: uppercase; letter-spacing: .01em !important; }
body.cinematic-home .cert-band-copy h3 em { color: #FBB02D; font-family: var(--cine-serif); font-style: italic; text-transform: none; }
body.cinematic-home .cert-band-copy p:not(.eyebrow) { color: #CAF0F8 !important; max-width: 52ch; line-height: 1.7; }
body.cinematic-home .cert-band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
body.cinematic-home .cert-band-actions .btn.secondary { color: #fff !important; border-color: rgba(255, 255, 255, .55) !important; }
body.cinematic-home .cert-band-actions .btn.secondary:hover { border-color: #FBB02D !important; color: #FBB02D !important; }
body.cinematic-home .cert-qr { position: relative; z-index: 1; display: grid; place-items: center; }
body.cinematic-home .cert-qr-card { width: min(240px, 100%); padding: 16px 16px 14px; background: #fff; border-radius: 22px; text-align: center; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
body.cinematic-home .cert-qr-card img { display: block; width: 100%; height: auto; border-radius: 8px; }
body.cinematic-home .cert-qr-card strong { display: block; margin-top: 10px; color: #03045E; font: 700 .92rem var(--cine-sans); letter-spacing: .04em; }
body.cinematic-home .cert-badge { position: absolute; z-index: 2; top: -14px; right: 12%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #FBB02D; color: #03045E; font-size: 1.6rem; font-weight: 800; box-shadow: 0 10px 24px rgba(251, 176, 45, .55); }
@media (prefers-reduced-motion: no-preference) {
  body.cinematic-home .cert-qr-card { animation: certFloat 5s ease-in-out infinite alternate; }
  body.cinematic-home .cert-badge { animation: certPulse 2.4s ease-in-out infinite; }
}
@keyframes certFloat { from { transform: translateY(-6px) rotate(-1.2deg); } to { transform: translateY(8px) rotate(1.2deg); } }
@keyframes certPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 860px) { body.cinematic-home .cert-verify-band { grid-template-columns: 1fr; } body.cinematic-home .cert-badge { right: 22%; } }

/* ---------- Certificate wall = same film-strip theme as "Behind the Scenes" ---------- */
body.cinematic-home .student-success-more { overflow: visible !important; }
body.cinematic-home .cert-marquee {
  position: relative;
  width: calc(100% + 80px);
  margin-inline: -40px;
  padding: 44px 16px !important;
  background: var(--cine-black) !important;
  transform: rotate(1.2deg);
  overflow: hidden !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
body.cinematic-home .cert-marquee::before,
body.cinematic-home .cert-marquee::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(3, 4, 94, .28) 0 22px, transparent 22px 44px);
}
body.cinematic-home .cert-marquee::before { top: 16px; }
body.cinematic-home .cert-marquee::after { bottom: 16px; }
body.cinematic-home .cert-track .student-success-card {
  flex: 0 0 clamp(240px, 24vw, 320px) !important;
  height: 320px !important;
  min-height: 0 !important;
  border-radius: 4px !important;
}
@media (max-width: 560px) { body.cinematic-home .cert-track .student-success-card { flex-basis: 68vw !important; } }
@media (prefers-reduced-motion: reduce) { body.cinematic-home .cert-marquee { transform: none; overflow-x: auto !important; } }

/* Student success feature photo: show the whole (landscape) group photo, sharp and uncropped */
body.cinematic-home .student-success-feature { min-height: 0 !important; aspect-ratio: 1400 / 788; align-self: start; height: auto !important; }
body.cinematic-home .student-success-feature img { object-fit: cover !important; object-position: center 50% !important; image-rendering: auto; }
body.cinematic-home .student-success-feature { height: 0 !important; padding: 0 0 56.29% 0 !important; aspect-ratio: auto !important; align-self: start; }
body.cinematic-home .student-success-feature picture, body.cinematic-home .student-success-feature img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (min-width: 861px) {
  body.cinematic-home .student-success-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr) !important; align-items: stretch !important; }
  body.cinematic-home .student-success-portraits { grid-template-rows: 1fr 1fr !important; align-self: stretch !important; }
  body.cinematic-home .student-success-portraits .student-success-card { min-height: 0 !important; height: auto !important; }
}

/* Certificate wall spans the full page width, exactly like the "Behind the Scenes" film strip */
body.cinematic-home .container.student-success-more { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }
body.cinematic-home .container.student-success-more .cert-marquee { width: calc(100% + 80px); margin-inline: -40px; }

/* ---------- Audit fixes ---------- */
:root { --cine-pad: clamp(56px, 6.5vw, 100px); }
body.cinematic-home .course-ticker-list li { color: var(--cine-soft) !important; font-weight: 600; }
body.cinematic-home .service-status-card.online, body.cinematic-home .service-status-card.online * { color: var(--cine-text) !important; }

/* Student Lookup tile: dark text on the yellow CTA card */
body.cinematic-home .service-status-card.online span,
body.cinematic-home .service-status-card.online small,
body.cinematic-home .service-status-card.online strong,
body.cinematic-home .service-status-card.online p { color: var(--cine-text) !important; }

/* Hero slide dots: bigger touch area, same small look */
.hero-dots button { position: relative; width: 24px; height: 24px; background: transparent !important; border: 0; }
.hero-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: rgba(3, 4, 94, .3); transition: width .35s ease, margin .35s ease, background .35s ease; }
.hero-dots button.is-on { width: 40px; }
.hero-dots button.is-on::after { width: 30px; margin-left: -15px; background: #FBB02D; }

/* ---------- Phones: much shorter page ---------- */
@media (max-width: 720px) {
  :root { --cine-pad: 44px; }
  body.cinematic-home #homeCourses { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important; padding: 4px 2px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  body.cinematic-home #homeCourses .course-card { flex: 0 0 80% !important; scroll-snap-align: center; min-height: 0 !important; }
  body.cinematic-home .section-heading-row { margin-bottom: 20px !important; }
  body.cinematic-home .institute-intro { margin-bottom: 28px !important; }
  body.cinematic-home .student-success-heading { margin-bottom: 24px !important; }
  body.cinematic-home .cert-verify-band { margin-top: 24px !important; }
  body.cinematic-home .read-more-link, body.cinematic-home .google-review-card a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------- Courses page filter ---------- */
.course-card[hidden] { display: none !important; }
.course-filter { display: grid; gap: 14px; margin: 0 0 28px; }
.course-search { width: min(100%, 520px); min-height: 52px; padding: 0 20px; border: 1.5px solid rgba(3, 4, 94, .2); border-radius: 999px; background: #fff; color: #03045E; font: 500 1rem "Manrope", system-ui, sans-serif; }
.course-search:focus { outline: none; border-color: #023EBA; box-shadow: 0 0 0 4px rgba(0, 180, 216, .25); }
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.course-chip { min-height: 42px; padding: 0 18px; border: 1.5px solid rgba(3, 4, 94, .2); border-radius: 999px; background: #fff; color: #03045E; font: 700 .88rem "Manrope", system-ui, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.course-chip:hover { border-color: #00B4D8; background: #E6F7FB; }
.course-chip[aria-pressed="true"] { background: #03045E; border-color: #03045E; color: #fff; }
.course-filter-note { margin: 0 !important; color: #4F6393 !important; font-size: .9rem !important; }

/* ---------- Phones: compact course cards, bigger footer/breadcrumb tap targets ---------- */
@media (max-width: 720px) {
  body.cinematic-inner .all-courses-grid { gap: 12px !important; }
  body.cinematic-inner .all-courses-grid .course-card { padding: 18px !important; min-height: 0 !important; }
  body.cinematic-inner .all-courses-grid .course-card .course-mark { display: none !important; }
  body.cinematic-inner .all-courses-grid .course-card::after { display: none !important; }
  body.cinematic-home .site-footer a, body.cinematic-inner .site-footer a { padding-block: 11px; }
  body.cinematic-inner .course-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; }
  body.cinematic-home .cert-qr-card { width: min(190px, 100%); }
}

body.cinematic-home .course-card[hidden], body.cinematic-inner .course-card[hidden], body.cinematic-home .all-courses-grid .course-card[hidden] { display: none !important; }


body.cinematic-home .batch-timetable strong, body.cinematic-home .batch-timetable span, body.cinematic-home .batch-timetable p { text-wrap: balance; }
@media (max-width: 720px) { body.cinematic-home .batch-timetable strong { font-size: 1.1rem !important; line-height: 1.15; } }


@media (max-width: 720px) { body.cinematic-home .batch-timetable > span { font-size: 1.12rem !important; line-height: 1.15 !important; text-wrap: balance; } }


/* ---------- Menu views: hidden sections stay hidden even against old display rules ---------- */
main > section[hidden],
body.cinematic-home main > section[hidden],
body.cinematic-home main > section.hero[hidden],
body.cinematic-home main > section.hero.hero-premium[hidden] { display: none !important; }
body[data-view="courses"] main > section:first-of-type,
body[data-view="batches"] main > section:first-of-type,
body[data-view="contact"] main > section:first-of-type { padding-top: clamp(40px, 6vw, 80px); }
