/* ==========================================================================
   Biraja Nursing College – site styles (loaded after Bootstrap)
   ========================================================================== */

/* Fonts (self-hosted, latin subset) ---------------------------------------- */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }

/* Design tokens ------------------------------------------------------------ */
:root {
  --navy: #1F3A82;
  --navy-deep: #14245A;
  --yellow: #FFD400;
  --red: #8E1230;
  --red-deep: #6E0B25;
  --bg-soft: #F2F4FA;
  --line: #D6DDEC;
  --text: #26334F;
  --muted: #5B6885;
  --white: #fff;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(11, 33, 93, .10);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-body-bg: #fff;
  --bs-link-color: var(--navy);
  --bs-link-hover-color: var(--navy-deep);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
picture { display: contents; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: .2px; color: var(--navy); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.container-xl { max-width: 1280px; padding-left: 16px; padding-right: 16px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--yellow); color: var(--navy-deep);
  padding: .6rem 1rem; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 8px; }

/* Buttons ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  border-radius: 999px; padding: .65rem 1.4rem; min-height: 44px; border: 2px solid transparent; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); box-shadow: 0 4px 14px rgba(255, 212, 0, .35); }
.btn-yellow:hover { background: #FFE033; color: var(--navy-deep); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-outline-light-pill { color: #fff; border-color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .06); }
.btn-outline-light-pill:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { color: var(--navy); border-color: var(--navy); background: #fff; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-apply { background: var(--red); color: #fff; padding: .6rem 1.2rem; box-shadow: 0 4px 12px rgba(200, 16, 46, .3); }
.btn-apply:hover { background: var(--red-deep); color: #fff; }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--navy-deep); color: #fff; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 36px; }
.topbar__item { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__item .icon { color: var(--yellow); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar__sep { opacity: .5; }
.topbar__social { gap: .5rem; }
.topbar__follow { margin-right: .15rem; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; text-decoration: none; }
.social-btn:hover { background: rgba(255, 255, 255, .15); color: var(--yellow); }
.social-btn.is-inactive { cursor: default; opacity: .75; }
.social-btn.is-inactive:hover { background: none; color: #fff; }

/* Main navigation ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 14px rgba(6, 22, 67, .12); }
.mainbar { padding: .45rem 0; }
.mainbar > .container-xl { gap: .75rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-width: 0; }
.brand__crest { width: 52px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--navy); letter-spacing: .5px; }
.brand__sub { font-family: var(--font-display); font-weight: 800; font-size: .78rem; color: var(--navy); letter-spacing: .3px; margin-top: 2px; white-space: nowrap; }
.brand__addr { display: none; font-size: .66rem; color: var(--text); margin-top: 3px; font-family: var(--font-body); white-space: nowrap; }
.mainbar__toggle { border: 2px solid var(--navy); color: var(--navy); border-radius: 10px; min-width: 46px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.mainbar__toggle:focus-visible { box-shadow: 0 0 0 4px var(--yellow); }

.menu-drawer { background: var(--navy-deep); color: #fff; width: min(86vw, 340px) !important; }
.menu-drawer .offcanvas-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.main-nav .nav-link { color: #fff; font-weight: 600; padding: .85rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; }
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--yellow); }
.main-nav .nav-link.active { color: var(--yellow); }
.main-nav .dropdown-toggle::after { margin-left: .5rem; }
.main-nav .dropdown-menu { background: rgba(255, 255, 255, .06); border: 0; border-radius: 0; padding: .25rem 0 .5rem .75rem; margin: 0; position: static !important; transform: none !important; }
.main-nav .dropdown-item { color: #DCE4F7; padding: .6rem .5rem; white-space: normal; }
.main-nav .dropdown-item:hover { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.menu-drawer .btn-apply { width: 100%; margin-top: 1.25rem; min-height: 48px; }
.drawer-contact { margin-top: 1.5rem; display: grid; gap: .6rem; font-size: .92rem; }
.drawer-contact a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .55rem; padding: .25rem 0; }
.drawer-contact .icon { color: var(--yellow); }
.drawer-contact__title { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); margin: 0; font-weight: 700; }

@media (min-width: 1200px) {
  .mainbar { padding: .5rem 0; }
  .brand__crest { width: 64px; }
  .brand__name { font-size: 2rem; }
  .brand__sub { font-size: .92rem; }
  .brand__addr { display: block; }
  .menu-drawer { background: transparent; color: inherit; width: auto !important; flex-grow: 1; }
  .menu-drawer .offcanvas-body { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: 0; overflow: visible; }
  .main-nav { flex-direction: row; align-items: center; gap: .1rem; }
  .main-nav .nav-link { width: auto; color: var(--navy-deep); font-size: .82rem; font-weight: 700; padding: .5rem .6rem; border: 0; border-radius: 6px; }
  .main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--navy); background: var(--bg-soft); }
  .main-nav .nav-link.active { background: var(--yellow); color: var(--navy-deep); }
  .main-nav .dropdown-toggle::after { margin-left: .3em; border-width: .28em .26em 0; }
  .main-nav .dropdown-menu { position: absolute !important; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: .4rem; min-width: 220px; margin-top: .4rem !important; }
  .main-nav .dropdown-item { color: var(--navy-deep); border-radius: 6px; padding: .5rem .75rem; font-weight: 600; font-size: .88rem; }
  .main-nav .dropdown-item:hover { background: var(--bg-soft); color: var(--navy); }
  .menu-drawer .btn-apply { width: auto; margin: 0; min-height: 42px; font-size: .86rem; padding: .55rem 1.05rem; }
}
@media (min-width: 1400px) {
  .main-nav .nav-link { font-size: .9rem; padding: .5rem .75rem; }
  .main-nav { gap: .25rem; }
  .brand__name { font-size: 2.15rem; }
}

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero__media { position: relative; order: 1; aspect-ratio: 2 / 1; max-height: 300px; width: 100%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 67, .15) 0%, rgba(6, 22, 67, .35) 55%, var(--navy-deep) 100%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.hero__inner { order: 2; position: relative; padding-top: .5rem; padding-bottom: 1.75rem; }
.hero__eyebrow { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #E5EBFF; margin: 0 0 .35rem; }
.hero__title { font-size: clamp(2.5rem, 12vw, 3.6rem); line-height: .95; text-transform: uppercase; color: #fff; margin: 0 0 .85rem; }
.hero__title span { color: var(--yellow); }
.hero__lead { max-width: 34rem; color: #E5EBFF; margin-bottom: 1.15rem; font-size: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__cta .btn { flex: 1 1 100%; }
.hero__script { display: none; }

.quick-actions { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.quick-actions a { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; font-size: .76rem; font-weight: 700;
  color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: .65rem .35rem; min-height: 44px; }
.quick-actions a:hover { background: rgba(255, 255, 255, .16); }
.quick-actions__ico { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }

@media (min-width: 576px) {
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__media { max-height: 360px; }
}
@media (min-width: 992px) {
  .hero { display: block; min-height: clamp(400px, 31vw, 470px); background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 100%); }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; max-height: none; aspect-ratio: auto; }
  .hero__media::after { background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(6, 22, 67, .78) 22%, rgba(6, 22, 67, .2) 55%, rgba(6, 22, 67, 0) 100%); }
  .hero__inner { position: relative; display: flex; align-items: center; min-height: inherit; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero__content { max-width: 600px; position: relative; z-index: 2; }
  .hero__title { font-size: clamp(3.4rem, 5.4vw, 4.8rem); }
  .hero__lead { font-size: 1.05rem; }
  .quick-actions { position: absolute; right: 16px; bottom: 18px; margin: 0; display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(6, 22, 67, .3); padding: .25rem .6rem; width: 168px; z-index: 3; }
  .quick-actions li + li { border-top: 1px solid var(--line); }
  .quick-actions a { flex-direction: row; justify-content: flex-start; text-align: left; background: none; border: 0; color: var(--navy-deep); padding: .6rem .1rem; gap: .6rem; font-size: .82rem; }
  .quick-actions a:hover { background: none; color: var(--red); }
  .hero__script { display: block; position: absolute; top: 28px; right: 32px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.75rem; line-height: 1.1; color: #fff; text-align: right; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); margin: 0; z-index: 3; }
}

/* Feature strip ------------------------------------------------------------ */
.feature-strip { background: #EAF0FF; border-bottom: 1px solid var(--line); }
.feature-strip__list { list-style: none; margin: 0; padding: 1rem 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
.feature-strip__item { display: flex; align-items: center; gap: .8rem; }
.feature-strip__item strong { display: block; color: var(--navy-deep); font-size: .95rem; line-height: 1.25; }
.feature-strip__text { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.round-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.round-ico .icon { width: 22px; height: 22px; }
@media (min-width: 576px) { .feature-strip__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .feature-strip__list { grid-template-columns: repeat(4, 1fr); padding: 1.1rem 0; gap: 0; }
  .feature-strip__item { padding: 0 1.1rem; }
  .feature-strip__item + .feature-strip__item { border-left: 1px solid #C9D5F2; }
  .feature-strip__item:first-child { padding-left: 0; }
}

/* Generic section ---------------------------------------------------------- */
.section { padding: 2rem 0; }
.section-title { font-size: clamp(1.7rem, 5vw, 2.1rem); text-transform: uppercase; margin: 0 0 .7rem; }
.eyebrow-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 5vw, 2.1rem); text-transform: uppercase; color: var(--navy); margin: 0; line-height: 1.1; }
.eyebrow-title + .section-title { color: var(--navy); }
.fineprint { font-size: .78rem; color: var(--muted); margin: .9rem 0 0; }

/* Courses ------------------------------------------------------------------ */
.section--courses { padding-top: 1.75rem; background: #fff; }
.course-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.course-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--c, var(--navy)); }
.course-card--red { --c: var(--red); }
.course-card--blue { --c: var(--navy); }
.course-card__photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.course-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-card__photo img.pos-left { object-position: 35% 50%; }
.course-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; flex: 1; }
.course-card__title { margin: 0; font-size: 2rem; text-transform: uppercase; color: var(--c); line-height: 1; }
.seat-row { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .55rem; }
.seat-pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--yellow); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; padding: .15rem .95rem .15rem .2rem; border-radius: 999px; line-height: 1; box-shadow: 0 3px 10px rgba(255, 212, 0, .4); }
.seat-pill strong { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--navy-deep); color: var(--yellow); font-size: 1.45rem; font-weight: 800; }
.seat-flag { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #7A5B00; background: #FFF3BF; border: 1px dashed #D9A800; border-radius: 999px; padding: .12rem .55rem; }
.check-list { list-style: none; margin: .2rem 0 .4rem; padding: 0; display: grid; gap: .4rem; font-size: .85rem; }
.check-list li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.35; }
.check-list .icon { color: #fff; background: var(--c); border-radius: 50%; padding: 2px; width: 17px; height: 17px; margin-top: 1px; stroke-width: 3.5; }
.btn-course { background: var(--c); color: #fff; padding: .45rem 1.1rem; font-size: .85rem; min-height: 40px; margin-top: auto; border-radius: 8px; }
.btn-course:hover { color: #fff; filter: brightness(1.15); }

.video-card { position: relative; border-radius: 16px; overflow: hidden; min-height: 220px; background: var(--navy-deep); box-shadow: var(--shadow); isolation: isolate; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 67, .15), rgba(6, 22, 67, .65)); z-index: -1; }
.video-card__play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(11, 33, 93, .85);
  border: 3px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.video-card__play .icon { width: 28px; height: 28px; margin-left: 3px; }
.video-card__label { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .65rem 1rem; background: rgba(6, 22, 67, .85); color: #fff; font-size: .85rem; font-weight: 700; text-align: center; }

@media (min-width: 576px) {
  .course-card { flex-direction: row; }
  .course-card__photo { aspect-ratio: auto; width: 40%; flex: none; }
}
@media (min-width: 768px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { grid-column: 1 / -1; min-height: 260px; }
}
@media (min-width: 1200px) {
  .course-grid { grid-template-columns: 1.2fr 1.2fr 1fr; }
  .video-card { grid-column: auto; min-height: 0; }
  .course-card { flex-direction: row; }
  .course-card__photo { width: 42%; }
  .course-card__title { font-size: 1.9rem; }
}

/* Stats strip -------------------------------------------------------------- */
.stats-strip { background: var(--navy); color: #fff; }
.stats-strip__list { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; gap: 1rem .75rem; grid-template-columns: repeat(2, 1fr); }
.stats-strip__list li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.stats-strip__list strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.stats-strip__list small { display: block; font-size: .74rem; color: #C9D5F2; line-height: 1.25; margin-top: 2px; }
.stats-strip__ico { color: var(--yellow); flex: none; display: inline-flex; }
.stats-strip__ico .icon { width: 30px; height: 30px; }
@media (min-width: 768px) { .stats-strip__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) {
  .stats-strip__list { grid-template-columns: repeat(6, 1fr); gap: 0; padding: 1.2rem 0; }
  .stats-strip__list li { padding: 0 .9rem; }
  .stats-strip__list li + li { border-left: 1px solid rgba(255, 255, 255, .15); }
  .stats-strip__list li:first-child { padding-left: 0; }
}

/* Why choose us ------------------------------------------------------------ */
.section--why { background: #fff; padding: 2.25rem 0; }
.why { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
.why__intro p { color: var(--text); max-width: 34rem; }
.why__intro .btn { margin-top: .5rem; }
.why__tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.why-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .55rem; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem .6rem; font-weight: 700; font-size: .85rem; color: var(--navy-deep); line-height: 1.25; min-height: 112px; transition: transform .15s ease, box-shadow .15s ease; }
.why-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.why-tile__ico { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E7ECFF; color: var(--navy); }
.why-tile--1 .why-tile__ico { background: #E3EFFF; color: #155AC0; }
.why-tile--2 .why-tile__ico { background: #EFE7FF; color: #6A3CC4; }
.why-tile--3 .why-tile__ico { background: #FFE7E7; color: var(--red); }
.why-tile__ico .icon { width: 22px; height: 22px; }
@media (min-width: 992px) {
  .why { grid-template-columns: 1fr 1.35fr; gap: 2.5rem; }
  .why__tiles { grid-template-columns: repeat(4, 1fr); }
}

/* Notices / events / principal -------------------------------------------- */
.section--info { background: var(--bg-soft); }
.info-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(11, 33, 93, .05); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 1rem; color: #fff; }
.panel__head h2 { margin: 0; color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.panel__head a { color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; padding: .35rem 0; }
.panel__head a:hover { color: var(--yellow); }
.panel__head--red { background: var(--red); }
.panel__head--navy { background: var(--navy); }
.demo-pill { display: inline-block; margin: .55rem 1rem 0; padding: .1rem .6rem; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7A5B00; background: #FFF3BF; border: 1px dashed #D9A800; border-radius: 999px; }
.demo-pill--inline { margin: .25rem 0 0; }

.notice-list, .event-list { list-style: none; margin: 0; padding: .35rem 1rem .75rem; }
.notice-list li { display: grid; grid-template-columns: 44px auto 1fr; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list time { font-weight: 700; color: var(--navy-deep); white-space: nowrap; }
.notice-list__title { color: var(--text); line-height: 1.3; }
.tag-new { background: var(--red); color: #fff; font-size: .62rem; font-weight: 800; text-transform: uppercase; padding: .2rem 0; border-radius: 4px; text-align: center; letter-spacing: .04em; }
.tag-new--off { background: none; }

.event-list li { display: flex; align-items: center; gap: .85rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.event-list li:last-child { border-bottom: 0; }
.event-date { flex: none; width: 52px; text-align: center; background: var(--navy); color: #fff; border-radius: 8px; padding: .3rem 0; font-size: .72rem; line-height: 1.15; text-transform: uppercase; display: flex; flex-direction: column; }
.event-date strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.event-title { display: block; color: var(--navy-deep); font-size: .9rem; line-height: 1.3; }
.event-list small { color: var(--muted); font-size: .76rem; }

.principal { display: flex; gap: 1rem; padding: .75rem 1rem 1rem; font-size: .86rem; }
.principal p { margin: 0 0 .6rem; }
.principal__name { color: var(--navy-deep); }
.principal__name span { color: var(--muted); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: #E7ECFF; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar .icon { width: 55%; height: 55%; }
.avatar--lg { width: 88px; height: 88px; }

@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(2, 1fr); } .panel--principal { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .info-grid { grid-template-columns: 1.25fr 1fr 1.2fr; } .panel--principal { grid-column: auto; } }

/* Campus life gallery ------------------------------------------------------ */
.section--gallery { background: #fff; padding-bottom: 1.5rem; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: 1rem; }
.tab-title { margin: 0; background: var(--navy); color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .5px; padding: .5rem 1.4rem .5rem 1rem; border-radius: 6px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); font-weight: 700; }
.gallery-head__sub { margin: 0; font-weight: 700; color: var(--navy-deep); font-size: .9rem; flex: 1 1 auto; }
.gallery-head__sub::before { content: ""; display: inline-block; width: 4px; height: .9em; background: var(--yellow); margin-right: .5rem; vertical-align: -.1em; }
.gallery-head__link { font-weight: 700; font-size: .85rem; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; padding: .4rem 0; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.gallery-tile { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile__label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(6, 22, 67, .82); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; padding: .35rem .4rem; }
.gallery-tile--placeholder { border: 2px dashed #B8C5EA; background: repeating-linear-gradient(135deg, #F4F7FF 0 10px, #EAF0FF 10px 20px); }
.ph { position: absolute; inset: 0 0 28px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; color: var(--muted); text-align: center; }
.ph small { font-size: .72rem; }
@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); gap: .5rem; } .gallery-tile { aspect-ratio: 1 / .78; } }
@media (min-width: 992px) { .gallery-head__sub { flex: 0 1 auto; } .gallery-head__link { margin-left: auto; } }

/* Testimonials ------------------------------------------------------------- */
.section--testimonials { background: #fff; border-top: 1px solid var(--line); padding: 1.75rem 0 2rem; }
.testi { display: grid; gap: 1.1rem; grid-template-columns: 1fr; align-items: center; }
.testi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
.testi-card { display: flex; gap: .85rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; background: #fff; }
.testi-card blockquote { margin: 0; font-size: .85rem; color: var(--text); }
.testi-card blockquote p { margin: 0 0 .5rem; font-style: italic; }
.testi-card footer { display: flex; flex-direction: column; }
.testi-card footer strong { color: var(--navy); }
.testi-card footer span { font-size: .76rem; color: var(--muted); }
@media (min-width: 768px) { .testi__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .testi { grid-template-columns: .8fr 3fr; } .testi-card { flex-direction: row; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .testi-card { flex-direction: column; } }

/* CTA ---------------------------------------------------------------------- */
/* A navy card that straddles the page and the footer: the section background is split
   50/50 (page colour above, footer colour below) so the card appears to float. */
.cta { background: linear-gradient(180deg, #fff 50%, var(--navy-deep) 50%); padding: 0; position: relative; }
.section--testimonials + .cta, .page-section--soft + .cta { background: linear-gradient(180deg, var(--bg-soft) 50%, var(--navy-deep) 50%); }
.cta__card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; padding: 1.75rem 1.4rem;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: 20px; box-shadow: 0 22px 50px rgba(6, 22, 67, .35); color: #fff; }
.cta__card::before { content: ""; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 34px solid rgba(255, 212, 0, .14); z-index: -1; }
.cta__card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--yellow) 60%, var(--red) 60%); }
.cta h2 { margin: 0 0 .3rem; color: #fff; font-size: clamp(1.7rem, 5vw, 2.3rem); }
.cta p { margin: 0; color: #D5DFF7; font-size: .95rem; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: .7rem; width: 100%; }
.cta__buttons .btn { flex: 1 1 100%; }
@media (min-width: 576px) { .cta__buttons .btn { flex: 0 0 auto; } .cta__card { padding: 2rem 2rem 2rem 2.25rem; } }
@media (min-width: 992px) { .cta__card { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem 2.75rem; } .cta__text { flex: 1 1 0; min-width: 0; } .cta__buttons { width: auto; flex: 0 0 auto; flex-wrap: wrap; } }
@media (min-width: 1200px) { .cta__buttons { flex-wrap: nowrap; } }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #D5DFF7; font-size: .88rem; }
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; padding: 2.25rem 0 1.75rem; }
.footer-title { font-family: var(--font-display); font-size: 1.15rem; color: #fff; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 .8rem; font-weight: 700; position: relative; padding-bottom: .5rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.brand--footer .brand__name, .brand--footer .brand__sub { color: #fff; }
.brand--footer .brand__crest { width: 72px; }
.brand--footer .brand__addr { display: block; color: #C9D5F2; white-space: normal; margin-top: 5px; }
.footer-motto { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--yellow); margin: .9rem 0 .6rem; font-size: 1.05rem; }
.footer-social { display: flex; gap: .4rem; }
.footer-social .social-btn { background: rgba(255, 255, 255, .1); width: 36px; height: 36px; }
.footer-social .social-btn.is-inactive:hover { background: rgba(255, 255, 255, .1); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem .5rem; }
.footer-links--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-links a { color: #D5DFF7; text-decoration: none; display: inline-block; padding: .3rem 0; }
.footer-links a::before { content: "›"; color: var(--yellow); margin-right: .45rem; font-weight: 700; }
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover, .footer-maplink:hover { color: var(--yellow); }
.footer-contact { margin: 0; display: grid; gap: .7rem; font-style: normal; }
.footer-contact p { margin: 0; display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--yellow); margin-top: .2em; }
.footer-contact a, .footer-legal a, .footer-maplink { color: #D5DFF7; text-decoration: none; }
.footer-maplink { display: inline-flex; gap: .35rem; align-items: center; margin-top: .5rem; font-size: .8rem; }

.map-box { position: relative; border-radius: 10px; overflow: hidden; background: #0A2778; border: 1px solid rgba(255, 255, 255, .15); aspect-ratio: 16 / 10; max-width: 340px; }
.map-box--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem; padding: 1rem; color: #C9D5F2;
  background: repeating-linear-gradient(135deg, #0A2778 0 12px, #0C2C84 12px 24px); }
.map-box--placeholder .icon { color: var(--yellow); }
.map-box--placeholder span { color: #fff; font-weight: 700; }
.map-box--placeholder small { font-size: .74rem; }
.map-box__btn { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; text-align: center; cursor: pointer; color: #fff; padding: .75rem; }
.map-box__btn .icon { color: var(--yellow); }
.map-box__btn small { font-size: .72rem; color: #C9D5F2; }
.map-box__btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.footer-bottom { background: #021447; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.footer-bottom__inner { display: flex; flex-direction: column; gap: .35rem; padding-top: .9rem; padding-bottom: .9rem; text-align: center; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: #fff; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.footer-legal a { padding: .3rem 0; display: inline-block; }

@media (min-width: 576px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand, .footer-map-col { grid-column: auto; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1.3fr 1fr 1.4fr; } .footer-map-col { grid-column: 1 / -1; } .map-box { max-width: 420px; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr .8fr 1.3fr 1.1fr; } .footer-map-col { grid-column: auto; } .map-box { max-width: none; } }
@media (min-width: 992px) { .footer-bottom__inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Mobile quick-action bar -------------------------------------------------- */
.mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: grid; grid-template-columns: 1fr 1.4fr; box-shadow: 0 -4px 16px rgba(6, 22, 67, .25); padding-bottom: env(safe-area-inset-bottom); background: var(--navy-deep); }
.mobile-actions a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; font-weight: 800; text-decoration: none; font-size: .95rem; }
.mobile-actions__call { background: var(--navy); color: #fff; }
.mobile-actions__apply { background: var(--yellow); color: var(--navy-deep); }
/* Reserve room for the fixed bar inside the footer so no white strip shows beneath it */
.site-footer { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
@media (min-width: 1200px) { .site-footer { padding-bottom: 0; } }


/* ==========================================================================
   Visual enhancement layer: depth, rhythm and motion
   Motion rules: only transform / opacity (and a paint-only clip-path) are animated, hover
   effects are gated behind (hover: hover), and everything is disabled for
   prefers-reduced-motion (see the rule near the top of this file).
   ========================================================================== */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 4px 14px rgba(6, 22, 67, .08);
  --shadow-lg: 0 22px 46px rgba(6, 22, 67, .18);
}
html { scroll-padding-top: 96px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: .3px; }
p { text-wrap: pretty; }
::selection { background: var(--yellow); color: var(--navy-deep); }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Header: stays pinned; only the shadow/accent change on scroll, so nothing jumps ------ */
.site-header { transition: box-shadow .3s var(--ease); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; pointer-events: none; opacity: 0; transform: scaleX(.35); transform-origin: left;
  background: linear-gradient(90deg, var(--yellow) 0 60%, var(--red) 60% 100%); transition: opacity .3s ease, transform .6s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(6, 22, 67, .16); }
.site-header.is-scrolled::after { opacity: 1; transform: scaleX(1); }
.brand__crest { transition: transform .3s var(--ease); transform-origin: left center; }
.site-header.is-scrolled .brand__crest { transform: scale(.9); }
.scroll-sentinel { position: absolute; left: 0; width: 1px; pointer-events: none; visibility: hidden; }
@media (min-width: 1200px) {
  .topbar { height: 36px; }
  .site-header { top: 0; }              /* top bar (phones, WhatsApp) and main bar stay pinned together */
  .main-nav .nav-link { position: relative; transition: background-color .2s ease, color .2s ease; }
  .main-nav .nav-link:not(.active)::before { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .main-nav .nav-link:not(.active):hover::before, .main-nav .nav-link.show::before { transform: scaleX(1); }
  .main-nav .dropdown-menu.show { animation: menuIn .18s var(--ease); }
}
/* Mobile drawer: items ease in one after another */
@media (max-width: 1199.98px) {
  .menu-drawer.show .main-nav > li { animation: rise .45s var(--ease) both; }
  .menu-drawer.show .main-nav > li:nth-child(2) { animation-delay: .04s; }
  .menu-drawer.show .main-nav > li:nth-child(3) { animation-delay: .08s; }
  .menu-drawer.show .main-nav > li:nth-child(4) { animation-delay: .12s; }
  .menu-drawer.show .main-nav > li:nth-child(5) { animation-delay: .16s; }
  .menu-drawer.show .main-nav > li:nth-child(6) { animation-delay: .2s; }
  .menu-drawer.show .main-nav > li:nth-child(7) { animation-delay: .24s; }
  .menu-drawer.show .main-nav > li:nth-child(8) { animation-delay: .28s; }
  .menu-drawer.show .main-nav > li:nth-child(9) { animation-delay: .32s; }
}

/* Buttons: one consistent interaction pattern ----------------------------------------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-yellow::after, .btn-red::after, .btn-apply::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%); transition: transform .7s var(--ease); }
.icon-arrow { transition: transform .25s var(--ease); }
.btn-yellow:focus-visible, .btn-red:focus-visible, .btn-apply:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--navy); }
@media (hover: hover) {
  .btn-yellow:hover::after, .btn-red:hover::after, .btn-apply:hover::after { transform: translateX(130%); }
  .btn:hover .icon-arrow, a:hover > .icon-arrow { transform: translateX(4px); }
}

/* Hero --------------------------------------------------------------------------------- */
.hero__media { overflow: hidden; }
.hero__img { animation: settle 1.8s var(--ease) both; }
.hero__eyebrow { display: flex; align-items: center; gap: .65rem; animation: rise .7s .05s var(--ease) both; }
.hero__eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }
.hero__title { text-shadow: 0 3px 22px rgba(6, 22, 67, .4); animation: rise .8s .14s var(--ease) both; }
.hero__lead { animation: rise .8s .28s var(--ease) both; }
.hero__cta { animation: rise .8s .4s var(--ease) both; }
.quick-actions { animation: rise .8s .52s var(--ease) both; }
.hero__inner { padding-bottom: 3.6rem; }
@media (min-width: 992px) {
  .hero__inner { padding-bottom: 4rem; }
  .hero__inner::before { content: ""; position: absolute; left: -200px; bottom: -240px; width: 440px; height: 440px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .05); pointer-events: none; }
  .quick-actions { bottom: 60px; }
}

/* Feature strip: a floating card that bridges the hero and the page ----------------------- */
.feature-strip { position: relative; z-index: 6; margin-top: -30px; background: transparent; border: 0; }
.feature-strip__list { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 44px rgba(6, 22, 67, .16); padding: 1.1rem 1.1rem; }
.round-ico { transition: transform .3s var(--ease), background-color .3s ease; }
@media (min-width: 992px) {
  .feature-strip { margin-top: -40px; }
  .feature-strip__list { padding: 1.3rem .5rem; }
  .feature-strip__item:first-child { padding-left: 1.1rem; }
}
@media (hover: hover) { .feature-strip__item:hover .round-ico { transform: scale(1.1) rotate(-6deg); background: var(--red); } }

/* Section headings and spacing ------------------------------------------------------------ */
.section { padding: 2.5rem 0; }
.section--courses { padding-top: 3rem; }
@media (min-width: 992px) { .section { padding: 3.5rem 0; } .section--courses { padding-top: 3.75rem; } }
.section-title::after, .page-h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--yellow); margin-top: .55rem; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2rem; }
.section-head .section-title::after { margin-left: auto; margin-right: auto; }
.section-head .section-title { margin-bottom: .75rem; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-kicker { margin: 0 0 .35rem; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* Course cards ---------------------------------------------------------------------------- */
.course-card { border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(6, 22, 67, .10); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.course-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 3; background: linear-gradient(90deg, var(--c) 0 72%, var(--yellow) 72% 100%); }
.course-card__photo { position: relative; }
.course-card__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 22, 67, 0) 55%, rgba(6, 22, 67, .28) 100%); }
.course-card__photo img { transition: transform .8s var(--ease); }
.course-card__body { gap: .65rem; padding-top: 1.2rem; }
.btn-course { border-radius: 999px; padding: .5rem 1.25rem; box-shadow: 0 6px 16px rgba(6, 22, 67, .2); }
.video-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.video-card img { transition: transform .8s var(--ease); }
.video-card__play { transition: transform .35s var(--ease), background-color .3s ease; }
@media (hover: hover) {
  .course-card:hover, .video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .course-card:hover .course-card__photo img, .video-card:hover img { transform: scale(1.07); }
  .video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--red); }
}

/* Stats strip: slanted edges give the page a flow instead of hard seams -------------------- */
.stats-strip { padding: 10px 0; clip-path: polygon(0 10px, 100% 0, 100% calc(100% - 10px), 0 100%); }
@media (min-width: 992px) { .stats-strip { padding: 14px 0; clip-path: polygon(0 14px, 100% 0, 100% calc(100% - 14px), 0 100%); } }
.stats-strip__ico { transition: transform .3s var(--ease); }
@media (hover: hover) { .stats-strip__list li:hover .stats-strip__ico { transform: translateY(-3px) scale(1.08); } }

/* Why choose us --------------------------------------------------------------------------- */
.section--why { position: relative; overflow: hidden; }
.section--why::before { content: ""; position: absolute; right: -130px; top: -150px; width: 400px; height: 400px; border-radius: 50%; border: 46px solid rgba(11, 33, 93, .04); pointer-events: none; }
.why { position: relative; }
.why-tile { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.why-tile::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); transform: scaleX(0); transition: transform .35s var(--ease); }
.why-tile__ico { transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
@media (hover: hover) {
  .why-tile:hover::after { transform: scaleX(1); }
  .why-tile:hover .why-tile__ico { background: var(--navy); color: var(--yellow); transform: scale(1.08); }
}

/* Notices, events, principal --------------------------------------------------------------- */
.panel { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.notice-list li, .event-list li { position: relative; margin: 0 -.5rem; padding-left: .5rem; padding-right: .5rem; border-radius: 8px; transition: background-color .2s ease; }
/* "Stretched link": the whole row is the tap target (comfortable on phones) */
.notice-list__title::after, .event-title::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.notice-list__title:focus-visible::after, .event-title:focus-visible::after { box-shadow: inset 0 0 0 3px var(--yellow); }
.notice-list__title:focus-visible, .event-title:focus-visible { outline: 0; box-shadow: none; }
.panel__head a { min-height: 40px; display: inline-flex; align-items: center; }
.notice-list li:hover, .event-list li:hover { background: var(--bg-soft); }
.notice-list__title, .event-title { color: var(--text); text-decoration: none; }
.event-title { display: block; font-weight: 700; color: var(--navy-deep); font-size: .9rem; line-height: 1.3; }
.notice-list__title:hover, .event-title:hover { color: var(--red); text-decoration: underline; }
.event-date { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); border-top: 3px solid var(--yellow); box-shadow: 0 4px 10px rgba(6, 22, 67, .22); }
@media (hover: hover) { .panel:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); } }

/* Campus gallery ---------------------------------------------------------------------------- */
.gallery-tile { box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.gallery-tile img { transition: transform .8s var(--ease); }
.gallery-tile__link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.gallery-tile__link::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: background .4s ease; background: linear-gradient(180deg, rgba(6, 22, 67, 0) 42%, rgba(6, 22, 67, .78) 100%); }
.gallery-tile__link:focus-visible { outline-offset: -6px; }
.gallery-tile__label { z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: .45rem; background: none; padding: .5rem .7rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.gallery-tile__label::before { content: ""; width: 3px; height: 1em; border-radius: 2px; background: var(--yellow); flex: none; }
.gallery-tile--placeholder .gallery-tile__label { background: rgba(6, 22, 67, .88); text-shadow: none; }
.ph .icon { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
@media (hover: hover) {
  .gallery-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .gallery-tile:hover img { transform: scale(1.08); }
  .gallery-tile__link:hover::after { background: linear-gradient(180deg, rgba(11, 33, 93, .3) 0%, rgba(6, 22, 67, .88) 100%); }
}

/* Testimonials ------------------------------------------------------------------------------- */
.section--testimonials { background: var(--bg-soft); border-top: 0; }
.testi-card { position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.testi-card::after { content: "\201D"; position: absolute; right: .8rem; top: -.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; color: rgba(11, 33, 93, .07); pointer-events: none; }
@media (hover: hover) { .testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }

/* Footer ---------------------------------------------------------------------------------------- */
.footer-grid { padding-top: 3rem; }
.footer-links a { padding: .5rem 0; transition: color .2s ease, transform .2s var(--ease); }
.gallery-head__link { min-height: 40px; display: inline-flex; align-items: center; }
.footer-social .social-btn { transition: transform .25s var(--ease), background-color .25s ease, color .25s ease; }
@media (hover: hover) {
  .footer-links a:hover { transform: translateX(4px); }
  .footer-social .social-btn:not(.is-inactive):hover { transform: translateY(-3px); background: var(--yellow); color: var(--navy-deep); }
}

/* Scroll reveal (classes are added by site.js only to below-the-fold elements) ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease), clip-path .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal--img { clip-path: inset(0 0 14% 0 round 12px); transform: translateY(16px); }
.reveal--scale { transform: translateY(24px) scale(.98); }
.reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 12px); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* Back-to-top ------------------------------------------------------------------------------------ */
.to-top { position: fixed; right: 16px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 1015; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(6, 22, 67, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s var(--ease), visibility 0s linear .3s, background-color .2s ease, color .2s ease; }
.to-top .icon { transform: rotate(-90deg); width: 1.3rem; height: 1.3rem; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:active { transform: scale(.94); }
@media (hover: hover) { .to-top:hover { background: var(--yellow); color: var(--navy-deep); } }
@media (min-width: 1200px) { .to-top { right: 24px; bottom: 24px; } }
.mobile-actions a:active { filter: brightness(.92); }

/* Hero slider (only rendered when more than one banner is active) -------------------------------- */
.hero-slide { display: none; }
.hero-slide.is-active { display: contents; }
.hero-controls { order: 3; position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: .7rem; margin: -2.7rem auto 0; padding-bottom: .35rem; }
.hero-controls__btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(6, 22, 67, .55); color: #fff; }
.hero-controls__btn:hover { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); }
.hero-controls__btn--prev .icon { transform: scaleX(-1); }
.hero-controls__dots { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.hero-controls__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; position: relative; }
.hero-controls__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .2s ease, transform .2s ease; }
.hero-controls__dots button[aria-current="true"]::before { background: var(--yellow); transform: scale(1.35); }
@media (min-width: 992px) {
  .hero-controls { position: absolute; right: calc(max(16px, (100% - 1280px) / 2 + 16px) + 184px); bottom: 66px; margin: 0; padding: 0; }   /* beside the quick-actions panel, clear of the headline and buttons */
}

/* Panels with no content yet, and the shared empty state ------------------------------------------ */
.panel__empty { margin: 0; padding: 1.4rem 1rem 1.6rem; color: var(--muted); font-size: .9rem; }
.empty-state { text-align: center; background: repeating-linear-gradient(135deg, #F4F7FF 0 10px, #EAF0FF 10px 20px); border: 2px dashed #B8C5EA; border-radius: var(--radius); padding: 2.5rem 1rem; color: var(--muted); }
.empty-state .icon { width: 3.4rem; height: 3.4rem; padding: .85rem; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); margin-bottom: .6rem; }
.empty-state p { margin: 0 auto; max-width: 34rem; }
.empty-state strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.empty-state--compact { padding: 1.5rem 1rem; }

/* No-JavaScript fallback: the drawer toggle cannot work without scripts, so below the desktop
   breakpoint the menu is shown inline and sub-menus are expanded. */
@media (scripting: none) and (max-width: 1199.98px) {
  .mainbar__toggle { display: none; }
  .mainbar > .container-xl { flex-wrap: wrap; }
  .mainbar .menu-drawer { position: static; visibility: visible !important; transform: none !important; width: 100% !important; height: auto; flex: 1 0 100%; border: 0; margin-top: .5rem; }
  .menu-drawer .offcanvas-header { display: none; }
  .menu-drawer .offcanvas-body { padding: .25rem 1rem 1rem; }
  .main-nav .dropdown-menu { display: block; }
  .main-nav .dropdown-toggle { pointer-events: none; }
  .main-nav .dropdown-toggle::after { display: none; }
}

/* Admin preview bar (only rendered inside /admin/preview.php) */
.preview-bar { position: sticky; top: 0; z-index: 2000; padding: .5rem 1rem; background: #FFF3BF; color: #5C4600; border-bottom: 2px dashed #D9A800; text-align: center; font-size: .88rem; }
.preview-bar a { color: #5C4600; font-weight: 700; margin-left: .5rem; }

/* Image-only banners (managed in the admin): just the picture, no text or buttons on top */
.hero.hero--banner { display: block; min-height: 0; background: var(--navy-deep); }
.hero--banner .hero-slide { display: none; }
.hero--banner .hero-slide.is-active { display: block; }
.hero-banner__img { display: block; width: 100%; height: auto; animation: settle 1.2s var(--ease) both; }
.hero--banner { overflow: hidden; }
.hero--banner .hero-controls { position: absolute; left: 50%; right: auto; bottom: 46px; transform: translateX(-50%); margin: 0; padding: 0; }
@media (min-width: 992px) { .hero--banner .hero-controls { bottom: 56px; right: auto; } }

/* Photo-only banner: the highlights strip sits below the picture instead of overlapping it */
.hero--banner ~ .feature-strip { margin-top: 1.5rem; }
.hero--banner .hero-controls { bottom: 14px; }
@media (min-width: 992px) { .hero--banner ~ .feature-strip { margin-top: 2rem; } .hero--banner .hero-controls { bottom: 18px; } }
/* Homepage copy blocks: welcome, course descriptions, why-choose items, CTA kicker, campus intro */
.section--welcome { background: #fff; }
.welcome { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
.welcome__text p { color: var(--text); max-width: 40rem; }
.welcome__tagline { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .3px; color: var(--red) !important; margin: 0 0 .75rem; }
.welcome__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem !important; }
.welcome__photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border-bottom: 5px solid var(--yellow); }
.welcome__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 992px) { .welcome { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.course-card__text { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--text); }
.why-tile strong { color: var(--navy-deep); font-size: .98rem; line-height: 1.25; }
.why-tile__text { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.why-tile { padding-top: 1.1rem; padding-bottom: 1.2rem; }
@media (min-width: 992px) { .why__tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .why__tiles { grid-template-columns: repeat(2, 1fr); } }
.cta__kicker { margin: 0 0 .3rem !important; font-size: .78rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow) !important; }
.cta__text p + p { margin-top: .5rem; }
.gallery-intro { margin: 0 0 1.1rem; max-width: 52rem; color: var(--text); }
/* Testimonials: optional student photo */
.avatar--photo { overflow: hidden; padding: 0; }
.avatar--photo picture, .avatar--photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Testimonials: sideways scroller (3 cards per view on desktop, 2 on tablet, 1 on phone) */
.testi { min-width: 0; }
.testi-slider { position: relative; min-width: 0; }
.testi-slider .testi__list { display: flex; grid-template-columns: none; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: .35rem .15rem .6rem; margin: 0 -.15rem; outline-offset: 4px; }
.testi-slider .testi__list::-webkit-scrollbar { display: none; }
.testi-slider .testi-card { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; height: auto; }
@media (min-width: 768px) { .testi-slider .testi-card { flex-basis: calc((100% - .9rem) / 2); } }
@media (min-width: 1200px) { .testi-slider .testi-card { flex-basis: calc((100% - 1.8rem) / 3); } }
.testi-nav { position: absolute; top: 50%; z-index: 4; width: 42px; height: 42px; margin-top: -21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.testi-nav[hidden] { display: none; }
.testi-nav:hover:not(:disabled) { background: var(--navy); color: #fff; }
.testi-nav:disabled { opacity: .35; cursor: default; }
.testi-nav--prev { left: -14px; } .testi-nav--prev .icon { transform: scaleX(-1); }
.testi-nav--next { right: -14px; }
@media (max-width: 575.98px) { .testi-nav--prev { left: -6px; } .testi-nav--next { right: -6px; } }
/* Header logo (images/logo.png): crest + name in one transparent lockup */
.brand__logo { display: block; height: 54px; width: auto; max-width: 100%; transform-origin: left center; transition: transform .3s var(--ease); }
@media (max-width: 379.98px) { .brand__logo { height: 48px; } }
@media (min-width: 576px) { .brand__logo { height: 60px; } }
@media (min-width: 992px) { .brand__logo { height: 64px; } }
@media (min-width: 1200px) { .brand__logo { height: 68px; } }
.site-header.is-scrolled .brand__logo { transform: scale(.92); }

/* Sticky WhatsApp chat button (bottom-right; above the mobile action bar on phones) */
.wa-float { position: fixed; right: 16px; bottom: calc(68px + env(safe-area-inset-bottom) + var(--wa-lift, 0px)); z-index: 1016; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 56px; min-width: 56px; padding: 0 13px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-weight: 800; font-size: .95rem; letter-spacing: .1px; box-shadow: 0 10px 26px rgba(7, 94, 84, .38); transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
.wa-float:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7, 94, 84, .45); }
.wa-float:active { transform: scale(.96); }
.wa-float__ico { display: inline-flex; width: 30px; height: 30px; }
.wa-float .icon { width: 100%; height: 100%; fill: #fff; stroke: none; }
.wa-float__label { display: none; white-space: nowrap; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (min-width: 992px) { .wa-float { padding: 0 22px 0 14px; } .wa-float__label { display: inline; } }
@media (min-width: 1200px) { .wa-float { right: 24px; bottom: calc(24px + var(--wa-lift, 0px)); } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } .wa-float { transition: none; } }
@media print { .wa-float { display: none; } }
/* the back-to-top button sits above the WhatsApp button */
.to-top { bottom: calc(132px + env(safe-area-inset-bottom) + var(--wa-lift, 0px)); }
@media (min-width: 1200px) { .to-top { right: 30px; bottom: calc(96px + var(--wa-lift, 0px)); } }
/* WhatsApp icon beside the college's WhatsApp number */
svg.icon.wa-icon { fill: #25D366; stroke: none; color: #25D366; width: 1.1em; height: 1.1em; vertical-align: -.15em; margin: 0; }
.drawer-contact .icon.wa-icon, .topbar .icon.wa-icon, .footer-contact .icon.wa-icon { color: #25D366; }


/* Biraja: single-course home page ---------------------------------------- */
.glance-list { margin: 0; padding: .35rem 1rem .25rem; display: grid; gap: 0; }
.glance-list > div { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.glance-list dt { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy-deep); }
.glance-list dt .icon { width: 18px; height: 18px; color: var(--red); }
.glance-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); }
.glance-list__cta { margin: 0; padding: .75rem 1rem 1rem; }

.gnm-feature { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(6, 22, 67, .12); }
.gnm-feature__photo { position: relative; min-height: 240px; background: var(--bg-soft); }
.gnm-feature__photo picture, .gnm-feature__photo img { display: block; width: 100%; height: 100%; }
.gnm-feature__photo img { object-fit: cover; object-position: 30% 50%; position: absolute; inset: 0; }
.gnm-feature__badge { position: absolute; right: 14px; bottom: 14px; width: 104px; height: 104px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center;
  background: radial-gradient(circle at 30% 25%, #E0303A, var(--red-deep)); color: #fff; border: 4px solid var(--yellow); box-shadow: 0 8px 22px rgba(6, 22, 67, .35); line-height: 1; }
.gnm-feature__badge strong { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; color: var(--yellow); }
.gnm-feature__badge small { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.gnm-feature__body { padding: 1.35rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; border-top: 5px solid var(--yellow); }
.gnm-feature__title { margin: 0; font-size: 2.3rem; text-transform: uppercase; color: var(--navy); line-height: 1; }
.gnm-feature__text { margin: 0; color: var(--text); line-height: 1.6; }
.gnm-feature__actions { margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.fact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.fact { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.fact__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
.fact__ico .icon { width: 20px; height: 20px; }
.fact small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact strong { display: block; font-size: .92rem; line-height: 1.25; color: var(--navy-deep); }
@media (min-width: 992px) {
  .gnm-feature { grid-template-columns: 1.05fr 1fr; }
  .gnm-feature__photo { min-height: 100%; }
  .gnm-feature__body { border-top: 0; border-left: 5px solid var(--yellow); padding: 1.9rem 2rem; }
}
@media (max-width: 400px) { .fact-grid { grid-template-columns: 1fr; } }

/* Round logo plate in the page head (kept crisp on the navy bars) */
.drawer-contact__addr { display: flex; gap: .5rem; align-items: flex-start; color: #C9D5F2; font-size: .85rem; }
.gnm-banner { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); line-height: 0; }
.gnm-banner img { display: block; width: 100%; height: auto; }
.adm-course { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: stretch; }
.adm-course__main h3 small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: .25rem; }
.adm-course__photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border-bottom: 5px solid var(--yellow); min-height: 240px; position: relative; }
.adm-course__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.adm-course__photo picture { display: block; }
@media (min-width: 992px) { .adm-course { grid-template-columns: 1.4fr 1fr; } }
.adm-course__main { --c: var(--navy); }

/* Announcement bar + back-to-top ---------------------------------------------------- */
.announce { background: linear-gradient(90deg, var(--red-deep), var(--red)); color: #fff; font-size: .82rem; }
.announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .9rem; padding-top: .4rem; padding-bottom: .4rem; }
.announce p { margin: 0; }
.announce__tag { display: inline-block; background: var(--yellow); color: var(--navy-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; padding: .12rem .55rem; border-radius: 999px; margin-right: .4rem; }
.announce__msg { font-weight: 600; }
.announce__actions { display: flex; align-items: center; gap: .9rem; }
.announce a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 24px; }
.announce a:hover { color: var(--yellow); }
.announce .icon { width: 15px; height: 15px; }
.announce__apply { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) { .announce__inner { justify-content: center; text-align: center; } .announce__msg { display: none; } .announce { font-size: .78rem; } }

.to-top { position: fixed; right: 16px; bottom: 150px; z-index: 1010; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(6, 22, 67, .35); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.to-top[hidden] { display: none; }
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:hover { background: var(--red); }
@media (min-width: 1200px) { .to-top { bottom: 96px; right: 22px; } }

/* Home page: intro, mission/vision, admission band, callout, helpline, location -------------------- */
.section--soft { background: linear-gradient(180deg, var(--bg-soft), #EEF3FF); }
.section--intro { padding: 2rem 0 1.5rem; background: #fff; }
.intro { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.intro__title { margin: 0 0 .35rem; font-size: clamp(1.9rem, 6vw, 3.1rem); line-height: 1.02; text-transform: uppercase; color: var(--navy-deep); }
.intro__tagline { margin: 0 0 .9rem; font-family: var(--font-display); font-size: clamp(1.15rem, 3.4vw, 1.6rem); font-weight: 700; color: var(--red); line-height: 1.15; }
.intro__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.intro__card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--yellow); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.intro__card-title { margin: 0; padding: .8rem 1rem; background: var(--navy); color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: .55rem; }
.intro__card-title .icon { color: var(--yellow); width: 22px; height: 22px; }
.intro__card .glance-list { padding: .4rem 1rem; }
.intro__card-cta { margin: 0; padding: .4rem 1rem 1.1rem; }
.intro__card-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 992px) { .section--intro { padding: 3rem 0 2.25rem; } .intro { grid-template-columns: 1.55fr 1fr; gap: 2.5rem; align-items: center; } }

.mv { display: grid; gap: .8rem; margin: 1rem 0; }
.mv__item { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: .8rem 1rem; }
.mv__item h3 { margin: 0 0 .25rem; font-size: 1.15rem; text-transform: uppercase; color: var(--navy); }
.mv__item p { margin: 0; font-size: .92rem; }
@media (min-width: 768px) { .mv { grid-template-columns: 1fr 1fr; } .mv__item:nth-child(2) { border-left-color: var(--yellow); } }

.section-more { text-align: center; margin: 1.5rem 0 0; }
.chip-grid--center { justify-content: center; }

.admission-band { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.admission-band .steps { margin: 1rem 0; }
@media (min-width: 992px) { .admission-band { grid-template-columns: 1.6fr 1fr; gap: 2.25rem; } }

.callout-band { background: linear-gradient(100deg, var(--navy-deep), var(--navy)); color: #fff; padding: 1.75rem 0; border-top: 4px solid var(--yellow); border-bottom: 4px solid var(--red); }
.callout-band__inner { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: center; text-align: left; }
.callout-band h2 { margin: 0 0 .4rem; font-size: clamp(1.3rem, 4vw, 1.8rem); text-transform: uppercase; color: #fff; }
.callout-band p { margin: 0; color: #DCE4FF; font-size: .95rem; max-width: 48rem; }
.round-ico--lg { width: 64px; height: 64px; background: var(--yellow); color: var(--navy-deep); }
.round-ico--lg .icon { width: 30px; height: 30px; }
@media (min-width: 992px) { .callout-band__inner { grid-template-columns: auto 1fr auto; gap: 1.5rem; } }

.helpline { padding: 1rem 1rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.helpline p { margin: 0; }
.helpline__num { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy-deep); text-decoration: none; padding: .45rem .8rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg-soft); min-height: 48px; }
.helpline__num .icon { color: var(--red); width: 20px; height: 20px; }
.helpline__num:hover { border-color: var(--navy); color: var(--navy); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; justify-content: center; }
.btn-whatsapp:hover { background: #1EB955; color: #fff; }
.btn-whatsapp .icon { width: 20px; height: 20px; }

.faq-wrap .faq { margin: 0 auto; }
.location { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
.location__list { margin: 1rem 0 0; font-style: normal; display: grid; gap: .5rem; }
.location__list p { margin: 0; display: flex; align-items: flex-start; gap: .6rem; }
.location__list .icon { color: var(--red); flex: none; margin-top: 3px; }
.location__list a { font-weight: 700; color: var(--navy-deep); text-decoration: none; }
.location__map .map-box { min-height: 280px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.location__map iframe { width: 100%; height: 320px; border: 0; display: block; }
.location__maplink { display: inline-flex; margin-top: .6rem; color: var(--navy); font-weight: 700; }
@media (min-width: 992px) { .location { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

/* Course details table */
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 320px; }
.spec-table thead th { background: var(--navy); color: #fff; text-align: left; padding: .75rem 1rem; font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase; font-size: 1.05rem; }
.spec-table tbody th { width: 38%; text-align: left; font-weight: 700; color: var(--navy-deep); background: var(--bg-soft); padding: .7rem 1rem; border-top: 1px solid var(--line); }
.spec-table tbody td { padding: .7rem 1rem; border-top: 1px solid var(--line); }
.spec-table tbody tr:nth-child(even) td { background: #FBFDFF; }
@media (max-width: 575.98px) { .spec-table tbody th { width: 42%; } .spec-table { font-size: .92rem; } }

/* Header quick actions (mobile/tablet): call + WhatsApp always visible in the sticky header */
.mainbar__quick { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
@media (max-width: 1199.98px) { .mainbar > .container-xl { flex-wrap: nowrap; } }
.quick-btn { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; flex: none; box-shadow: 0 3px 10px rgba(6, 22, 67, .22); }
.quick-btn--call { background: var(--red); }
.quick-btn--wa { background: #fff; border: 2px solid #25D366; }
.quick-btn .icon { width: 24px; height: 24px; }
@media (max-width: 379.98px) { .quick-btn { width: 40px; height: 40px; } .mainbar__toggle { min-width: 42px; min-height: 42px; } .mainbar__quick { gap: .3rem; } }
@media (min-width: 1200px) { .topbar__item a { font-weight: 600; } }
/* WhatsApp now lives in the header on small screens, so the floating bubble is desktop-only */
@media (max-width: 1199.98px) { .wa-float { display: none; } .to-top { bottom: 76px; } }

/* Phone rows: number + Call + WhatsApp buttons --------------------------------------- */
.phone-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; }
.phone-row__num { font-size: 1.05rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.phone-row__btns { display: inline-flex; gap: .45rem; flex: none; }
.pbtn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: none; padding: 0 !important; }
.pbtn .icon { width: 20px; height: 20px; }
.pbtn--call { background: var(--red); color: #fff; }
.pbtn--wa { background: #fff; border: 2px solid #25D366; }
.drawer-contact .phone-row { padding: .3rem 0; }
.drawer-contact .phone-row__num { color: #fff; display: block; padding: 0; }
.drawer-contact .pbtn--call .icon { color: #fff; }
.footer-contact .phone-row { margin-bottom: .45rem; max-width: 320px; }
.footer-contact .phone-row__num { color: #fff; }
.footer-contact .pbtn--call .icon { color: #fff; }
.phone-row--card { margin: .15rem 0; }
.phone-row--card .phone-row__num { color: var(--navy-deep); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.phone-row--card .pbtn--call .icon { color: #fff; }
.btn-whatsapp { background: #fff; color: #128C4A; border: 2px solid #25D366; }
.btn-whatsapp:hover { background: #E8FBEF; color: #0B6B38; }
.phone-row__num small { font-size: .72rem; font-weight: 700; opacity: .75; letter-spacing: .04em; text-transform: uppercase; margin-left: .25rem; }

/* Premium mobile menu drawer ---------------------------------------------------------- */
@media (min-width: 1200px) { .nav-ico, .drawer-brand, .drawer-close { display: none; } }
@media (max-width: 1199.98px) {
  .menu-drawer { width: min(90vw, 372px) !important; border-left: 0; color: #fff; overflow: hidden;
    background:
      radial-gradient(520px 320px at 110% -8%, rgba(255, 212, 0, .16), transparent 60%),
      radial-gradient(420px 360px at -20% 108%, rgba(200, 16, 46, .26), transparent 62%),
      linear-gradient(168deg, #021147 0%, #0B215D 55%, #0A309C 100%);
    box-shadow: -18px 0 48px rgba(2, 13, 70, .45); }
  .menu-drawer .offcanvas-header { padding: 1.1rem 1.1rem .95rem; align-items: center; justify-content: space-between; gap: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }
  .menu-drawer .offcanvas-header::after { content: ""; position: absolute; left: 1.1rem; bottom: -1px; width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--red)); }
  .drawer-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; min-width: 0; }
  .drawer-brand__crest { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 2px var(--yellow), 0 6px 16px rgba(0, 0, 0, .3); flex: none; display: block; }
  .drawer-brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
  .drawer-brand__text strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
  .drawer-brand__text span { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .12em; color: var(--yellow); }
  .drawer-brand__text em { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #BCCCF5; margin-top: .3rem; }
  .drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
  .drawer-close:hover, .drawer-close:focus-visible { background: var(--red); transform: rotate(90deg); }
  .drawer-close .icon { width: 20px; height: 20px; }

  .menu-drawer .offcanvas-body { padding: 1rem 1rem 1.5rem; }
  .main-nav { gap: .35rem; }
  .main-nav .nav-link { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border: 1px solid transparent; border-radius: 14px; font-size: 1rem; font-weight: 700; letter-spacing: .01em; color: #fff; background: transparent; width: 100%; text-align: left; transition: background-color .2s ease, border-color .2s ease; }
  .main-nav .nav-link:hover, .main-nav .nav-link:focus-visible { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
  .main-nav .nav-link.active, .main-nav .nav-link.show { background: linear-gradient(90deg, rgba(255, 212, 0, .2), rgba(255, 212, 0, .06)); border-color: rgba(255, 212, 0, .45); color: var(--yellow); }
  .nav-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; color: var(--yellow); transition: background-color .2s ease; }
  .nav-ico .icon { width: 18px; height: 18px; }
  .main-nav .nav-link.active .nav-ico, .main-nav .nav-link.show .nav-ico { background: var(--yellow); color: var(--navy-deep); }
  .nav-label { flex: 1; }
  .main-nav .dropdown-toggle::after { margin-left: auto; border-top-color: currentColor; opacity: .8; transition: transform .25s var(--ease); }
  .main-nav .dropdown-toggle.show::after { transform: rotate(180deg); }
  .main-nav .dropdown-menu { background: rgba(2, 15, 70, .45); border: 0; border-left: 3px solid var(--yellow); border-radius: 0 12px 12px 0; margin: .3rem 0 .4rem 1.1rem; padding: .3rem 0; }
  .main-nav .dropdown-item { color: #DCE4FF; font-weight: 600; font-size: .94rem; padding: .62rem 1rem; border-radius: 8px; }
  .main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus-visible { background: rgba(255, 255, 255, .1); color: var(--yellow); }

  .menu-drawer .btn-apply { margin-top: 1.1rem; min-height: 52px; border-radius: 14px; font-size: 1rem; letter-spacing: .02em; justify-content: center;
    background: linear-gradient(135deg, #A8183A, var(--red-deep)); box-shadow: 0 10px 24px rgba(200, 16, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }

  .drawer-contact { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .6rem; }
  .drawer-contact__title { margin: 0 0 .15rem; font-size: .8rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .16em; color: #BCCCF5; text-transform: uppercase; }
  .dcard { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 16px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 6px 16px rgba(2, 10, 60, .25); transition: transform .2s var(--ease), border-color .2s ease; }
  .dcard:hover, .dcard:focus-visible { transform: translateY(-1px); border-color: rgba(255, 212, 0, .6); color: #fff; }
  .dcard__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
  .dcard__ico .icon { width: 22px; height: 22px; color: inherit; }
  .dcard--call .dcard__ico { background: linear-gradient(135deg, #A8183A, var(--red-deep)); box-shadow: 0 4px 12px rgba(200, 16, 46, .5); }
  .dcard--wa .dcard__ico { background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
  .dcard--wa .dcard__ico .icon { color: #25D366; }
  .dcard--mail .dcard__ico { background: rgba(255, 255, 255, .16); }
  .dcard__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; flex: 1; }
  .dcard__txt small { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #BCCCF5; }
  .dcard__txt strong { font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; overflow-wrap: anywhere; }
  .dcard__go { flex: none; color: var(--yellow); display: inline-flex; }
  .dcard__go .icon { width: 18px; height: 18px; }
  .drawer-contact .drawer-contact__addr { margin: .25rem 0 0; display: flex; gap: .55rem; align-items: flex-start; color: #C9D5F2; font-size: .86rem; line-height: 1.4; }
  .drawer-contact__addr .icon { color: var(--yellow); flex: none; margin-top: 2px; }
}
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) { .drawer-close:hover { transform: none; } .dcard:hover { transform: none; } }

/* Home: notices panel next to the intro; two-column events/helpline row */
.intro__notices { align-self: stretch; box-shadow: var(--shadow-lg); border-top: 5px solid var(--yellow); }
.intro__notices .notice-list { max-height: 380px; overflow-y: auto; }
.info-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .info-grid--2 { grid-template-columns: repeat(2, 1fr); } .info-grid--2 .panel--principal { grid-column: auto; } }
@media (min-width: 1200px) { .info-grid--2 { grid-template-columns: 1fr 1fr; } }

/* Home: notices panel next to the intro; two-column events/helpline row */
.intro__notices { align-self: stretch; box-shadow: var(--shadow-lg); border-top: 5px solid var(--yellow); }
.intro__notices .notice-list { max-height: 380px; overflow-y: auto; }
.info-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .info-grid--2 { grid-template-columns: repeat(2, 1fr); } .info-grid--2 .panel--principal { grid-column: auto; } }
@media (min-width: 1200px) { .info-grid--2 { grid-template-columns: 1fr 1fr; } }

/* Home intro: premium treatment ----------------------------------------------------------- */
.section--intro { position: relative; overflow: hidden; isolation: isolate; padding: 2.25rem 0 2.5rem;
  background:
    radial-gradient(640px 360px at 4% -10%, rgba(255, 212, 0, .16), transparent 62%),
    radial-gradient(560px 380px at 100% 110%, rgba(11, 33, 93, .10), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F6FF 100%); }
.section--intro::before { content: ""; position: absolute; right: -90px; bottom: -110px; width: 460px; height: 460px; z-index: -1; opacity: .07; pointer-events: none;
  background: url("../img/crest-192.png") center / contain no-repeat; }
.section--intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1; background: linear-gradient(90deg, var(--navy) 0 38%, var(--yellow) 38% 62%, var(--red) 62% 100%); }
.intro__eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; padding: .38rem .95rem .38rem .75rem; border-radius: 999px; background: #fff; border: 1px solid #F0C9CF; color: var(--red);
  font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(200, 16, 46, .12); }
.intro__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); animation: introPulse 2s infinite; }
@keyframes introPulse { 70% { box-shadow: 0 0 0 9px rgba(200, 16, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } }
.intro__title { margin: 0 0 .7rem; font-size: clamp(2.1rem, 6.4vw, 3.5rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase; color: #0A1966; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.intro__title span { color: var(--red); }
.intro__tagline { margin: 0 0 1.1rem; padding: .15rem 0 .15rem .9rem; border-left: 4px solid var(--yellow); font-family: var(--font-display); font-size: clamp(1.15rem, 3.4vw, 1.55rem); font-weight: 700; line-height: 1.2; letter-spacing: .01em; color: var(--navy); }
.intro__copy p { max-width: 40rem; font-size: 1.02rem; line-height: 1.7; color: #33405E; margin: 0 0 .8rem; }
.intro__badges { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; max-width: 40rem; }
.intro__badges li { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 18px rgba(6, 22, 67, .07); min-width: 0; }
.intro__badge-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); box-shadow: 0 4px 10px rgba(11, 33, 93, .3); }
.intro__badge-ico .icon { width: 19px; height: 19px; }
.intro__badges strong { display: block; font-size: .98rem; line-height: 1.1; color: var(--navy-deep); }
.intro__badges small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.intro__actions { margin: 1.4rem 0 0; }
.btn-call { background: var(--red); color: #fff; border-color: var(--red); }
.btn-call:hover { background: var(--red-deep); color: #fff; }
.intro__notices { background: #fff; border-radius: 18px; }
@media (min-width: 576px) { .intro__badges { grid-template-columns: repeat(4, 1fr); } .intro__badges li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem; } }
@media (min-width: 992px) { .section--intro { padding: 3.5rem 0 3.75rem; } .intro__badges { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { .intro__dot { animation: none; } }
@media (min-width: 992px) { .intro { align-items: start; } .intro__notices { align-self: start; margin-top: 2.6rem; } }
.section--intro .intro__title { font-size: 35px; line-height: 1.05; }

/* =====================================================================================
   HOME – modern premium layer (scoped to .home-modern; footer untouched)
   ===================================================================================== */
.home-modern { --ring: 0 0 0 1px rgba(11, 33, 93, .08); }
.home-modern .section { position: relative; padding: 3.25rem 0; }
@media (min-width: 992px) { .home-modern .section { padding: 5rem 0; } }

/* Section headings */
.home-modern .section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.home-modern .section-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--red); letter-spacing: .2em; }
.home-modern .section-head .section-kicker::before, .home-modern .section-head .section-kicker::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.home-modern .section-title { font-size: clamp(1.75rem, 4.6vw, 2.6rem); line-height: 1.05; color: #0A1966; }
.home-modern .section-head p:last-child { font-size: 1.02rem; line-height: 1.7; }

/* Slider -> intro seam: rounded overlap */
.home-modern .hero--banner { border-radius: 0 0 28px 28px; box-shadow: 0 18px 40px rgba(6, 22, 67, .18); position: relative; z-index: 2; }
@media (min-width: 992px) { .home-modern .hero--banner { border-radius: 0 0 44px 44px; } }
.home-modern .section--intro { margin-top: -28px; padding-top: 4.25rem; }
@media (min-width: 992px) { .home-modern .section--intro { margin-top: -44px; padding-top: 6rem; } }
.home-modern .intro__badges li { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.home-modern .intro__badges li:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 14px 28px rgba(6, 22, 67, .14); }
.home-modern .intro__notices { border: 0; box-shadow: 0 24px 50px rgba(6, 22, 67, .16), var(--ring); overflow: hidden; }
.home-modern .intro__notices .panel__head { background: linear-gradient(120deg, var(--red-deep), #A8183A); padding: .85rem 1.1rem; }
.home-modern .notice-list li { transition: background-color .25s ease, padding-left .25s var(--ease); }
.home-modern .notice-list li:hover { background: #FFF7D6; padding-left: .4rem; }

/* About */
.home-modern .section--welcome { background: #fff; }
.home-modern .welcome__photo { position: relative; border: 0; border-radius: 26px; overflow: visible; box-shadow: none; }
.home-modern .welcome__photo picture { display: block; position: relative; z-index: 1; }
.home-modern .welcome__photo img { border-radius: 26px; position: relative; z-index: 1; box-shadow: 0 26px 50px rgba(6, 22, 67, .22); }
.home-modern .welcome__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px; background: linear-gradient(135deg, var(--yellow), #FFB400); z-index: 0; }
.home-modern .welcome__photo::after { content: ""; position: absolute; left: -22px; top: -22px; width: 110px; height: 110px; z-index: 0; opacity: .5;
  background-image: radial-gradient(var(--navy) 2px, transparent 2.5px); background-size: 14px 14px; }
@media (max-width: 991.98px) { .home-modern .welcome__photo { margin: 1.25rem 18px 18px 0; } }
.home-modern .mv__item { background: linear-gradient(135deg, #F4F7FF, #fff); border-left-width: 0; border-radius: 18px; padding: 1.1rem 1.2rem 1.1rem 1.4rem; box-shadow: 0 10px 26px rgba(6, 22, 67, .08), var(--ring); position: relative; overflow: hidden; transition: transform .35s var(--ease); }
.home-modern .mv__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--red), var(--yellow)); }
.home-modern .mv__item:hover { transform: translateY(-4px); }

/* Course feature */
.home-modern .section--courses { background: linear-gradient(180deg, #F3F6FF, #fff); }
.home-modern .gnm-feature { border: 0; border-radius: 28px; box-shadow: 0 30px 60px rgba(6, 22, 67, .16), var(--ring); }
.home-modern .gnm-feature__photo img { transition: transform 1.2s var(--ease); }
.home-modern .gnm-feature:hover .gnm-feature__photo img { transform: scale(1.06); }
.home-modern .gnm-feature__badge { animation: hmFloat 4s ease-in-out infinite; }
@keyframes hmFloat { 50% { transform: translateY(-8px); } }
.home-modern .fact { background: #fff; border-radius: 16px; box-shadow: 0 6px 16px rgba(6, 22, 67, .06); transition: transform .3s var(--ease), border-color .3s; }
.home-modern .fact:hover { transform: translateY(-3px); border-color: var(--yellow); }

/* Stats strip -> floating gradient band */
.home-modern .stats-strip { background: transparent; padding: 0 0 1rem; color: #fff; }
.home-modern .stats-strip__list { background: linear-gradient(120deg, #021147, var(--navy) 55%, #0A309C); border-radius: 22px; padding: 1.35rem 1.4rem !important; box-shadow: 0 22px 46px rgba(6, 22, 67, .3); position: relative; overflow: hidden; }
.home-modern .stats-strip__list::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(rgba(255, 212, 0, .35), transparent 70%); pointer-events: none; }
.home-modern .stats-strip__ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); align-items: center; justify-content: center; }
.home-modern .stats-strip__ico .icon { width: 24px; height: 24px; }

/* Card grids (why + facilities) */
.home-modern .info-card { border: 0; border-radius: 22px; padding: 1.6rem 1.4rem; background: #fff; box-shadow: 0 12px 30px rgba(6, 22, 67, .08), var(--ring); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.home-modern .info-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--yellow), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.home-modern .info-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(rgba(255, 212, 0, .22), transparent 70%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.home-modern .info-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(6, 22, 67, .16); }
.home-modern .info-card:hover::before { transform: scaleX(1); }
.home-modern .info-card:hover::after { opacity: 1; }
.home-modern .info-card__ico { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #0A309C); color: var(--yellow); box-shadow: 0 10px 22px rgba(11, 33, 93, .3); transition: transform .4s var(--ease), background .4s; }
.home-modern .info-card__ico .icon { width: 26px; height: 26px; }
.home-modern .info-card:hover .info-card__ico { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
.home-modern .info-card h3 { font-size: 1.25rem; margin-top: 1rem; color: #0A1966; }
.home-modern .section--soft { background: radial-gradient(800px 400px at 0% 0%, rgba(255, 212, 0, .10), transparent 60%), linear-gradient(180deg, #F3F6FF, #EAF0FF); }

/* Admission band */
.home-modern .admission-band__main { background: #fff; border-radius: 26px; padding: 1.6rem 1.3rem; box-shadow: 0 18px 40px rgba(6, 22, 67, .1), var(--ring); }
@media (min-width: 992px) { .home-modern .admission-band__main { padding: 2.25rem; } }
.home-modern .admission-band .side-card { border-radius: 22px; overflow: hidden; border: 0; box-shadow: 0 18px 40px rgba(6, 22, 67, .12); }
.home-modern .admission-band .side-card__head { background: linear-gradient(120deg, var(--navy), #0A309C); }

/* Scholarship callout */
.home-modern .callout-band { border: 0; background: transparent; padding: 1rem 0 2rem; }
.home-modern .callout-band__inner { background: linear-gradient(120deg, #021147, var(--navy) 60%, #0A309C); color: #fff; border-radius: 26px; padding: 1.8rem 1.5rem; box-shadow: 0 26px 52px rgba(6, 22, 67, .3); position: relative; overflow: hidden; }
.home-modern .callout-band__inner::before { content: ""; position: absolute; left: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(rgba(200, 16, 46, .45), transparent 70%); }
.home-modern .callout-band__inner > * { position: relative; }
.home-modern .round-ico--lg { animation: hmFloat 4s ease-in-out infinite; box-shadow: 0 0 0 8px rgba(255, 212, 0, .18); }

/* Career chips */
.home-modern .chip { border-radius: 999px; padding: .6rem 1rem; background: #fff; box-shadow: 0 8px 20px rgba(6, 22, 67, .08), var(--ring); border: 0; transition: transform .3s var(--ease), background .3s, color .3s; font-weight: 600; }
.home-modern .chip:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }
.home-modern .chip:hover .chip__ico { color: var(--yellow); }

/* Panels row */
.home-modern .section--info { background: linear-gradient(180deg, #fff, #F3F6FF); }
.home-modern .panel { border: 0; border-radius: 22px; box-shadow: 0 16px 36px rgba(6, 22, 67, .1), var(--ring); }
.home-modern .panel__head--navy { background: linear-gradient(120deg, var(--navy), #0A309C); }

/* Gallery */
.home-modern .gallery-tile { border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px rgba(6, 22, 67, .14); }
.home-modern .gallery-tile img { transition: transform .9s var(--ease); }
.home-modern .gallery-tile:hover img { transform: scale(1.1); }

/* FAQ */
.home-modern .faq__item { border: 0; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(6, 22, 67, .07), var(--ring); transition: box-shadow .3s; }
.home-modern .faq__item[open] { box-shadow: 0 18px 36px rgba(6, 22, 67, .14), inset 4px 0 0 var(--yellow); }

/* Location */
.home-modern .location__map .map-box { border-radius: 26px; min-height: 320px; box-shadow: 0 24px 48px rgba(6, 22, 67, .18); }

/* Buttons lift */
.home-modern .btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s; }
.home-modern .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6, 22, 67, .18); }

@media (prefers-reduced-motion: reduce) {
  .home-modern .gnm-feature__badge, .home-modern .round-ico--lg { animation: none; }
  .home-modern .info-card:hover, .home-modern .btn:hover, .home-modern .chip:hover, .home-modern .mv__item:hover { transform: none; }
}
.home-modern .fac-card { list-style: none; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 32px rgba(6, 22, 67, .1), var(--ring); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.home-modern .fac-card:hover { transform: translateY(-8px); box-shadow: 0 28px 54px rgba(6, 22, 67, .18); }
.home-modern .fac-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.home-modern .fac-card__img picture, .home-modern .fac-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-modern .fac-card__img img { transition: transform 1s var(--ease); }
.home-modern .fac-card:hover .fac-card__img img { transform: scale(1.08); }
.home-modern .fac-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 17, 71, .55)); }
.home-modern .fac-card__ico { position: absolute; left: 1rem; bottom: -22px; z-index: 2; width: 50px; height: 50px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--yellow), #FFB400); color: var(--navy-deep); box-shadow: 0 10px 20px rgba(6, 22, 67, .25); }
.home-modern .fac-card__img { overflow: visible; }
.home-modern .fac-card__img picture { overflow: hidden; }
.home-modern .fac-card__body { padding: 1.9rem 1.3rem 1.4rem; }
.home-modern .fac-card__body h3 { font-size: 1.2rem; color: #0A1966; margin: 0 0 .4rem; }
.home-modern .fac-card__body p { margin: 0; color: #4A5775; font-size: .93rem; line-height: 1.6; }
.home-modern .fac-card__img picture { position: absolute; inset: 0; overflow: hidden; }
.home-modern .fac-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-modern .fac-card__img::after { z-index: 1; }

/* Latest notices: taller box, vertical ticker, blinking NEW (last 30 days) */
.home-modern .intro__notices .notice-list, .intro__notices .notice-list { max-height: none; overflow: visible; }
.notice-ticker { height: 340px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
@media (min-width: 992px) { .notice-ticker { height: 380px; } }
.notice-list.is-ticking { animation: noticeScroll linear infinite; }
.notice-ticker:hover .notice-list, .notice-ticker:focus-within .notice-list { animation-play-state: paused; }
@keyframes noticeScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.intro__notices .tag-new:not(.tag-new--off) { animation: newBlink 1.1s steps(2, start) infinite; box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); }
@keyframes newBlink { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .intro__notices .tag-new { animation: none; } }

/* Home admission section (industry layout: photo + steps + documents) */
.adm2__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 992px) { .adm2__grid { grid-template-columns: 0.9fr 1.3fr; gap: 3.5rem; } }
.adm2__media { position: relative; max-width: 460px; margin: 0 auto; width: 100%; padding: 0 14px 14px 0; }
.adm2__media::before { content: ""; position: absolute; inset: 22px 0 0 22px; border-radius: 30px; background: linear-gradient(135deg, var(--navy), #0A309C); z-index: 0; }
.adm2__photo { position: relative; z-index: 1; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(6, 22, 67, .28); }
.adm2__photo picture, .adm2__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.adm2__photo img { transition: transform 1.2s var(--ease); }
.adm2__media:hover .adm2__photo img { transform: scale(1.05); }
.adm2__float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 18px; padding: .75rem 1rem; box-shadow: 0 18px 36px rgba(6, 22, 67, .22); }
.adm2__float--top { left: -10px; top: 26px; animation: hmFloat 5s ease-in-out infinite; }
.adm2__float-ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy-deep); }
.adm2__float strong { display: block; font-size: .98rem; color: #0A1966; line-height: 1.15; }
.adm2__float small { display: block; font-size: .72rem; font-weight: 700; color: var(--red); letter-spacing: .04em; }
.adm2__float--bottom { right: -6px; bottom: 34px; flex-direction: column; gap: 0; text-align: center; background: linear-gradient(135deg, #A8183A, var(--red-deep)); color: #fff; border: 4px solid var(--yellow); border-radius: 50%; width: 104px; height: 104px; justify-content: center; padding: 0; animation: hmFloat 4s ease-in-out infinite reverse; }
.adm2__float--bottom strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--yellow); line-height: 1; }
.adm2__float--bottom span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
@media (max-width: 575.98px) { .adm2__float--top { left: 0; } .adm2__float--bottom { right: 4px; width: 88px; height: 88px; } .adm2__float--bottom strong { font-size: 2rem; } }

.adm2__lead { font-size: 1.04rem; line-height: 1.7; color: #33405E; margin: 0 0 1.5rem; }
.adm2__steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 576px) { .adm2__steps { grid-template-columns: repeat(2, 1fr); } }
.adm2__step { position: relative; background: #fff; border-radius: 20px; padding: 1.2rem 1.2rem 1.1rem; box-shadow: 0 12px 28px rgba(6, 22, 67, .08), 0 0 0 1px rgba(11, 33, 93, .07); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.adm2__step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--yellow), var(--red)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.adm2__step:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(6, 22, 67, .16); }
.adm2__step:hover::after { transform: scaleX(1); }
.adm2__num { position: absolute; right: .9rem; top: .4rem; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(11, 33, 93, .1); transition: color .3s; }
.adm2__step:hover .adm2__num { color: rgba(200, 16, 46, .2); }
.adm2__step h3 { margin: 0 0 .35rem; font-size: 1.18rem; text-transform: uppercase; color: #0A1966; padding-right: 2.5rem; }
.adm2__step p { margin: 0; font-size: .92rem; line-height: 1.55; color: #4A5775; }

.adm2__docs { background: linear-gradient(135deg, #021147, var(--navy) 60%, #0A309C); color: #fff; border-radius: 22px; padding: 1.2rem 1.3rem 1.1rem; box-shadow: 0 18px 40px rgba(6, 22, 67, .25); }
.adm2__docs-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--yellow); }
.adm2__docs-title .icon { width: 20px; height: 20px; }
.adm2__doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.adm2__doc-list li { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .86rem; font-weight: 600; }
.adm2__doc-list .icon { width: 15px; height: 15px; color: var(--yellow); }
.adm2__docs-note { margin: .75rem 0 0; font-size: .8rem; color: #BCCCF5; }
@media (prefers-reduced-motion: reduce) { .adm2__float--top, .adm2__float--bottom { animation: none; } .adm2__step:hover { transform: none; } }

/* ===== Premium CTA + footer ===== */
.cta__card { border-radius: 28px; background:
    radial-gradient(520px 260px at 100% 0%, rgba(255, 212, 0, .22), transparent 60%),
    radial-gradient(420px 300px at 0% 100%, rgba(200, 16, 46, .35), transparent 65%),
    linear-gradient(120deg, #021147, #0B215D 55%, #0A309C);
  box-shadow: 0 30px 70px rgba(2, 13, 70, .45), inset 0 1px 0 rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .1); }
.cta__card::before { border-color: rgba(255, 212, 0, .14); }
.cta__card::after { width: 0; }
.cta__kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 212, 0, .14); border: 1px solid rgba(255, 212, 0, .35); }
.cta h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.05; letter-spacing: .01em; }
.cta__buttons .btn { min-height: 52px; padding-inline: 1.5rem; }
.cta__buttons .btn-outline-light-pill { background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }

.site-footer { position: relative; overflow: hidden; isolation: isolate; background:
    radial-gradient(700px 380px at 0% 0%, rgba(10, 48, 156, .55), transparent 60%),
    radial-gradient(600px 360px at 100% 100%, rgba(200, 16, 46, .18), transparent 65%),
    linear-gradient(180deg, #061643, #020F35); }
.site-footer::before { content: ""; position: absolute; right: -120px; top: 40px; width: 420px; height: 420px; z-index: -1; opacity: .05; background: url("../img/crest-192.png") center / contain no-repeat; pointer-events: none; }
.footer-grid { padding: 3rem 0 2.25rem; gap: 2.25rem; }
.footer-title { font-size: 1.25rem; letter-spacing: .08em; padding-bottom: .65rem; margin-bottom: 1.1rem; }
.footer-title::after { width: 44px; background: linear-gradient(90deg, var(--yellow), var(--red)); }
.brand--footer .brand__crest { width: 78px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 3px rgba(255, 212, 0, .7), 0 10px 24px rgba(0, 0, 0, .35); }
.footer-motto { font-size: 1.15rem; }
.footer-social .social-btn { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .25s, transform .25s; }
.footer-social .social-btn:hover { background: var(--yellow); color: var(--navy-deep); transform: translateY(-3px); }
.footer-links a { transition: color .2s, transform .25s var(--ease); }
.footer-links a:hover { transform: translateX(4px); }

/* contact column: clean stacked cards */
.footer-contact { display: grid; gap: .6rem; font-style: normal; }
.footer-contact > p { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .2rem; color: #D5DFF7; }
.footer-contact > p .icon { color: var(--yellow); flex: none; margin-top: 3px; }
.footer-contact .phone-row { max-width: 330px; margin: 0; padding: .55rem .6rem .55rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s, background .25s; }
.footer-contact .phone-row:hover { border-color: rgba(255, 212, 0, .55); background: rgba(255, 255, 255, .1); }
.footer-contact .phone-row__num { font-size: 1.05rem; font-weight: 700; color: #fff; display: flex; flex-direction: column; line-height: 1.15; }
.footer-contact .phone-row__num small { margin: 2px 0 0; color: #7FE3A5; font-size: .66rem; }
.footer-contact .pbtn { width: 40px; height: 40px; }

/* map card */
.footer-map-col .map-box { border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.footer-bottom { background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 992px) { .footer-grid { padding: 3.75rem 0 2.75rem; } }
.brand--footer .brand__crest { width: 64px; }
.brand--footer .brand__name { white-space: nowrap; }
.site-footer::before { display: none; }

/* ===== Premium desktop main bar ===== */
@media (min-width: 1200px) {
  .mainbar { padding: .65rem 0; background: linear-gradient(180deg, #fff 0%, #F7F9FF 100%); border-bottom: 1px solid rgba(11, 33, 93, .08); }
  .site-header.is-scrolled .mainbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); }
  .main-nav { gap: .2rem; padding: .3rem; border-radius: 999px; background: #F1F4FD; box-shadow: inset 0 0 0 1px rgba(11, 33, 93, .07); }
  .main-nav .nav-link { font-size: .95rem; font-weight: 800; letter-spacing: .01em; color: #0A1966; padding: .55rem .95rem; border-radius: 999px; }
  .main-nav .nav-link:not(.active)::before { display: none; }
  .main-nav .nav-link:hover, .main-nav .nav-link:focus, .main-nav .nav-link.show { background: #fff; color: var(--red); box-shadow: 0 4px 12px rgba(6, 22, 67, .1); }
  .main-nav .nav-link.active { background: linear-gradient(135deg, var(--navy), #0A309C); color: #fff; box-shadow: 0 6px 16px rgba(11, 33, 93, .35); }
  .main-nav .nav-link.active::after { border-top-color: var(--yellow); }
  .main-nav .dropdown-menu { border: 0; border-radius: 16px; padding: .5rem; margin-top: .55rem !important; box-shadow: 0 22px 48px rgba(6, 22, 67, .18), 0 0 0 1px rgba(11, 33, 93, .06); border-top: 3px solid var(--yellow); }
  .main-nav .dropdown-item { font-weight: 700; font-size: .92rem; border-radius: 10px; padding: .6rem .9rem; transition: background .2s, color .2s, padding-left .25s var(--ease); }
  .main-nav .dropdown-item:hover { background: #F1F4FD; color: var(--red); padding-left: 1.15rem; }
  .menu-drawer .btn-apply { min-height: 48px; font-size: .95rem; font-weight: 800; padding: .65rem 1.4rem; border-radius: 999px; background: linear-gradient(135deg, #A8183A, var(--red-deep)); box-shadow: 0 10px 24px rgba(200, 16, 46, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
  .menu-drawer .btn-apply:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(200, 16, 46, .45); }
  .brand__logo { filter: drop-shadow(0 4px 8px rgba(6, 22, 67, .12)); }
}
@media (min-width: 1200px) { .brand__logo { filter: none; } }

/* ===== Navbar v3: clean luxury (overrides v2) ===== */
@media (min-width: 1200px) {
  .mainbar { padding: .75rem 0; background: #fff; border-bottom: 0; box-shadow: 0 1px 0 rgba(11, 33, 93, .06), 0 10px 30px rgba(6, 22, 67, .06); position: relative; }
  .mainbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--navy) 0 40%, var(--yellow) 40% 60%, var(--red) 60% 100%); }
  .main-nav { background: transparent; box-shadow: none; padding: 0; gap: .35rem; }
  .main-nav .nav-link { position: relative; background: transparent !important; box-shadow: none !important; border-radius: 0; padding: .7rem .8rem; font-size: .98rem; font-weight: 800; color: #0A1966; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-display); font-size: 1.12rem; }
  .main-nav .nav-link::before { display: block !important; content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--red)); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
  .main-nav .nav-link:hover, .main-nav .nav-link:focus, .main-nav .nav-link.show { color: var(--red); }
  .main-nav .nav-link:hover::before, .main-nav .nav-link.show::before, .main-nav .nav-link.active::before { transform: scaleX(1); }
  .main-nav .nav-link.active { color: var(--red); }
  .main-nav .dropdown-toggle::after { border-top-color: currentColor; }
  .menu-drawer .btn-apply { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; padding: .7rem 1.6rem; min-height: 50px; }
}
/* Mobile: bigger logo */
@media (max-width: 1199.98px) {
  .brand__logo { height: 62px; }
  .mainbar > .container-xl { gap: .5rem; padding-left: 12px; padding-right: 12px; }
  .mainbar__quick { gap: .35rem; }
  .quick-btn { width: 42px; height: 42px; }
  .mainbar__toggle { min-width: 44px; min-height: 44px; }
}
@media (max-width: 399.98px) { .brand__logo { height: 54px; } .quick-btn { width: 38px; height: 38px; } .mainbar__toggle { min-width: 40px; min-height: 40px; } }
@media (max-width: 349.98px) { .brand__logo { height: 46px; } }
@media (min-width: 576px) and (max-width: 1199.98px) { .brand__logo { height: 68px; } }
@media (max-width: 1199.98px) { .mainbar .brand { margin-left: 0; padding-left: 0; } .brand__logo { height: 66px; } }
@media (max-width: 399.98px) { .brand__logo { height: 58px; } }
@media (max-width: 349.98px) { .brand__logo { height: 48px; } }
@media (min-width: 576px) and (max-width: 1199.98px) { .brand__logo { height: 70px; } }

/* ===== Premium top bar ===== */
@media (min-width: 1200px) {
  .topbar { height: 46px; position: relative; overflow: hidden; font-size: .95rem;
    background: radial-gradient(500px 80px at 0% 50%, rgba(255, 212, 0, .14), transparent 70%), radial-gradient(500px 80px at 100% 50%, rgba(200, 16, 46, .28), transparent 70%), linear-gradient(90deg, #021147, #0B215D 50%, #021147); }
  .topbar__inner { height: 46px; align-items: center; }
  .topbar__item { gap: .55rem; font-weight: 600; color: #E8ECFF; }
  .topbar__item > .icon, .topbar__item > svg.icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: var(--yellow); flex: none; }
  .topbar__item a { color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-decoration: none; transition: color .2s; }
  .topbar__item a:hover { color: var(--yellow); }
  .topbar__follow { font-weight: 700; color: #C9D5F2; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
  .topbar .social-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
  .topbar .social-btn:hover { background: var(--yellow); color: var(--navy-deep); transform: translateY(-2px); }
  .topbar__item + .topbar__item { position: relative; }
}

/* ===== Mobile content polish ===== */
@media (max-width: 767.98px) {
  .home-modern .section, main .page-section { padding: 2.5rem 0; }
  .home-modern .section-kicker { font-size: .7rem; letter-spacing: .16em; }
  .home-modern .section-title, .welcome .section-title { font-size: 1.65rem; line-height: 1.1; }
  .home-modern .section-head { margin-bottom: 1.6rem; }
  .home-modern .section-head p:last-child, .welcome__text p, .intro__copy p, .adm2__lead, .gnm-feature__text { font-size: .95rem; line-height: 1.65; }
  .welcome__tagline { font-size: 1.15rem; margin-bottom: .75rem; }
  .welcome__text p { margin-bottom: .85rem; color: #3A4766; }
  .mv__item p { font-size: .9rem; }
  .welcome__links, .intro__actions, .gnm-feature__actions, .page-actions { display: grid !important; grid-template-columns: 1fr; gap: .6rem; }
  .welcome__links .btn, .intro__actions .btn, .gnm-feature__actions .btn, .page-actions .btn { width: 100%; justify-content: center; }
  main .page-section p, main .lead-text { font-size: .95rem; line-height: 1.7; }
  main .page-h2 { font-size: 1.55rem; }
  /* back-to-top: small, out of the way, above the bottom action bar */
  .to-top { width: 40px; height: 40px; right: 12px; bottom: 70px; opacity: .9; }
}
@media (max-width: 767.98px) { .home-modern .welcome__photo::after, .ax-collage::before { display: none; } .welcome__tagline { font-size: 1.15rem !important; } }
@media (max-width: 767.98px) { .home-modern #welcome-title { font-size: min(1.65rem, 5.6vw); white-space: nowrap; letter-spacing: 0; } }

/* ===== Final mobile polish ===== */
@media (max-width: 767.98px) {
  /* kicker: no side dashes when it wraps */
  .home-modern .section-head .section-kicker::before, .home-modern .section-head .section-kicker::after { display: none; }
  .home-modern .section-head .section-kicker { display: block; line-height: 1.5; }
  /* icon cards: compact horizontal layout */
  .home-modern .card-grid--3, main .card-grid--3, main .card-grid--2 { gap: .75rem; }
  .home-modern .info-card, main:not(.home-modern) .info-card:not(.facility-card) { display: grid; grid-template-columns: 50px 1fr; column-gap: .9rem; row-gap: .2rem; align-items: start; padding: 1rem 1rem 1.05rem; border-radius: 18px; }
  .home-modern .info-card__ico, main:not(.home-modern) .info-card:not(.facility-card) .info-card__ico { grid-row: 1 / span 3; width: 50px; height: 50px; border-radius: 14px; margin: 0; }
  .home-modern .info-card h3, main:not(.home-modern) .info-card:not(.facility-card) h3 { margin: .1rem 0 .15rem; font-size: 1.08rem; }
  .home-modern .info-card p, main:not(.home-modern) .info-card:not(.facility-card) p { margin: 0; font-size: .9rem; line-height: 1.55; }
  main:not(.home-modern) .info-card:not(.facility-card) > .btn, main:not(.home-modern) .info-card:not(.facility-card) > ul, main:not(.home-modern) .info-card:not(.facility-card) > .info-card__note { grid-column: 2; margin-top: .5rem; }
  /* facility photo cards: 2-up compact grid */
  .home-modern ul.card-grid--3:has(.fac-card) { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .home-modern .fac-card { border-radius: 16px; }
  .home-modern .fac-card__img { aspect-ratio: 1 / 1; }
  .home-modern .fac-card__ico { width: 36px; height: 36px; border-radius: 11px; left: .6rem; bottom: -16px; }
  .home-modern .fac-card__ico .icon { width: 18px; height: 18px; }
  .home-modern .fac-card__body { padding: 1.35rem .75rem .85rem; }
  .home-modern .fac-card__body h3 { font-size: .98rem; line-height: 1.15; }
  .home-modern .fac-card__body p { font-size: .78rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* stats strip */
  .home-modern .stats-strip__list { gap: 1rem .6rem !important; padding: 1.1rem 1rem !important; }
  .home-modern .stats-strip__ico { width: 38px; height: 38px; }
  .home-modern .stats-strip__list strong { font-size: 1rem; }
  /* admission floating cards inside the frame */
  .adm2__media { padding-right: 10px; }
  .adm2__float--top { left: 8px; top: 14px; padding: .55rem .75rem; }
}

/* ==========================================================================
   Biraja UI refinement layer (typography, header, menu). Loaded last on purpose.
   ========================================================================== */
body { font-family: var(--font-body); font-feature-settings: "cv11", "ss01"; letter-spacing: -.003em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
/* Headings in sentence case: Poppins reads best that way (all-caps was designed for a condensed face) */
.section-title, .eyebrow-title, .intro__title, .gnm-feature__title, .course-card__title, .mv__item h3, .callout-band h2,
.panel__head h2, .tab-title, .footer-title, .intro__card-title, .page-banner__title, .page-h2, .hero__title { text-transform: none; }
.section-title, .eyebrow-title { font-size: clamp(1.55rem, 4.2vw, 2.15rem); font-weight: 700; line-height: 1.2; }
.intro__title { font-size: clamp(1.7rem, 4.6vw, 2.55rem); line-height: 1.15; font-weight: 700; }
.intro__title span { color: var(--red); }
.page-banner__title { font-size: clamp(1.6rem, 4.4vw, 2.6rem); line-height: 1.15; font-weight: 700; }
.page-h2 { font-size: clamp(1.4rem, 3.4vw, 1.85rem); font-weight: 700; }
.page-h3, .info-card h3 { font-weight: 600; letter-spacing: -.01em; }
.info-card h3 { font-size: 1.12rem; }
.section-kicker { font-family: var(--font-body); letter-spacing: .14em; font-weight: 700; }
.spec-table thead th, .footer-title, .panel__head h2, .tab-title { font-size: 1rem; letter-spacing: .02em; font-weight: 600; }
.footer-title { text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; }
.btn { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.crumbs, .page-banner__lead { font-family: var(--font-body); }

/* Top bar: one clean line */
.topbar { font-size: .8rem; background: var(--navy-deep); }
.topbar__inner { justify-content: flex-start; gap: 1.5rem; min-height: 38px; }
.topbar__social { margin-left: auto; }
.topbar a { font-weight: 500; }

/* Header + logo */
.site-header { box-shadow: 0 1px 0 var(--line), 0 6px 22px rgba(20, 36, 90, .08); }
.mainbar { padding: .4rem 0; }
.brand__logo { height: 56px; width: auto; filter: none; }
@media (min-width: 576px) { .brand__logo { height: 58px; } }
@media (min-width: 1200px) { .brand__logo { height: 60px; } .mainbar { padding: .45rem 0; } }
@media (max-width: 1199.98px) { .brand__logo, .mainbar .brand .brand__logo { height: 52px; } }
@media (max-width: 399.98px) { .brand__logo, .mainbar .brand .brand__logo { height: 44px; } }

/* Desktop menu */
@media (min-width: 1200px) {
  .menu-drawer .offcanvas-body { gap: 1rem; }
  .main-nav { gap: .15rem; flex-wrap: nowrap; }
  .main-nav .nav-link { font-family: var(--font-body); font-size: .88rem; font-weight: 600; padding: .55rem .8rem; white-space: nowrap; border-radius: 8px; color: var(--navy-deep); letter-spacing: 0; }
  .main-nav .nav-link:hover, .main-nav .nav-link:focus { background: var(--bg-soft); color: var(--navy); }
  .main-nav .nav-link.active { background: transparent; color: var(--red); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
  .main-nav .nav-link.active::before { display: none; }
  .main-nav .dropdown-menu { border-radius: 12px; padding: .5rem; min-width: 250px; box-shadow: 0 18px 40px rgba(20, 36, 90, .16); }
  .main-nav .dropdown-item { font-family: var(--font-body); font-weight: 500; font-size: .9rem; padding: .6rem .85rem; white-space: nowrap; }
  .main-nav .dropdown-item:hover { background: var(--bg-soft); color: var(--red); }
  .menu-drawer .btn-apply { font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; padding: .6rem 1.3rem; min-height: 42px; border-radius: 999px; background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 8px 18px rgba(142, 18, 48, .28); }
}
@media (min-width: 1200px) and (max-width: 1329.98px) { .main-nav .nav-link { padding: .55rem .6rem; font-size: .85rem; } }

/* Mobile drawer typography */
.main-nav .nav-link, .drawer-contact .dcard__txt strong { font-family: var(--font-body); }
.menu-drawer .btn-apply { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.drawer-brand__text strong, .drawer-brand__text span { font-family: var(--font-display); }
.drawer-brand__crest { width: 52px; height: 52px; }

/* Colour accents from the logo: maroon + yellow on navy */
.panel__head--red { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.btn-yellow { background: var(--yellow); color: var(--navy-deep); }
.page-banner--photo .page-banner__title { text-shadow: 0 2px 18px rgba(8, 16, 50, .45); }

/* Banner slider controls: arrows on the side edges, dots in the empty wave at the bottom, nothing over the banner text */
.hero--banner .hero-controls, .home-modern .hero--banner .hero-controls { position: absolute; inset: 0; left: 0; right: 0; bottom: 0; transform: none; margin: 0; padding: 0; pointer-events: none; display: block; }
.hero--banner .hero-controls__btn { position: absolute; top: 50%; margin-top: -21px; pointer-events: auto; width: 40px; height: 40px; background: rgba(20, 36, 90, .55); border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(2px); }
.hero--banner .hero-controls__btn--prev { left: 12px; }
.hero--banner .hero-controls__btn[data-hero-next] { right: 12px; }
.hero--banner .hero-controls__dots { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); pointer-events: auto; background: rgba(20, 36, 90, .5); border-radius: 999px; padding: 0 .3rem; }
.hero--banner .hero-controls__dots button { width: 22px; height: 22px; }
@media (min-width: 992px) { .hero--banner .hero-controls__btn { width: 46px; height: 46px; margin-top: -23px; } .hero--banner .hero-controls__btn--prev { left: 22px; } .hero--banner .hero-controls__btn[data-hero-next] { right: 22px; } }
@media (min-width: 1200px) { .brand__logo { height: 66px; } }
.check-list .icon { background: var(--c, var(--navy)); color: #fff; }
.adm-course__main h3 small, .info-card h3 small { font-family: var(--font-body); }
main h1, main h2, main h3, .page-banner__title, .page-h2, .section-title, .intro__title { font-weight: 700; }
