/* Shared component rules. Page-specific CSS may add layout, but should reuse these primitives. */
.section, .affiliation-section, .testimonial-section, .ntbx-section { padding-block: clamp(3.75rem, 7vw, 5.5rem); }
.section-title, .section-heading, .page-title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-title h1, .section-title h2, .section-heading h1, .section-heading h2, .page-title { color: var(--color-brand-strong); font-family: var(--font-heading); letter-spacing: -.035em; line-height: 1.16; }
.section-title p, .section-subtitle, .section__lead { color: var(--color-muted); max-width: 65ch; line-height: 1.7; }
.button, .btn-theme, .enquire-btn, .ntbx-btn, .partner-button, .modern-submit { min-height: 44px; border-radius: var(--radius-sm); box-shadow: none; font-family: var(--font-heading); font-size: .84rem; font-weight: 700; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover, .btn-theme:hover, .enquire-btn:hover, .ntbx-btn:hover, .partner-button:hover, .modern-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.course, .specialty, .testimonial-card, .affiliation-item, .notice, .recognition__item, .contact-card, .center-card, .certificate-card, .placement-card { border-color: var(--color-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.course:hover, .specialty:hover, .testimonial-card:hover, .affiliation-item:hover, .notice:hover, .contact-card:hover, .center-card:hover, .certificate-card:hover, .placement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.form-feedback { display: none; align-items: center; gap: .6rem; margin-top: 1rem; padding: .8rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .9rem; line-height: 1.45; }
.form-feedback.is-visible { display: flex; }
.form-feedback.is-success { color: #0b5d35; background: #e8f7ee; border-color: #a9dfbd; }
.form-feedback.is-error { color: #9d1c25; background: #fff0f1; border-color: #f2b8bd; }
.form-feedback.is-info { color: #084a94; background: #eef6ff; border-color: #b8d7fa; }
.is-loading { cursor: wait; opacity: .82; pointer-events: none; }
.button-spinner { width: 1em; height: 1em; display: inline-block; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: form-button-spin .7s linear infinite; }
@keyframes form-button-spin { to { transform: rotate(360deg); } }

/* Shared site chrome: kept here so Home and every inner page render identically. */
.site-chrome { background: var(--color-surface); color: var(--color-ink); }
.site-chrome .topbar { min-height: 44px; padding: .65rem 0; background: var(--color-brand-strong); color: #fff; font-family: var(--font-heading); font-size: .84rem; font-weight: 700; }
.site-chrome .top-left, .site-chrome .top-right { display: flex; align-items: center; gap: 1.1rem; }
.site-chrome .top-right { justify-content: flex-end; white-space: nowrap; }
.site-chrome .topbar a { color: #fff; text-decoration: none; }
.site-chrome .navbar { min-height: 96px; padding: .85rem 0; border-bottom: 1px solid var(--color-line); background: linear-gradient(180deg, #fff, #fbfdff) !important; box-shadow: 0 5px 18px rgba(12, 47, 88, .07) !important; }
.site-chrome .navbar-brand { margin-right: 1.35rem; }
.site-chrome .navbar-brand img { width: 148px; height: auto !important; max-height: 64px; object-fit: contain; }
.site-chrome .navbar-nav { align-items: center; gap: .1rem; margin-left: auto !important; margin-right: 0 !important; }
.site-chrome .nav-link { position: relative; padding: .62rem .7rem !important; margin: 0 !important; border-radius: 8px; color: var(--color-ink) !important; font-family: var(--font-heading); font-size: .88rem; font-weight: 700; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.site-chrome .nav-link::after { transition: transform .2s ease; }
.site-chrome .nav-link:not(.dropdown-toggle)::before { position: absolute; right: .68rem; bottom: .38rem; left: .68rem; height: 2px; border-radius: 2px; background: var(--color-accent); content: ""; transform: scaleX(0); transform-origin: center; }
.site-chrome .nav-link:hover, .site-chrome .nav-link.show { color: var(--color-accent) !important; background: #f0f6ff; }
.site-chrome .nav-link.active { color: var(--color-accent) !important; background: #edf5ff; }
.site-chrome .nav-link:hover::before, .site-chrome .nav-link.active::before { transform: scaleX(1); }
.site-chrome .dropdown-menu { width: 238px; min-width: 238px !important; max-width: calc(100vw - 32px); margin-top: .45rem !important; padding: .45rem; border: 1px solid var(--color-line); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.site-chrome .dropdown-item { padding: .62rem .72rem; border-radius: 7px; color: var(--color-ink); font-family: var(--font-body); font-size: .88rem; font-weight: 600; }
.site-chrome .navbar .dropdown-menu .dropdown-item:hover, .site-chrome .navbar .dropdown-menu .dropdown-item:focus { background: #edf5ff !important; color: var(--color-accent) !important; }
.site-chrome .navbar .dropdown-menu .dropdown-item:active, .site-chrome .navbar .dropdown-menu .dropdown-item.active { background: var(--color-accent) !important; color: #fff !important; }
.site-chrome .nav-since { position: relative; overflow: hidden; align-items: center; gap: .45rem; margin-left: .9rem; padding: .55rem .75rem; border: 1px solid #cfe1f6; border-radius: 999px; background: #f1f7ff; box-shadow: 0 5px 12px rgba(18, 102, 214, .08); color: var(--color-brand); font-family: var(--font-heading); font-size: .76rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.site-chrome .nav-since i { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: .62rem; }
.site-chrome .nav-since::after { position: absolute; top: 0; bottom: 0; left: -45%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); content: ""; transform: skewX(-20deg); }
.site-chrome .nav-since.has-motion { opacity: 0; transform: translateY(-6px) scale(.96); }
.site-chrome .nav-since.is-animated { opacity: 1; transform: translateY(0) scale(1); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.site-chrome .nav-since.is-animated::after { animation: nav-badge-sheen .8s .25s ease-out both; }
@keyframes nav-badge-sheen { to { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .site-chrome .nav-since::after { display: none; } }

.footer { padding: 3.25rem 0 1.25rem; background: var(--color-brand-strong) !important; color: #d9e6f5; }
.footer .wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.footer__grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 2.4rem; }
.footer .logo { display: inline-flex; margin-bottom: .6rem; padding: .35rem .5rem; border-radius: var(--radius-sm); background: #fff; }
.footer .logo img { width: 138px; height: auto; }
.footer p, .footer li { margin: 0; color: #d9e6f5; font-size: .88rem; line-height: 1.7; }
.footer h3 { margin: .3rem 0 .85rem; color: #fff; font-family: var(--font-heading); font-size: 1rem; }
.footer ul { display: grid; gap: .22rem; padding: 0; margin: 0; list-style: none; }
.footer a { color: #d9e6f5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(217, 230, 245, .22); color: #c5d7ec; font-size: .78rem; }
@media (max-width: 991.98px) { .navbar .container { max-width: 100%; } .section, .affiliation-section, .testimonial-section, .ntbx-section { padding-block: 4rem; } }
@media (max-width: 991.98px) { .site-chrome .topbar { min-height: 40px; font-size: .76rem; } .site-chrome .navbar { min-height: 78px; } .site-chrome .navbar-brand img { width: 128px; max-height: 54px; } .site-chrome .navbar-brand { margin-right: 0; } .site-chrome .navbar-nav { align-items: stretch; gap: 0; margin: .75rem 0 0 !important; } .site-chrome .nav-link { padding: .7rem .2rem !important; } .site-chrome .nav-link:not(.dropdown-toggle)::before { right: auto; left: .2rem; width: 36px; } .site-chrome .dropdown-menu { width: auto; min-width: 0 !important; margin: 0 !important; } .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .section, .affiliation-section, .testimonial-section, .ntbx-section { padding-block: 3.25rem; } .section-title, .section-heading, .page-title { margin-bottom: 1.5rem; } .button, .btn-theme, .enquire-btn, .ntbx-btn, .partner-button, .modern-submit { width: auto; min-height: 42px; } }
@media (max-width: 767.98px) { .button, .btn-theme, .enquire-btn, .ntbx-btn, .partner-button, .modern-submit { width: 100%; justify-content: center; } }
@media (max-width: 767.98px) { .site-chrome .topbar { display: none; } .site-chrome .navbar { min-height: 72px; } .site-chrome .navbar-brand img { width: 118px; max-height: 48px; } .site-chrome .navbar-toggler { border-color: var(--color-line); } .site-chrome .dropdown-menu { border: 0; box-shadow: none; } .footer { padding-top: 2.5rem; } .footer .wrap { width: min(100% - 32px, 1180px); } .footer__grid { grid-template-columns: 1fr; gap: 1.65rem; } .footer__bottom { flex-direction: column; gap: .35rem; margin-top: 1.5rem; } }
