/* ------------------------------------------------------------------
   Pandit Madan Mohan Malviya Vidhi Mahavidyalaya & Girls Degree College
   Stylesheet
------------------------------------------------------------------ */

:root {
  /* Colour palette */
  --bg: #faf8f3;
  --bg-alt: #f1ede3;
  --bg-panel: #ffffff;
  --ink: #20241f;
  --ink-muted: #565f56;
  --ink-soft: #7a8177;
  --primary: #1e3a5f;
  --primary-dark: #142944;
  --accent: #8b2635;
  --accent-dark: #6c1d29;
  --gold: #a9832e;
  --border: #ddd6c4;
  --border-strong: #c9bfa0;

  /* Type */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", Arial, Helvetica, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Visible focus state for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* ------------------------------------------------------------------
   Site header
------------------------------------------------------------------ */

.site-header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
  display: block;
}

.brand-location {
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.nav-list button.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list button.nav-link:hover,
.nav-list a.active,
.nav-list li.has-open > button.nav-link {
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(20, 41, 68, 0.1);
  padding: 8px 0;
  display: none;
}

.nav-list li.has-open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: none;
}

.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  margin: 4px 0;
}

/* ------------------------------------------------------------------
   Notice bar
------------------------------------------------------------------ */

.notice-bar {
  background: #fbf1e6;
  border-bottom: 1px solid #e7cfa8;
}

.notice-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  font-size: 0.88rem;
  color: var(--accent-dark);
  flex-wrap: wrap;
}

.notice-bar-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ------------------------------------------------------------------
   Page header banner (used on inner pages)
------------------------------------------------------------------ */

.page-banner {
  background: var(--primary-dark);
  color: #f4f1e8;
  padding: 52px 0 44px;
}

.page-banner h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-banner .crumbs {
  font-size: 0.85rem;
  color: #c7cedb;
}

.page-banner .crumbs a {
  color: #dfe4ec;
}

.page-banner p.lead {
  color: #d8dee8;
  max-width: 62ch;
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 32px;
  max-width: 72ch;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ------------------------------------------------------------------
   Home: hero
------------------------------------------------------------------ */

.hero {
  padding: 56px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero .affiliation-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 18px 0 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-figure {
  border: 1px solid var(--border-strong);
  padding: 10px;
  background: var(--bg-panel);
}

.hero-figure figcaption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 8px;
  text-align: center;
}

/* ------------------------------------------------------------------
   Intro / two-column text blocks
------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  border: 1px solid var(--border-strong);
  padding: 8px;
  background: var(--bg-panel);
}

/* ------------------------------------------------------------------
   Programme summary blocks (Home academic programmes)
------------------------------------------------------------------ */

.programme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.programme-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.programme-item:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--border);
}

.programme-item:nth-child(even) {
  padding-left: 28px;
}

.programme-item .programme-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  margin-bottom: 6px;
  display: block;
}

/* ------------------------------------------------------------------
   Values / mission list
------------------------------------------------------------------ */

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.value-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin-bottom: 0;
}

.value-list .num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Leadership
------------------------------------------------------------------ */

.leader-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.leader-row:first-child {
  border-top: 1px solid var(--border);
}

.leader-row img {
  border: 1px solid var(--border-strong);
  width: 100%;
}

.leader-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.leader-role {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.leader-contact {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Founder's message */

.founder-message {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
}

.founder-message .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.founder-message p {
  max-width: none;
}

.founder-signature {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.founder-signature strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-size: 1.05rem;
}

/* ------------------------------------------------------------------
   Facilities list (ledger style, not cards)
------------------------------------------------------------------ */

.facility-table {
  width: 100%;
  border-collapse: collapse;
}

.facility-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  vertical-align: top;
}

.facility-table td.mark {
  width: 28px;
  color: var(--accent);
  font-weight: 700;
}

/* ------------------------------------------------------------------
   Admission CTA band
------------------------------------------------------------------ */

.cta-band {
  background: var(--primary-dark);
  color: #f4f1e8;
  padding: 48px 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 6px;
}

.cta-band p {
  color: #d8dee8;
  margin: 0;
}

/* ------------------------------------------------------------------
   Gallery preview strip (home)
------------------------------------------------------------------ */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-strip a {
  display: block;
  border: 1px solid var(--border);
  overflow: hidden;
}

.gallery-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Gallery page
------------------------------------------------------------------ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filters button {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 8px;
}

.gallery-grid .thumb-frame {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery-grid .thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid button.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.gallery-grid figcaption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding-top: 8px;
}

.gallery-item[hidden] {
  display: none;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--bg-panel);
  padding: 16px;
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--bg-alt);
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.lightbox-close {
  background: none;
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Admission page
------------------------------------------------------------------ */

.admission-subnav {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 73px;
  z-index: 400;
}

.admission-subnav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.admission-subnav a {
  display: block;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.admission-subnav a:hover,
.admission-subnav a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
}

.admission-section {
  scroll-margin-top: 128px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.admission-section:last-of-type {
  border-bottom: none;
}

.course-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.course-block img {
  border: 1px solid var(--border-strong);
  padding: 6px;
  background: var(--bg-panel);
}

.course-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.course-meta span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  border-radius: 999px;
}

table.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
}

table.fee-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

table.fee-table th,
table.fee-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

table.fee-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--primary-dark);
}

.fee-note {
  font-size: 0.86rem;
  color: var(--accent-dark);
  background: #fbf1e6;
  border: 1px solid #e7cfa8;
  padding: 12px 14px;
  margin-top: 10px;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.subject-tags span {
  font-size: 0.85rem;
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  color: var(--ink);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 48px;
  border-bottom: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.eligibility-grid h4 {
  color: var(--accent);
}

/* Registration form */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 640px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--border-strong);
  padding-left: 12px;
  margin-bottom: 22px;
}

.form-confirmation {
  display: none;
  background: #eef3ea;
  border: 1px solid #c3d6b8;
  padding: 18px 20px;
  margin-top: 18px;
  font-size: 0.92rem;
}

.form-confirmation.show {
  display: block;
}

/* UPRTOU placeholder box */

.placeholder-box {
  border: 1px dashed var(--border-strong);
  background: var(--bg-alt);
  padding: 26px;
}

.placeholder-box dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 20px;
  margin: 18px 0 0;
}

.placeholder-box dt {
  font-weight: 600;
  color: var(--primary-dark);
}

.placeholder-box dd {
  margin: 0;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------
   Contact page
------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-detail {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail h4 {
  margin-bottom: 6px;
}

.contact-detail a {
  font-size: 1.05rem;
  font-weight: 600;
}

.map-frame {
  border: 1px solid var(--border);
  margin-top: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */

.site-footer {
  background: var(--primary-dark);
  color: #d8dee8;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-about .brand-name {
  color: #fff;
}

.footer-about p {
  color: #c3cad9;
  font-size: 0.92rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #c3cad9;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #97a1b5;
}


/* ==================================================================
   Agency promotional banner — final section of the public footer
================================================================== */

.agency-promo {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  border-top: 1px solid rgba(169, 131, 46, 0.5);
  border-bottom: 1px solid rgba(169, 131, 46, 0.5);
  box-shadow: 0 0 40px rgba(169, 131, 46, 0.08);
}

.agency-promo::before,
.agency-promo::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 160px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
  pointer-events: none;
}

.agency-promo::before {
  left: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 160'%3E%3Cpath d='M-20 160 C 60 120 90 160 180 60 C 220 20 260 30 300 -10' stroke='%23a9832e' stroke-width='1' fill='none' opacity='0.4'/%3E%3Cpath d='M-20 120 C 50 90 80 130 150 40 C 190 -5 240 10 300 -30' stroke='%23a9832e' stroke-width='1' fill='none' opacity='0.22'/%3E%3C/svg%3E");
}

.agency-promo::after {
  right: 0;
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 160'%3E%3Cpath d='M340 0 C 260 40 230 0 140 100 C 100 140 60 130 20 170' stroke='%23a9832e' stroke-width='1' fill='none' opacity='0.4'/%3E%3Cpath d='M340 40 C 270 10 240 -30 170 60 C 130 105 80 90 20 130' stroke='%23a9832e' stroke-width='1' fill='none' opacity='0.22'/%3E%3C/svg%3E");
}

.agency-promo-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 32px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.agency-promo-icon {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  color: var(--gold);
}

.agency-promo-icon svg {
  width: 100%;
  height: 100%;
}

.agency-promo-text {
  flex: 1;
  min-width: 0;
}

.agency-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a04a;
}

.agency-promo-kicker .line {
  width: 16px;
  height: 1px;
  background: rgba(201, 160, 74, 0.5);
}

.agency-promo-brand {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  line-height: 1.05;
  color: #fff;
}

.agency-promo-brand .ms {
  color: var(--gold);
  margin-right: 0.28em;
}

.agency-promo-services {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8d97ac;
}

.agency-promo-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: rgba(169, 131, 46, 0.35);
}

.agency-promo-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.agency-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.agency-promo-btn:hover {
  background: #c9a04a;
}

.agency-promo-btn-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  white-space: nowrap;
}

.agency-promo-btn-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.agency-promo-btn:hover .agency-promo-btn-arrow {
  transform: translateX(3px);
}

.agency-promo-cta-note {
  font-size: 0.72rem;
  color: #8d97ac;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.agency-promo-cta-note::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(169, 131, 46, 0.5);
  margin: 8px auto 0;
}

@media (max-width: 900px) {
  .agency-promo::before,
  .agency-promo::after {
    display: none;
  }
}

@media (max-width: 840px) {
  .agency-promo-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 16px;
  }

  .agency-promo-icon {
    width: 56px;
    height: 56px;
  }

  .agency-promo-divider {
    width: 60px;
    height: 1px;
  }

  .agency-promo-services {
    line-height: 1.9;
  }
}

@media (max-width: 420px) {
  .agency-promo-brand {
    font-size: 1.5rem;
  }

  .agency-promo-cta {
    width: 100%;
  }

  .agency-promo-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid,
  .course-block {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .programme-list {
    grid-template-columns: 1fr;
  }

  .programme-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .programme-item:nth-child(even) {
    padding-left: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .eligibility-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-panel);
    transform: translateX(-100%);
    transition: none;
    overflow-y: auto;
    padding: 12px 0 40px;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px;
  }

  .nav-list a,
  .nav-list button.nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
  }

  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 12px;
    display: none;
  }

  .nav-list li.has-open .dropdown {
    display: block;
  }

  .nav-cta {
    margin: 16px 24px 0;
  }

  .menu-toggle {
    display: block;
  }

  .admission-subnav {
    top: 77px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .placeholder-box dl {
    grid-template-columns: 1fr;
  }

  .leader-row {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}






/* About Page Banner */
.about-banner {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("../bg_images/about-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dark overlay */
.about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 45, 0.82) 0%,
    rgba(10, 25, 45, 0.62) 38%,
    rgba(10, 25, 45, 0.28) 70%,
    rgba(10, 25, 45, 0.12) 100%
  );
  z-index: 0;
}

/* Content above overlay */
.about-banner .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Breadcrumb */
.about-banner .crumbs {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #e7edf5;
  letter-spacing: 0.2px;
}

/* Heading */
.about-banner h1 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* Description */
.about-banner p.lead {
  color: #f1f4f8;
  max-width: 700px;
  font-size: 1.02rem;
  line-height: 1.65;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 700px) {
  .about-banner {
    min-height: 250px;
    background-position: center center;
  }

  .about-banner::before {
    background: rgba(10, 25, 45, 0.62);
  }

  .about-banner h1 {
    font-size: 2rem;
  }

  .about-banner p.lead {
    font-size: 0.95rem;
  }
}



/* =========================================================
   Gallery Page Banner
   ========================================================= */

.gallery-banner {
    position: relative;
    min-height: 290px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: url("../bg_images/gallery-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Dark overlay */
.gallery-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 25, 45, 0.82) 0%,
        rgba(10, 25, 45, 0.62) 40%,
        rgba(10, 25, 45, 0.30) 70%,
        rgba(10, 25, 45, 0.12) 100%
    );

    z-index: 0;
}

/* Content above image */
.gallery-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Breadcrumb */
.gallery-banner .crumbs {
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #e7edf5;
    letter-spacing: 0.2px;
}

/* Heading */
.gallery-banner h1 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* Description */
.gallery-banner p.lead {
    color: #f1f4f8;
    max-width: 700px;
    font-size: 1.02rem;
    line-height: 1.65;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 700px) {

    .gallery-banner {
        min-height: 250px;
        background-position: center center;
    }

    .gallery-banner::before {
        background: rgba(10, 25, 45, 0.62);
    }

    .gallery-banner h1 {
        font-size: 2rem;
    }

    .gallery-banner p.lead {
        font-size: 0.95rem;
    }
}



/* =========================================================
   Admission Page Banner
   ========================================================= */

.admission-banner {
    position: relative;
    min-height: 290px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: url("../bg_images/admission-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Dark overlay */
.admission-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 25, 45, 0.82) 0%,
        rgba(10, 25, 45, 0.64) 40%,
        rgba(10, 25, 45, 0.32) 72%,
        rgba(10, 25, 45, 0.12) 100%
    );

    z-index: 0;
}

/* Content above image */
.admission-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Breadcrumb */
.admission-banner .crumbs {
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #e7edf5;
    letter-spacing: 0.2px;
}

/* Heading */
.admission-banner h1 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Description */
.admission-banner p.lead {
    color: #f1f4f8;
    max-width: 700px;
    font-size: 1.02rem;
    line-height: 1.65;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 700px) {
    .admission-banner {
        min-height: 250px;
        background-position: center center;
    }

    .admission-banner::before {
        background: rgba(10, 25, 45, 0.64);
    }

    .admission-banner h1 {
        font-size: 2rem;
    }

    .admission-banner p.lead {
        font-size: 0.95rem;
    }
}

/* =========================================================
   Contact Page Banner Background
   ========================================================= */

.contact-banner {
    position: relative;
    min-height: 290px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: url("../bg_images/contact-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Dark overlay for readable text */
.contact-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 25, 45, 0.82) 0%,
        rgba(10, 25, 45, 0.62) 42%,
        rgba(10, 25, 45, 0.30) 75%,
        rgba(10, 25, 45, 0.15) 100%
    );

    z-index: 0;
}

/* Content above image */
.contact-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Breadcrumb */
.contact-banner .crumbs {
    color: #eef3f8;
    margin-bottom: 18px;
}

/* Heading */
.contact-banner h1 {
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Description */
.contact-banner p.lead {
    color: #f4f7fa;
    max-width: 700px;
    line-height: 1.65;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 700px) {

    .contact-banner {
        min-height: 250px;
        background-position: center;
    }

    .contact-banner::before {
        background: rgba(10, 25, 45, 0.65);
    }

    .contact-banner h1 {
        font-size: 2rem;
    }

    .contact-banner p.lead {
        font-size: 0.95rem;
    }
}