/* ==========================================================================
   theme.css (Nov 2026): Altera-style layout in black & yellow only.
   Loaded after main.css on every page. Clean sans headings, two-line titles
   (second line bold), pill buttons, white sticky header under a slim black
   announcement bar, soft-bordered cards.
   Remove the <link> in layouts/base.njk to return to the earlier look.
   ========================================================================== */

/* Fonts: Montserrat for headings, buttons and navigation; Open Sans for reading text.
   Self-hosted variable fonts from Google Fonts; the latin-ext files carry ₹ and load only when needed. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-ext-var.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-latin-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-latin-ext-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-latin-italic-var.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-latin-ext-italic-var.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --c-accent: #ffc727;
  --c-accent-hover: #ffd451;
  --c-accent-soft: #fff4cc;
  --c-gold-deep: #0b0b0b;   /* yellow text fails contrast on white: accents on light use black + a yellow marker */
  --c-navy: #0b0b0b;
  --c-orange: #0b0b0b;

  --c-ink: #0b0b0b;
  --c-ink-2: #141414;
  --c-ink-3: #232323;
  --c-text: #161616;
  --c-muted: #5a5a5a;
  --c-muted-light: #b8b8b8;
  --c-line: #e8e8e8;
  --c-line-dark: #2a2a2a;
  --c-bg-soft: #f6f6f3;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-head);
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 12px 32px -16px rgb(0 0 0 / 0.28);
  --header-h: 5.25rem; /* room for the full logo */
}

/* Typography ----------------------------------------------------------------- */
h1, h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-variation-settings: normal; }
h1 em, h2 em { font-style: normal; font-weight: 800; color: var(--c-ink); }
h2 em {
  background: linear-gradient(transparent 64%, var(--c-accent) 64%, var(--c-accent) 92%, transparent 92%);
  padding-inline: 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark h1 em, .section--dark h2 em, .page-hero h1 em, .section--ink h2 em, .t-dark h1 em, .t-dark h2 em { color: var(--c-accent); background: none; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); }
.section-head--center .section-lead { margin-inline: auto; }

.eyebrow {
  gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--c-accent-soft); color: var(--c-ink);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
}
.eyebrow::before { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c-accent); }
.eyebrow--light, .section--dark .eyebrow, .section--ink .eyebrow, .t-dark .eyebrow { background: rgb(255 199 39 / 0.12); color: var(--c-accent); }

/* Buttons & forms ------------------------------------------------------------ */
.btn { font-weight: 600; padding-inline: 1.4rem; }
.btn--primary:hover { box-shadow: 0 10px 24px -10px rgb(255 199 39 / 0.85); }
.btn--outline { --btn-border: #d6d6d6; }
.icon-btn:hover { background: var(--c-accent); border-color: var(--c-accent); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgb(255 199 39 / 0.55); }
.split__content a:not(.btn) { text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; }

/* Slim black announcement bar ------------------------------------------------- */
.topbar { background: var(--c-ink); color: #e9e9e9; font-weight: 500; font-size: 0.8125rem; }
.topbar__inner { min-height: 2.25rem; }
.topbar .icon { color: var(--c-accent); }
.topbar__admissions strong { color: var(--c-accent); font-weight: 700; }
.pulse { background: var(--c-accent); animation-name: pulse-y; }
@keyframes pulse-y {
  0% { box-shadow: 0 0 0 0 rgb(255 199 39 / 0.6); }
  70% { box-shadow: 0 0 0 0.55rem rgb(255 199 39 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(255 199 39 / 0); }
}

/* White header, black text, yellow pill CTA ---------------------------------- */
.site-header { color: var(--c-ink); }
.site-header::before { background: rgb(255 255 255 / 0.97); }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -14px rgb(0 0 0 / 0.25); }
.brand { color: var(--c-ink); }
.brand__logo { height: 4.4rem; width: auto; } /* full official logo: big enough for "COLLEGE OF MANAGEMENT" to read */
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--c-ink); }
.brand__sub { color: var(--c-muted); font-size: 0.62rem; }
.nav-toggle { color: var(--c-ink); }
.menu__link { font-weight: 500; }
@media (max-width: 73.74em) {
  .site-nav { background: #fff; color: var(--c-ink); }
  .menu__item { border-bottom-color: var(--c-line); }
  .menu__item.is-active > .menu__link, .menu__link[aria-current="page"] { color: var(--c-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--c-accent); padding-left: 0.75rem; }
  .submenu__link { color: var(--c-ink); }
  .submenu__link[aria-current="page"] { background: var(--c-accent-soft); }
  .submenu__link[aria-current="page"] .submenu__label { color: var(--c-ink); }
  .submenu__desc { color: var(--c-muted); }
  .site-nav__mobile-contact { color: var(--c-muted); }
  .site-nav__mobile-contact .icon { color: var(--c-ink); }
}
@media (min-width: 73.75em) {
  .menu__link:hover, .menu__item:focus-within > .menu__link, .menu__item.is-active > .menu__link { color: var(--c-ink); background: var(--c-accent-soft); }
  .menu__item.is-active > .menu__link::after { display: none; }
  .submenu { border: 1px solid var(--c-line); }
  .submenu__link:hover .submenu__label { color: var(--c-ink); }
  .submenu__link[aria-current="page"] { background: var(--c-accent-soft); }
  .site-nav__cta .btn { min-height: 2.6rem; padding-block: 0.5rem; }
  /* Montserrat runs wider than the old face: keep the nine menu items + CTA inside the header */
  .site-header__inner { gap: 1rem; }
  .site-nav { gap: 0.75rem; min-width: 0; }
  .menu__link { padding: 0.5rem 0.6rem; font-size: 0.9rem; }
}
@media (min-width: 73.75em) and (max-width: 90em) {
  .menu__link { padding-inline: 0.45rem; font-size: 0.85rem; }
  .menu__chev { width: 0.85rem; height: 0.85rem; }
  .site-nav__cta .btn { padding-inline: 1rem; font-size: 0.875rem; }
  .brand__logo { height: 4rem; }
  .brand__name { font-size: 1.25rem; }
}

/* Cards ----------------------------------------------------------------------- */
.program-card, .skill-card, .testimonial, .placed-card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: none; }
.program-card:hover, .program-card:focus-within { border-color: var(--c-ink); box-shadow: var(--shadow); }
.program-card__icon, .feature-list__icon { background: var(--c-ink); color: var(--c-accent); border-radius: 0.75rem; }
.skill-card__icon { background: var(--c-accent-soft); }
.stats__value, .media-badge__value { font-family: var(--font-head); font-weight: 800; }
.stars { color: var(--c-accent); }
.map-facade { background: linear-gradient(135deg, #ededed, #f8f8f8); }

/* Inner-page header: black with a soft yellow glow ---------------------------- */
.page-hero { background: radial-gradient(48rem 20rem at 85% -10%, rgb(255 199 39 / 0.18), transparent 62%), var(--c-ink); }
.page-hero__title { font-weight: 600; }
.photo-hero__media::after {
  background:
    linear-gradient(90deg, rgb(11 11 11 / 0.96) 0%, rgb(11 11 11 / 0.82) 45%, rgb(11 11 11 / 0.35) 100%),
    linear-gradient(0deg, rgb(11 11 11 / 0.55) 0%, transparent 45%);
}

/* BSCC notice: black rounded banner, like Altera's partner strip --------------- */
.bscc { background: transparent; color: var(--c-ink); }
.bscc__inner { background: var(--c-ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.bscc__icon { background: var(--c-accent); color: var(--c-ink); }
.bscc__title u { text-decoration-color: var(--c-accent); }
.bscc__text p { color: #d9d9d9; }
.bscc__text strong { color: #fff; }
.bscc .btn--dark { --btn-bg: var(--c-accent); --btn-fg: var(--c-ink); }
.bscc .btn--outline-dark { --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.35); }
.bscc .btn--outline-dark:hover { --btn-border: var(--c-accent); }

/* Footer ---------------------------------------------------------------------- */
.newsletter { background: var(--c-accent); color: var(--c-ink); border-bottom: 0; }
.newsletter__text { color: rgb(11 11 11 / 0.75); }
.newsletter__form input[type="email"] { background: #fff; border-color: transparent; color: var(--c-ink); }
.newsletter__form input::placeholder { color: var(--c-muted); }
.newsletter .btn--primary { --btn-bg: var(--c-ink); --btn-fg: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--c-muted-light); }

/* WhatsApp consent checkbox on lead forms (opt-in, never pre-ticked) */
.consent-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; line-height: 1.45; font-weight: 400; cursor: pointer; }
.consent-check input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--c-accent); }

@media (max-width: 39.99em) { .brand__logo { height: 3.6rem; } }
.site-footer .brand__logo { height: 4.5rem; }
