﻿:root {
  --navy: #061a44;
  --navy-2: #001338;
  --navy-3: #092457;
  --red: #b60709;
  --red-2: #d20e12;
  --gold: #f0b637;
  --cream: #fff7e4;
  --line: #d9dde7;
  --text: #071831;
  --muted: #5b6578;
  --wrap: 1500px;
  --radius: 8px;
  --shadow: 0 3px 14px rgba(7, 24, 49, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.top-strip {
  height: 41px;
  background: linear-gradient(90deg, #061a44, #00102d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.top-inner, .top-left, .top-social {
  height: 100%;
  display: flex;
  align-items: center;
}
.top-inner { justify-content: space-between; gap: 20px; }
.top-left { gap: 25px; }
.top-left span, .top-left a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.top-left i, .top-social i { color: #fff; font-size: 15px; }
.top-social { gap: 13px; }
.top-social a { font-size: 17px; line-height: 1; }
.top-social a:nth-of-type(1) i { color: #1877f2; }
.top-social a:nth-of-type(2) i { color: #f23b86; }
.top-social a:nth-of-type(3) i { color: #ff1717; }
.top-social a:nth-of-type(4) i { color: #2d89c8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .12);
}
.nav-wrap {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img:not(.brand-logo-full):not(.brand-logo) { width: 76px; height: 76px; object-fit: contain; }
.brand-logo-full { width: auto !important; height: 79px !important; max-height: none !important; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 30px;
  font-weight: 800;
  color: #a01112;
  letter-spacing: .3px;
}
.brand-copy small {
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.brand-copy em {
  margin-top: 4px;
  font-size: 9px;
  font-style: normal;
  color: #333;
}
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.nav-links a {
  position: relative;
  padding: 36px 0 32px;
  color: #0a1020;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { color: var(--red); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 23px;
  height: 2px;
  background: var(--red);
}
.nav-actions { display: flex; gap: 10px; }
.header-actions {
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}
.header-actions .btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 9px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(7, 24, 49, .1);
}
.header-login {
  color: var(--navy);
  background: linear-gradient(#ffc84d, #f0b637);
}
.header-verify {
  color: var(--navy);
  background: #fff;
  border-color: #b9c4d8 !important;
}
.header-verify i {
  color: var(--navy);
}
.header-enquire {
  color: #fff;
  background: linear-gradient(#08265e, #00183f);
}
.btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 9px 17px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18);
  cursor: pointer;
}
.btn.red { background: linear-gradient(#d20e12, #a90305); }
.btn.navy { background: linear-gradient(#08265e, #00183f); }
.btn.gold-fill { color: var(--navy); background: linear-gradient(#ffcf60, #dda12f); }
.btn.block { width: 100%; }
.hamburger { display: none; width: 42px; height: 42px; background: transparent; border: 0; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--navy); border-radius: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 15, 45, .96) 0%, rgba(0, 20, 55, .86) 45%, rgba(0, 20, 55, .38) 74%, rgba(0, 20, 55, .8) 100%);
}
.hero-grid {
  min-height: 440px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
}
.hero-copy {
  padding-top: 34px;
  color: #fff;
  z-index: 3;
}
.hero h1 {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: .96;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 span {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 31px);
}
.hero-lead {
  max-width: 620px;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.hero-text {
  max-width: 570px;
  margin-top: 12px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
}
.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 19px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.hero-btn.apply { background: linear-gradient(#d30e12, #b60003); border: 1px solid var(--gold); }
.hero-btn.outline { border: 1px solid var(--gold); background: rgba(0, 18, 50, .55); }
.hero-btn.gold { color: #111; background: linear-gradient(#ffd46a, #e2a633); }
.hero-btn.dark { background: #061a44; border: 1px solid var(--gold); }
.hero-person {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: end;
  min-width: 0;
  overflow: hidden;
}
.hero-chairman {
  position: absolute;
  bottom: 0;
  left: 48px;
  z-index: 2;
  width: 673px;
  max-width: none;
  height: 463px;
  object-fit: cover;
  object-position: 50% top;
  filter: drop-shadow(-16px 12px 26px rgba(0, 0, 0, .55));
}
.ring {
  position: absolute;
  z-index: 1;
  left: 47%;
  top: 52%;
  translate: -50% -50%;
  border: 3px solid rgba(240, 182, 55, .9);
  border-radius: 50%;
}
.ring.one { width: 390px; height: 390px; opacity: .78; }
.ring.two { width: 470px; height: 470px; opacity: .55; }
.training-badge {
  position: absolute;
  z-index: 4;
  right: -5px;
  top: 55px;
  width: 170px;
  height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 16px rgba(240, 182, 55, .45));
}

.feature-strip {
  background: linear-gradient(90deg, #00183f, #031d4c);
  border-top: 2px solid var(--gold);
  color: #fff;
}
.feature-grid {
  height: 66px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feature-grid div {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: 1fr 1fr;
  align-content: center;
  column-gap: 9px;
  padding: 10px 15px;
}
.feature-grid i { grid-row: 1 / 3; align-self: center; color: var(--gold); font-size: 31px; }
.feature-grid strong { align-self: end; color: var(--gold); font-size: 13px; line-height: 1.1; }
.feature-grid span { font-size: 11px; font-weight: 700; line-height: 1.2; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 13px 0 0;
}
.action-card, .course-card, .utility-panel, .small-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.action-card {
  min-height: 205px;
  padding: 18px 22px 15px;
  text-align: center;
}
.round {
  width: 65px;
  height: 65px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
}
.round.red { background: #ad090b; }
.round.navy { background: var(--navy); }
.action-card h2, .utility-panel h2, .small-panel h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  text-align: center;
  text-transform: uppercase;
}
.action-card h2 { font-size: 18px; text-transform: none; }
.action-card p { min-height: 56px; margin: 6px 0 9px; color: #111827; font-size: 13px; line-height: 1.45; }

.courses { padding-top: 0; }
.section-title { text-align: center; padding-top: 1px; margin-bottom: 13px; }
.section-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.section-title span::before, .section-title span::after {
  content: "";
  width: 78px;
  height: 1px;
  background: var(--gold);
  margin: 0 9px;
}
.section-title h2 {
  margin-top: -4px;
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
.section-title p { font-size: 13px; color: var(--muted); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid #d8dfec;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: 0 14px 38px rgba(6, 26, 68, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 182, 55, .65);
  box-shadow: 0 20px 55px rgba(6, 26, 68, .18);
}
.course-media {
  position: relative;
  height: 128px;
  overflow: hidden;
  background: var(--navy);
}
.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.course-card:hover img { transform: scale(1.05); }
.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,26,68,0) 38%, rgba(6,26,68,.78) 100%);
}
.course-media span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(240, 182, 55, .96);
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
.course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.course-card h3 {
  min-height: 0;
  display: block;
  margin: 0 0 8px;
  color: var(--navy);
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}
.course-card h3.red-band { background: transparent; color: var(--navy); }
.course-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f6;
}
.course-price-row strong {
  color: #b60709;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1;
}
.course-price-row span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #e6d5aa;
  border-radius: 5px;
  background: #fff9ea;
  color: #6b4a08;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.course-meta i {
  color: var(--gold);
  font-size: 10px;
}
.course-card ul {
  flex: 1;
  padding: 0;
  margin: 0;
}
.course-card li {
  position: relative;
  padding-left: 19px;
  margin-bottom: 8px;
  color: #172033;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.28;
}
.course-card li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 2px;
  font: var(--fa-font-solid);
  color: var(--gold);
  font-size: 10px;
}
.course-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 0;
  padding: 11px 13px;
  border-top: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}
.course-card a:hover {
  background: #b60709;
  color: #fff;
}
.course-card a i {
  color: var(--gold);
  transition: transform .18s ease;
}
.course-card a:hover i { transform: translateX(2px); }
.course-card.safety-card {
  border-color: rgba(182, 7, 9, .22);
}
.course-card.safety-card a {
  background: #b60709;
}
.course-card.safety-card a:hover {
  background: var(--navy);
}

.stats {
  margin-top: 18px;
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.stats div {
  min-height: 58px;
  display: grid;
  grid-template-columns: 55px 1fr;
  grid-template-rows: 1fr 1fr;
  align-content: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(240, 182, 55, .55);
}
.stats div:last-child { border-right: 0; }
.stats i { grid-row: 1 / 3; align-self: center; color: var(--gold); font-size: 31px; }
.stats strong { align-self: end; color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 25px; line-height: 1; }
.stats span { color: #fff; font-size: 11px; font-weight: 700; line-height: 1.15; }

.middle {
  display: grid;
  grid-template-columns: 1.16fr .92fr 1.12fr;
  gap: 12px;
  padding-top: 12px;
}
.franchise-panel {
  border-radius: var(--radius);
  padding: 18px 25px 16px;
  color: #fff;
  background: linear-gradient(135deg, #b6080b, #8f0003);
  box-shadow: var(--shadow);
}
.franchise-panel h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.12;
}
.franchise-panel p { margin: 12px 0 10px; font-size: 13px; }
.franchise-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 16px;
  margin-bottom: 18px;
}
.franchise-panel li { position: relative; padding-left: 18px; font-size: 11px; font-weight: 700; }
.franchise-panel li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  color: #f7c34f;
  font: var(--fa-font-solid);
}
.franchise-panel div { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.utility-panel { padding: 18px 24px 16px; }
.utility-panel h2 { font-size: 21px; }
.utility-panel p { margin: 3px 0 13px; color: var(--navy); text-align: center; font-size: 12px; font-weight: 700; }
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.portal-grid a {
  min-height: 57px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 6px 3px;
  border: 1px solid #d7dce8;
  border-radius: 5px;
  color: var(--navy);
  text-align: center;
  font-size: 9px;
  font-weight: 800;
}
.portal-grid i { font-size: 17px; }
.utility-panel .block { margin-top: 13px; }
.verify {
  display: grid;
  grid-template-columns: 1fr 128px;
  column-gap: 16px;
}
.verify h2, .verify p { grid-column: 1 / 3; }
.verify label { font-size: 11px; font-weight: 700; }
.verify input {
  width: 100%;
  height: 31px;
  margin: 3px 0 9px;
  border: 1px solid #e0cba7;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 11px;
}
.verify .block { grid-column: 1 / 2; }
.qr-shield {
  grid-row: 3 / 8;
  grid-column: 2 / 3;
  align-self: center;
  width: 122px;
  height: 132px;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 76px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f4cd80, #f7e8c2) border-box;
  border: 9px solid transparent;
  clip-path: polygon(50% 0, 95% 15%, 95% 67%, 50% 100%, 5% 67%, 5% 15%);
}

.bottom {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 11px 0 10px;
}
.small-panel {
  min-height: 200px;
  padding: 13px 14px 12px;
  overflow: hidden;
}
.small-panel h2 { margin-bottom: 10px; font-size: 16px; }
.small-panel li {
  position: relative;
  margin-bottom: 4px;
  padding-left: 15px;
  font-size: 10px;
  font-weight: 600;
}
.small-panel li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  color: var(--gold);
  font: var(--fa-font-solid);
  font-size: 8px;
}
.placement { position: relative; padding-right: 86px; }
.placement img {
  position: absolute;
  right: 2px;
  bottom: 36px;
  width: 90px;
  height: 135px;
  object-fit: cover;
  object-position: 42% top;
}
.placement .btn { position: relative; z-index: 2; margin-top: 8px; font-size: 10px; padding-inline: 8px; }
.gallery-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.gallery-mini img { height: 58px; width: 100%; object-fit: cover; border-radius: 5px; }
.small-panel .btn { margin-top: 12px; min-height: 31px; font-size: 11px; }
.quote {
  float: left;
  margin: -5px 8px 0 0;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: .75;
}
.testimonial p { font-size: 11px; font-weight: 600; line-height: 1.35; }
.testimonial strong, .testimonial em { display: block; font-size: 11px; }
.testimonial em { color: var(--muted); font-style: normal; }
.stars { color: var(--gold); font-size: 17px; }
.dots { display: flex; justify-content: center; gap: 8px; }
.dots span { width: 10px; height: 10px; border: 2px solid var(--navy); border-radius: 50%; }
.dots span:first-child { background: var(--navy); }
.blog-item { display: grid; grid-template-columns: 58px 1fr; gap: 8px; margin-bottom: 7px; }
.blog-item img { width: 58px; height: 43px; object-fit: cover; border-radius: 4px; }
.blog-item a { display: block; color: var(--navy); font-size: 10px; font-weight: 800; line-height: 1.25; }
.blog-item span { display: block; color: var(--muted); font-size: 10px; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%;
  height: 28px;
  margin-bottom: 7px;
  border: 1px solid #d7dce8;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 10px;
}
.enquiry textarea { height: 32px; padding-top: 7px; resize: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.footer {
  background: linear-gradient(90deg, #061a44, #001338);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.18fr;
  gap: 30px;
  padding: 18px 0 12px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.foot-brand img { width: 64px; height: 64px; object-fit: contain; }
.foot-brand strong { display: block; font-family: "Cinzel", serif; color: #fff; font-size: 23px; line-height: 1; }
.foot-brand span { display: block; max-width: 230px; font-family: "Montserrat", sans-serif; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.footer p { color: rgba(255, 255, 255, .86); font-size: 12px; line-height: 1.35; }
.footer h2 { color: var(--gold); font-size: 14px; text-transform: uppercase; margin-bottom: 8px; }
.footer ul { columns: 2; }
.footer li { break-inside: avoid; margin-bottom: 3px; color: rgba(255, 255, 255, .9); font-size: 11px; font-weight: 600; }
.footer li::before { content: ">"; margin-right: 6px; color: var(--gold); }
.footer .contact-list { columns: 1; }
.footer .contact-list li::before { display: none; }
.footer .contact-list i { width: 18px; color: #fff; font-size: 16px; }
.footer small { display: block; margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 10px; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .8);
  text-align: center;
  font-size: 10px;
  padding: 5px 0;
}

.mobile-bar {
  display: grid;
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  grid-template-columns: repeat(5, 1fr);
  background: var(--navy);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .2);
  font-size: 16px;
  font-weight: 800;
}
.mobile-bar span { font-size: 13px; }
.mobile-bar .red { background: #d00b0f; }
.mobile-bar .green { background: #14b94a; }

@media (min-width: 1050px) {
  body { padding-bottom: 40px; }
}

@media (max-width: 1180px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .brand { min-width: 300px; }
  .brand-copy strong { font-size: 25px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .nav-actions .btn { padding-inline: 12px; font-size: 12px; }
}

@media (max-width: 960px) {
  .top-strip { display: none; }
  .nav-wrap { min-height: 78px; }
  .brand { min-width: 0; }
  .brand img { width: 58px; height: 58px; }
  .brand-copy strong { font-size: 21px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 78px 0 auto 0;
    max-height: calc(100vh - 78px);
    overflow: auto;
    padding: 14px 24px 22px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; color: #fff; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-links a.active::after { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 28px; }
  .hero-person { display: none; }
  .feature-grid, .quick-actions, .course-grid, .stats, .middle, .bottom, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid { height: auto; padding-block: 8px; }
  .stats div:nth-child(even) { border-right: 0; }
  .verify { grid-template-columns: 1fr; }
  .verify h2, .verify p, .verify .block { grid-column: auto; }
  .qr-shield { display: none; }
  .footer ul { columns: 1; }
}

@media (max-width: 640px) {
  body { padding-bottom: max(74px, calc(66px + env(safe-area-inset-bottom))); }
  .wrap { width: calc(100% - 24px); }
  .brand-copy small, .brand-copy em { display: none; }
  .hero, .hero-grid { min-height: 0; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 15px; }
  .hero-buttons { gap: 8px; }
  .hero-btn { width: 100%; justify-content: center; }
  .feature-grid, .quick-actions, .course-grid, .stats, .middle, .bottom, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid div, .stats div { border-right: 0; }
  .franchise-panel ul { grid-template-columns: 1fr; }
  .franchise-panel div { grid-template-columns: 1fr; gap: 10px; }
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .placement { padding-right: 14px; }
  .placement img { display: none; }
  .mobile-bar { height: 54px; }
  .mobile-bar a { flex-direction: column; gap: 2px; font-size: 17px; }
  .mobile-bar span { font-size: 9px; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
  background: #fff;
}

.about-hero {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 17, 50, .96) 0%, rgba(0, 24, 62, .86) 50%, rgba(0, 24, 62, .55) 100%);
}

.about-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 370px;
  display: grid;
  grid-template-columns: 48% 52%;
}

.about-hero-copy {
  padding: 42px 0 26px;
  color: #fff;
}

.about-hero-copy > span {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about-hero-copy h1 {
  margin-top: 5px;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 55px;
  font-weight: 800;
  line-height: .95;
}

.about-hero-copy h2 {
  margin-top: 9px;
  font-size: 22px;
  line-height: 1.22;
}

.about-hero-copy h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 10px 0;
  background: var(--gold);
}

.about-hero-copy p {
  max-width: 500px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 500;
}

.outline-gold {
  border: 1px solid var(--gold);
  background: rgba(0, 20, 54, .75) !important;
}

.about-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
}

.about-ring {
  position: absolute;
  left: 44%;
  top: 51%;
  width: 335px;
  height: 335px;
  translate: -50% -50%;
  border: 9px solid rgba(240, 182, 55, .7);
  border-radius: 50%;
}

.about-chairman {
  position: relative;
  z-index: 2;
  width: 405px;
  height: 370px;
  max-width: none;
  object-fit: cover;
  object-position: 48% top;
}

.about-badge {
  position: absolute;
  z-index: 3;
  right: 5px;
  top: 72px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 14px rgba(240, 182, 55, .5));
}

.about-swoosh {
  position: absolute;
  z-index: 1;
  right: -70px;
  bottom: -76px;
  width: 58%;
  height: 150px;
  background: linear-gradient(90deg, #fff 0 7%, #d3060a 7% 82%, #f0b637 82% 100%);
  border-radius: 100% 0 0 0;
  transform: rotate(-8deg);
  transform-origin: right bottom;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.08fr .72fr 1.12fr;
  gap: 18px;
  padding: 20px 0 18px;
}

.about-intro article,
.about-block,
.methodology,
.training-areas,
.system-card,
.values-card,
.quality-card,
.journey-card {
  border: 1px solid #e9c994;
  border-radius: 8px;
  background: #fff;
}

.who-card {
  border: 0 !important;
  padding: 0 5px 0 0;
}

.who-card h2,
.about-block > h2,
.methodology > h2,
.training-areas > h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.title-star {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 9px 0 15px;
  color: var(--gold);
}

.title-star span {
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.title-star i {
  font-size: 12px;
}

.who-card p {
  margin-bottom: 11px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.47;
}

.who-card .btn {
  margin-top: 5px;
  min-width: 185px;
}

.vision-card {
  position: relative;
  padding: 56px 28px 20px;
  text-align: center;
}

.vision-card h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.vision-card p {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.about-round {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 2px 7px rgba(7, 24, 49, .16);
}

.about-round.navy { background: var(--navy); }
.about-round.red { background: #bc0609; }

.vision-card > .about-round {
  position: absolute;
  left: 50%;
  top: -31px;
  translate: -50% 0;
}

.mission {
  text-align: left;
}

.mission h2 {
  text-align: center;
}

.mission ul {
  margin-top: 14px;
}

.mission li,
.system-card li,
.quality-card li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
  font-size: 12px;
  font-weight: 600;
}

.mission li::before,
.system-card li::before,
.quality-card li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  top: 1px;
  color: #c2080b;
  font: var(--fa-font-solid);
  font-size: 12px;
}

.chairman-message {
  display: grid;
  grid-template-columns: 270px 1fr 205px;
  overflow: hidden;
  min-height: 242px;
  border-radius: 8px;
  background: linear-gradient(110deg, #061a44, #001338);
  color: #fff;
  box-shadow: var(--shadow);
}

.chairman-message > img {
  width: 270px;
  height: 242px;
  object-fit: cover;
  object-position: 47% top;
}

.message-copy {
  padding: 22px 18px 18px;
}

.message-copy h2 {
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.message-copy .title-star {
  justify-content: center;
  margin: 8px 0 12px;
}

.message-copy p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}

.message-copy .fa-quote-left {
  color: var(--gold);
  font-size: 22px;
  margin-right: 5px;
}

.signature {
  align-self: center;
  padding: 20px 24px 20px 5px;
}

.signature::before {
  content: "Salman";
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 43px;
  line-height: 1;
  transform: rotate(-8deg);
}

.signature strong {
  display: block;
  color: var(--gold);
  font-size: 20px;
}

.signature span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.about-block {
  margin-top: 18px;
  padding: 13px 0 16px;
}

.about-block > h2,
.methodology > h2,
.training-areas > h2 {
  position: relative;
  margin-bottom: 10px;
  text-align: center;
  font-size: 22px;
}

.about-block > h2::before,
.about-block > h2::after,
.methodology > h2::before,
.methodology > h2::after,
.training-areas > h2::before,
.training-areas > h2::after {
  content: "";
  display: inline-block;
  width: 115px;
  height: 1px;
  margin: 0 18px 6px;
  background: #e2b96a;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
  padding: 0 14px;
}

.about-feature-grid article {
  min-height: 140px;
  border: 1px solid #ecd0a4;
  border-radius: 8px;
  padding: 37px 12px 12px;
  position: relative;
  text-align: center;
}

.about-feature-grid .about-round {
  position: absolute;
  left: 50%;
  top: -31px;
  translate: -50% 0;
}

.about-feature-grid h3,
.method-grid h3,
.area-grid h3,
.values-grid h3 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.15;
}

.about-feature-grid p,
.method-grid p,
.area-grid p,
.values-grid p {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.methodology {
  margin-top: 12px;
  padding: 8px 0 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #e7c893;
}

.method-grid article {
  position: relative;
  min-height: 148px;
  padding: 17px 12px 10px;
  border-right: 1px solid #e7c893;
  text-align: center;
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid article:not(:last-child)::after {
  content: "\f061";
  position: absolute;
  right: -13px;
  top: 22px;
  z-index: 2;
  color: #e69a00;
  font: var(--fa-font-solid);
  font-size: 22px;
}

.method-grid .about-round {
  width: 54px;
  height: 54px;
  margin: -4px auto 8px;
  font-size: 23px;
}

.training-areas {
  padding: 0 0 12px;
  border: 0;
}

.training-areas > h2 {
  margin-bottom: 8px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
}

.area-grid article {
  overflow: hidden;
  border: 1px solid #ecd0a4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.area-grid img {
  width: 100%;
  height: 102px;
  object-fit: cover;
}

.area-grid h3 {
  padding: 10px 9px 0;
  font-size: 16px;
}

.area-grid p {
  min-height: 47px;
  padding: 0 14px;
}

.area-grid .btn {
  min-height: 30px;
  margin: 4px auto 12px;
  padding: 7px 15px;
  font-size: 11px;
}

.about-system {
  display: grid;
  grid-template-columns: 1.16fr .88fr 1fr;
  gap: 12px;
  padding-bottom: 12px;
}

.system-card {
  min-height: 230px;
  position: relative;
  padding: 18px 20px;
  overflow: hidden;
}

.system-card h2,
.values-card h2,
.quality-card h2,
.journey-card h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.two-list {
  columns: 2;
}

.device-art {
  position: absolute;
  right: 30px;
  bottom: 12px;
  color: var(--navy);
}

.device-art .fa-laptop {
  font-size: 112px;
}

.device-art .fa-mobile-screen-button {
  margin-left: 12px;
  font-size: 56px;
}

.red-panel {
  color: #fff;
  background: linear-gradient(135deg, #c30c10, #910004);
  border-color: #a80005;
}

.red-panel h2,
.journey-card h2 span {
  color: var(--gold);
}

.red-panel li::before {
  color: var(--gold);
}

.red-panel .system-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.commitment .big-icon {
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: var(--navy);
  font-size: 86px;
  opacity: .95;
}

.about-stats {
  margin-top: 0;
  margin-bottom: 12px;
}

.values-quality {
  display: grid;
  grid-template-columns: 1.25fr .95fr .95fr;
  gap: 12px;
  padding-bottom: 10px;
}

.values-card,
.quality-card,
.journey-card {
  min-height: 200px;
  padding: 18px;
}

.values-card h2,
.quality-card h2 {
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.values-grid div {
  min-height: 120px;
  border-right: 1px solid #e7c893;
  padding: 0 8px;
  text-align: center;
}

.values-grid div:last-child {
  border-right: 0;
}

.values-grid i {
  width: 48px;
  height: 48px;
  margin: 0 auto 9px;
  display: grid;
  place-items: center;
  border: 1px solid #e7c893;
  border-radius: 50%;
  color: var(--navy);
  font-size: 22px;
}

.quality-card {
  position: relative;
  padding-right: 120px;
}

.quality-card ul {
  margin-top: 16px;
}

.quality-icon {
  position: absolute;
  right: 22px;
  top: 76px;
  color: var(--navy);
  font-size: 88px;
}

.journey-card {
  color: #fff;
  text-align: center;
  background: linear-gradient(140deg, #061a44, #001338);
  border-color: #061a44;
}

.journey-card h2 {
  color: #fff;
  font-size: 22px;
}

.journey-card p {
  margin: 16px 0;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}

.journey-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.whatsapp i {
  color: #1ed760;
  font-size: 22px;
}

@media (max-width: 960px) {
  .about-hero-grid,
  .about-intro,
  .chairman-message,
  .about-system,
  .values-quality {
    grid-template-columns: 1fr;
  }

  .about-hero-media,
  .about-swoosh {
    display: none;
  }

  .about-feature-grid,
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 12px;
  }

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

  .method-grid article::after {
    display: none;
  }

  .chairman-message > img {
    width: 100%;
    height: 300px;
  }
}

/* Home testimonial slider and About training highlights */
.testimonial > h2,
.testimonial > .quote,
.testimonial > p,
.testimonial > strong,
.testimonial > em,
.testimonial > .stars,
.testimonial > .dots:not(.testimonial-dots) {
  display: none;
}

.testimonial {
  overflow: hidden;
}

.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.testimonial-head h2 {
  margin: 0;
}

.testimonial-controls {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.testimonial-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(13, 42, 86, .18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.testimonial-btn:hover {
  color: #fff;
  background: var(--navy);
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(13, 42, 86, .08);
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
  height: 6px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--gold);
}

.testimonial-slider::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(13, 42, 86, .08);
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  padding-right: 8px;
}

.testimonial-slide p {
  min-height: 61px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.testimonial-slide strong,
.testimonial-slide em {
  display: block;
  font-size: 11px;
}

.testimonial-slide em {
  color: var(--muted);
  font-style: normal;
}

.testimonial-slide .stars {
  display: flex;
  gap: 2px;
  margin-top: 5px;
}

.testimonial-dots {
  margin-top: 8px;
}

.testimonial-dots span.active,
.testimonial-dots span:first-child {
  background: var(--navy);
}

.testimonial-dots span:not(.active):not(:first-child) {
  background: transparent;
}

.about-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}

.about-feature-grid article {
  min-height: 128px;
  padding: 38px 10px 14px;
}

.about-feature-grid .about-round {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.about-feature-grid .about-round i {
  font-size: 23px;
}

@media (max-width: 960px) {
  .about-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    row-gap: 40px;
  }
}

@media (max-width: 640px) {
  .testimonial-head {
    align-items: flex-start;
  }

  .testimonial-controls {
    margin-top: -2px;
  }

  .testimonial-btn {
    width: 32px;
    height: 32px;
  }

  .testimonial-slide {
    padding-right: 4px;
  }

  .testimonial-slide p {
    min-height: 74px;
  }

  .about-feature-grid {
    grid-template-columns: 1fr !important;
    row-gap: 38px;
  }

  .about-feature-grid article {
    min-height: 112px;
  }
}

/* Final Gallery section optimization override */
.gallery-pdf-page .gallery-feature-area {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding-top: 34px;
}

.gallery-pdf-page .gallery-left .gallery-heading {
  margin-bottom: 18px;
}

.gallery-pdf-page .gallery-left .album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-pdf-page .gallery-feature-area .album-card {
  position: relative;
  min-height: 186px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-feature-area .album-card img {
  width: 150px;
  height: 104px;
  margin: 0 0 0 18px;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-pdf-page .gallery-feature-area .album-card > span {
  left: 132px;
  top: 14px;
  z-index: 2;
  max-width: 78px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.gallery-pdf-page .gallery-feature-area .album-card div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.gallery-pdf-page .gallery-feature-area .album-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.gallery-pdf-page .gallery-feature-area .album-card p {
  margin-top: 5px;
  color: #526078;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-feature-area .album-card a {
  min-width: 118px;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 11px;
}

.gallery-pdf-page .gallery-feature-area .album-card em {
  margin-left: 10px;
  white-space: nowrap;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side {
  gap: 18px;
  padding-top: 44px;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 14px;
  padding: 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour h2,
.gallery-pdf-page .gallery-side .gallery-rules h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.18;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  width: 146px;
  height: 58px;
  border-radius: 4px;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  position: static;
  min-width: 0;
  width: 190px;
  min-height: 34px;
  margin-top: 10px;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour strong {
  width: 78px;
  height: 78px;
  font-size: 25px;
}

.gallery-pdf-page .gallery-side .gallery-rules {
  min-height: 178px;
  padding: 20px 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .gallery-rules li {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.25;
}

.gallery-pdf-page .gallery-media-row {
  grid-template-columns: 1fr 1.08fr .9fr;
  gap: 22px;
  margin-top: 70px;
}

.gallery-pdf-page .gallery-media-row > article {
  min-height: 195px;
  padding: 22px 26px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-media-row h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
  text-align: left;
}

.gallery-pdf-page .student-journey h2 {
  text-align: center;
}

.gallery-pdf-page .video-thumbs img,
.gallery-pdf-page .journey-strip img {
  height: 72px;
  border-radius: 5px;
}

.gallery-pdf-page .gallery-media-row .testimonial-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.gallery-pdf-page .gallery-media-row .testimonial-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.gallery-pdf-page .gallery-proof > article {
  min-height: 78px;
  grid-template-columns: 52px minmax(0, 1fr);
  border: 1px solid #d9e2ef;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .05);
}

@media (max-width: 1100px) {
  .gallery-pdf-page .gallery-feature-area,
  .gallery-pdf-page .gallery-media-row {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-side,
  .gallery-pdf-page .gallery-proof {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 32px);
    height: 150px;
    margin: 16px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    left: 26px;
    top: 26px;
  }
}

/* Final site-wide responsive override */
.header-actions {
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  min-height: 40px;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-login {
  background: linear-gradient(180deg, #ffc64a, #f3a914);
  color: #061f42;
}

.header-verify {
  border: 1px solid #b9c6d8;
  background: #fff;
  color: #061f42;
}

.header-enquire {
  background: #061f42;
  color: #fff;
}

.hero-buttons {
  max-width: 720px;
}

.hero-btn {
  min-width: 0;
  white-space: nowrap;
}

@media (min-width: 1181px) {
  .home-page .hero-buttons,
  .hero-main .hero-buttons,
  .hero-buttons {
    flex-wrap: nowrap;
  }

  .home-page .hero-btn,
  .hero-main .hero-btn {
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 10px;
    font-size: 12px;
  }
}

@media (max-width: 1280px) {
  .nav-wrapper {
    padding: 12px 22px;
  }

  .brand img,
  .logo-block img {
    max-height: 76px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 11px;
  }

  .container,
  .nav-wrapper {
    max-width: 1180px;
  }
}

@media (max-width: 1100px) {
  .top-strip {
    display: none;
  }

  .site-header,
  .header {
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .nav-wrapper,
  .navbar {
    min-height: 74px;
    padding: 10px 18px;
  }

  .brand img,
  .logo-block img {
    max-height: 62px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 74px 14px auto 14px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(221, 170, 52, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 31, 66, .2);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .header-actions,
  .nav-actions {
    display: none;
  }

  .hero,
  .inner-hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    min-height: auto;
  }

  .hero-content,
  .about-hero-content,
  .courses-hero-content,
  .franchise-hero-content,
  .placement-hero-content,
  .student-hero-content,
  .contact-hero-content,
  .gallery-hero-content {
    max-width: 100%;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
  }

  .hero-btn,
  .btn {
    justify-content: center;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats-grid,
  .footer-grid,
  .about-values,
  .student-feature-grid,
  .contact-grid,
  .gallery-album-grid,
  .placement-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-main-grid,
  .franchise-intro-grid,
  .placement-support-grid,
  .student-dashboard-grid,
  .contact-main-grid,
  .gallery-feature-area,
  .gallery-media-row {
    grid-template-columns: 1fr;
  }

  .hero-person,
  .about-hero-visual,
  .placement-hero-media {
    opacity: .35;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .nav-wrapper,
  .navbar {
    width: min(100%, 100vw);
    padding-inline: 14px;
  }

  section,
  .section {
    padding-block: 28px;
  }

  .brand img,
  .logo-block img {
    max-width: 225px;
    max-height: 54px;
    object-fit: contain;
  }

  .hero,
  .inner-hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    padding: 34px 0;
    text-align: left;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(30px, 11vw, 43px);
  }

  .hero p,
  .inner-hero p,
  .about-hero p,
  .courses-hero p,
  .franchise-hero p,
  .placement-hero p,
  .student-hero p,
  .contact-hero p,
  .gallery-hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero-btn,
  .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 12px;
    white-space: normal;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats-grid,
  .footer-grid,
  .about-values,
  .student-feature-grid,
  .contact-grid,
  .gallery-album-grid,
  .placement-card-grid,
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-side,
  .gallery-pdf-page .gallery-proof {
    grid-template-columns: 1fr;
  }

  .course-card,
  .action-card,
  .feature-card,
  .stat-card,
  .footer-card,
  .info-card {
    width: 100%;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 28px);
    height: 170px;
    margin: 14px;
  }

  .gallery-pdf-page .gallery-media-row {
    margin-top: 32px;
  }

  .sticky-bottom,
  .bottom-cta-bar {
    position: static;
  }
}

@media (max-width: 480px) {
  .brand img:not(.brand-logo),
  .logo-block img {
    max-width: 190px;
  }

  .nav-wrapper,
  .navbar {
    min-height: 66px;
  }

  .nav-links {
    top: 66px;
  }
}

/* Absolute final header alignment and gallery fixes */
.site-header .nav-wrap,
.header .navbar {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 0;
}

.site-header .brand,
.header .logo-block {
  flex: 0 0 auto;
  min-width: 0;
}

.site-header .brand {
  max-width: 310px;
}

.site-header .brand img {
  width: 70px;
  height: 70px;
}

.site-header .brand-copy strong {
  font-size: 27px;
}

.site-header .brand-copy small {
  font-size: 9px;
}

.site-header .brand-copy em {
  font-size: 8px;
}

.site-header .nav-links,
.header .nav-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
}

.site-header .nav-links a,
.header .nav-links a {
  display: inline-flex;
  height: 44px;
  align-items: center;
  padding: 0;
  line-height: 1;
}

.site-header .nav-links a.active::after {
  bottom: 2px;
}

.site-header .header-actions,
.header .header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  transform: none;
}

.site-header .header-actions .btn,
.header .header-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: none;
}

.gallery-pdf-page .gallery-feature-area .album-card div,
.gallery-pdf-page .gallery-feature-area .album-card h3,
.gallery-pdf-page .gallery-feature-area .album-card p,
.gallery-pdf-page .gallery-feature-area .album-card em {
  text-align: left;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  display: none;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  margin-top: 18px;
}

@media (max-width: 1360px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
    gap: 12px;
  }

  .site-header .brand {
    max-width: 260px;
  }

  .site-header .brand img {
    width: 62px;
    height: 62px;
  }

  .site-header .brand-copy strong {
    font-size: 23px;
  }

  .site-header .nav-links,
  .header .nav-links {
    gap: 10px;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    font-size: 11px;
  }

  .site-header .header-actions,
  .header .header-actions {
    gap: 9px;
  }

  .site-header .header-actions .btn,
  .header .header-actions .btn {
    padding-inline: 11px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .site-header .nav-wrap,
  .header .navbar {
    min-height: 76px;
  }

  .site-header .header-actions,
  .header .header-actions {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header .hamburger,
  .header .hamburger {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-header .nav-links,
  .header .nav-links {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(221, 170, 52, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 31, 66, .2);
  }

  .site-header .nav-links.open,
  .header .nav-links.open {
    display: grid;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 44px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
  }

  .site-header .nav-links a.active::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 28px));
    min-height: 66px;
  }

  .site-header .brand {
    max-width: 230px;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 66px 14px auto 14px;
  }
}

/* Mobile premium optimization layer */
@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
    max-width: none;
  }

  .site-header,
  .header {
    z-index: 100;
  }

  .site-header .nav-wrap,
  .header .navbar {
    min-height: 72px;
  }

  .site-header .brand,
  .header .logo-block {
    max-width: min(72vw, 300px);
  }

  .site-header .brand img,
  .header .logo-block img {
    flex: 0 0 auto;
  }

  .site-header .hamburger,
  .header .hamburger {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff7e4;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 72px 16px auto 16px;
    padding: 12px;
    border-radius: 12px;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    min-height: 48px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a.active,
  .header .nav-links a:hover,
  .header .nav-links a.active {
    background: #fff7e4;
    color: var(--red);
  }

  main {
    overflow: hidden;
  }

  section,
  .section,
  .gallery-section,
  .about-block,
  .training-areas,
  .methodology,
  .about-system,
  .values-quality,
  .course-section,
  .franchise-section,
  .placement-section,
  .student-features,
  .dashboard-preview,
  .contact-departments {
    padding-block: clamp(42px, 7vw, 72px);
  }

  h1,
  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  h2,
  .section-title h2,
  .gallery-heading h2 {
    font-size: clamp(24px, 6vw, 31px);
    line-height: 1.18;
    letter-spacing: 0;
  }

  h3 {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.22;
  }

  p,
  li {
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.6;
  }

  small,
  em,
  label,
  .gallery-pdf-page .gallery-feature-area .album-card em {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .btn,
  .hero-btn,
  button,
  input,
  select,
  textarea {
    min-height: 48px;
  }

  .btn,
  .hero-btn,
  button {
    min-width: 48px;
    align-items: center;
    justify-content: center;
    text-align: center;
    touch-action: manipulation;
  }

  input,
  select,
  textarea {
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
  }

  textarea {
    min-height: 112px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .hero-grid,
  .about-hero-grid,
  .courses-hero-grid,
  .franchise-hero-grid,
  .placement-hero-grid,
  .student-hero-grid,
  .contact-hero-grid,
  .about-intro,
  .about-system,
  .values-quality,
  .course-admission,
  .course-info-grid,
  .franchise-hero-inner,
  .franchise-benefit-grid,
  .franchise-model-grid,
  .franchise-enquiry-process,
  .placement-hero-inner,
  .placement-support-grid,
  .placement-register-grid,
  .student-main,
  .dashboard-grid,
  .contact-form-details,
  .contact-routing,
  .gallery-feature-area,
  .gallery-media-row,
  .gallery-cta .wrap,
  .footer-grid,
  .gallery-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats,
  .stats-grid,
  .area-grid,
  .about-feature-grid,
  .method-grid,
  .portal-grid,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .gallery-proof,
  .approval-flow,
  .journey-grid,
  .response-row,
  .workflow-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    min-height: auto;
    padding-block: 42px;
  }

  .hero-copy,
  .about-hero-copy,
  .courses-hero-copy,
  .franchise-hero-copy,
  .placement-hero-copy,
  .student-hero-copy,
  .contact-hero-copy,
  .gallery-hero-content {
    width: 100%;
    max-width: 100%;
    padding-block: 0;
  }

  .hero-buttons,
  .gallery-hero-actions,
  .gallery-hero-badges,
  .contact-hero-tags,
  .course-hero-actions,
  .franchise-hero-actions,
  .placement-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .hero-btn,
  .gallery-hero-actions .btn,
  .gallery-hero-badges span,
  .contact-hero-tags span,
  .course-hero-actions .btn,
  .franchise-hero-actions .btn,
  .placement-hero-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero-person,
  .about-hero-media,
  .courses-hero-media,
  .franchise-hero-media,
  .placement-hero-media,
  .student-hero img,
  .contact-hero-visual {
    max-width: 100%;
    margin-inline: auto;
  }

  .course-card,
  .action-card,
  .feature-card,
  .small-panel,
  .album-card,
  .gallery-pdf-page .gallery-feature-area .album-card,
  .department-grid article,
  .contact-bottom-cards article,
  .student-feature-grid article,
  .student-info-grid article {
    min-width: 0;
    border-radius: 10px;
  }

  .course-card img,
  .area-grid img,
  .gallery-pdf-page .gallery-feature-area .album-card img,
  .album-card img,
  .blog-item img,
  .gallery-mini img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .course-card img,
  .area-grid img {
    height: clamp(150px, 34vw, 220px);
  }

  .form-grid,
  .contact-form-grid,
  .split,
  .captcha-row,
  .locator-row,
  .official-details section,
  .student-login-links,
  .franchise-panel div,
  .franchise-panel ul {
    grid-template-columns: 1fr !important;
  }

  .smart-form,
  .official-details,
  .enquiry,
  .verify,
  .franchise-panel,
  .student-login-card {
    padding: clamp(18px, 5vw, 28px);
  }

  .course-table-wrap,
  .course-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
  }

  .site-header .nav-wrap,
  .header .navbar {
    min-height: 66px;
  }

  .site-header .brand {
    gap: 8px;
    max-width: calc(100% - 58px);
  }

  .site-header .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header .brand-copy strong {
    font-size: clamp(18px, 5.9vw, 24px);
  }

  .site-header .brand-copy small {
    font-size: 7px;
    line-height: 1.1;
  }

  .site-header .brand-copy em {
    display: none;
  }

  .site-header .hamburger,
  .header .hamburger {
    width: 46px;
    height: 46px;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 66px 12px auto 12px;
  }

  section,
  .section,
  .gallery-section,
  .about-block,
  .training-areas,
  .methodology,
  .about-system,
  .values-quality,
  .course-section,
  .franchise-section,
  .placement-section,
  .student-features,
  .dashboard-preview,
  .contact-departments {
    padding-block: 44px;
  }

  .hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    padding-block: 34px;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(31px, 10vw, 40px);
    line-height: 1.08;
  }

  .hero-buttons,
  .gallery-hero-actions,
  .course-hero-actions,
  .franchise-hero-actions,
  .placement-hero-actions {
    grid-template-columns: 1fr;
  }

  .gallery-hero-badges,
  .contact-hero-tags,
  .feature-grid,
  .action-grid,
  .course-grid,
  .stats,
  .stats-grid,
  .area-grid,
  .about-feature-grid,
  .method-grid,
  .portal-grid,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .gallery-proof,
  .approval-flow,
  .journey-grid,
  .response-row,
  .workflow-row {
    grid-template-columns: 1fr !important;
  }

  .stats,
  .stats-grid {
    gap: 10px;
  }

  .stats > div,
  .stats-grid > div,
  .stats-grid article {
    min-height: 86px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card,
  .album-card,
  .blog-item,
  .department-grid article,
  .student-feature-grid article {
    grid-template-columns: 1fr !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img,
  .album-card img {
    width: calc(100% - 28px);
    height: clamp(165px, 48vw, 220px);
    margin: 14px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gallery-pdf-page .gallery-side .virtual-tour strong {
    justify-self: start;
  }

  .mobile-bar {
    height: auto;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .mobile-bar a {
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 28px));
  }

  .site-header .brand-copy strong {
    font-size: 18px;
  }

  .site-header .brand-copy small {
    font-size: 6.5px;
  }

  .btn,
  .hero-btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: 30px;
  }
}

/* Header alignment and gallery refinements - final override */
.site-header .nav-wrap,
.header .navbar {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 0;
}

.site-header .brand,
.header .logo-block {
  flex: 0 0 auto;
  min-width: 0;
}

.site-header .brand {
  max-width: 310px;
}

.site-header .brand img {
  width: 70px;
  height: 70px;
}

.site-header .brand-copy strong {
  font-size: 27px;
}

.site-header .brand-copy small {
  font-size: 9px;
}

.site-header .brand-copy em {
  font-size: 8px;
}

.site-header .nav-links,
.header .nav-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
}

.site-header .nav-links a,
.header .nav-links a {
  display: inline-flex;
  height: 44px;
  align-items: center;
  padding: 0;
  line-height: 1;
}

.site-header .nav-links a.active::after {
  bottom: 2px;
}

.site-header .header-actions,
.header .header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  transform: none;
}

.site-header .header-actions .btn,
.header .header-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: none;
}

.gallery-pdf-page .gallery-feature-area .album-card div,
.gallery-pdf-page .gallery-feature-area .album-card h3,
.gallery-pdf-page .gallery-feature-area .album-card p,
.gallery-pdf-page .gallery-feature-area .album-card em {
  text-align: left;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  display: none;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  margin-top: 18px;
}

@media (max-width: 1360px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
    gap: 12px;
  }

  .site-header .brand {
    max-width: 260px;
  }

  .site-header .brand img {
    width: 62px;
    height: 62px;
  }

  .site-header .brand-copy strong {
    font-size: 23px;
  }

  .site-header .nav-links,
  .header .nav-links {
    gap: 10px;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    font-size: 11px;
  }

  .site-header .header-actions,
  .header .header-actions {
    gap: 9px;
  }

  .site-header .header-actions .btn,
  .header .header-actions .btn {
    padding-inline: 11px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .site-header .nav-wrap,
  .header .navbar {
    min-height: 76px;
  }

  .site-header .header-actions,
  .header .header-actions {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header .hamburger,
  .header .hamburger {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-header .nav-links,
  .header .nav-links {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(221, 170, 52, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 31, 66, .2);
  }

  .site-header .nav-links.open,
  .header .nav-links.open {
    display: grid;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 44px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
  }

  .site-header .nav-links a.active::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 28px));
    min-height: 66px;
  }

  .site-header .brand {
    max-width: 230px;
  }
}

/* Gallery desktop website layout - final override */
@media (min-width: 1101px) {
  .gallery-pdf-page {
    background: #fff;
  }

  .gallery-pdf-page .gallery-section {
    padding-top: 34px;
  }

  .gallery-pdf-page .gallery-heading {
    margin-bottom: 18px;
  }

  .gallery-pdf-page .gallery-heading h2 {
    font-size: 24px;
    letter-spacing: 0;
  }

  .gallery-pdf-page .gallery-filters {
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
  }

  .gallery-pdf-page .gallery-filters button {
    flex: 0 1 auto;
    min-width: 78px;
    padding: 8px 13px;
  }

  .gallery-pdf-page .gallery-feature-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding-top: 38px;
  }

  .gallery-pdf-page .gallery-left .album-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    min-height: 205px;
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(7, 24, 49, .07);
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: 150px;
    height: 118px;
    margin-left: 18px;
    border-radius: 6px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    left: 132px;
    top: 18px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 20px 18px 20px 0;
  }

  .gallery-pdf-page .gallery-feature-area .album-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
    line-height: 1.18;
  }

  .gallery-pdf-page .gallery-feature-area .album-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .gallery-pdf-page .gallery-feature-area .album-card a {
    min-width: 120px;
    min-height: 34px;
    margin-top: 13px;
  }

  .gallery-pdf-page .gallery-side {
    display: grid;
    gap: 22px;
    padding-top: 47px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour,
  .gallery-pdf-page .gallery-side .gallery-rules {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(7, 24, 49, .07);
  }

  .gallery-pdf-page .gallery-side .virtual-tour {
    min-height: 205px;
    grid-template-columns: 1fr 84px;
    padding: 22px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour h2,
  .gallery-pdf-page .gallery-side .gallery-rules h2 {
    font-size: 19px;
    line-height: 1.2;
  }

  .gallery-pdf-page .gallery-side .virtual-tour img {
    width: 160px;
    height: 64px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour .btn {
    width: 196px;
    min-height: 34px;
    margin-top: 10px;
  }

  .gallery-pdf-page .gallery-side .gallery-rules {
    min-height: 205px;
    padding: 22px;
  }

  .gallery-pdf-page .gallery-side .gallery-rules li {
    margin-bottom: 9px;
    font-size: 12px;
  }

  .gallery-pdf-page .gallery-media-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr .9fr;
    gap: 24px;
    margin-top: 58px;
  }

  .gallery-pdf-page .gallery-media-row > article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(7, 24, 49, .07);
  }

  .gallery-pdf-page .gallery-media-row h2 {
    font-size: 20px;
  }

  .gallery-pdf-page .video-thumbs img,
  .gallery-pdf-page .journey-strip img {
    height: 76px;
  }

  .gallery-pdf-page .gallery-proof {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
  }

  .gallery-pdf-page .gallery-proof > article {
    min-height: 82px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    padding: 14px;
    border: 1px solid #dce4ef;
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(7, 24, 49, .06);
  }
}

/* Global responsive polish */
@media (min-width: 1181px) {
  .hero-buttons {
    max-width: 700px;
  }

  .hero-btn {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 13px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 1280px) {
  .nav-wrap {
    gap: 12px;
  }

  .brand {
    min-width: 282px;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .brand-copy strong {
    font-size: 24px;
  }

  .nav-links {
    gap: 9px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 10px;
  }
}

@media (max-width: 1100px) {
  .top-strip {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 78px 0 auto 0;
    max-height: calc(100vh - 78px);
    overflow: auto;
    padding: 14px 24px 22px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    z-index: 25;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .hero-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .feature-grid,
  .quick-actions,
  .course-grid,
  .stats,
  .middle,
  .bottom,
  .footer-grid,
  .course-strip,
  .course-overview,
  .course-categories,
  .popular-grid,
  .course-table-wrap,
  .course-support,
  .franchise-benefits,
  .franchise-models,
  .franchise-support-grid,
  .placement-card-grid.six,
  .job-grid,
  .placement-process-grid,
  .placement-info-panels,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .album-grid,
  .gallery-proof,
  .approval-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .about-hero-grid,
  .courses-hero-inner,
  .student-hero-grid,
  .student-main,
  .dashboard-grid,
  .contact-hero-grid,
  .contact-form-details,
  .contact-routing,
  .placement-main,
  .placement-lower-grid,
  .course-cta,
  .course-support,
  .gallery-feature-area,
  .gallery-media-row,
  .gallery-pdf-page .approval-system {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-person,
  .about-hero-visual,
  .placement-hero-media {
    display: none;
  }

  .feature-grid {
    height: auto;
    padding-block: 8px;
  }

  .stats div:nth-child(even),
  .feature-grid div:nth-child(even) {
    border-right: 0;
  }

  .gallery-side {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 54px;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .nav-links {
    inset: 70px 0 auto 0;
    max-height: calc(100vh - 70px);
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small,
  .brand-copy em {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .feature-grid,
  .quick-actions,
  .course-grid,
  .stats,
  .middle,
  .bottom,
  .footer-grid,
  .course-strip,
  .course-overview,
  .course-categories,
  .popular-grid,
  .course-table-wrap,
  .course-support,
  .franchise-benefits,
  .franchise-models,
  .franchise-support-grid,
  .placement-card-grid.six,
  .job-grid,
  .placement-process-grid,
  .placement-info-panels,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .response-row,
  .workflow-row,
  .contact-form-grid,
  .album-grid,
  .gallery-proof,
  .approval-flow,
  .gallery-footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid div,
  .stats div {
    border-right: 0;
  }

  .franchise-panel ul,
  .franchise-panel div {
    grid-template-columns: 1fr;
  }

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

  .placement {
    padding-right: 14px;
  }

  .placement img,
  .qr-shield,
  .quality-icon,
  .device-art,
  .commitment .big-icon {
    display: none;
  }

  .course-table {
    overflow-x: auto;
  }

  .course-table > div {
    min-width: 620px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 32px);
    height: 150px;
    margin: 16px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }
}

/* Gallery 100% desktop fit override */
@media (min-width: 1101px) {
  .gallery-pdf-page .gallery-feature-area {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    padding-top: 30px;
  }

  .gallery-pdf-page .gallery-left .album-grid {
    gap: 18px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    min-height: 154px;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 14px;
    border-radius: 9px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: 118px;
    height: 82px;
    margin-left: 14px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    left: 105px;
    top: 12px;
    max-width: 72px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 14px 14px 14px 0;
  }

  .gallery-pdf-page .gallery-feature-area .album-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.12;
  }

  .gallery-pdf-page .gallery-feature-area .album-card p {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.25;
  }

  .gallery-pdf-page .gallery-feature-area .album-card a {
    min-width: 96px;
    min-height: 28px;
    margin-top: 9px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card em {
    margin-left: 7px;
    font-size: 9px;
  }

  .gallery-pdf-page .gallery-side {
    gap: 14px;
    padding-top: 42px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour {
    min-height: 146px;
    grid-template-columns: 1fr 70px;
    gap: 10px;
    padding: 16px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour h2,
  .gallery-pdf-page .gallery-side .gallery-rules h2 {
    font-size: 15px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour p {
    font-size: 10px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour img {
    width: 128px;
    height: 48px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour .btn {
    width: 150px;
    min-height: 28px;
    margin-top: 8px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour strong {
    width: 64px;
    height: 64px;
    font-size: 21px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour strong span {
    font-size: 9px;
  }

  .gallery-pdf-page .gallery-side .gallery-rules {
    min-height: 158px;
    padding: 16px;
  }

  .gallery-pdf-page .gallery-side .gallery-rules li {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .gallery-pdf-page .gallery-media-row {
    gap: 18px;
    margin-top: 54px;
  }

  .gallery-pdf-page .gallery-media-row > article {
    min-height: 168px;
    padding: 18px 20px;
  }

  .gallery-pdf-page .gallery-media-row h2 {
    font-size: 17px;
  }

  .gallery-pdf-page .video-thumbs img,
  .gallery-pdf-page .journey-strip img {
    height: 58px;
  }

  .gallery-pdf-page .gallery-proof {
    gap: 14px;
    margin-top: 18px;
  }

  .gallery-pdf-page .gallery-proof > article {
    min-height: 68px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .gallery-pdf-page .gallery-proof i {
    width: 34px;
    height: 34px;
  }

  .gallery-pdf-page .gallery-proof h3 {
    font-size: 10px;
  }

  .gallery-pdf-page .gallery-proof p {
    font-size: 9px;
  }
}

/* Gallery section optimization */
.gallery-pdf-page .gallery-feature-area {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding-top: 34px;
}

.gallery-pdf-page .gallery-left .gallery-heading {
  margin-bottom: 18px;
}

.gallery-pdf-page .gallery-left .album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-pdf-page .gallery-feature-area .album-card {
  position: relative;
  min-height: 186px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-feature-area .album-card img {
  width: 150px;
  height: 104px;
  margin: 0 0 0 18px;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-pdf-page .gallery-feature-area .album-card > span {
  left: 132px;
  top: 14px;
  z-index: 2;
  max-width: 78px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.gallery-pdf-page .gallery-feature-area .album-card div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.gallery-pdf-page .gallery-feature-area .album-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.gallery-pdf-page .gallery-feature-area .album-card p {
  margin-top: 5px;
  color: #526078;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-feature-area .album-card a {
  min-width: 118px;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 11px;
}

.gallery-pdf-page .gallery-feature-area .album-card em {
  margin-left: 10px;
  white-space: nowrap;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side {
  gap: 18px;
  padding-top: 44px;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 14px;
  padding: 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour h2,
.gallery-pdf-page .gallery-side .gallery-rules h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.18;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  width: 146px;
  height: 58px;
  border-radius: 4px;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  position: static;
  min-width: 0;
  width: 190px;
  min-height: 34px;
  margin-top: 10px;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour strong {
  width: 78px;
  height: 78px;
  font-size: 25px;
}

.gallery-pdf-page .gallery-side .gallery-rules {
  min-height: 178px;
  padding: 20px 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .gallery-rules li {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.25;
}

.gallery-pdf-page .gallery-media-row {
  grid-template-columns: 1fr 1.08fr .9fr;
  gap: 22px;
  margin-top: 70px;
}

.gallery-pdf-page .gallery-media-row > article {
  min-height: 195px;
  padding: 22px 26px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-media-row h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
  text-align: left;
}

.gallery-pdf-page .student-journey h2 {
  text-align: center;
}

.gallery-pdf-page .video-thumbs img,
.gallery-pdf-page .journey-strip img {
  height: 72px;
  border-radius: 5px;
}

.gallery-pdf-page .gallery-media-row .testimonial-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.gallery-pdf-page .gallery-media-row .testimonial-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.gallery-pdf-page .gallery-proof > article {
  min-height: 78px;
  grid-template-columns: 52px minmax(0, 1fr);
  border: 1px solid #d9e2ef;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .05);
}

@media (max-width: 1100px) {
  .gallery-pdf-page .gallery-feature-area,
  .gallery-pdf-page .gallery-media-row {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-side,
  .gallery-pdf-page .gallery-proof {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 32px);
    height: 150px;
    margin: 16px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    left: 26px;
    top: 26px;
  }
}

/* Replicated Gallery PDF layout */
.gallery-pdf-page .gallery-hero {
  min-height: 400px;
}

.gallery-pdf-page .gallery-hero-content {
  width: min(1168px, calc(100% - 48px));
  min-height: 400px;
  justify-content: center;
  padding: 30px 0;
}

.gallery-pdf-page .gallery-hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 4.05vw, 58px);
  line-height: 1.06;
}

.gallery-pdf-page .gallery-hero h2 {
  margin-top: 13px;
  font-size: clamp(22px, 2vw, 30px);
}

.gallery-pdf-page .gallery-hero p {
  max-width: 665px;
  margin-top: 13px;
  font-size: clamp(16px, 1.28vw, 22px);
}

.gallery-pdf-page .gallery-hero-badges {
  gap: 14px;
  margin-top: 18px;
}

.gallery-pdf-page .gallery-hero-badges span {
  min-width: 150px;
  min-height: 46px;
  border-radius: 7px;
  font-size: 14px;
}

.gallery-pdf-page .gallery-hero-actions {
  gap: 14px;
  margin-top: 18px;
}

.gallery-pdf-page .gallery-hero-actions .btn {
  min-width: 150px;
  min-height: 50px;
  font-size: 15px;
}

.gallery-pdf-page .gallery-section {
  padding-top: 28px;
}

.gallery-pdf-page .gallery-heading {
  margin-bottom: 10px;
}

.gallery-pdf-page .gallery-heading h2 {
  font-size: 22px;
}

.gallery-pdf-page .gallery-heading::before,
.gallery-pdf-page .gallery-heading::after {
  width: 150px;
}

.gallery-pdf-page .gallery-filters {
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e4bf6f;
  border-radius: 16px;
}

.gallery-pdf-page .gallery-filters button {
  flex: 1;
  min-width: 78px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 11px;
}

.gallery-feature-area {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 26px;
  padding-top: 36px;
}

.gallery-feature-area .album-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 26px;
}

.gallery-feature-area .album-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: 185px 1fr;
  align-items: center;
  border-color: #d8e0ec;
  border-radius: 14px;
  box-shadow: none;
}

.gallery-feature-area .album-card img {
  width: 170px;
  height: 104px;
  margin-left: 14px;
  border-radius: 3px;
}

.gallery-feature-area .album-card > span {
  left: 150px;
  top: 23px;
  border-radius: 999px;
}

.gallery-feature-area .album-card div {
  padding: 16px 16px 16px 0;
}

.gallery-feature-area .album-card h3 {
  font-size: 18px;
}

.gallery-feature-area .album-card p {
  font-size: 12px;
}

.gallery-feature-area .album-card a {
  min-width: 116px;
  border-radius: 999px;
  text-transform: uppercase;
}

.gallery-side {
  display: grid;
  gap: 22px;
  align-content: start;
  padding-top: 48px;
}

.gallery-side .virtual-tour,
.gallery-side .gallery-rules {
  margin: 0;
  padding: 22px 25px;
  border-radius: 14px;
  box-shadow: none;
}

.gallery-side .virtual-tour {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px;
  color: #fff;
  background: #061a44;
}

.gallery-side .virtual-tour h2,
.gallery-side .gallery-rules h2,
.gallery-media-row h2 {
  font-size: 19px;
}

.gallery-side .virtual-tour p {
  margin: 7px 0 12px;
  font-size: 12px;
}

.gallery-side .virtual-tour img {
  width: 165px;
  height: 62px;
  object-fit: cover;
}

.gallery-side .virtual-tour .btn {
  position: absolute;
  left: 72px;
  bottom: 13px;
  min-width: 190px;
  border-radius: 999px;
  text-transform: uppercase;
}

.gallery-side .virtual-tour strong {
  width: 84px;
  height: 84px;
  align-self: center;
  font-size: 29px;
}

.gallery-side .gallery-rules {
  border: 1px solid #e6bf70;
}

.gallery-media-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr .86fr;
  gap: 24px;
  margin-top: 86px;
}

.gallery-media-row > article {
  min-height: 180px;
  padding: 18px 26px;
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: #fff;
}

.video-thumbs,
.journey-strip {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.video-thumbs span {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.video-thumbs img,
.journey-strip img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.training-videos .btn {
  display: flex;
  width: 205px;
  margin: 16px auto 0;
  border-radius: 999px;
  text-transform: uppercase;
}

.journey-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 15px;
  text-align: center;
  color: #41516c;
  font-size: 11px;
  font-weight: 800;
}

.gallery-media-row .testimonial-card {
  display: grid;
  grid-template-columns: 75px 1fr;
  align-items: center;
  gap: 12px;
}

.gallery-media-row .testimonial-card h2 {
  grid-column: 1 / -1;
  text-align: left;
}

.gallery-media-row .testimonial-card div {
  width: 67px;
  height: 67px;
  color: #41516c;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.gallery-media-row .testimonial-card strong {
  grid-column: 2;
}

.gallery-pdf-page .gallery-proof {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: -6px;
}

.gallery-pdf-page .gallery-proof > article {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 70px;
  padding: 10px 14px;
  border-color: #d8e0ec;
  border-radius: 10px;
  text-align: left;
  box-shadow: none;
}

.gallery-pdf-page .gallery-proof i {
  width: 40px;
  height: 40px;
  margin: 0;
  border: 2px solid #061a44;
  border-radius: 9px;
  background: #eff4fb;
}

.gallery-pdf-page .gallery-proof h3 {
  font-size: 12px;
}

.gallery-pdf-page .gallery-proof p {
  font-size: 10px;
}

.gallery-pdf-page .approval-system {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: end;
  gap: 18px;
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: 13px;
  box-shadow: none;
}

.gallery-pdf-page .approval-system h2 {
  grid-column: 1 / -1;
  text-align: left;
  font-size: 21px;
}

.gallery-pdf-page .approval-system p {
  margin: 0;
  text-align: left;
  font-size: 12px;
}

.gallery-pdf-page .approval-flow {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0;
}

.gallery-pdf-page .approval-flow article {
  min-height: 70px;
  border: 0;
  background: transparent;
}

.gallery-pdf-page .approval-flow b {
  width: 48px;
  height: 48px;
  color: transparent;
  background: var(--gold);
}

.gallery-pdf-page .approval-flow article:nth-child(2) b { background: var(--red); }
.gallery-pdf-page .approval-flow article:nth-child(3) b { background: #108b3d; }
.gallery-pdf-page .approval-flow article:nth-child(4) b { background: var(--navy); }

.gallery-pdf-page .gallery-cta {
  margin-top: 24px;
  padding: 10px 0;
  background: #c90008;
}

.gallery-pdf-page .gallery-cta .wrap {
  grid-template-columns: 1fr auto;
}

.gallery-pdf-page .gallery-cta h2 {
  font-size: 24px;
}

.gallery-pdf-page .gallery-cta .btn {
  min-width: 160px;
  border-radius: 999px;
  text-transform: uppercase;
}

.gallery-footer-grid {
  grid-template-columns: 1.5fr .75fr .85fr .85fr .9fr;
}

.gallery-qr {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin-top: 12px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.gallery-qr b {
  display: block;
  font-size: 38px;
  line-height: .9;
}

.gallery-qr span {
  display: block;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
}

@media (max-width: 960px) {
  .gallery-feature-area,
  .gallery-media-row,
  .gallery-pdf-page .approval-system {
    grid-template-columns: 1fr;
  }

  .gallery-side {
    padding-top: 0;
  }

  .gallery-feature-area .album-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   STUDENT ZONE PAGE
   ============================================================ */
.student-page{background:#f3f5f9}
.contact-page{background:#fff}
.student-hero{background:linear-gradient(115deg,#061a44,#001338 65%,#0b2d63);color:#fff;overflow:hidden}
.student-hero-grid{min-height:330px;display:grid;grid-template-columns:1fr 330px;align-items:center;gap:30px}
.student-hero h1{font-family:"Cinzel",Georgia,serif;font-size:58px;line-height:.95;color:var(--gold);text-transform:uppercase}
.student-hero h2{margin-top:8px;font-family:"Montserrat",sans-serif;font-size:27px;text-transform:uppercase}
.student-hero p{max-width:680px;margin:12px 0 15px;color:rgba(255,255,255,.9);font-size:16px;font-weight:600}
.student-hero-login{padding:20px;border:1px solid rgba(240,182,55,.55);border-radius:10px;background:rgba(255,255,255,.08);box-shadow:0 12px 28px rgba(0,0,0,.22)}
.student-hero-login h2{margin:0;color:var(--gold);font-family:"Montserrat",sans-serif;font-size:24px;text-transform:uppercase}
.student-hero-login p{margin:7px 0 14px;font-size:12px}
.student-hero-login .btn{margin-top:9px}
.student-hero-tags,.student-actions{display:flex;flex-wrap:wrap;gap:10px}
.student-hero-tags span{padding:7px 12px;border:1px solid var(--gold);border-radius:5px;color:var(--gold);font-size:12px;font-weight:800}
.student-actions{margin-top:16px}
.student-main{display:block;padding:12px 0 6px}
.student-login-card,.student-feature-grid article,.student-record,.mobile-portal,.premium-rules,.student-info-grid article{border:1px solid #e7c893;border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.student-login-card{padding:18px;background:#fff7e4}
.student-login-card h2,.student-features h2,.dashboard-preview h2,.student-journey h2{color:var(--navy);font-family:"Montserrat",sans-serif;font-size:22px;font-weight:900;text-align:center;text-transform:uppercase}
.student-features h2::before,.student-features h2::after,.dashboard-preview h2::before,.dashboard-preview h2::after,.student-journey h2::before,.student-journey h2::after{content:"";display:inline-block;width:150px;height:1px;margin:0 14px 6px;background:#d6a93a}
.student-login-card label{display:block;margin:10px 0 4px;color:var(--navy);font-size:12px;font-weight:800}
.student-login-card input{width:100%;height:38px;border:1px solid #d7dce8;border-radius:5px;padding:0 11px;font-size:12px}
.captcha-row{display:grid;grid-template-columns:95px 1fr;gap:8px}.captcha-row b{display:grid;place-items:center;border:1px solid #d7dce8;border-radius:5px;background:#fff;color:var(--navy);letter-spacing:3px}
.student-login-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.student-login-links a{color:var(--navy);font-size:11px;font-weight:800}
.login-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.login-badges span{padding:9px;border-radius:7px;color:#fff;background:var(--navy);text-align:center;font-size:11px;font-weight:900}
.student-features>p,.dashboard-preview>p{margin:2px 0 13px;color:var(--muted);font-size:10px;font-weight:700;text-align:center}.student-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.student-feature-grid article{min-height:74px;display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;padding:12px 16px;text-align:left}.student-feature-grid b{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--navy)}
.student-feature-grid article:nth-child(2n) b{background:var(--red)}
.student-feature-grid h3,.student-info-grid h2{color:var(--navy);font-family:"Montserrat",sans-serif;font-size:13px}.student-feature-grid p,.student-info-grid p{font-size:9px;font-weight:600}
.dashboard-preview{padding:6px 0 16px;text-align:center}.dashboard-grid{display:grid;grid-template-columns:1.2fr .42fr .9fr;gap:18px;margin-top:10px;text-align:left}
.student-record,.mobile-portal,.premium-rules{padding:16px}.student-record h3,.mobile-portal h3,.premium-rules h3{color:var(--navy);font-family:"Montserrat",sans-serif;font-size:17px}
.student-record h3{margin:-16px -16px 14px;padding:10px 14px;border-radius:8px 8px 0 0;color:#fff;background:var(--navy)}
.student-record div{display:grid;grid-template-columns:1fr 1fr;padding:7px 0;border-bottom:1px solid #edf0f5;font-size:12px}.student-record span{color:var(--muted)}.student-record b{color:var(--navy)}
.mobile-portal{border:0!important;border-radius:28px!important;background:var(--navy)!important;text-align:center}.mobile-portal h3{color:#fff}.mobile-portal div{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:13px 0}.mobile-portal span{padding:9px 4px;border-radius:4px;background:var(--red);color:#fff;text-align:center;font-size:9px;font-weight:800}.mobile-portal span:nth-child(even){background:#0d2e65}.mobile-portal strong{color:#fff;font-size:10px}
.premium-rules{color:#fff;background:var(--navy)!important;border:2px solid var(--gold)!important}.premium-rules h3{color:var(--gold)}
.premium-rules li,.student-info-grid li{position:relative;margin:9px 0;padding-left:18px;font-size:12px;font-weight:700}.premium-rules li:before,.student-info-grid li:before{content:"\f00c";position:absolute;left:0;color:var(--gold);font:var(--fa-font-solid)}
.student-journey{text-align:center;padding:6px 0 12px}.journey-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-top:12px}.journey-grid article{position:relative;padding:12px 6px;border:1px solid #e7c893;border-radius:8px}.journey-grid b{width:38px;height:38px;margin:0 auto 7px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--red)}.journey-grid article:nth-child(odd) b{background:var(--navy)}.journey-grid span{color:var(--navy);font-size:11px;font-weight:900}
.student-info-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding-bottom:14px}.student-info-grid article{padding:15px}.student-info-grid i{color:var(--gold);font-size:30px;margin-bottom:8px}
.student-cert-strip{padding:12px 20px;background:var(--gold);color:var(--navy);text-align:center;font-weight:900}.student-cta{background:linear-gradient(90deg,#061a44,#001338);color:#fff;text-align:center}.student-cta .wrap{padding:24px 0}.student-cta h2{font-family:"Montserrat",sans-serif;text-transform:uppercase}.student-cta p{margin:7px 0 14px;color:rgba(255,255,255,.82)}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero{background:linear-gradient(115deg,#061a44,#001338);color:#fff}.contact-hero-grid{min-height:300px;display:grid;grid-template-columns:1fr 390px;gap:30px;align-items:center}.contact-hero span{font-family:"Montserrat",sans-serif;font-size:30px;font-weight:900;text-transform:uppercase}.contact-hero h1{color:var(--gold);font-family:"Cinzel",serif;font-size:56px;line-height:1}.contact-hero h2{font-size:19px;line-height:1.25}.contact-hero p{margin:12px 0;color:rgba(255,255,255,.82);font-size:15px}.contact-hero-tags{display:flex;flex-wrap:wrap;gap:9px}.contact-hero-tags span{padding:8px 12px;border:1px solid var(--gold);border-radius:5px;font-size:11px}
.smart-hub{padding:24px;border:2px solid var(--gold);border-radius:18px;background:rgba(255,255,255,.04)}.smart-hub h2{color:var(--gold);font-family:"Montserrat";font-size:27px;text-transform:uppercase}.smart-hub p{font-size:14px}.smart-hub div{display:inline-grid;grid-template-columns:36px 1fr;gap:9px;align-items:center;width:49%;margin:7px 0;font-size:12px;font-weight:800}.smart-hub div span{width:34px;height:28px;display:grid;place-items:center;border-radius:5px;background:var(--gold);color:var(--navy);font-size:10px}
.contact-action-strip{display:flex;gap:14px;padding:18px 0}.light-btn{background:#fff;color:var(--navy);border:1px solid #d7dce8}
.contact-departments h2,.crm-workflow h2{color:var(--navy);font-family:"Montserrat";font-size:25px;font-weight:900;text-align:center;text-transform:uppercase}.department-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.department-grid article,.smart-form,.official-details,.crm-workflow,.contact-routing article,.contact-bottom-cards article{border:1px solid #e7c893;border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.department-grid article{display:grid;grid-template-columns:58px 1fr;gap:14px;padding:20px}.department-grid b{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff}.department-grid .red-dot{background:var(--red)}.department-grid h3{color:var(--navy);font-family:"Montserrat";font-size:18px}.department-grid p{font-size:12px;color:var(--muted)}.department-grid a{display:inline-block;margin-top:8px;padding:7px 18px;border-radius:5px;background:var(--navy);color:#fff;font-size:11px;font-weight:800}.department-grid a.red{background:var(--red)}
.contact-form-details{display:grid;grid-template-columns:1.15fr .95fr;gap:24px;padding:50px 0 22px}.smart-form,.official-details{padding:24px}.smart-form h2,.official-details h2,.contact-routing h2,.contact-bottom-cards h2{color:var(--navy);font-family:"Montserrat";font-size:24px;text-transform:uppercase}.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.smart-form input,.smart-form select,.smart-form textarea,.locator-row input{width:100%;height:40px;border:1px solid #d7dce8;border-radius:5px;padding:0 12px}.smart-form textarea{height:100px;margin-top:10px;padding-top:10px}.dynamic-fields{margin:8px 0;padding:9px;border:1px solid #e7c893;border-radius:5px;font-size:11px}
.official-details{background:linear-gradient(145deg,#061a44,#001338);color:#fff}.official-details h2{color:var(--gold);text-align:center}.official-details>div{display:grid;grid-template-columns:120px 1fr;margin:9px 0;padding:11px 14px;border-radius:6px;background:#123b72}.official-details b{color:var(--gold)}.official-details section{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.crm-workflow{padding:24px;margin-bottom:22px}.response-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:15px 0}.response-row span{padding:13px;border-radius:6px;background:#f8f9fc;text-align:center;font-weight:900}.response-row b{color:var(--red);font-size:11px}.workflow-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.workflow-row article{position:relative;color:var(--navy);font-weight:900}.workflow-row b{width:34px;height:34px;margin-right:8px;display:inline-grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff}.workflow-row article:nth-child(even) b{background:var(--red)}
.contact-routing{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:40px}.contact-routing article{padding:22px}.contact-routing article:first-child div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.contact-routing a{padding:10px;border-radius:5px;background:#159947;color:#fff;text-align:center;font-size:12px;font-weight:900}.contact-routing a:nth-child(even){background:var(--navy)}.locator-row{display:grid;grid-template-columns:1fr 1fr 50px;gap:10px;margin-top:15px}.locator-row button{border:0;border-radius:8px;background:var(--red);color:#fff;font-weight:900}.contact-routing strong{display:block;margin-top:12px;padding:8px;border-radius:5px;background:#fff7e4;color:var(--navy);font-size:11px}
.contact-bottom-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-bottom:55px}.contact-bottom-cards article{padding:22px}.contact-bottom-cards p{font-size:13px}.contact-cta{background:linear-gradient(90deg,#061a44,#001338);color:#fff}.contact-cta .wrap{padding:27px 0}.contact-cta h2{color:var(--gold);font-family:"Montserrat";text-transform:uppercase}.contact-cta p{color:rgba(255,255,255,.82);margin-bottom:14px}.contact-cta div div{display:flex;gap:12px}

@media(max-width:960px){.student-hero-grid,.student-main,.dashboard-grid,.contact-hero-grid,.contact-form-details,.contact-routing{grid-template-columns:1fr}.student-feature-grid,.student-info-grid,.department-grid,.contact-bottom-cards{grid-template-columns:repeat(2,1fr)}.journey-grid,.response-row,.workflow-row{grid-template-columns:repeat(4,1fr)}.contact-action-strip{flex-wrap:wrap}}
@media(max-width:640px){.student-feature-grid,.student-info-grid,.journey-grid,.department-grid,.contact-bottom-cards,.response-row,.workflow-row,.contact-form-grid{grid-template-columns:1fr}.student-hero-grid{grid-template-columns:1fr}.student-hero img{display:none}.student-hero h1,.contact-hero h1{font-size:38px}.contact-hero-grid{min-height:0;padding:28px 0}.official-details>div{grid-template-columns:1fr}.contact-routing article:first-child div{grid-template-columns:1fr}}

/* ============================================================
   PLACEMENT PAGE
   ============================================================ */
.placement-page {
  background: #fff;
}

.placement-hero {
  position: relative;
  min-height: 430px;
  color: #fff;
  background: url("../Assets/placement-hero-bg.png") center center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.placement-hero::before {
  display: none;
}

.placement-hero-grid {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 430px;
  position: relative;
  z-index: 2;
  display: block;
}

.placement-hero-copy {
  width: 665px;
  max-width: calc(100% - 420px);
  padding: 28px 0 16px;
  position: relative;
  z-index: 3;
}

.placement-hero-copy > span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.placement-hero h1 {
  margin-top: 7px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 54px;
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: 0;
}

.placement-hero h1 b {
  color: var(--gold);
  font-size: 1.18em;
}

.placement-mobile-title {
  display: none;
}

.placement-hero h2 {
  display: inline-flex;
  margin: 10px 0 12px;
  padding: 4px 14px;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: rgba(0, 20, 54, .5);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.placement-hero p {
  max-width: 580px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.placement-note {
  width: 575px;
  max-width: 100%;
  margin-top: 14px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 20, 54, .72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.placement-note span {
  min-width: 0;
}

.placement-note strong {
  display: inline;
  margin-right: 3px;
}

.placement-note i {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
}

.placement-feature-strip {
  width: min(735px, 100%);
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 7px;
  background: rgba(0,20,54,.72);
}

.placement-feature-strip div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 9px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  background: transparent;
}

.placement-feature-strip div:last-child {
  border-right: 0;
}

.placement-feature-strip i {
  color: var(--gold);
  font-size: 24px;
}

.placement-feature-strip span {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

.placement-hero-media {
  display: none;
}

.placement-hero-media > img:first-child {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 53% 42%;
}

.placement-badge {
  position: absolute;
  left: 540px;
  top: 44px;
  width: 155px;
  height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, .4));
}

.placement-hero-register {
  display: none;
}

.placement-hero-register h2 {
  color: #fff;
  font-size: clamp(19px, 1.55vw, 31px);
  line-height: 1.18;
  white-space: nowrap;
}

.placement-hero-register form {
  max-height: 150px;
  overflow: hidden;
}

.placement-main {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 15px;
  padding: 16px 0 14px;
}

.placement-content {
  min-width: 0;
}

.placement-why h2,
.placement-jobs h2,
.placement-process-block h2,
.placement-register h2,
.success-story h2,
.employer-box h2,
.latest-jobs h2,
.glance-card h2,
.placement-info-panels h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.placement-why h2::before,
.placement-why h2::after,
.placement-jobs h2::before,
.placement-jobs h2::after,
.placement-process-block h2::before,
.placement-process-block h2::after {
  content: "";
  display: inline-block;
  width: 58px;
  height: 1px;
  margin: 0 14px 6px;
  background: #e2b96a;
}

.placement-card-grid {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.placement-card-grid.six {
  grid-template-columns: repeat(6, 1fr);
}

.placement-card-grid article,
.job-grid article,
.latest-jobs,
.glance-card,
.placement-info-panels article,
.placement-register,
.success-story,
.employer-box {
  border: 1px solid #e7c893;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.placement-card-grid article {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 13px 8px;
  text-align: center;
}

.placement-card-grid i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 22px;
}

.placement-card-grid h3 {
  color: var(--navy);
  font-size: 11px;
  line-height: 1.25;
}

.placement-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 17px;
}

.placement-title-row a {
  min-width: 70px;
  padding: 7px 11px;
  border-radius: 5px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.job-grid article {
  overflow: hidden;
}

.job-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.job-grid h3 {
  padding: 8px 6px;
  color: #fff;
  background: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}

.job-grid article:nth-child(even) h3 {
  background: var(--red);
}

.job-grid ul {
  padding: 9px 12px 12px;
}

.job-grid li,
.placement-info-panels li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 11px;
  font-size: 10px;
  font-weight: 600;
}

.job-grid li::before,
.placement-info-panels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy);
}

.placement-process-block {
  margin-top: 13px;
}

.placement-process-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.placement-process-grid article {
  position: relative;
  text-align: center;
}

.placement-process-grid article:not(:last-child)::after {
  content: "\f061";
  position: absolute;
  right: -11px;
  top: 28px;
  color: var(--navy);
  font: var(--fa-font-solid);
  font-size: 12px;
}

.placement-process-grid i {
  width: 62px;
  height: 62px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border: 1px solid #ccd4e2;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-size: 23px;
}

.placement-process-grid span {
  display: block;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
}

.placement-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.latest-jobs,
.glance-card {
  padding: 13px;
}

.latest-jobs .placement-title-row {
  margin-top: 0;
  justify-content: space-between;
}

.latest-jobs h2,
.glance-card h2 {
  font-size: 17px;
  text-align: left;
}

.job-update-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.job-update-row div {
  padding: 10px;
  border: 1px solid #e4e9f2;
  border-radius: 7px;
}

.job-update-row i {
  color: var(--navy);
  font-size: 23px;
}

.job-update-row h3 {
  color: var(--navy);
  font-size: 11px;
}

.job-update-row span,
.job-update-row p {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.45;
}

.job-update-row em {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #fff;
  background: #109a39;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.job-update-row em.urgent {
  background: var(--red);
}

.small-note {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.glance-card {
  align-self: stretch;
}

.glance-card h2 {
  text-align: center;
  font-size: 23px;
}

.glance-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 17px;
  padding: 14px;
  border-radius: 7px;
  color: #fff;
  background: var(--navy);
}

.glance-inner div {
  border-right: 1px solid rgba(255,255,255,.28);
  text-align: center;
}

.glance-inner div:last-child {
  border-right: 0;
}

.glance-inner b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
}

.glance-inner b i {
  line-height: 1;
}

.glance-inner span {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

.glance-card p {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.placement-info-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.placement-info-panels article {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 10px;
  padding: 15px;
}

.placement-info-panels > article > i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--navy);
  font-size: 52px;
}

.placement-info-panels h2 {
  font-size: 15px;
  text-align: left;
}

.placement-sidebar {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 5;
  margin-top: -126px;
}

.placement-sidebar > .placement-register {
  display: block;
}

.placement-register {
  padding: 16px;
  color: #fff;
  background: linear-gradient(145deg, #061a44, #001338);
}

.placement-register h2 {
  color: #fff;
  font-size: 18px;
}

.placement-register h2 span {
  color: var(--gold);
}

.placement-register > p {
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.placement-register form {
  margin-top: 12px;
  padding: 13px;
  border-radius: 8px;
  background: #fff;
}

.placement-register h3 {
  margin: 7px 0 8px;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
}

.placement-register input,
.placement-register select {
  width: 100%;
  height: 31px;
  margin-bottom: 7px;
  border: 1px solid #d7dce8;
  border-radius: 4px;
  padding: 0 9px;
  font-size: 10px;
}

.placement-register .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.placement-register label {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}

.placement-register label input {
  width: auto;
  height: auto;
}

.btn.green {
  background: linear-gradient(#16a34a, #0f7c35);
}

.secure-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.success-story,
.employer-box {
  padding: 15px;
}

.success-story h2,
.employer-box h2 {
  font-size: 17px;
}

.story-box {
  margin-top: 11px;
  text-align: center;
}

.story-box img {
  width: 85px;
  height: 85px;
  margin: 0 auto 9px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% top;
}

.story-box p {
  font-size: 12px;
  font-weight: 600;
}

.story-box strong {
  display: block;
  margin-top: 9px;
  color: var(--red);
  font-size: 12px;
}

.story-box span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.employer-box div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  margin-top: 11px;
}

.employer-box i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dce8;
  border-radius: 50%;
  color: var(--navy);
}

.employer-box strong,
.employer-box span {
  display: block;
  font-size: 11px;
}

.employer-box strong {
  color: var(--navy);
}

.employer-box span {
  color: var(--muted);
  font-weight: 600;
}

.employer-box .btn {
  margin-top: 14px;
}

.placement-cta {
  color: #fff;
  background: linear-gradient(90deg, #061a44, #001338);
}

.placement-cta .wrap {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.placement-cta strong {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.placement-cta div div {
  display: flex;
  gap: 12px;
}

@media (max-width: 960px) {
  .placement-hero-grid,
  .placement-main,
  .placement-lower-grid {
    grid-template-columns: 1fr;
  }

  .placement-hero {
    overflow: hidden;
  }

  .placement-hero-copy {
    width: 100%;
  }

  .placement-hero-media {
    display: none;
  }

  .placement-badge {
    display: none;
  }

  .placement-hero-register {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(420px, calc(100% - 48px));
    margin: 0 auto 22px;
  }

  .placement-hero-register form {
    max-height: none;
  }

  .placement-main {
    padding-top: 18px;
  }

  .placement-card-grid.six,
  .job-grid,
  .placement-process-grid,
  .placement-info-panels {
    grid-template-columns: repeat(2, 1fr);
  }

  .placement-process-grid article::after {
    display: none;
  }

  .placement-cta .wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0;
  }
}

@media (max-width: 640px) {
  .placement-card-grid.six,
  .job-grid,
  .placement-process-grid,
  .placement-info-panels,
  .job-update-row {
    grid-template-columns: 1fr;
  }

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

  .placement-hero-copy > span {
    font-size: 20px;
  }

  .placement-hero h1 {
    font-size: 32px;
  }

  .placement-hero-copy > h1:not(.placement-mobile-title) {
    display: none;
  }

  .placement-mobile-title {
    display: block;
  }

  .placement-hero h2 {
    font-size: 14px;
  }
}

/* ============================================================
   FRANCHISE PAGE
   ============================================================ */
.franchise-page {
  background: #fff;
}

.franchise-hero {
  background: linear-gradient(115deg, #061a44 0%, #001338 58%, #0a2a5e 100%);
  color: #fff;
  overflow: hidden;
}

.franchise-hero-grid {
  min-height: 380px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 24px;
}

.franchise-hero-copy > span {
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.franchise-hero h1 {
  margin-top: 3px;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(35px, 4.3vw, 58px);
  line-height: .95;
  text-transform: uppercase;
}

.franchise-hero p {
  max-width: 650px;
  margin: 14px 0;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  font-weight: 600;
}

.franchise-hero ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.franchise-hero li {
  position: relative;
  padding-left: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.franchise-hero li::before,
.franchise-packages li::before,
.franchise-support-grid li::before,
.franchise-doc-faq li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font: var(--fa-font-solid);
  font-size: 11px;
}

.franchise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.franchise-hero-art {
  position: relative;
  justify-self: end;
  width: min(640px, 100%);
  height: 330px;
}

.franchise-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}

.franchise-boss-badge {
  position: absolute;
  z-index: 2;
  left: -35px;
  top: 62px;
  width: 205px;
  height: 205px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 16px rgba(240, 182, 55, .55));
}

.franchise-safe-label {
  position: absolute;
  z-index: 4;
  right: -16px;
  top: 10px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(#f7c44e, #dda12f);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}

.franchise-hero-float {
  position: absolute;
  z-index: 3;
  left: 132px;
  right: 18px;
  bottom: 34px;
  padding: 17px 18px 15px;
  border-radius: 9px;
  background: rgba(5, 24, 61, .86);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  text-align: center;
  backdrop-filter: blur(2px);
}

.franchise-hero-float strong,
.franchise-hero-float span,
.franchise-hero-float em {
  display: block;
}

.franchise-hero-float strong {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.franchise-hero-float span {
  margin-top: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.franchise-hero-float em {
  margin-top: 9px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.franchise-model,
.franchise-packages,
.franchise-mid,
.franchise-support-grid,
.franchise-doc-faq {
  padding-top: 18px;
}

.franchise-model {
  text-align: center;
}

.franchise-model > h2,
.franchise-packages > h2,
.franchise-process h2,
.franchise-form h2,
.franchise-support-grid h2,
.franchise-doc-faq h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.franchise-model > p,
.franchise-packages > p {
  margin-top: 3px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
}

.franchise-model > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.model-grid article {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid #e7c893;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.model-grid i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 23px;
}

.model-grid article:nth-child(even) i {
  background: var(--red);
}

.model-grid strong {
  color: var(--navy);
  font-size: 12px;
  line-height: 1.2;
}

.franchise-packages {
  text-align: center;
}

.package-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.package-row article,
.franchise-form,
.franchise-process,
.franchise-support-grid article,
.franchise-doc-faq article {
  border: 1px solid #e7c893;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.package-row article {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  text-align: left;
}

.package-row i {
  color: var(--gold);
  font-size: 28px;
}

.package-row h3 {
  margin-top: 10px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-row span {
  display: block;
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.package-row ul {
  flex: 1;
}

.package-row li,
.franchise-support-grid li,
.franchise-doc-faq li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
  font-size: 12px;
  font-weight: 700;
}

.package-row .btn {
  width: 100%;
  margin-top: 10px;
}

.featured-package {
  color: #fff;
  background: linear-gradient(145deg, #061a44, #001338) !important;
  border-color: var(--navy) !important;
}

.featured-package em {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-package h3,
.featured-package li {
  color: #fff;
}

.featured-package span {
  color: rgba(255,255,255,.72);
}

.franchise-mid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
}

.franchise-form {
  padding: 18px;
  background: #fff7e4;
}

.franchise-form p {
  margin: 3px 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.franchise-form input,
.franchise-form select {
  width: 100%;
  height: 36px;
  margin-bottom: 9px;
  border: 1px solid #d7dce8;
  border-radius: 5px;
  padding: 0 11px;
  background: #fff;
  font-size: 12px;
}

.franchise-process {
  padding: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.approval-visual {
  width: 100%;
  height: 270px;
  margin-top: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 14px rgba(7, 24, 49, .12);
}

.process-grid article {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 10px 6px;
  border: 1px solid #e7c893;
  border-radius: 8px;
  text-align: center;
}

.process-grid article:not(:last-child)::after {
  content: "\f061";
  position: absolute;
  right: -12px;
  top: 25px;
  z-index: 2;
  color: var(--gold);
  font: var(--fa-font-solid);
  font-size: 17px;
}

.process-grid b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}

.process-grid article:nth-child(odd) b {
  background: var(--navy);
}

.process-grid span {
  margin-top: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.franchise-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.franchise-support-grid article,
.franchise-doc-faq article {
  padding: 18px;
}

.franchise-support-grid h2,
.franchise-doc-faq h2 {
  margin-bottom: 13px;
  font-size: 17px;
}

.policy-card {
  color: #fff;
  background: linear-gradient(145deg, #061a44, #001338) !important;
  border-color: var(--navy) !important;
}

.policy-card h2 {
  color: var(--gold);
}

.policy-card p {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
}

.policy-card strong {
  display: block;
  margin-top: 18px;
  padding: 10px;
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
}

.franchise-doc-faq {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
  padding-bottom: 14px;
}

.faq-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.faq-card h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.faq-card div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px;
  border: 1px solid #e7c893;
  border-radius: 7px;
}

.faq-card b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
}

.faq-card strong,
.faq-card span {
  display: block;
  font-size: 12px;
}

.faq-card strong {
  color: var(--navy);
}

.faq-card span {
  color: var(--muted);
  font-weight: 600;
}

.franchise-cta {
  color: #fff;
  background: linear-gradient(90deg, #c30c10, #910004);
  text-align: center;
}

.franchise-cta div {
  padding: 13px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .franchise-hero-grid,
  .franchise-mid,
  .franchise-doc-faq {
    grid-template-columns: 1fr;
  }

  .model-grid,
  .package-row,
  .franchise-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-grid article::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .franchise-hero-grid {
    min-height: 0;
    padding: 28px 0;
  }

  .franchise-hero-art {
    display: block;
    width: 100%;
    height: 250px;
  }

  .franchise-boss-badge {
    left: -20px;
    top: 56px;
    width: 140px;
    height: 140px;
  }

  .franchise-safe-label {
    right: 8px;
    width: 86px;
    height: 86px;
    font-size: 10px;
  }

  .franchise-hero-float {
    left: 82px;
    right: 8px;
    bottom: 18px;
    padding: 12px 10px;
  }

  .franchise-hero-float strong {
    font-size: 15px;
  }

  .franchise-hero-float span,
  .franchise-hero-float em {
    font-size: 10px;
  }

  .model-grid,
  .package-row,
  .franchise-support-grid,
  .process-grid,
  .faq-card {
    grid-template-columns: 1fr;
  }

  .franchise-hero h1 {
    font-size: 34px;
  }
}

/* ============================================================
   COURSES PAGE
   ============================================================ */
.courses-page {
  background: #fff;
}

.courses-hero {
  position: relative;
  min-height: 288px;
  overflow: hidden;
  background: linear-gradient(90deg, #061a44, #00295f);
  isolation: isolate;
}

.courses-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.09));
}

.courses-hero-inner {
  min-height: 288px;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  gap: 18px;
}

.courses-hero-copy {
  color: #fff;
  padding: 22px 0 18px;
}

.courses-hero-copy h1 {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.courses-hero-copy h2 {
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
}

.courses-hero-copy > span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.courses-hero-copy h3 {
  margin-top: 14px;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.08;
}

.courses-hero-copy h4 {
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.courses-hero-copy p {
  max-width: 560px;
  margin: 5px 0 10px;
  color: rgba(255, 255, 255, .93);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

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

.course-hero-actions .btn {
  min-width: 157px;
  min-height: 40px;
  border-radius: 3px 3px 0 0;
}

.whatsapp-btn {
  background: linear-gradient(#21b75d, #148c44);
}

.courses-hero-media {
  position: relative;
  justify-self: end;
  width: min(540px, 100%);
  height: 246px;
  overflow: visible;
}

.courses-hero-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 18px 18px 18px 18px;
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.course-gold-ring {
  position: absolute;
  z-index: 3;
  inset: -34px -6px -22px -36px;
  pointer-events: none;
  border: 5px solid rgba(240, 182, 55, .9);
  border-left-width: 6px;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.course-strip {
  min-height: 82px;
  margin-top: -22px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #061a44, #001338);
  color: #fff;
  box-shadow: var(--shadow);
}

.course-strip div {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 1fr 1fr;
  align-content: center;
  padding: 13px 14px;
  border-right: 1px solid rgba(240, 182, 55, .35);
}

.course-strip div:last-child {
  border-right: 0;
}

.course-strip i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
  font-size: 28px;
}

.course-strip strong {
  align-self: end;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.1;
}

.course-strip span {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.course-overview {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, .62fr);
  gap: 12px;
  padding: 18px 0 14px;
}

.course-overview > article:first-child {
  padding-right: 15px;
}

.course-overview h2,
.popular-course-band h2,
.course-list-panel h2,
.support-card h2,
.course-cta h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.course-overview p {
  font-size: 13px;
  font-weight: 500;
}

.overview-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #e7c893;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.overview-card i {
  color: var(--gold);
  font-size: 28px;
}

.overview-card strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.overview-card span {
  font-size: 11px;
  font-weight: 800;
}

.overview-card.red-card {
  background: linear-gradient(135deg, #c30c10, #910004);
  border-color: #a80005;
}

.overview-card.red-card strong,
.overview-card.red-card span {
  color: #fff;
}

.course-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
  padding-bottom: 14px;
}

.course-categories article,
.popular-grid article,
.course-list-panel,
.support-card {
  overflow: hidden;
  border: 1px solid #e7c893;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.course-categories article {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.course-categories img {
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.course-categories h2 {
  padding: 10px 9px 5px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.course-categories ul {
  flex: 1;
  padding: 0 13px;
}

.course-categories li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 14px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.22;
}

.course-categories li::before,
.course-support li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font: var(--fa-font-solid);
  font-size: 9px;
}

.course-categories .btn {
  align-self: center;
  min-height: 30px;
  margin: auto auto 15px;
  padding: 7px 13px;
  font-size: 10px;
}

.popular-course-band {
  padding: 14px 0 16px;
  border-top: 1px solid #e7c893;
  border-bottom: 1px solid #e7c893;
}

.popular-course-band h2 {
  margin-bottom: 13px;
  text-align: center;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.popular-grid article {
  padding: 16px;
}

.popular-grid span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.popular-grid h3 {
  min-height: 45px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.popular-grid p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.popular-grid i {
  color: var(--gold);
}

.popular-grid .btn {
  width: 100%;
  margin-top: 9px;
}

.course-table-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 14px 0;
}

.course-list-panel {
  padding: 0 0 10px;
}

.course-list-panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(90deg, #061a44, #001338);
  font-size: 17px;
}

.course-list-panel h2 i {
  color: var(--gold);
}

.course-table {
  display: grid;
}

.course-table > div {
  display: grid;
  grid-template-columns: 1.35fr .58fr .78fr .78fr;
  border-bottom: 1px solid #ece2ce;
}

.course-table > div:last-child {
  border-bottom: 0;
}

.course-table span {
  padding: 9px 10px;
  border-right: 1px solid #ece2ce;
  font-size: 11px;
  font-weight: 600;
}

.course-table span:last-child {
  border-right: 0;
}

.course-table .table-head {
  color: var(--navy);
  background: #fff7e4;
}

.course-table .table-head span {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.course-support {
  display: grid;
  grid-template-columns: 1.2fr .85fr .95fr;
  gap: 12px;
  padding-bottom: 12px;
}

.support-card {
  min-height: 230px;
  padding: 18px;
}

.support-card ul {
  margin-top: 14px;
}

.course-support li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
  font-size: 12px;
  font-weight: 700;
}

.support-card ol {
  margin: 15px 0 18px;
  padding-left: 20px;
}

.support-card ol li {
  margin-bottom: 8px;
  padding-left: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.support-card .admission-process li,
.support-card .admission-process li::marker {
  color: var(--navy);
}

.course-enquiry input,
.course-enquiry select,
.course-enquiry textarea {
  width: 100%;
  height: 34px;
  margin-bottom: 9px;
  border: 1px solid #d7dce8;
  border-radius: 5px;
  padding: 0 11px;
  font-size: 12px;
}

.course-enquiry textarea {
  height: 60px;
  padding-top: 9px;
  resize: none;
}

.course-stats {
  margin-top: 0;
  margin-bottom: 12px;
}

.course-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 13px;
  padding: 22px 25px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(120deg, #061a44, #001338);
  box-shadow: var(--shadow);
}

.course-cta h2 {
  color: #fff;
  font-size: 23px;
}

.course-cta p {
  margin-top: 7px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}

.course-cta > div:last-child {
  display: flex;
  gap: 12px;
}

@media (max-width: 960px) {
  .courses-hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }

  .courses-hero-media {
    justify-self: start;
    width: min(620px, 100%);
  }

  .course-strip,
  .course-overview,
  .course-categories,
  .popular-grid,
  .course-table-wrap,
  .course-support,
  .course-cta {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-overview > article:first-child,
  .course-cta > div:first-child {
    grid-column: 1 / -1;
  }

  .course-strip div:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .courses-hero,
  .courses-hero-inner {
    min-height: 0;
  }

  .courses-hero-copy h1 {
    font-size: 34px;
  }

  .courses-hero-copy h3 {
    font-size: 24px;
  }

  .courses-hero-media {
    height: 205px;
  }

  .course-gold-ring {
    display: none;
  }

  .course-strip,
  .course-overview,
  .course-categories,
  .popular-grid,
  .course-table-wrap,
  .course-support,
  .course-cta {
    grid-template-columns: 1fr;
  }

  .course-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(240, 182, 55, .25);
  }

  .course-table {
    overflow-x: auto;
  }

  .course-table > div {
    min-width: 620px;
  }

  .course-cta > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero-copy h1 {
    font-size: 39px;
  }

  .about-feature-grid,
  .area-grid,
  .method-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    gap: 42px;
  }

  .two-list {
    columns: 1;
  }

  .quality-card {
    padding-right: 18px;
  }

  .quality-icon,
  .device-art,
  .commitment .big-icon {
    display: none;
  }
}

/* Gallery page */
.gallery-page {
  background: #fff;
}

.gallery-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  background: #00183f;
}

.gallery-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-hero-shade {
  display: none;
}

.gallery-hero-content {
  width: min(1980px, calc(100% - 120px));
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 0 56px;
  color: #fff;
}

.gallery-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.gallery-kicker::before,
.gallery-kicker::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.gallery-hero h1 {
  max-width: 1040px;
  font-family: "Cinzel", Georgia, serif;
  color: #fff;
  font-size: clamp(40px, 3.55vw, 88px);
  line-height: 1.06;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .42);
}

.gallery-hero h1 span {
  color: var(--gold);
}

.gallery-hero h2 {
  margin-top: 22px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 1.65vw, 42px);
  font-weight: 900;
  text-transform: none;
}

.gallery-hero p {
  max-width: 940px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(17px, 1.18vw, 31px);
  font-weight: 500;
  line-height: 1.45;
}

.gallery-hero-badges,
.gallery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-hero-badges {
  margin-top: 24px;
}

.gallery-hero-badges span {
  min-width: clamp(155px, 11vw, 235px);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 2px solid rgba(240, 182, 55, .9);
  border-radius: 8px;
  background: rgba(0, 19, 56, .58);
  color: #fff;
  font-size: clamp(15px, 1vw, 22px);
  font-weight: 800;
}

.gallery-hero-actions {
  margin-top: 28px;
  gap: 18px;
}

.gallery-hero-actions .btn {
  min-width: clamp(165px, 12vw, 240px);
  min-height: 68px;
  border-radius: 999px;
  font-size: clamp(16px, 1.15vw, 25px);
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.gallery-hero-actions .btn:first-child {
  color: var(--navy);
  background: linear-gradient(#ffd46a, #f0b637);
}

.gallery-hero-actions .btn:nth-child(2) {
  background: linear-gradient(#d20e12, #b60709);
}

.gallery-hero-actions .btn:nth-child(3),
.gallery-hero-actions .btn:nth-child(4) {
  color: #fff;
  background: linear-gradient(#16a34a, #0f7c35);
}

.gallery-premium {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -28px;
  padding: 13px;
  border: 1px solid rgba(240, 182, 55, .45);
  border-radius: 8px;
  background: linear-gradient(90deg, #061a44, #001338);
  box-shadow: var(--shadow);
}

.gallery-premium article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  border-right: 1px solid rgba(240, 182, 55, .28);
}

.gallery-premium article:last-child {
  border-right: 0;
}

.gallery-premium i {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 17px;
}

.gallery-premium h3 {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.gallery-premium p {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.gallery-section {
  padding-top: 26px;
}

.gallery-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 17px;
}

.gallery-heading::before,
.gallery-heading::after {
  content: "";
  width: min(210px, 22vw);
  height: 2px;
  background: var(--gold);
}

.gallery-heading h2 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 0 0 12px;
}

.gallery-filters button {
  min-height: 34px;
  border: 1px solid #e2b75d;
  border-radius: 5px;
  padding: 7px 14px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.gallery-filters button:first-child,
.gallery-filters button:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.album-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e6bf70;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.album-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  background: #d9dde7;
}

.album-card > span {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 5px;
  padding: 5px 9px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.album-card:nth-child(even) > span {
  background: var(--navy);
}

.album-card div {
  padding: 14px;
}

.album-card h3 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.album-card p {
  margin-top: 6px;
  color: #263755;
  font-size: 12px;
  font-weight: 600;
}

.album-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 5px;
  padding: 7px 13px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.album-card:nth-child(odd) a {
  background: var(--red);
}

.album-card em {
  display: inline-block;
  margin-left: 9px;
  color: var(--gold);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.virtual-tour {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 24px 30px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 26, 68, .94), rgba(0, 19, 56, .88)),
    url("../Assets/gallery-hero.png") center 55% / cover;
  box-shadow: var(--shadow);
}

.virtual-tour h2,
.gallery-rules h2,
.training-videos h2,
.approval-system h2,
.gallery-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.virtual-tour h2 {
  color: #fff;
  font-size: 26px;
}

.virtual-tour p {
  margin: 6px 0 14px;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

.virtual-tour strong {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.virtual-tour strong span {
  display: block;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.gallery-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.gallery-rules,
.training-videos,
.approval-system,
.testimonial-card,
.gallery-proof > article:not(.testimonial-card) {
  border: 1px solid #e6bf70;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-rules,
.training-videos {
  padding: 23px;
}

.gallery-rules h2,
.training-videos h2 {
  margin-bottom: 15px;
  color: var(--navy);
  font-size: 23px;
}

.gallery-rules li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: #24344f;
  font-size: 13px;
  font-weight: 700;
}

.gallery-rules li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 900;
}

.training-videos div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 7px;
  background: #f3f6fb;
  color: var(--navy);
  font-weight: 900;
}

.training-videos i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
}

.journey-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.journey-row article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.journey-row article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 31px;
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.journey-row i {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-size: 23px;
}

.gallery-proof {
  display: grid;
  grid-template-columns: 1.45fr repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.gallery-proof > article {
  min-height: 126px;
  padding: 14px;
  text-align: center;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.testimonial-card div {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.testimonial-card p {
  color: #263755;
  font-size: 12px;
  font-weight: 600;
}

.testimonial-card strong {
  grid-column: 2;
  color: var(--red);
  font-size: 12px;
}

.gallery-proof i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-size: 18px;
}

.gallery-proof h3 {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-proof p {
  color: #33415c;
  font-size: 11px;
  font-weight: 600;
}

.approval-system {
  margin-top: 24px;
  padding: 23px;
  background: linear-gradient(180deg, #fff, #fff8eb);
}

.approval-system h2 {
  color: var(--navy);
  font-size: 24px;
  text-align: center;
}

.approval-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.approval-flow article {
  position: relative;
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid #e7c274;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.approval-flow b {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-family: "Montserrat", sans-serif;
}

.approval-system p {
  max-width: 850px;
  margin: 18px auto 0;
  color: #263755;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.gallery-cta {
  margin-top: 26px;
  padding: 25px 0;
  color: #fff;
  background: linear-gradient(90deg, #061a44, #001338);
}

.gallery-cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.gallery-cta h2 {
  color: #fff;
  font-size: 25px;
}

.gallery-cta div div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .gallery-hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 21, 58, .99) 0%, rgba(0, 21, 58, .92) 58%, rgba(0, 21, 58, .48) 100%),
      linear-gradient(180deg, rgba(0, 21, 58, .14), rgba(0, 21, 58, .12));
  }

  .gallery-hero h1 {
    max-width: 660px;
    font-size: 48px;
  }

  .gallery-hero p {
    max-width: 650px;
  }

  .gallery-hero-badges span,
  .gallery-hero-actions .btn {
    min-width: 170px;
  }

  .gallery-premium,
  .album-grid,
  .gallery-proof,
  .approval-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-premium article:nth-child(even) {
    border-right: 0;
  }

  .gallery-two-col,
  .virtual-tour,
  .gallery-cta .wrap {
    grid-template-columns: 1fr;
  }

  .journey-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-row article::after {
    display: none;
  }

  .testimonial-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .gallery-hero,
  .gallery-hero-content {
    min-height: 500px;
  }

  .gallery-hero > img {
    object-position: 70% center;
  }

  .gallery-hero-content {
    padding: 34px 0;
  }

  .gallery-hero h1 {
    font-size: 34px;
  }

  .gallery-hero h2 {
    font-size: 19px;
  }

  .gallery-hero p {
    font-size: 15px;
  }

  .gallery-hero-badges,
  .gallery-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .gallery-hero-badges span,
  .gallery-hero-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 48px;
  }

  .gallery-premium,
  .album-grid,
  .journey-row,
  .gallery-proof,
  .approval-flow {
    grid-template-columns: 1fr;
  }

  .gallery-premium article {
    border-right: 0;
    border-bottom: 1px solid rgba(240, 182, 55, .28);
  }

  .gallery-heading::before,
  .gallery-heading::after {
    width: 42px;
  }

  .gallery-heading h2,
  .gallery-cta h2 {
    font-size: 21px;
  }

  .testimonial-card,
  .testimonial-card strong {
    grid-template-columns: 1fr;
    grid-column: auto;
    text-align: center;
  }
}

/* Final Gallery section optimization override */
.gallery-pdf-page .gallery-feature-area {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding-top: 34px;
}

.gallery-pdf-page .gallery-left .gallery-heading {
  margin-bottom: 18px;
}

.gallery-pdf-page .gallery-left .album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-pdf-page .gallery-feature-area .album-card {
  position: relative;
  min-height: 186px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-feature-area .album-card img {
  width: 150px;
  height: 104px;
  margin: 0 0 0 18px;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-pdf-page .gallery-feature-area .album-card > span {
  left: 132px;
  top: 14px;
  z-index: 2;
  max-width: 78px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.gallery-pdf-page .gallery-feature-area .album-card div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.gallery-pdf-page .gallery-feature-area .album-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.gallery-pdf-page .gallery-feature-area .album-card p {
  margin-top: 5px;
  color: #526078;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-feature-area .album-card a {
  min-width: 118px;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 11px;
}

.gallery-pdf-page .gallery-feature-area .album-card em {
  margin-left: 10px;
  white-space: nowrap;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side {
  gap: 18px;
  padding-top: 44px;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 14px;
  padding: 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour h2,
.gallery-pdf-page .gallery-side .gallery-rules h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.18;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  width: 146px;
  height: 58px;
  border-radius: 4px;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  position: static;
  min-width: 0;
  width: 190px;
  min-height: 34px;
  margin-top: 10px;
  font-size: 10px;
}

.gallery-pdf-page .gallery-side .virtual-tour strong {
  width: 78px;
  height: 78px;
  font-size: 25px;
}

.gallery-pdf-page .gallery-side .gallery-rules {
  min-height: 178px;
  padding: 20px 22px;
  border-radius: 10px;
}

.gallery-pdf-page .gallery-side .gallery-rules li {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.25;
}

.gallery-pdf-page .gallery-media-row {
  grid-template-columns: 1fr 1.08fr .9fr;
  gap: 22px;
  margin-top: 70px;
}

.gallery-pdf-page .gallery-media-row > article {
  min-height: 195px;
  padding: 22px 26px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .06);
}

.gallery-pdf-page .gallery-media-row h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
  text-align: left;
}

.gallery-pdf-page .student-journey h2 {
  text-align: center;
}

.gallery-pdf-page .video-thumbs img,
.gallery-pdf-page .journey-strip img {
  height: 72px;
  border-radius: 5px;
}

.gallery-pdf-page .gallery-media-row .testimonial-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.gallery-pdf-page .gallery-media-row .testimonial-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.gallery-pdf-page .gallery-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.gallery-pdf-page .gallery-proof > article {
  min-height: 78px;
  grid-template-columns: 52px minmax(0, 1fr);
  border: 1px solid #d9e2ef;
  box-shadow: 0 8px 18px rgba(7, 24, 49, .05);
}

@media (max-width: 1100px) {
  .gallery-pdf-page .gallery-feature-area,
  .gallery-pdf-page .gallery-media-row {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-side,
  .gallery-pdf-page .gallery-proof {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 32px);
    height: 150px;
    margin: 16px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    left: 26px;
    top: 26px;
  }
}

/* Final site-wide responsive override - must remain last */
.header-actions {
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  min-height: 40px;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-login {
  background: linear-gradient(180deg, #ffc64a, #f3a914);
  color: #061f42;
}

.header-verify {
  border: 1px solid #b9c6d8;
  background: #fff;
  color: #061f42;
}

.header-enquire {
  background: #061f42;
  color: #fff;
}

.hero-buttons {
  max-width: 720px;
}

.hero-btn {
  min-width: 0;
  white-space: nowrap;
}

@media (min-width: 1181px) {
  .home-page .hero-buttons,
  .hero-main .hero-buttons,
  .hero-buttons {
    flex-wrap: nowrap;
  }

  .home-page .hero-btn,
  .hero-main .hero-btn {
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 10px;
    font-size: 12px;
  }
}

@media (max-width: 1280px) {
  .nav-wrapper,
  .nav-wrap {
    padding: 12px 22px;
  }

  .brand img,
  .logo-block img {
    max-height: 76px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  .top-strip {
    display: none;
  }

  .site-header,
  .header {
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .nav-wrapper,
  .nav-wrap,
  .navbar {
    min-height: 74px;
    padding: 10px 18px;
  }

  .brand img,
  .logo-block img {
    max-height: 62px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 74px 14px auto 14px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(221, 170, 52, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 31, 66, .2);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .header-actions,
  .nav-actions {
    display: none;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
  }

  .hero-btn,
  .btn {
    justify-content: center;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats-grid,
  .footer-grid,
  .about-values,
  .student-feature-grid,
  .contact-grid,
  .gallery-album-grid,
  .placement-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-main-grid,
  .franchise-intro-grid,
  .placement-support-grid,
  .student-dashboard-grid,
  .contact-main-grid,
  .gallery-feature-area,
  .gallery-media-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .wrap,
  .nav-wrapper,
  .nav-wrap,
  .navbar {
    width: min(100%, 100vw);
    padding-inline: 14px;
  }

  section,
  .section {
    padding-block: 28px;
  }

  .brand img,
  .logo-block img {
    max-width: 225px;
    max-height: 54px;
    object-fit: contain;
  }

  .hero,
  .inner-hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    padding: 34px 0;
    text-align: left;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(30px, 11vw, 43px);
  }

  .hero p,
  .inner-hero p,
  .about-hero p,
  .courses-hero p,
  .franchise-hero p,
  .placement-hero p,
  .student-hero p,
  .contact-hero p,
  .gallery-hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero-btn,
  .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 12px;
    white-space: normal;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats-grid,
  .footer-grid,
  .about-values,
  .student-feature-grid,
  .contact-grid,
  .gallery-album-grid,
  .placement-card-grid,
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-side,
  .gallery-pdf-page .gallery-proof {
    grid-template-columns: 1fr;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 28px);
    height: 170px;
    margin: 14px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-media-row {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .brand img:not(.brand-logo),
  .logo-block img {
    max-width: 190px;
  }

  .nav-wrapper,
  .nav-wrap,
  .navbar {
    min-height: 66px;
  }

  .nav-links {
    top: 66px;
  }
}

/* Absolute final header alignment and gallery fixes */
.site-header .nav-wrap,
.header .navbar {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 0;
}

.site-header .brand,
.header .logo-block {
  flex: 0 0 auto;
  min-width: 0;
}

.site-header .brand {
  max-width: 310px;
}

.site-header .brand img {
  width: 70px;
  height: 70px;
}

.site-header .brand-copy strong {
  font-size: 27px;
}

.site-header .brand-copy small {
  font-size: 9px;
}

.site-header .brand-copy em {
  font-size: 8px;
}

.site-header .nav-links,
.header .nav-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
}

.site-header .nav-links a,
.header .nav-links a {
  display: inline-flex;
  height: 44px;
  align-items: center;
  padding: 0;
  line-height: 1;
}

.site-header .nav-links a.active::after {
  bottom: 2px;
}

.site-header .header-actions,
.header .header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  transform: none;
}

.site-header .header-actions .btn,
.header .header-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: none;
}

.gallery-pdf-page .gallery-feature-area .album-card div,
.gallery-pdf-page .gallery-feature-area .album-card h3,
.gallery-pdf-page .gallery-feature-area .album-card p,
.gallery-pdf-page .gallery-feature-area .album-card em {
  text-align: left;
}

.gallery-pdf-page .gallery-side .virtual-tour {
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
}

.gallery-pdf-page .gallery-side .virtual-tour img {
  display: none;
}

.gallery-pdf-page .gallery-side .virtual-tour .btn {
  margin-top: 18px;
}

@media (max-width: 1360px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
    gap: 12px;
  }

  .site-header .brand {
    max-width: 260px;
  }

  .site-header .brand img {
    width: 62px;
    height: 62px;
  }

  .site-header .brand-copy strong {
    font-size: 23px;
  }

  .site-header .nav-links,
  .header .nav-links {
    gap: 10px;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    font-size: 11px;
  }

  .site-header .header-actions,
  .header .header-actions {
    gap: 9px;
  }

  .site-header .header-actions .btn,
  .header .header-actions .btn {
    padding-inline: 11px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .site-header .nav-wrap,
  .header .navbar {
    min-height: 76px;
  }

  .site-header .header-actions,
  .header .header-actions {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header .hamburger,
  .header .hamburger {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-header .nav-links,
  .header .nav-links {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(221, 170, 52, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(6, 31, 66, .2);
  }

  .site-header .nav-links.open,
  .header .nav-links.open {
    display: grid;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 44px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #edf1f7;
    font-size: 14px;
  }

  .site-header .nav-links a.active::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 28px));
    min-height: 66px;
  }

  .site-header .brand {
    max-width: 230px;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 66px 14px auto 14px;
  }
}

/* Mobile premium optimization layer */
@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
    max-width: none;
  }

  .site-header,
  .header {
    z-index: 100;
  }

  .site-header .nav-wrap,
  .header .navbar {
    min-height: 72px;
  }

  .site-header .brand,
  .header .logo-block {
    max-width: min(72vw, 300px);
  }

  .site-header .brand img,
  .header .logo-block img {
    flex: 0 0 auto;
  }

  .site-header .hamburger,
  .header .hamburger {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff7e4;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 72px 16px auto 16px;
    padding: 12px;
    border-radius: 12px;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    min-height: 48px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a.active,
  .header .nav-links a:hover,
  .header .nav-links a.active {
    background: #fff7e4;
    color: var(--red);
  }

  main {
    overflow: hidden;
  }

  section,
  .section,
  .gallery-section,
  .about-block,
  .training-areas,
  .methodology,
  .about-system,
  .values-quality,
  .course-section,
  .franchise-section,
  .placement-section,
  .student-features,
  .dashboard-preview,
  .contact-departments {
    padding-block: clamp(42px, 7vw, 72px);
  }

  h1,
  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  h2,
  .section-title h2,
  .gallery-heading h2 {
    font-size: clamp(24px, 6vw, 31px);
    line-height: 1.18;
    letter-spacing: 0;
  }

  h3 {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.22;
  }

  p,
  li {
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.6;
  }

  small,
  em,
  label,
  .gallery-pdf-page .gallery-feature-area .album-card em {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .btn,
  .hero-btn,
  button,
  input,
  select,
  textarea {
    min-height: 48px;
  }

  .btn,
  .hero-btn,
  button {
    min-width: 48px;
    align-items: center;
    justify-content: center;
    text-align: center;
    touch-action: manipulation;
  }

  input,
  select,
  textarea {
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
  }

  textarea {
    min-height: 112px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .hero-grid,
  .about-hero-grid,
  .courses-hero-grid,
  .franchise-hero-grid,
  .placement-hero-grid,
  .student-hero-grid,
  .contact-hero-grid,
  .about-intro,
  .about-system,
  .values-quality,
  .course-admission,
  .course-info-grid,
  .franchise-hero-inner,
  .franchise-benefit-grid,
  .franchise-model-grid,
  .franchise-enquiry-process,
  .placement-hero-inner,
  .placement-support-grid,
  .placement-register-grid,
  .student-main,
  .dashboard-grid,
  .contact-form-details,
  .contact-routing,
  .gallery-feature-area,
  .gallery-media-row,
  .gallery-cta .wrap,
  .footer-grid,
  .gallery-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .feature-grid,
  .action-grid,
  .course-grid,
  .stats,
  .stats-grid,
  .area-grid,
  .about-feature-grid,
  .method-grid,
  .portal-grid,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .gallery-proof,
  .approval-flow,
  .journey-grid,
  .response-row,
  .workflow-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    min-height: auto;
    padding-block: 42px;
  }

  .hero-copy,
  .about-hero-copy,
  .courses-hero-copy,
  .franchise-hero-copy,
  .placement-hero-copy,
  .student-hero-copy,
  .contact-hero-copy,
  .gallery-hero-content {
    width: 100%;
    max-width: 100%;
    padding-block: 0;
  }

  .hero-buttons,
  .gallery-hero-actions,
  .gallery-hero-badges,
  .contact-hero-tags,
  .course-hero-actions,
  .franchise-hero-actions,
  .placement-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .hero-btn,
  .gallery-hero-actions .btn,
  .gallery-hero-badges span,
  .contact-hero-tags span,
  .course-hero-actions .btn,
  .franchise-hero-actions .btn,
  .placement-hero-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero-person,
  .about-hero-media,
  .courses-hero-media,
  .franchise-hero-media,
  .placement-hero-media,
  .student-hero img,
  .contact-hero-visual {
    max-width: 100%;
    margin-inline: auto;
  }

  .course-card,
  .action-card,
  .feature-card,
  .small-panel,
  .album-card,
  .gallery-pdf-page .gallery-feature-area .album-card,
  .department-grid article,
  .contact-bottom-cards article,
  .student-feature-grid article,
  .student-info-grid article {
    min-width: 0;
    border-radius: 10px;
  }

  .course-card img,
  .area-grid img,
  .gallery-pdf-page .gallery-feature-area .album-card img,
  .album-card img,
  .blog-item img,
  .gallery-mini img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .course-card img,
  .area-grid img {
    height: clamp(150px, 34vw, 220px);
  }

  .form-grid,
  .contact-form-grid,
  .split,
  .captcha-row,
  .locator-row,
  .official-details section,
  .student-login-links,
  .franchise-panel div,
  .franchise-panel ul {
    grid-template-columns: 1fr !important;
  }

  .smart-form,
  .official-details,
  .enquiry,
  .verify,
  .franchise-panel,
  .student-login-card {
    padding: clamp(18px, 5vw, 28px);
  }

  .course-table-wrap,
  .course-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 32px));
  }

  .site-header .nav-wrap,
  .header .navbar {
    min-height: 66px;
  }

  .site-header .brand {
    gap: 8px;
    max-width: calc(100% - 58px);
  }

  .site-header .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header .brand-copy strong {
    font-size: clamp(18px, 5.9vw, 24px);
  }

  .site-header .brand-copy small {
    font-size: 7px;
    line-height: 1.1;
  }

  .site-header .brand-copy em {
    display: none;
  }

  .site-header .hamburger,
  .header .hamburger {
    width: 46px;
    height: 46px;
  }

  .site-header .nav-links,
  .header .nav-links {
    inset: 66px 12px auto 12px;
  }

  section,
  .section,
  .gallery-section,
  .about-block,
  .training-areas,
  .methodology,
  .about-system,
  .values-quality,
  .course-section,
  .franchise-section,
  .placement-section,
  .student-features,
  .dashboard-preview,
  .contact-departments {
    padding-block: 44px;
  }

  .hero,
  .about-hero,
  .courses-hero,
  .franchise-hero,
  .placement-hero,
  .student-hero,
  .contact-hero,
  .gallery-hero {
    padding-block: 34px;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: clamp(31px, 10vw, 40px);
    line-height: 1.08;
  }

  .hero-buttons,
  .gallery-hero-actions,
  .course-hero-actions,
  .franchise-hero-actions,
  .placement-hero-actions {
    grid-template-columns: 1fr;
  }

  .gallery-hero-badges,
  .contact-hero-tags,
  .feature-grid,
  .action-grid,
  .course-grid,
  .stats,
  .stats-grid,
  .area-grid,
  .about-feature-grid,
  .method-grid,
  .portal-grid,
  .student-feature-grid,
  .student-info-grid,
  .department-grid,
  .contact-bottom-cards,
  .gallery-proof,
  .approval-flow,
  .journey-grid,
  .response-row,
  .workflow-row {
    grid-template-columns: 1fr !important;
  }

  .stats,
  .stats-grid {
    gap: 10px;
  }

  .stats > div,
  .stats-grid > div,
  .stats-grid article {
    min-height: 86px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card,
  .album-card,
  .blog-item,
  .department-grid article,
  .student-feature-grid article {
    grid-template-columns: 1fr !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img,
  .album-card img {
    width: calc(100% - 28px);
    height: clamp(165px, 48vw, 220px);
    margin: 14px;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    padding: 0 18px 18px;
  }

  .gallery-pdf-page .gallery-side .virtual-tour {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gallery-pdf-page .gallery-side .virtual-tour strong {
    justify-self: start;
  }

  .mobile-bar {
    height: auto;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .mobile-bar a {
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  .wrap,
  .container,
  .site-header .nav-wrap,
  .header .navbar {
    width: min(100%, calc(100% - 28px));
  }

  .site-header .brand-copy strong {
    font-size: 18px;
  }

  .site-header .brand-copy small {
    font-size: 6.5px;
  }

  .btn,
  .hero-btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero h1,
  .inner-hero h1,
  .about-hero h1,
  .courses-hero h1,
  .franchise-hero h1,
  .placement-hero h1,
  .student-hero h1,
  .contact-hero h1,
  .gallery-hero h1 {
    font-size: 30px;
  }
}


/* Mobile overflow audit fixes */
@media (max-width: 760px) {
  .section > .container > div[style*="grid-template-columns"],
  .section-sm > .container > div[style*="grid-template-columns"],
  .certificate-page .section > .container > div,
  .apply-page .section > .container > div,
  .blog-page .section-sm > .container > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .section > .container > div > div[style*="position:sticky"],
  div[style*="position:sticky"] {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .section [style*="width:380px"],
  .section [style*="width: 380px"],
  .section [style*="max-width:500px"],
  .section [style*="max-width: 500px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .blog-grid,
  .blog-card,
  .blog-body,
  .blog-meta,
  .section-sm .container > div,
  .section-sm .container > div > div,
  .verify-card,
  .qr-box,
  .info-box,
  .gap-row,
  .check-list,
  .form-row,
  .form-group,
  .form-control,
  .ajax-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .blog-grid,
  .form-row,
  .gap-row,
  .blog-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .gap-row {
    gap: 10px !important;
  }

  .gallery-pdf-page .gallery-feature-area,
  .gallery-pdf-page .gallery-left,
  .gallery-pdf-page .gallery-left .gallery-heading,
  .gallery-pdf-page .gallery-left .album-grid,
  .gallery-pdf-page .gallery-feature-area .album-card,
  .gallery-pdf-page .gallery-feature-area .album-card div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .placement-page h1,
  .placement-page h2,
  .placement-page h3,
  .gallery-pdf-page h1,
  .gallery-pdf-page h2,
  .gallery-pdf-page h3,
  .section h1,
  .section h2,
  .section h3 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .mob-cta,
  .mobile-bar,
  .bottom-mobile-cta {
    max-width: 100vw !important;
    overflow: hidden;
  }
}

/* Mobile card width tightening from viewport audit */
@media (max-width: 760px) {
  .gallery-pdf-page .gallery-media-row > article,
  .gallery-pdf-page .training-videos,
  .gallery-pdf-page .student-journey,
  .gallery-pdf-page .testimonial-card,
  .placement-page .latest-jobs,
  .placement-page .glance-card,
  .placement-page article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  .gallery-pdf-page .video-thumbs,
  .gallery-pdf-page .journey-strip,
  .gallery-pdf-page .journey-labels {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .gallery-pdf-page .video-thumbs span,
  .gallery-pdf-page .video-thumbs img,
  .gallery-pdf-page .journey-strip img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Final responsive overrides for About training highlights */
@media (min-width: 961px) {
  .about-feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .about-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    row-gap: 40px !important;
  }
}

@media (max-width: 640px) {
  .about-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final Gallery page requested updates */
.gallery-pdf-page .gallery-hero-content {
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
}

.gallery-pdf-page .gallery-hero h1,
.gallery-pdf-page .gallery-hero h2,
.gallery-pdf-page .gallery-hero p {
  text-align: left !important;
}

.gallery-pdf-page .gallery-hero-badges,
.gallery-pdf-page .gallery-hero-actions {
  justify-content: flex-start !important;
}

.gallery-pdf-page .gallery-hero-shade {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 18, 50, .82) 0%, rgba(0, 18, 50, .54) 44%, rgba(0, 18, 50, .16) 100%);
}

.gallery-pdf-page .student-journey {
  display: flex;
  flex-direction: column;
}

.gallery-pdf-page .student-journey h2 {
  text-align: center;
}

.gallery-pdf-page .journey-album-btn {
  align-self: center;
  width: min(180px, 100%);
  min-height: 38px;
  margin-top: 14px;
  justify-content: center;
  font-size: 12px;
}

.gallery-pdf-page .gallery-proof i {
  display: grid !important;
  place-items: center;
  color: var(--gold) !important;
  background: var(--navy) !important;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

@media (max-width: 760px) {
  .gallery-pdf-page .gallery-hero-content {
    width: min(100% - 28px, 1168px) !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .gallery-pdf-page .gallery-hero-badges,
  .gallery-pdf-page .gallery-hero-actions {
    width: 100%;
    justify-content: flex-start !important;
  }

  .gallery-pdf-page .gallery-hero-badges span,
  .gallery-pdf-page .gallery-hero-actions .btn {
    width: 100% !important;
    justify-content: center;
  }

  .gallery-pdf-page .journey-album-btn {
    width: 100%;
  }
}

/* Gallery hero content must sit on the left side */
.gallery-pdf-page .gallery-hero {
  display: flex;
  align-items: stretch;
}

.gallery-pdf-page .gallery-hero-content {
  width: min(760px, calc(100% - 96px)) !important;
  margin-left: max(48px, calc((100vw - 1180px) / 2)) !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.gallery-pdf-page .gallery-hero h1,
.gallery-pdf-page .gallery-hero h2,
.gallery-pdf-page .gallery-hero p {
  max-width: 760px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

.gallery-pdf-page .gallery-hero-badges,
.gallery-pdf-page .gallery-hero-actions {
  max-width: 760px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
}

@media (max-width: 760px) {
  .gallery-pdf-page .gallery-hero-content {
    width: calc(100% - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
}

/* Gallery desktop hero: push content to the very left of the hero */
@media (min-width: 761px) {
  .gallery-pdf-page .gallery-hero-content {
    width: min(790px, calc(100% - 40px)) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 16px !important;
  }

  .gallery-pdf-page .gallery-hero h1,
  .gallery-pdf-page .gallery-hero h2,
  .gallery-pdf-page .gallery-hero p,
  .gallery-pdf-page .gallery-hero-badges,
  .gallery-pdf-page .gallery-hero-actions {
    margin-left: 0 !important;
  }
}

/* About intro: mobile/tablet spacing for floating Vision/Mission icons */
@media (max-width: 960px) {
  .about-intro {
    row-gap: 64px !important;
  }
}

/* About feature cards: prevent icon overlap with section heading */
.about-block {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.about-block > h2 {
  margin-bottom: 56px !important;
  line-height: 1.18 !important;
}

.about-feature-grid {
  row-gap: 48px !important;
}

.about-feature-grid article {
  padding-top: 46px !important;
  overflow: visible;
}

.about-feature-grid .about-round {
  top: -34px !important;
}

@media (max-width: 960px) {
  .about-block > h2 {
    margin-bottom: 54px !important;
  }
}

@media (max-width: 640px) {
  .about-block {
    padding-top: 18px !important;
  }

  .about-block > h2 {
    margin-bottom: 52px !important;
  }
}

/* Bottom sticky CTA bar: prevent button text/icon overlap */
.mobile-bar {
  height: auto !important;
  min-height: 66px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  overflow: visible !important;
  padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
}

.mobile-bar a {
  min-width: 0 !important;
  min-height: 58px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 7px 3px 6px !important;
  text-align: center !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.mobile-bar i {
  flex: 0 0 auto !important;
  font-size: clamp(16px, 4.8vw, 21px) !important;
  line-height: 1 !important;
}

.mobile-bar span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(8px, 2.45vw, 10px) !important;
  line-height: 1.08 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 360px) {
  .mobile-bar a {
    min-height: 62px !important;
    padding-inline: 2px !important;
  }

  .mobile-bar span {
    font-size: 7.5px !important;
  }
}

@media (max-width: 1049px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }
}

/* Home mobile hero heading line control */
.hero h1 .hero-title-mobile {
  display: none;
}

.mobile-hero-visual {
  display: none;
}

.hero h1 .hero-title-desktop {
  display: inline;
  margin-bottom: 0;
  color: var(--gold);
  font-size: inherit;
}

@media (max-width: 640px) {
  .hero {
    min-height: 0 !important;
    background-position: center top !important;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 12, 36, .95) 0%, rgba(0, 18, 50, .82) 44%, rgba(0, 18, 50, .95) 76%, #001231 100%) !important;
  }

  .hero-grid {
    min-height: 0 !important;
    display: block !important;
    width: calc(100% - 44px) !important;
  }

  .hero-copy {
    padding: 30px 0 34px !important;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 51px) !important;
    line-height: 1.03 !important;
  }

  .hero h1 > span:first-child {
    margin-bottom: 22px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(25px, 7.5vw, 34px) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  .hero h1 .hero-title-desktop {
    display: none;
  }

  .hero h1 .hero-title-mobile {
    display: inline;
    margin-bottom: 0;
    color: var(--gold);
    font-size: inherit;
  }

  .mobile-hero-visual {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: clamp(420px, 118vw, 560px);
    margin: 8px -22px 0;
    overflow: hidden;
  }

  .mobile-hero-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 34%;
    background: linear-gradient(180deg, rgba(0, 18, 50, 0), #001231 78%);
    pointer-events: none;
  }

  .mobile-ring {
    position: absolute;
    left: 50%;
    top: 17%;
    z-index: 1;
    width: clamp(230px, 72vw, 350px);
    aspect-ratio: 1;
    border: 2px solid rgba(240, 182, 55, .62);
    border-radius: 50%;
    translate: -50% 0;
  }

  .mobile-ring.two {
    top: 21%;
    width: clamp(196px, 62vw, 300px);
    border-color: rgba(240, 182, 55, .9);
  }

  .mobile-hero-chairman {
    position: relative;
    z-index: 3;
    width: min(84vw, 360px);
    max-width: none;
    height: auto;
    align-self: end;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55));
  }

  .mobile-training-badge {
    position: absolute;
    z-index: 5;
    right: max(12px, 7vw);
    top: 35%;
    width: clamp(78px, 24vw, 118px);
    height: auto;
    filter: drop-shadow(0 0 12px rgba(240, 182, 55, .58));
  }

  .hero-lead {
    margin-top: 14px !important;
    font-size: clamp(23px, 6.4vw, 30px) !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
  }

  .hero-text {
    margin-top: 22px !important;
    font-size: clamp(18px, 5vw, 24px) !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, .94) !important;
  }

  .hero-buttons {
    display: none !important;
  }
}

/* Home hero reference recreation: mobile and tablet only */
.responsive-hero-actions,
.responsive-trust-grid,
.responsive-hero-text {
  display: none;
}

.responsive-hero-actions .mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 100svh !important;
    background-color: #07142B !important;
    background-size: cover !important;
    background-position: center bottom !important;
  }

  .hero::before {
    background:
      radial-gradient(circle at 50% 38%, rgba(240, 182, 55, .16) 0 18%, rgba(7, 20, 43, 0) 43%),
      linear-gradient(180deg, rgba(7, 20, 43, .92) 0%, rgba(7, 20, 43, .72) 46%, rgba(7, 20, 43, .94) 77%, #07142B 100%) !important;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(7, 20, 43, .34), rgba(7, 20, 43, .86)),
      radial-gradient(circle at 50% 28%, rgba(240, 182, 55, .08), transparent 34%);
    opacity: .98;
    pointer-events: none;
  }

  .hero-grid {
    width: min(100% - 40px, 920px) !important;
    min-height: 100svh !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 100svh !important;
    padding: clamp(28px, 5vw, 46px) 0 clamp(26px, 4vw, 42px) !important;
    text-align: center !important;
  }

  .hero h1 {
    width: 100% !important;
    margin: 0 auto !important;
    color: var(--gold) !important;
    font-size: clamp(32px, 9vw, 42px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
  }

  .hero h1 > span:first-child {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(18px, 5.7vw, 28px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  .hero h1 .hero-title-desktop {
    display: none !important;
  }

  .hero h1 .hero-title-mobile {
    display: inline !important;
    color: var(--gold) !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: center !important;
  }

  .hero-person {
    display: none !important;
  }

  .mobile-hero-visual {
    position: relative;
    display: grid !important;
    place-items: end center;
    width: min(100vw, 620px);
    min-height: clamp(320px, 51svh, 500px);
    margin: clamp(10px, 2vw, 18px) auto 0;
    overflow: hidden;
  }

  .mobile-hero-visual::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 0;
    z-index: 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(7, 20, 43, 0), rgba(7, 20, 43, .96));
    pointer-events: none;
  }

  .mobile-hero-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 28%;
    background: linear-gradient(180deg, rgba(7, 20, 43, 0), #07142B 82%);
    pointer-events: none;
  }

  .mobile-ring {
    position: absolute;
    left: 50%;
    top: 6%;
    z-index: 1;
    width: clamp(230px, 58vw, 430px);
    aspect-ratio: 1;
    border: 2px solid rgba(240, 182, 55, .78);
    border-radius: 50%;
    translate: -50% 0;
    box-shadow: 0 0 24px rgba(240, 182, 55, .34), inset 0 0 24px rgba(240, 182, 55, .12);
  }

  .mobile-ring.two {
    top: 10%;
    width: clamp(196px, 50vw, 370px);
    border-color: rgba(255, 212, 106, .95);
  }

  .mobile-ring.one::after,
  .mobile-ring.two::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 212, 106, .45);
    border-radius: 50%;
  }

  .mobile-hero-chairman {
    position: relative;
    z-index: 3;
    width: min(78vw, 390px);
    max-width: none;
    height: auto;
    align-self: end;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
  }

  .mobile-training-badge {
    position: absolute;
    z-index: 5;
    right: clamp(12px, 12vw, 96px);
    top: 35%;
    width: clamp(76px, 19vw, 126px);
    height: auto;
    filter: drop-shadow(0 0 14px rgba(240, 182, 55, .72));
  }

  .hero-lead {
    max-width: 760px !important;
    margin: clamp(10px, 2vw, 18px) auto 0 !important;
    color: #fff !important;
    font-size: clamp(18px, 4.4vw, 22px) !important;
    line-height: 1.23 !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  .hero-text {
    display: none !important;
  }

  .responsive-hero-text {
    display: block !important;
    max-width: 720px !important;
    margin: 12px auto 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: clamp(14px, 3.5vw, 18px) !important;
    line-height: 1.48 !important;
    text-align: center !important;
  }

  .responsive-hero-actions {
    display: grid !important;
    width: 100%;
    max-width: 620px;
    gap: 12px;
    margin-top: 18px;
  }

  .responsive-hero-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 13px 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }

  .responsive-hero-btn.primary {
    color: #07142B;
    background: linear-gradient(180deg, #ffd56f, #e5a82f);
    box-shadow: 0 10px 24px rgba(240, 182, 55, .28);
  }

  .responsive-hero-btn.secondary {
    border: 1px solid rgba(240, 182, 55, .92);
    color: var(--gold);
    background: rgba(7, 20, 43, .42);
  }

  .responsive-hero-btn.brochure {
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  .responsive-hero-btn:hover {
    transform: translateY(-1px);
  }

  .responsive-trust-grid {
    display: grid !important;
    width: 100%;
    max-width: 680px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 15px;
  }

  .responsive-trust-grid span {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(240, 182, 55, .32);
    border-radius: 7px;
    padding: 8px 8px;
    color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .045);
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 800;
    line-height: 1.12;
  }

  .responsive-trust-grid i {
    color: var(--gold);
    font-size: 11px;
  }

  .hero-buttons {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-grid {
    width: min(100% - 64px, 920px) !important;
  }

  .hero-copy {
    padding-top: clamp(34px, 4.5vw, 54px) !important;
  }

  .hero h1 {
    max-width: 900px !important;
    font-size: clamp(48px, 6.2vw, 60px) !important;
  }

  .hero h1 > span:first-child {
    font-size: clamp(27px, 3.4vw, 36px) !important;
  }

  .mobile-hero-visual {
    min-height: clamp(390px, 43svh, 490px);
  }

  .mobile-hero-chairman {
    width: min(42vw, 390px);
  }

  .mobile-training-badge {
    right: clamp(130px, 22vw, 230px);
    top: 36%;
    width: clamp(104px, 13vw, 132px);
  }

  .hero-lead {
    font-size: clamp(22px, 2.6vw, 28px) !important;
  }

  .responsive-hero-text {
    font-size: clamp(18px, 2.1vw, 20px) !important;
  }

  .responsive-hero-actions {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .responsive-hero-btn {
    min-height: 58px;
    font-size: 15px;
  }

  .responsive-trust-grid {
    max-width: 900px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-grid {
    width: calc(100% - 40px) !important;
  }

  .hero-copy {
    padding-top: clamp(18px, 4svh, 28px) !important;
    padding-bottom: 20px !important;
  }

  .hero h1 {
    width: calc(100vw - 16px) !important;
    margin-left: calc((100% - (100vw - 16px)) / 2) !important;
    margin-right: calc((100% - (100vw - 16px)) / 2) !important;
    font-size: clamp(27px, 7.4vw, 30px) !important;
    line-height: .92 !important;
  }

  .hero h1 > span:first-child {
    margin-bottom: 8px !important;
    font-size: clamp(16px, 4.8vw, 20px) !important;
  }

  .mobile-hero-visual {
    width: calc(100vw - 20px);
    min-height: clamp(235px, 35svh, 292px);
    margin-top: 6px;
  }

  .mobile-ring {
    top: 5%;
    width: clamp(195px, 62vw, 270px);
  }

  .mobile-ring.two {
    top: 10%;
    width: clamp(166px, 53vw, 232px);
  }

  .mobile-hero-chairman {
    width: min(60vw, 232px);
  }

  .mobile-training-badge {
    right: clamp(10px, 9vw, 44px);
    top: 33%;
    width: clamp(62px, 18vw, 78px);
  }

  .hero-lead {
    margin-top: 6px !important;
    font-size: clamp(16px, 4.7vw, 18px) !important;
    line-height: 1.18 !important;
  }

  .responsive-hero-text {
    margin-top: 7px !important;
    font-size: clamp(13px, 4vw, 15px) !important;
    line-height: 1.36 !important;
  }

  .responsive-hero-actions {
    gap: 8px;
    margin-top: 10px;
  }

  .responsive-hero-btn {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .responsive-trust-grid {
    gap: 6px;
    margin-top: 8px;
  }

  .responsive-trust-grid span {
    min-height: 30px;
    padding: 5px 5px;
    font-size: clamp(9px, 2.8vw, 11px);
  }
}

/* Final Home hero optimization: mobile/tablet only, desktop untouched */
@media (max-width: 1024px) {
  .hero,
  .hero-grid,
  .hero-copy {
    min-height: auto !important;
  }

  .hero {
    padding-block: 0 !important;
  }

  .hero-grid {
    width: min(100% - 40px, 920px) !important;
    margin-inline: auto !important;
  }

  .hero-copy {
    align-items: flex-start !important;
    padding-top: clamp(20px, 4vw, 34px) !important;
    padding-bottom: clamp(22px, 4vw, 34px) !important;
    text-align: left !important;
  }

  .hero h1,
  .hero h1 > span:first-child,
  .hero h1 .hero-title-mobile,
  .hero-lead,
  .responsive-hero-text {
    text-align: left !important;
  }

  .hero h1 {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  .mobile-hero-visual {
    align-self: center !important;
    margin-inline: auto !important;
  }

  .hero-lead,
  .responsive-hero-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .responsive-hero-actions {
    align-self: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .responsive-hero-btn {
    justify-content: center !important;
  }

  .responsive-trust-grid {
    align-self: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .responsive-trust-grid span {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 92svh !important;
    overflow-x: hidden !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    font-size: clamp(25px, 7.2vw, 30px) !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
  }

  .hero h1 > span:first-child {
    font-size: clamp(16px, 4.7vw, 20px) !important;
  }

  .mobile-hero-visual {
    width: 100% !important;
    min-height: clamp(318px, 43svh, 390px) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
  }

  .mobile-hero-chairman {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    translate: -50% 0 !important;
    width: min(124vw, 500px) !important;
    max-width: none !important;
  }

  .mobile-ring {
    width: clamp(245px, 78vw, 345px) !important;
  }

  .mobile-ring.two {
    width: clamp(210px, 67vw, 295px) !important;
  }

  .mobile-training-badge {
    right: clamp(-26px, -4.8vw, -14px) !important;
    top: 24% !important;
    width: clamp(132px, 38vw, 184px) !important;
  }

  .hero-lead {
    margin-top: 8px !important;
    font-size: clamp(17px, 4.9vw, 20px) !important;
  }

  .responsive-hero-text {
    margin-top: 8px !important;
    font-size: clamp(13px, 3.8vw, 15px) !important;
    line-height: 1.38 !important;
  }

  .responsive-hero-actions,
  .responsive-trust-grid {
    max-width: 100% !important;
  }

  .responsive-hero-btn {
    width: 100% !important;
  }

  .responsive-hero-actions .mobile-only {
    display: inline-flex !important;
  }

  .responsive-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .responsive-trust-grid span {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .hero-copy,
  .hero h1,
  .hero-lead,
  .responsive-hero-text,
  .responsive-hero-actions,
  .responsive-trust-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero,
  .hero-grid,
  .hero-copy {
    min-height: 0 !important;
  }

  .hero {
    padding-bottom: 0 !important;
  }

  .hero-copy {
    padding-top: clamp(28px, 4vw, 44px) !important;
    padding-bottom: 0 !important;
  }

  .hero h1 {
    max-width: 900px !important;
    font-size: clamp(48px, 5.8vw, 58px) !important;
  }

  .mobile-hero-visual {
    width: 100% !important;
    min-height: clamp(400px, 42svh, 540px) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .mobile-hero-chairman {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    bottom: auto !important;
    translate: -50% 0 !important;
    width: min(92vw, 880px) !important;
    max-width: none !important;
  }

  .mobile-training-badge {
    right: clamp(36px, 9vw, 120px) !important;
    top: 28% !important;
    width: clamp(288px, 36vw, 384px) !important;
  }

  .mobile-ring {
    display: none !important;
    top: 0 !important;
    width: clamp(520px, 76vw, 760px) !important;
  }

  .mobile-ring.two {
    display: block !important;
    top: clamp(28px, 4vw, 48px) !important;
    width: clamp(440px, 64vw, 650px) !important;
  }

  .responsive-hero-actions {
    max-width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .responsive-hero-actions .mobile-only {
    display: inline-flex !important;
  }

  .responsive-hero-btn.brochure {
    border-color: #d00b0f !important;
    color: #fff !important;
    background: linear-gradient(#d30e12, #b60003) !important;
  }

  .responsive-trust-grid {
    max-width: 900px !important;
  }

  .hero-lead {
    margin-top: 0 !important;
    font-size: clamp(20px, 2.35vw, 25px) !important;
    line-height: 1.12 !important;
    max-width: 780px !important;
  }

  .responsive-hero-text {
    margin-top: 6px !important;
    font-size: clamp(16px, 1.9vw, 18px) !important;
    line-height: 1.28 !important;
    max-width: 760px !important;
  }

  .responsive-hero-actions {
    margin-top: 10px !important;
    gap: 10px !important;
  }

  .responsive-hero-btn {
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  .responsive-trust-grid {
    margin-top: 8px !important;
    gap: 8px !important;
  }

  .responsive-trust-grid span {
    min-height: 34px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
  }

  .feature-strip {
    margin-top: 14px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero {
    border-bottom: 14px solid #00183f !important;
  }

  .hero + .feature-strip {
    margin-top: 0 !important;
  }

  .feature-grid {
    padding-block: 10px !important;
    row-gap: 4px !important;
  }

  .feature-grid div {
    min-height: 46px !important;
    padding: 6px 12px !important;
  }

  .bottom > .enquiry {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    padding: 22px 28px !important;
  }

  .bottom > .enquiry form {
    max-width: 100% !important;
  }

  .bottom > .enquiry .split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .bottom > .enquiry input,
  .bottom > .enquiry select {
    height: 38px !important;
    font-size: 12px !important;
  }

  .bottom > .enquiry textarea {
    height: 82px !important;
    font-size: 12px !important;
  }

  .bottom > .enquiry .btn {
    min-height: 42px !important;
    font-size: 12px !important;
  }

  .middle > .verify {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 18px !important;
    padding: 22px 28px !important;
  }

  .middle > .verify h2,
  .middle > .verify p,
  .middle > .verify .block {
    grid-column: 1 / -1 !important;
  }

  .middle > .verify .qr-shield {
    display: none !important;
  }

  .middle > .verify input {
    height: 40px !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
  }

  .middle > .verify .block {
    min-height: 42px !important;
    margin-top: 4px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 767px), (min-width: 1025px) {
  .responsive-hero-actions .mobile-only {
    display: none !important;
  }
}

/* About hero: Home-style tablet/iPad treatment only */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-hero {
    min-height: 0 !important;
    background-color: #07142B !important;
    background-size: cover !important;
    background-position: center bottom !important;
  }

  .about-hero::before {
    background:
      radial-gradient(circle at 50% 38%, rgba(240, 182, 55, .16) 0 18%, rgba(7, 20, 43, 0) 43%),
      linear-gradient(180deg, rgba(7, 20, 43, .92) 0%, rgba(7, 20, 43, .74) 48%, rgba(7, 20, 43, .96) 100%) !important;
  }

  .about-hero-grid {
    width: min(100% - 40px, 920px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: flex-start !important;
    padding: clamp(28px, 4vw, 44px) 0 0 !important;
  }

  .about-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    display: contents !important;
    padding: 0 !important;
    color: #fff !important;
    text-align: left !important;
  }

  .about-hero-copy > span,
  .about-hero-copy h1,
  .about-hero-copy h2 {
    grid-column: 1 !important;
  }

  .about-hero-copy > span,
  .about-hero-copy h1,
  .about-hero-copy h2,
  .about-hero-copy p {
    text-align: left !important;
  }

  .about-hero-copy > span {
    color: #fff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(27px, 3.4vw, 36px) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  .about-hero-copy h1 {
    max-width: 900px !important;
    color: var(--gold) !important;
    font-size: clamp(48px, 5.8vw, 58px) !important;
    line-height: .96 !important;
  }

  .about-hero-copy h2 {
    max-width: 760px !important;
    margin-top: 8px !important;
    color: #fff !important;
    font-size: clamp(22px, 2.6vw, 28px) !important;
    line-height: 1.12 !important;
  }

  .about-hero-copy h2::after {
    margin: 8px 0 0 !important;
  }

  .about-hero-copy p {
    grid-column: 1 !important;
    order: 4 !important;
    max-width: 760px !important;
    margin: 0 0 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: clamp(16px, 1.9vw, 18px) !important;
    line-height: 1.28 !important;
  }

  .about-hero-copy > div {
    grid-column: 1 !important;
    order: 5 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .about-hero-copy .btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  .about-hero-media {
    grid-column: 1 !important;
    order: 3 !important;
    position: relative !important;
    width: 100% !important;
    min-height: clamp(360px, 38svh, 500px) !important;
    display: grid !important;
    place-items: start center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  .about-ring {
    left: 50% !important;
    top: clamp(28px, 4vw, 48px) !important;
    width: clamp(440px, 64vw, 650px) !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    translate: -50% 0 !important;
    border-width: 2px !important;
    box-shadow: 0 0 24px rgba(240, 182, 55, .34), inset 0 0 24px rgba(240, 182, 55, .12) !important;
  }

  .about-ring::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 212, 106, .45);
    border-radius: 50%;
  }

  .about-chairman {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    z-index: 2 !important;
    width: min(92vw, 880px) !important;
    height: auto !important;
    max-width: none !important;
    translate: -50% 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
  }

  .about-badge {
    right: clamp(36px, 9vw, 120px) !important;
    top: 28% !important;
    width: clamp(288px, 36vw, 384px) !important;
    height: auto !important;
    border-radius: 0 !important;
    clip-path: none !important;
    object-fit: contain !important;
  }

  .about-swoosh {
    display: none !important;
  }
}

/* About hero reference layout: tablet/iPad only */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-hero {
    min-height: clamp(560px, 64svh, 720px) !important;
  }

  .about-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 20, 43, .98) 0%, rgba(7, 20, 43, .88) 44%, rgba(7, 20, 43, .42) 72%, rgba(7, 20, 43, .76) 100%),
      radial-gradient(circle at 78% 36%, rgba(240, 182, 55, .16), rgba(7, 20, 43, 0) 34%) !important;
  }

  .about-hero-grid {
    width: min(100% - 44px, 980px) !important;
    min-height: clamp(560px, 64svh, 720px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr) !important;
    align-items: center !important;
    column-gap: clamp(18px, 3vw, 36px) !important;
    padding: clamp(28px, 4vw, 44px) 0 !important;
  }

  .about-hero-copy {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  .about-hero-copy > span {
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(58px, 8vw, 88px) !important;
    color: #fff !important;
    line-height: .92 !important;
    text-shadow: 0 2px 12px rgba(255, 255, 255, .18) !important;
  }

  .about-hero-copy h1 {
    margin-top: 10px !important;
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(72px, 9.8vw, 118px) !important;
    line-height: .9 !important;
    white-space: nowrap !important;
    text-shadow: 0 0 18px rgba(240, 182, 55, .22) !important;
  }

  .about-hero-copy h2 {
    max-width: 620px !important;
    margin-top: 24px !important;
    font-size: clamp(30px, 4.2vw, 46px) !important;
    line-height: 1.22 !important;
  }

  .about-hero-copy h2::after {
    width: 150px !important;
    height: 2px !important;
    margin: 18px 0 0 !important;
  }

  .about-hero-copy p {
    max-width: 640px !important;
    margin-top: 22px !important;
    color: rgba(255, 255, 255, .9) !important;
    font-size: clamp(18px, 2.4vw, 25px) !important;
    line-height: 1.55 !important;
  }

  .about-hero-copy > div {
    width: min(100%, 780px) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }

  .about-hero-copy .btn {
    min-height: 58px !important;
    border-radius: 8px !important;
    font-size: clamp(13px, 1.8vw, 17px) !important;
  }

  .about-hero-media {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    min-height: clamp(500px, 58svh, 660px) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .about-ring {
    display: none !important;
    left: 50% !important;
    top: clamp(20px, 4vw, 48px) !important;
    width: clamp(330px, 43vw, 520px) !important;
    border-color: rgba(240, 182, 55, .75) !important;
  }

  .about-chairman {
    display: none !important;
    left: 72% !important;
    width: min(112vw, 1120px) !important;
    top: auto !important;
    bottom: 0 !important;
  }

  .about-badge {
    width: clamp(120px, 15vw, 170px) !important;
    right: clamp(0px, 2vw, 24px) !important;
    top: clamp(170px, 21vw, 250px) !important;
  }
}

/* About hero text-fill layout: tablet/iPad only */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-hero {
    min-height: 0 !important;
    padding-block: clamp(10px, 1.4vw, 14px) !important;
  }

  .about-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 20, 43, .98) 0%, rgba(7, 20, 43, .9) 54%, rgba(7, 20, 43, .7) 100%),
      radial-gradient(circle at 78% 34%, rgba(240, 182, 55, .13), rgba(7, 20, 43, 0) 34%) !important;
  }

  .about-hero-grid {
    width: min(100% - 44px, 980px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    padding: clamp(5px, .75vw, 8px) 0 clamp(6px, .85vw, 9px) !important;
  }

  .about-hero-media,
  .about-ring,
  .about-chairman,
  .about-badge,
  .about-swoosh {
    display: none !important;
  }

  .about-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .about-hero-copy > span,
  .about-hero-copy h1,
  .about-hero-copy h2,
  .about-hero-copy p {
    width: 100% !important;
    text-align: left !important;
  }

  .about-hero-copy > span {
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(68px, 9.8vw, 104px) !important;
    line-height: .84 !important;
    color: #fff !important;
    letter-spacing: 0 !important;
    text-shadow: 0 2px 16px rgba(255, 255, 255, .18) !important;
  }

  .about-hero-copy h1 {
    max-width: 100% !important;
    margin-top: clamp(6px, 1vw, 10px) !important;
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(78px, 11vw, 120px) !important;
    line-height: .86 !important;
    white-space: normal !important;
    color: var(--gold) !important;
    text-shadow: 0 0 18px rgba(240, 182, 55, .26) !important;
  }

  .about-hero-copy h2 {
    max-width: 930px !important;
    margin-top: clamp(14px, 2vw, 22px) !important;
    color: #fff !important;
    font-size: clamp(31px, 4.2vw, 47px) !important;
    line-height: 1.14 !important;
  }

  .about-hero-copy h2::after {
    width: min(320px, 42vw) !important;
    height: 3px !important;
    margin: clamp(10px, 1.6vw, 16px) 0 0 !important;
  }

  .about-hero-copy p {
    max-width: 930px !important;
    margin-top: clamp(12px, 1.8vw, 18px) !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: clamp(20px, 2.6vw, 27px) !important;
    line-height: 1.32 !important;
  }

  .about-hero-copy > div {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(12px, 2vw, 20px) !important;
    margin-top: clamp(16px, 2.4vw, 24px) !important;
  }

  .about-hero-copy .btn {
    width: 100% !important;
    min-height: clamp(62px, 7vw, 80px) !important;
    justify-content: center !important;
    padding: 14px clamp(12px, 2vw, 22px) !important;
    border-radius: 8px !important;
    font-size: clamp(14px, 1.9vw, 19px) !important;
    line-height: 1.15 !important;
  }
}

/* Chairman message compact quote band: tablet/iPad only */
@media (min-width: 768px) and (max-width: 1024px) {
  .chairman-message.wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto clamp(18px, 3vw, 28px) !important;
  }

  .chairman-message {
    display: block !important;
    min-height: 0 !important;
    padding: clamp(14px, 2.2vw, 20px) clamp(18px, 3vw, 28px) !important;
    border-radius: 0 !important;
    background: #061a44 !important;
    box-shadow: none !important;
    color: #fff !important;
  }

  .chairman-message > img,
  .chairman-message .message-copy h2,
  .chairman-message .message-copy .title-star,
  .chairman-message .signature {
    display: none !important;
  }

  .chairman-message .message-copy {
    padding: 0 !important;
  }

  .chairman-message .message-copy p {
    max-width: none !important;
    margin: 0 0 clamp(14px, 2vw, 18px) !important;
    color: rgba(255, 255, 255, .95) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(15px, 2.05vw, 19px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  .chairman-message .message-copy p:last-child {
    margin-bottom: 0 !important;
  }

  .chairman-message .message-copy .fa-quote-left {
    display: inline-block !important;
    width: auto !important;
    color: var(--gold) !important;
    font-family: Georgia, serif !important;
    font-size: clamp(24px, 3.2vw, 32px) !important;
    font-weight: 900 !important;
    line-height: .8 !important;
    margin-right: 8px !important;
    vertical-align: -.12em !important;
  }

  .chairman-message .message-copy .fa-quote-left::before {
    content: "\201C" !important;
  }
}

/* Chairman message premium reference layout: tablet/iPad only */
@media (min-width: 768px) and (max-width: 1024px) {
  .chairman-message.wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto clamp(20px, 3vw, 32px) !important;
  }

  .chairman-message {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 37%) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    column-gap: clamp(28px, 4vw, 44px) !important;
    row-gap: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: clamp(24px, 3vw, 34px) clamp(28px, 4vw, 48px) clamp(28px, 3.4vw, 38px) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(90deg, rgba(7, 20, 43, .98) 0%, rgba(7, 20, 43, .94) calc(37% - 1px), rgba(240, 182, 55, .82) calc(37% - 1px), rgba(240, 182, 55, .82) calc(37% + 1px), rgba(7, 20, 43, .94) calc(37% + 1px), rgba(7, 20, 43, .97) 100%),
      linear-gradient(180deg, rgba(7, 20, 43, .25), rgba(7, 20, 43, .9)),
      url("../Assets/hero-bg.png") center bottom / cover no-repeat !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .chairman-message::after {
    content: none !important;
    position: absolute !important;
    left: clamp(220px, 28vw, 308px) !important;
    top: clamp(292px, 36vw, 370px) !important;
    z-index: 4 !important;
    width: clamp(86px, 11vw, 120px) !important;
    aspect-ratio: 1 !important;
    background: url("../Assets/Badge.png") center / contain no-repeat !important;
    filter: drop-shadow(0 0 12px rgba(240, 182, 55, .58)) !important;
  }

  .chairman-message > img {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    position: relative !important;
    z-index: 3 !important;
    justify-self: center !important;
    align-self: start !important;
    width: clamp(220px, 28vw, 310px) !important;
    height: clamp(220px, 28vw, 310px) !important;
    max-width: none !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: 50% 38% !important;
    background: radial-gradient(circle, rgba(255, 197, 55, .15), rgba(7, 20, 43, .25) 62%, rgba(7, 20, 43, 0) 70%) !important;
    box-shadow:
      0 0 0 2px rgba(240, 182, 55, .95),
      0 0 0 8px rgba(240, 182, 55, .18),
      0 0 0 12px rgba(240, 182, 55, .8),
      0 0 26px rgba(240, 182, 55, .55) !important;
  }

  .chairman-message .message-copy {
    display: contents !important;
    padding: 0 !important;
  }

  .chairman-message .message-copy h2 {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Cinzel", Georgia, serif !important;
    font-size: clamp(28px, 4.05vw, 42px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    text-shadow: 0 2px 12px rgba(255, 255, 255, .16) !important;
  }

  .chairman-message .message-copy h2 span {
    color: var(--gold) !important;
  }

  .chairman-message .message-copy .title-star {
    display: flex !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin: clamp(12px, 1.6vw, 18px) 0 clamp(20px, 2.5vw, 28px) !important;
  }

  .chairman-message .message-copy .title-star span {
    display: block !important;
    width: clamp(74px, 10vw, 112px) !important;
    height: 1px !important;
    background: rgba(240, 182, 55, .7) !important;
  }

  .chairman-message .message-copy .title-star i {
    color: var(--gold) !important;
    font-size: clamp(18px, 2.4vw, 26px) !important;
  }

  .chairman-message .message-copy p {
    grid-column: 2 !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .96) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(18px, 2.45vw, 25px) !important;
    font-weight: 500 !important;
    line-height: 1.34 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  .chairman-message .message-copy p:nth-of-type(1) {
    grid-row: 3 !important;
    padding-left: clamp(36px, 4vw, 52px) !important;
  }

  .chairman-message .message-copy p:nth-of-type(2),
  .chairman-message .message-copy p:nth-of-type(3) {
    padding-top: clamp(16px, 2vw, 22px) !important;
    margin-top: clamp(16px, 2vw, 22px) !important;
    border-top: 1px solid rgba(240, 182, 55, .45) !important;
  }

  .chairman-message .message-copy p:nth-of-type(2) {
    grid-row: 4 !important;
  }

  .chairman-message .message-copy p:nth-of-type(3) {
    grid-row: 5 !important;
    padding-right: clamp(26px, 3vw, 44px) !important;
  }

  .chairman-message .message-copy .fa-quote-left {
    display: inline-block !important;
    width: auto !important;
    color: var(--gold) !important;
    font-family: Georgia, serif !important;
    font-size: clamp(44px, 5.6vw, 58px) !important;
    font-weight: 900 !important;
    line-height: .55 !important;
    margin-right: 12px !important;
    vertical-align: -.2em !important;
  }

  .chairman-message .message-copy .fa-quote-left::before {
    content: "\201C" !important;
  }

  .chairman-message .message-copy p:nth-of-type(3)::after {
    content: "\201D" !important;
    float: right !important;
    color: var(--gold) !important;
    font-family: Georgia, serif !important;
    font-size: clamp(44px, 5.6vw, 58px) !important;
    font-weight: 900 !important;
    line-height: .4 !important;
    margin-top: clamp(10px, 1.4vw, 18px) !important;
  }

  .chairman-message .signature {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 4 / span 2 !important;
    position: relative !important;
    z-index: 3 !important;
    justify-self: center !important;
    align-self: start !important;
    width: clamp(220px, 28vw, 310px) !important;
    padding: clamp(24px, 3.2vw, 34px) 0 0 !important;
    color: #fff !important;
    text-align: left !important;
  }

  .chairman-message .signature::before {
    content: "Salman" !important;
    display: block !important;
    margin: 0 0 clamp(8px, 1.4vw, 14px) !important;
    color: var(--gold) !important;
    font-family: "Brush Script MT", "Segoe Script", cursive !important;
    font-size: clamp(46px, 6vw, 62px) !important;
    font-weight: 400 !important;
    line-height: .85 !important;
    rotate: -6deg !important;
  }

  .chairman-message .signature strong {
    display: block !important;
    color: var(--gold) !important;
    font-size: clamp(24px, 3.2vw, 34px) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
  }

  .chairman-message .signature span {
    display: block !important;
    margin-top: clamp(12px, 1.6vw, 18px) !important;
    color: #fff !important;
    font-size: clamp(16px, 2.1vw, 21px) !important;
    line-height: 1.45 !important;
  }
}

/* Courses hero tablet/iPad fixes */
@media (min-width: 768px) and (max-width: 1024px) {
  .courses-page .courses-hero-inner {
    grid-template-columns: 1fr !important;
    gap: clamp(14px, 2.2vw, 22px) !important;
    padding-bottom: clamp(22px, 3vw, 34px) !important;
  }

  .courses-page .course-hero-actions {
    position: relative !important;
    z-index: 5 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.6vw, 14px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .courses-page .course-hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: clamp(42px, 5vw, 50px) !important;
    padding: 10px 12px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: clamp(11px, 1.5vw, 14px) !important;
    line-height: 1.1 !important;
  }

  .courses-page .courses-hero-media {
    justify-self: center !important;
    width: min(760px, 100%) !important;
    height: clamp(310px, 36vw, 370px) !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  .courses-page .courses-hero-media img {
    border-radius: 18px !important;
    object-fit: cover !important;
    object-position: 42% 28% !important;
  }

  .courses-page .course-gold-ring {
    inset: -38px -8px -26px -44px !important;
    border-width: 5px !important;
    transform: rotate(-8deg) !important;
  }
}

/* Courses page tablet/iPad form and trust row fixes */
@media (min-width: 641px) and (max-width: 1024px) {
  .courses-page .course-support {
    width: min(100% - 44px, 980px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
    align-items: stretch !important;
  }

  .courses-page .course-support .support-card {
    min-width: 0 !important;
  }

  .courses-page .course-support .support-card:nth-child(3) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    padding: clamp(18px, 2.4vw, 26px) !important;
  }

  .courses-page .course-support .support-card:nth-child(3) h2,
  .courses-page .course-support .support-card:nth-child(3) form {
    max-width: none !important;
  }

  .courses-page .course-enquiry {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.6vw, 14px) !important;
    width: 100% !important;
  }

  .courses-page .course-enquiry select,
  .courses-page .course-enquiry textarea,
  .courses-page .course-enquiry .btn {
    grid-column: 1 / -1 !important;
  }

  .courses-page .course-enquiry input,
  .courses-page .course-enquiry select {
    height: clamp(38px, 4.5vw, 46px) !important;
    margin-bottom: 0 !important;
  }

  .courses-page .course-enquiry textarea {
    height: clamp(78px, 9vw, 104px) !important;
    margin-bottom: 0 !important;
  }

  .courses-page .course-enquiry .btn {
    min-height: clamp(42px, 5vw, 50px) !important;
  }

  .courses-page .course-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
  }

  .courses-page .course-overview > article:first-child {
    grid-column: 1 / -1 !important;
    padding-right: 0 !important;
  }

  .courses-page .overview-card {
    min-width: 0 !important;
    min-height: clamp(108px, 13vw, 132px) !important;
    padding: 12px 8px !important;
  }

  .courses-page .overview-card strong {
    font-size: clamp(20px, 2.6vw, 27px) !important;
  }

  .courses-page .overview-card span {
    font-size: clamp(10px, 1.3vw, 12px) !important;
    line-height: 1.15 !important;
  }

  .courses-page .course-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    overflow: hidden !important;
    align-items: stretch !important;
    padding: clamp(14px, 2vw, 20px) clamp(8px, 1.4vw, 14px) !important;
    gap: 0 !important;
  }

  .courses-page .course-stats div {
    min-width: 0 !important;
    min-height: clamp(82px, 10vw, 104px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    place-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    padding: 8px clamp(6px, 1.1vw, 12px) !important;
    text-align: center !important;
    border-right: 1px solid rgba(240, 182, 55, .42) !important;
  }

  .courses-page .course-stats i {
    grid-row: auto !important;
    align-self: center !important;
    margin-bottom: 6px !important;
    color: var(--gold) !important;
    font-size: clamp(22px, 3vw, 30px) !important;
  }

  .courses-page .course-stats strong {
    align-self: center !important;
    color: var(--gold) !important;
    font-size: clamp(19px, 2.5vw, 26px) !important;
    line-height: .95 !important;
    white-space: nowrap !important;
  }

  .courses-page .course-stats span {
    max-width: 98px !important;
    color: #fff !important;
    font-size: clamp(9px, 1.18vw, 12px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
  }

  .courses-page .course-stats div:last-child {
    border-right: 0 !important;
  }
}

/* Placement page tablet/iPad info panels and form overlap fix */
@media (min-width: 641px) and (max-width: 1024px) {
  .placement-page .placement-main {
    width: min(100% - 44px, 980px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(18px, 2.6vw, 28px) !important;
    padding: clamp(18px, 2.8vw, 28px) 0 !important;
  }

  .placement-page .placement-sidebar {
    margin-top: 0 !important;
    gap: clamp(16px, 2.4vw, 24px) !important;
  }

  .placement-page .placement-info-panels {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.6vw, 16px) !important;
    margin-top: clamp(16px, 2.2vw, 24px) !important;
    margin-bottom: clamp(18px, 2.6vw, 28px) !important;
    align-items: stretch !important;
  }

  .placement-page .placement-info-panels article {
    min-width: 0 !important;
    min-height: clamp(190px, 24vw, 245px) !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    gap: 8px 10px !important;
    align-content: start !important;
    padding: clamp(12px, 1.8vw, 18px) !important;
  }

  .placement-page .placement-info-panels > article > i {
    grid-row: 1 / 3 !important;
    align-self: start !important;
    justify-self: center !important;
    width: clamp(34px, 4.4vw, 46px) !important;
    height: clamp(34px, 4.4vw, 46px) !important;
    display: grid !important;
    place-items: center !important;
    margin-top: 2px !important;
    border: 3px solid var(--navy) !important;
    border-radius: 50% !important;
    color: var(--navy) !important;
    font-size: clamp(18px, 2.5vw, 26px) !important;
  }

  .placement-page .placement-info-panels h2 {
    margin: 0 !important;
    color: var(--navy) !important;
    font-size: clamp(11px, 1.45vw, 15px) !important;
    line-height: 1.15 !important;
    text-align: left !important;
  }

  .placement-page .placement-info-panels ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  .placement-page .placement-info-panels li {
    margin-bottom: clamp(5px, .8vw, 8px) !important;
    padding-left: 12px !important;
    font-size: clamp(9px, 1.15vw, 12px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  .placement-page .placement-info-panels li::before {
    top: .45em !important;
    width: 4px !important;
    height: 4px !important;
  }

  .placement-page .placement-sidebar > .placement-register {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
  }

  .placement-page .placement-register form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px 12px !important;
  }

  .placement-page .placement-register form h3,
  .placement-page .placement-register form .btn,
  .placement-page .placement-register form label,
  .placement-page .placement-register form input[type="file"] {
    grid-column: 1 / -1 !important;
  }

  .placement-page .placement-register input,
  .placement-page .placement-register select {
    margin-bottom: 0 !important;
  }
}

/* Gallery album tag alignment: tablet/iPad only */
@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-pdf-page .gallery-left .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card {
    position: relative !important;
    min-height: clamp(188px, 24vw, 230px) !important;
    display: grid !important;
    grid-template-columns: clamp(128px, 22vw, 178px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
    padding-top: clamp(48px, 6vw, 58px) !important;
    overflow: hidden !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card > span {
    position: absolute !important;
    left: clamp(12px, 1.8vw, 18px) !important;
    top: clamp(10px, 1.5vw, 14px) !important;
    right: auto !important;
    z-index: 4 !important;
    width: clamp(72px, 10vw, 94px) !important;
    max-width: none !important;
    min-height: 22px !important;
    display: inline-grid !important;
    place-items: center !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--navy) !important;
    box-shadow: 0 4px 10px rgba(0, 18, 50, .18) !important;
    font-size: clamp(8px, 1.05vw, 10px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card:nth-child(even) > span {
    background: var(--red) !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card img {
    width: clamp(108px, 17vw, 150px) !important;
    height: clamp(82px, 12vw, 104px) !important;
    margin: 0 0 0 clamp(12px, 1.8vw, 18px) !important;
    align-self: start !important;
    object-fit: cover !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card div {
    min-width: 0 !important;
    align-self: start !important;
    padding: 0 clamp(12px, 1.8vw, 18px) clamp(14px, 2vw, 18px) 0 !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card h3 {
    margin: 0 0 7px !important;
    font-size: clamp(13px, 1.8vw, 18px) !important;
    line-height: 1.15 !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card p {
    margin-top: 4px !important;
    font-size: clamp(10px, 1.3vw, 12px) !important;
    line-height: 1.28 !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card a {
    min-width: 108px !important;
    min-height: 31px !important;
    margin-top: 10px !important;
    font-size: clamp(9px, 1.1vw, 11px) !important;
  }

  .gallery-pdf-page .gallery-feature-area .album-card em {
    display: inline-block !important;
    margin-left: 8px !important;
    font-size: clamp(9px, 1vw, 10px) !important;
    white-space: nowrap !important;
  }
}

/* Gallery tablet proof grid and CTA alignment */
@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-pdf-page .gallery-proof {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
    align-items: stretch !important;
  }

  .gallery-pdf-page .gallery-proof > article {
    min-width: 0 !important;
  }

  .gallery-pdf-page .gallery-proof > article:nth-child(5) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: min(100%, 50% - clamp(6px, .9vw, 9px)) !important;
  }

  .gallery-pdf-page .gallery-cta .wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: clamp(12px, 1.8vw, 18px) !important;
  }

  .gallery-pdf-page .gallery-cta h2 {
    max-width: 720px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .gallery-pdf-page .gallery-cta .wrap > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
}


/* ── Nav font override: Poppins 600 — overrides all page-specific max-width blocks ── */
@media (min-width: 1181px) {
  .nav-links { gap: 22px !important; }
  .nav-links a {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
  }
  .header-actions .btn {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
    padding: 9px 16px !important;
  }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-links { gap: 14px !important; }
  .nav-links a {
    font-family: "Poppins", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
  }
  .header-actions .btn {
    font-family: "Poppins", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
}

/* Home course cards refresh */
.course-card .course-media img {
  height: 100% !important;
}

@media (max-width: 900px) {
  .course-media {
    height: clamp(150px, 32vw, 210px);
  }

  .course-card-body {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .course-media {
    height: 176px;
  }

  .course-card h3 {
    font-size: 17px;
  }

  .course-price-row strong {
    font-size: 20px;
  }

  .course-card li {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .feature-strip {
    border-top-width: 1px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 8px 14px !important;
  }

  .feature-grid div {
    min-height: 46px !important;
    grid-template-columns: 28px 1fr !important;
    column-gap: 8px !important;
    padding: 5px 6px !important;
  }

  .feature-grid i {
    font-size: 21px !important;
  }

  .feature-grid strong {
    font-size: 11px !important;
    line-height: 1.05 !important;
  }

  .feature-grid span {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  .feature-grid div:last-child {
    grid-column: 1 / -1 !important;
    max-width: 220px !important;
    justify-self: center !important;
    width: 100% !important;
  }
}

@media (max-width: 420px) {
  .feature-grid {
    padding: 7px 12px !important;
  }

  .feature-grid div {
    min-height: 42px !important;
    grid-template-columns: 26px 1fr !important;
    column-gap: 7px !important;
    padding: 4px 5px !important;
  }

  .feature-grid i {
    font-size: 19px !important;
  }
}

/* Student portal login and dashboard */
.portal-login-page {
  min-height: calc(100vh - 140px);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 182, 55, .16), transparent 28%),
    linear-gradient(135deg, #f6f8fc 0%, #ffffff 48%, #f8f1df 100%);
  padding: 52px 0;
}
.portal-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}
.portal-login-copy { max-width: 680px; }
.portal-login-copy h1 {
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  margin-bottom: 18px;
}
.portal-login-copy p {
  color: #4f5d74;
  font-size: 18px;
  max-width: 620px;
}
.portal-login-points {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}
.portal-login-points span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(6, 26, 68, .07);
}
.portal-login-points i { color: var(--red); }
.portal-login-card {
  border: 1px solid #d9e1ee;
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 22px 60px rgba(6, 26, 68, .14);
}
.portal-card-head h2 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 4px;
}
.portal-card-head p {
  color: #69758b;
  font-size: 14px;
  margin-bottom: 22px;
}
.portal-alert {
  display: none;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
}
.portal-alert.error {
  display: block;
  color: #9f0710;
  background: #fff0f1;
  border: 1px solid #ffc9ce;
}
.portal-alert.success {
  display: block;
  color: #126b34;
  background: #eefbf2;
  border: 1px solid #bce8c9;
}
.portal-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.portal-field span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.portal-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #d9e1ee;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
}
.portal-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 182, 55, .18);
}
.portal-primary-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #cf0c10, #a90608);
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}
.portal-primary-btn:disabled { opacity: .7; cursor: wait; }
.portal-login-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.portal-login-footer a:hover { color: var(--red); }
.portal-body { background: #eef2f8; }
.student-dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
}
.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #061a44;
  color: #fff;
  padding: 24px 18px;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.dash-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.dash-brand strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 18px;
  color: var(--gold);
}
.dash-brand small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.dash-nav { display: grid; gap: 7px; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 700;
}
.dash-nav a.active,
.dash-nav a:hover {
  background: rgba(240, 182, 55, .16);
  color: #fff;
}
.dash-nav i { color: var(--gold); width: 18px; text-align: center; }
.dash-logout {
  border: 0;
  border-radius: 8px;
  background: #b60709;
  color: #fff;
  padding: 11px 14px;
  font-weight: 900;
  cursor: pointer;
}
.dash-logout-side { margin-top: auto; }
.dash-main {
  min-width: 0;
  padding: 28px;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.dash-topbar h1 {
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.dash-topbar p {
  color: #65728a;
  font-weight: 600;
}
.dash-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-light-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d6dfec;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 900;
}
.dash-alert {
  display: none;
  margin-bottom: 16px;
  border: 1px solid #ffc9ce;
  border-radius: 8px;
  background: #fff0f1;
  color: #9f0710;
  padding: 12px 14px;
  font-weight: 800;
}
.dash-alert.active { display: block; }
.dash-alert.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.sd-registration-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  border: 1px solid rgba(226, 168, 0, .32);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 14px 34px rgba(6, 26, 68, .08);
  padding: 16px;
}
.sd-registration-notice[hidden] { display: none; }
.sd-registration-notice-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.sd-registration-notice span {
  display: block;
  margin-bottom: 3px;
  color: #a46f00;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sd-registration-notice h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}
.sd-registration-notice p {
  margin: 0;
  color: #65728a;
  font-size: 13px;
  line-height: 1.55;
}
.sd-registration-notice a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(212, 0, 0, .18);
}
.sd-registration-notice.submitted {
  border-color: rgba(21, 90, 168, .24);
  background: #f2f7ff;
}
.sd-registration-notice.submitted .sd-registration-notice-icon {
  background: #155aa8;
  color: #fff;
}
.sd-registration-notice.submitted span {
  color: #155aa8;
}
.sd-registration-notice.submitted a {
  background: #0d1b3e;
  box-shadow: 0 10px 22px rgba(13, 27, 62, .14);
}
.sd-registration-notice.correction-needed,
.sd-registration-notice.rejected {
  border-color: rgba(185, 4, 7, .24);
  background: #fff5f5;
}
.sd-registration-notice.correction-needed .sd-registration-notice-icon,
.sd-registration-notice.rejected .sd-registration-notice-icon {
  background: #b90407;
  color: #fff;
}
.sd-registration-notice.correction-needed span,
.sd-registration-notice.rejected span {
  color: #b90407;
}

.admin-registration-review {
  display: grid;
  gap: 16px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
}
.admin-registration-review.submitted {
  border-color: #bfdbfe;
  background: #f5f9ff;
}
.admin-registration-review.verified {
  border-color: #bbf7d0;
  background: #f5fff8;
}
.admin-registration-review.correction,
.admin-registration-review.rejected {
  border-color: #fecaca;
  background: #fff7f7;
}
.admin-registration-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.admin-registration-review strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.admin-registration-review span,
.admin-registration-review p {
  display: block;
  margin: 3px 0 0;
  color: #65728a;
  font-size: 12px;
  line-height: 1.45;
}
.admin-registration-review-head em {
  border-radius: 999px;
  background: #fff5dd;
  color: #9a680a;
  padding: 7px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
.admin-registration-review.verified .admin-registration-review-head em {
  background: #dcfce7;
  color: #168042;
}
.admin-registration-review.submitted .admin-registration-review-head em {
  background: #dbeafe;
  color: #155aa8;
}
.admin-registration-review.correction .admin-registration-review-head em,
.admin-registration-review.rejected .admin-registration-review-head em {
  background: #fee2e2;
  color: #b90407;
}
.admin-registration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.admin-registration-grid > div {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.admin-registration-grid span,
.admin-review-note span,
.admin-registration-docs > strong {
  display: block;
  color: #7a8598;
  font-size: 11px;
  font-weight: 800;
}
.admin-registration-grid strong {
  margin-top: 3px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.admin-registration-docs {
  display: grid;
  gap: 8px;
}
.admin-review-note {
  display: grid;
  gap: 7px;
}
.admin-review-note textarea {
  min-height: 86px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}
.admin-review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-review-actions button {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.admin-review-actions button:first-child {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.admin-review-actions button:last-child {
  background: #fff1f1;
  border-color: #fecaca;
  color: var(--red);
}
.admin-review-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.dash-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: var(--navy);
  font-weight: 800;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.dash-stats article,
.dash-panel {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 26, 68, .06);
}
.dash-stats article { padding: 17px; }
.dash-stats span {
  display: block;
  color: #6b778d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.dash-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 16px;
}
.dash-panel { padding: 20px; }
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dash-panel-head h2 {
  color: var(--navy);
  font-size: 20px;
}
.dash-panel-head span {
  border-radius: 999px;
  background: #fff4d6;
  color: #94650b;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.dash-course-panel h3 {
  color: var(--navy);
  font-size: 27px;
  line-height: 1.16;
  margin-bottom: 14px;
}
.dash-course-panel p {
  margin-top: 14px;
  color: #58657a;
}
.dash-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--navy);
  font-size: 13px;
}
.dash-course-meta i { color: var(--red); }
.dash-timeline,
.dash-doc-list,
.dash-payment-list { display: grid; gap: 10px; }
.dash-step,
.dash-doc-row,
.dash-payment-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  padding: 11px 12px;
  color: #5d687c;
  font-size: 14px;
  font-weight: 700;
}
.dash-step.done,
.dash-doc-row.done {
  color: var(--navy);
  background: #f7fbf8;
  border-color: #cdebd4;
}
.dash-step i,
.dash-doc-row i { color: #aeb8c7; }
.dash-step.done i,
.dash-doc-row.done i { color: #19a252; }
.dash-doc-row b {
  margin-left: auto;
  font-size: 12px;
  color: inherit;
}
.dash-payment-row {
  justify-content: space-between;
  align-items: center;
}
.dash-payment-row div { display: grid; gap: 2px; }
.dash-payment-row strong { color: var(--navy); }
.dash-payment-row span { color: #7a8597; font-size: 12px; }
.dash-payment-row b { color: var(--navy); }
.dash-payment-row em {
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff4d6;
  color: #94650b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.dash-payment-row em.paid {
  background: #e9f9ee;
  color: #13733a;
}
.dash-empty {
  border: 1px dashed #cdd6e4;
  border-radius: 8px;
  padding: 16px;
  color: #6d788d;
  font-weight: 700;
}
.dash-certificate-box {
  display: flex;
  gap: 14px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  padding: 15px;
  background: #fbfcff;
}
.dash-certificate-box > i {
  color: var(--gold);
  font-size: 30px;
}
.dash-certificate-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}
.dash-certificate-box p {
  color: #68758b;
  font-size: 13px;
}
.dash-certificate-box a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 900;
}
.dash-support-actions { display: grid; gap: 10px; }
.dash-support-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  padding: 12px;
  color: var(--navy);
  font-weight: 800;
}
.dash-support-actions a:hover {
  border-color: var(--gold);
  background: #fffaf0;
}

@media (max-width: 980px) {
  .portal-login-shell { grid-template-columns: 1fr; }
  .student-dashboard-app { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: static;
    height: auto;
  }
  .dash-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-logout-side { display: none; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .portal-login-page { padding: 28px 0; }
  .portal-login-shell { width: min(100% - 32px, var(--wrap)); gap: 24px; }
  .portal-login-card { padding: 22px; }
  .portal-login-copy p { font-size: 15px; }
  .portal-login-footer { flex-direction: column; }
  .dash-main { padding: 18px 14px 24px; }
  .dash-topbar { align-items: flex-start; flex-direction: column; }
  .dash-top-actions { width: 100%; }
  .dash-top-actions > * { flex: 1; justify-content: center; }
  .dash-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-stats { grid-template-columns: 1fr; }
  .dash-stats strong { font-size: 20px; }
  .dash-payment-row { align-items: flex-start; flex-direction: column; }
  .sd-registration-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .sd-registration-notice-icon {
    width: 42px;
    height: 42px;
  }
  .sd-registration-notice a {
    width: 100%;
  }
  .admin-registration-review {
    grid-template-columns: 1fr;
  }
  .admin-registration-review-head,
  .admin-registration-grid {
    grid-template-columns: 1fr;
  }
  .admin-review-actions {
    justify-content: stretch;
  }
  .admin-review-actions button {
    flex: 1 1 120px;
  }
}

/* Student pages aligned with quick-apply layout */
.portal-login-page,
.student-dashboard-page {
  min-height: calc(100vh - 112px);
  background: #f9f8f5;
  font-family: "Poppins", sans-serif;
  padding: 36px 0;
}

.portal-login-shell,
.student-dashboard-app {
  width: min(1272px, calc(100% - 48px));
  margin: 0 auto;
}

.portal-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: 56px;
  align-items: center;
}

.portal-login-copy {
  max-width: 620px;
}

.portal-login-copy h1,
.dash-topbar h1 {
  font-family: "Poppins", sans-serif;
  color: #0d1b3e;
  letter-spacing: -0.3px;
}

.portal-login-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 14px;
}

.portal-login-copy p,
.dash-topbar p {
  color: #707784;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
}

.portal-login-points {
  margin-top: 28px;
  gap: 12px;
}

.portal-login-points span {
  border-color: #e6e1d5;
  background: #fff;
  color: #0d1b3e;
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}

.portal-login-card,
.dash-panel,
.dash-stats article,
.dash-loading {
  border: 1px solid #e4dfd4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.portal-login-card {
  padding: 32px;
}

.portal-card-head h2,
.dash-panel-head h2 {
  font-family: "Poppins", sans-serif;
  color: #0d1b3e;
  font-weight: 600;
}

.portal-card-head h2 {
  font-size: 25px;
  letter-spacing: -0.3px;
}

.portal-card-head p {
  color: #9c9c9c;
  font-size: 13px;
  font-weight: 400;
}

.portal-field span {
  color: #222;
  font-size: 12px;
  font-weight: 500;
}

.portal-field input {
  height: 56px;
  border-color: #e0dcd3;
  border-radius: 8px;
  color: #222;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.portal-primary-btn,
.dash-logout {
  min-height: 50px;
  border-radius: 8px;
  background: #b90407;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

.student-dashboard-app {
  display: block;
}

.dash-topbar {
  margin-bottom: 18px;
}

.dash-topbar h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 6px;
}

.dash-top-actions {
  flex-wrap: wrap;
}

.dash-light-btn {
  min-height: 50px;
  border-color: #e4dfd4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  font-size: 13px;
  font-weight: 600;
}

.dash-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.dash-nav a {
  min-height: 46px;
  border: 1px solid #e4dfd4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.dash-nav a.active,
.dash-nav a:hover {
  border-color: rgba(232, 160, 32, 0.42);
  background: rgba(232, 160, 32, 0.1);
  color: #0d1b3e;
}

.dash-nav i {
  color: #e8a020;
}

.dash-stats {
  gap: 12px;
}

.dash-stats article {
  padding: 16px;
}

.dash-stats span {
  color: #8d8d8d;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 500;
}

.dash-stats strong {
  color: #0d1b3e;
  font-size: 21px;
  font-weight: 700;
}

.dash-grid {
  gap: 12px;
}

.dash-panel {
  padding: 18px;
}

.dash-panel-head h2 {
  font-size: 18px;
}

.dash-course-panel h3 {
  color: #0d1b3e;
  font-size: 24px;
  font-weight: 700;
}

.dash-step,
.dash-doc-row,
.dash-payment-row,
.dash-course-meta span,
.dash-certificate-box,
.dash-support-actions a,
.dash-empty {
  border-color: #e4dfd4;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 980px) {
  .portal-login-shell {
    grid-template-columns: 1fr;
  }

  .dash-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .portal-login-page,
  .student-dashboard-page {
    padding: 28px 0;
  }

  .portal-login-shell,
  .student-dashboard-app {
    width: min(100% - 32px, 1272px);
  }

  .portal-login-card {
    padding: 22px;
  }

  .dash-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dash-top-actions {
    width: 100%;
  }

  .dash-top-actions > * {
    flex: 1;
    justify-content: center;
  }

  .dash-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Student account dashboard refresh */
.student-account-page {
  background: #f9f8f5;
  font-family: "Poppins", sans-serif;
  padding: 36px 0;
}

.student-account-body .mobile-bar {
  display: none;
}

.student-account-shell {
  width: min(1272px, calc(100% - 48px));
  min-height: calc(100vh - 184px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 0;
  overflow: hidden;
  border: 1px solid #ebe6dc;
  border-radius: 8px;
  background: #fff;
}

.sd-sidebar,
.sd-profile-panel {
  background: #fff;
  padding: 26px 24px;
}

.sd-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee9df;
}

.sd-logo {
  display: block;
  margin-bottom: 42px;
}

.sd-logo img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.sd-nav-group {
  display: grid;
  gap: 8px;
}

.sd-nav-group strong {
  display: block;
  margin: 0 0 10px;
  color: #111827;
  font-size: 13px;
  text-transform: uppercase;
}

.sd-nav-bottom { margin-top: auto; }

.sd-nav-group a,
.sd-nav-btn {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #252525;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.sd-nav-group a i,
.sd-nav-btn i {
  width: 18px;
  color: #0d1b3e;
}

.sd-nav-btn.active,
.sd-nav-group a:hover,
.sd-nav-btn:hover {
  background: rgba(232, 160, 32, .12);
  color: #0d1b3e;
}

.sd-nav-btn.danger {
  color: #b90407;
}

.sd-nav-btn.danger i { color: #b90407; }

.sd-main {
  min-width: 0;
  background: #fff;
  padding: 22px 26px 30px;
  border-right: 1px solid #eee9df;
}

.sd-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 14px;
  margin-bottom: 22px;
}

.sd-search {
  height: 48px;
  border: 1px solid #e4dfd4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: #8b8b8b;
}

.sd-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #111827;
  font: inherit;
  font-size: 13px;
}

.sd-icon-btn {
  border: 1px solid #e4dfd4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
}

.dash-loading {
  border-color: #e4dfd4;
  box-shadow: none;
}

.dash-loading[hidden] {
  display: none !important;
}

.sd-view { display: none; }
.sd-view.active { display: block; }

.sd-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 8px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 88% 38%, rgba(255,255,255,.22) 0 7%, transparent 8% 100%),
    radial-gradient(circle at 78% 74%, rgba(255,255,255,.15) 0 12%, transparent 13% 100%),
    linear-gradient(135deg, #0d1b3e 0%, #172f68 100%);
  color: #fff;
}

.sd-hero-card span {
  display: block;
  margin-bottom: 12px;
  color: #e8a020;
  font-size: 11px;
  letter-spacing: .5px;
  font-weight: 600;
}

.sd-hero-card h1 {
  max-width: 560px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
}

.sd-hero-card p {
  max-width: 600px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.sd-dark-cta,
.sd-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
}

.sd-dark-cta {
  background: #111;
  color: #fff;
}

.sd-primary-btn {
  background: #b90407;
  color: #fff;
}

.sd-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.sd-stats article {
  min-width: 0;
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(13, 27, 62, .04);
}

.sd-stats i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,160,32,.15);
  color: #e8a020;
}

.sd-stats span,
.sd-info-grid span,
.sd-mini-list span {
  display: block;
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 500;
}

.sd-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
}

.sd-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 16px;
}

.sd-panel {
  min-width: 0;
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(13, 27, 62, .04);
}

.sd-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sd-panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.sd-panel-head span {
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
}

.sd-course-panel h3 {
  margin: 0 0 12px;
  color: #0d1b3e;
  font-size: 22px;
  line-height: 1.2;
}

.sd-course-panel p {
  margin: 12px 0 0;
  color: #686868;
  font-size: 13px;
  line-height: 1.7;
}

.sd-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #eee9df;
  border-radius: 8px;
  padding: 8px 10px;
  color: #0d1b3e;
  font-size: 12px;
}

.sd-support-form {
  display: grid;
  gap: 12px;
}

.sd-support-form label {
  display: grid;
  gap: 6px;
}

.sd-support-form label span {
  color: #6f6a63;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sd-support-form select,
.sd-support-form textarea {
  width: 100%;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.sd-support-form select {
  min-height: 44px;
}

.sd-support-form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

.sd-support-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sd-support-form button:disabled {
  background: #94a3b8;
  cursor: wait;
}

.sd-timeline,
.sd-doc-list,
.sd-payment-list,
.sd-enrollment-list,
.sd-info-grid {
  display: grid;
  gap: 10px;
}

.sd-step,
.sd-doc-row,
.sd-payment-row,
.sd-enrollment-row,
.sd-info-item {
  border: 1px solid #eee9df;
  border-radius: 8px;
  padding: 11px 12px;
  color: #565656;
  font-size: 13px;
  font-weight: 500;
}

.sd-step,
.sd-doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-step.done,
.sd-doc-row.done {
  border-color: #cfead5;
  background: #f6fbf7;
  color: #0d1b3e;
}

.sd-doc-row b { margin-left: auto; font-size: 11px; }

.sd-doc-row span small {
  display: block;
  color: #b90407;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
}

.sd-doc-row.verified {
  border-color: #cfead5;
  background: #f6fbf7;
}

.sd-doc-row.rejected {
  border-color: #fecaca;
  background: #fff5f5;
}

.sd-doc-row.pending b {
  color: #9a680a;
}

.sd-payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.sd-enrollment-list {
  margin-top: 14px;
}

.sd-enrollment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  background: #fff;
}

.sd-enrollment-row.locked {
  background: #faf8f3;
  color: #6f6a63;
  cursor: default;
}

.sd-enrollment-row div {
  min-width: 0;
}

.sd-payment-row strong,
.sd-enrollment-row strong,
.sd-info-item strong {
  display: block;
  min-width: 0;
  color: #111827;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.sd-enrollment-row span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}

.sd-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sd-payment-summary div {
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.sd-payment-summary span {
  display: block;
  color: #777;
  font-size: 11px;
}

.sd-payment-summary strong {
  display: block;
  margin-top: 3px;
  color: #0d1b3e;
  font-size: 14px;
}

.sd-payment-row em {
  border-radius: 8px;
  padding: 5px 8px;
  background: #fff5dd;
  color: #9a680a;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.sd-enrollment-row em {
  border-radius: 8px;
  padding: 5px 8px;
  background: #fff5dd;
  color: #9a680a;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.sd-enrollment-row em.active {
  background: #eaf8ee;
  color: #168042;
}

.sd-enrollment-row em.completed {
  background: #eef4ff;
  color: #1d4ed8;
}

.sd-enrollment-row em i {
  margin-right: 4px;
}

.sd-payment-row em.paid {
  background: #eaf8ee;
  color: #168042;
}

.sd-payment-row em.failed {
  background: #fff1f2;
  color: #b90407;
}

.sd-learning-summary,
.sd-task-list {
  display: grid;
  gap: 10px;
}

.sd-learning-course {
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sd-learning-course div {
  min-width: 0;
}

.sd-learning-course span,
.sd-next-lesson span {
  display: block;
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 600;
}

.sd-learning-course strong,
.sd-next-lesson strong {
  display: block;
  margin-top: 4px;
  color: #0d1b3e;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sd-learning-course a {
  min-height: 36px;
  border-radius: 8px;
  background: #b90407;
  color: #fff;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sd-learning-bar {
  height: 9px;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
}

.sd-learning-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b90407, #f9aa14);
}

.sd-next-lesson {
  border: 1px solid #eee9df;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.sd-next-lesson > i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
}

.sd-task-row {
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.sd-task-row > i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
}

.sd-task-row strong {
  display: block;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sd-task-row span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.sd-task-row em {
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  padding: 5px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.sd-task-row.reviewed em,
.sd-task-row.live em {
  background: #eaf8ee;
  color: #168042;
}

.sd-task-row.rejected em {
  background: #fff1f2;
  color: #b90407;
}

.sd-empty {
  border: 1px dashed #d9d2c5;
  border-radius: 8px;
  padding: 16px;
  color: #777;
  font-size: 13px;
}

.sd-empty a {
  color: #0d1b3e;
  font-weight: 700;
}

.sd-certificate-box {
  display: flex;
  gap: 12px;
  border: 1px solid #eee9df;
  border-radius: 8px;
  padding: 14px;
}

.sd-certificate-box > i {
  color: #e8a020;
  font-size: 28px;
}

.sd-certificate-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.sd-certificate-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  margin-top: 8px;
  padding: 5px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.sd-certificate-state.ready,
.sd-certificate-state.issued {
  background: #f0fdf4;
  color: #168042;
}

.sd-certificate-state.review {
  background: #eef4ff;
  color: #1d4ed8;
}

.sd-certificate-state.progress {
  background: #f4f6fa;
  color: #475069;
}

.sd-certificate-steps span {
  border: 1px solid #eee9df;
  border-radius: 8px;
  padding: 8px 9px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.sd-certificate-steps span.done {
  border-color: #bde6cf;
  background: #f0fdf4;
  color: #168042;
}

.sd-certificate-steps span.pending {
  background: #fff5dd;
  color: #9a680a;
}

.sd-certificate-box strong {
  color: #111827;
}

.sd-certificate-box p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.sd-certificate-box a {
  display: inline-flex;
  margin-top: 8px;
  color: #b90407;
  font-size: 12px;
  font-weight: 700;
}

.cert-state-card,
.cert-verified-shell {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(13, 27, 62, .05);
}

.cert-state-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: #0d1b3e;
}

.cert-state-card > i {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
}

.cert-state-card.error > i {
  background: #fff1f2;
  color: #b90407;
}

.cert-state-card h2 {
  margin: 0;
  color: #0d1b3e;
  font-size: 22px;
}

.cert-state-card p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.cert-verified-shell {
  display: grid;
  gap: 16px;
}

.cert-valid-card {
  border: 1px solid #bde6cf;
  border-radius: 8px;
  background: #f0fdf4;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cert-valid-card > i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #168042;
  color: #fff;
  display: inline-grid;
  place-items: center;
}

.cert-valid-card span {
  color: #168042;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cert-valid-card h2 {
  margin: 2px 0;
  color: #0d1b3e;
  font-size: 20px;
}

.cert-valid-card p {
  margin: 0;
  color: #475569;
  font-size: 12px;
}

.cert-document {
  position: relative;
  overflow: hidden;
  border: 8px solid #0d1b3e;
  outline: 2px solid #f9aa14;
  outline-offset: -18px;
  border-radius: 8px;
  background: #fffdf8;
  color: #0d1b3e;
  padding: 28px;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
}

.cert-watermark {
  position: absolute;
  inset: 45% auto auto 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  color: rgba(13, 27, 62, .045);
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 800;
  pointer-events: none;
  white-space: nowrap;
}

.cert-doc-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  text-align: left;
}

.cert-doc-head img {
  width: 118px;
  height: auto;
}

.cert-doc-head span,
.cert-doc-head small {
  display: block;
  color: #7c2d12;
  font-size: 12px;
  font-weight: 700;
}

.cert-doc-head strong {
  display: block;
  color: #0d1b3e;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.cert-doc-body {
  position: relative;
  z-index: 1;
  align-self: center;
  text-align: center;
}

.cert-doc-body p {
  margin: 0;
  color: #5b6475;
  font-size: 15px;
  line-height: 1.7;
}

.cert-doc-body h1 {
  margin: 10px auto;
  color: #b90407;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.cert-doc-body h2 {
  max-width: 780px;
  margin: 12px auto 22px;
  color: #0d1b3e;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.18;
}

.cert-doc-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cert-doc-meta div {
  border: 1px solid #eadfca;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.cert-doc-meta span {
  display: block;
  color: #8a857e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cert-doc-meta strong {
  display: block;
  margin-top: 3px;
  color: #0d1b3e;
  font-size: 13px;
}

.cert-doc-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 22px;
  align-items: end;
}

.cert-sign-block span {
  display: block;
  width: min(220px, 80%);
  border-top: 2px solid #0d1b3e;
  margin-bottom: 10px;
}

.cert-sign-block strong,
.cert-qr-block strong {
  display: block;
  color: #0d1b3e;
  font-size: 13px;
}

.cert-sign-block small,
.cert-qr-block small {
  display: block;
  color: #6b7280;
  font-size: 11px;
}

.cert-qr-block {
  justify-self: end;
  text-align: center;
}

.cert-qr-block img {
  width: 132px;
  height: 132px;
  border: 1px solid #eadfca;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-actions button,
.cert-actions a {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cert-actions button:first-child {
  background: #b90407;
}

.cert-link-note {
  margin: 0;
  color: #667085;
  font-size: 11px;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .cert-document {
    min-height: auto;
    padding: 22px;
  }

  .cert-doc-head,
  .cert-doc-foot,
  .cert-doc-meta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cert-doc-head img,
  .cert-sign-block span {
    margin-left: auto;
    margin-right: auto;
  }

  .cert-qr-block {
    justify-self: center;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  body * {
    visibility: hidden !important;
  }

  #printableCertificate,
  #printableCertificate * {
    visibility: visible !important;
  }

  #printableCertificate {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: calc(100vh - 16mm);
    border-radius: 0;
    box-shadow: none;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.sd-profile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sd-profile-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.sd-avatar-ring {
  width: 96px;
  height: 96px;
  margin: 34px 0 14px;
  border-radius: 50%;
  padding: 7px;
  background: conic-gradient(#e8a020 0 78%, #eee9df 78% 100%);
}

.sd-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 6px solid #fff;
}

.sd-profile-panel h2 {
  margin: 0;
  color: #111827;
  text-align: center;
  font-size: 18px;
}

.sd-profile-panel > p {
  max-width: 190px;
  margin: 8px 0 16px;
  color: #777;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}

.sd-profile-actions {
  display: flex;
  gap: 16px;
}

.sd-profile-actions a {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd7cb;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d1b3e;
}

.sd-chart-bars {
  width: 190px;
  height: 110px;
  margin: 28px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.sd-chart-bars span {
  width: 28px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #e8a020 0 42%, #0d1b3e 42% 100%);
  opacity: .9;
}

.sd-chart-bars span:nth-child(1) { height: 46px; opacity: .55; }
.sd-chart-bars span:nth-child(2) { height: 70px; opacity: .7; }
.sd-chart-bars span:nth-child(3) { height: 88px; }
.sd-chart-bars span:nth-child(4) { height: 104px; }
.sd-chart-bars span:nth-child(5) { height: 74px; opacity: .72; }

.sd-mini-list {
  width: 100%;
  display: grid;
  gap: 10px;
}

.sd-mini-list div {
  border-top: 1px solid #eee9df;
  padding-top: 10px;
}

.sd-mini-list strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sd-courses-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sd-courses-head p {
  margin: 0 0 4px;
  color: #777;
  font-size: 12px;
}

.sd-courses-head h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.sd-courses-head span {
  color: #666;
  font-size: 12px;
}

.sd-course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sd-course-filters button {
  min-height: 34px;
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: #333;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  cursor: pointer;
}

.sd-course-filters button.active {
  background: #0d1b3e;
  color: #fff;
  border-color: #0d1b3e;
}

.sd-course-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sd-course-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13,27,62,.04);
}

.sd-course-card img {
  width: 100%;
  height: 116px;
  display: block;
  object-fit: cover;
}

.sd-course-card-body {
  padding: 14px;
}

.sd-course-card small {
  color: #9a680a;
  font-size: 10px;
  font-weight: 700;
}

.sd-course-card h3 {
  min-height: 42px;
  margin: 6px 0 10px;
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.sd-course-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.sd-course-price-row span {
  color: #b90407;
  font-size: 22px;
  font-weight: 700;
}

.sd-course-price-row em {
  color: #777;
  font-size: 11px;
  font-style: normal;
}

.sd-course-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  background: #f3f7ff;
  color: #0d1b3e;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .student-account-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .sd-profile-panel {
    grid-column: 1 / -1;
    border-top: 1px solid #eee9df;
  }

  .sd-course-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .student-account-page { padding: 0; }

  .student-account-shell {
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    grid-template-columns: 1fr;
  }

  .sd-sidebar {
    border-right: 0;
    border-bottom: 1px solid #eee9df;
  }

  .sd-nav-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-nav-group strong {
    grid-column: 1 / -1;
  }

  .sd-nav-bottom {
    margin-top: 18px;
  }

  .sd-main {
    border-right: 0;
    padding: 20px 16px 28px;
  }

  .sd-stats,
  .sd-card-grid,
  .sd-course-cards {
    grid-template-columns: 1fr;
  }

  .sd-payment-row {
    grid-template-columns: 1fr;
  }

  .sd-enrollment-row,
  .sd-payment-summary,
  .sd-certificate-steps,
  .sd-learning-course,
  .sd-task-row {
    grid-template-columns: 1fr;
  }

  .sd-learning-course {
    flex-direction: column;
    align-items: stretch;
  }

  .sd-learning-course a {
    width: 100%;
  }

  .sd-courses-head {
    flex-direction: column;
  }
}

/* Sitewide typography and spacing alignment
   Keeps every public page close to the Quick Apply / Student Login design language. */
:root {
  --wrap: 1272px;
}

.wrap {
  width: min(1272px, calc(100% - 48px));
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", Arial, sans-serif !important;
}

body :where(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, li, span, strong, small, em, b, td, th),
body :where(
  [class*="title"],
  [class*="heading"],
  [class*="subtitle"],
  [class*="label"],
  [class*="name"],
  [class*="price"],
  [class*="badge"],
  [class*="btn"],
  [class*="cta"],
  [class*="card"],
  [class*="hero"]
) {
  font-family: "Poppins", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.brand-copy,
.brand-copy strong,
.brand-copy small,
.brand-copy em,
.foot-brand,
.foot-brand strong,
.foot-brand span {
  font-family: "Poppins", Arial, sans-serif !important;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1272px);
  }
}

body *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
  font-family: "Poppins", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

@media (max-width: 1320px) {
  .site-header .nav-wrap,
  .header .nav-wrap {
    min-height: 78px;
  }

  .site-header .brand-logo-full,
  .header .brand-logo-full {
    height: 64px !important;
  }

  .site-header .hamburger,
  .header .hamburger {
    display: block;
    margin-left: auto;
  }

  .site-header .nav-links,
  .header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 10px 24px 14px;
    box-shadow: 0 14px 28px rgba(6, 26, 68, .22);
  }

  .site-header .nav-links.open,
  .header .nav-links.open {
    display: flex;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    width: 100%;
    padding: 12px 0;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .site-header .nav-links a.active::after,
  .header .nav-links a.active::after {
    display: none;
  }

  .site-header .header-actions,
  .header .header-actions {
    display: none !important;
  }
}

@media (min-width: 961px) and (max-width: 1320px) {
  .site-header .hamburger,
  .header .hamburger {
    display: none;
  }

  .site-header .nav-links,
  .header .nav-links {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .nav-links a,
  .header .nav-links a {
    width: auto;
    padding: 28px 0 24px;
    color: #0a1020;
    border-bottom: 0;
    font-size: 13px;
  }
}

.top-strip .top-inner,
.site-header .nav-wrap,
.header .container,
.footer > .wrap.footer-grid,
.footer > .container,
.footer-bottom > .container,
.checkout-top-inner {
  width: calc(100% - 48px) !important;
  max-width: none !important;
}

@media (max-width: 640px) {
  .top-strip .top-inner,
  .site-header .nav-wrap,
  .header .container,
  .footer > .wrap.footer-grid,
  .footer > .container,
  .footer-bottom > .container,
  .checkout-top-inner {
    width: calc(100% - 28px) !important;
  }
}

/* Admin portal */
.admin-auth-body,
.admin-dashboard-body {
  background: #f8f7f3;
}

.admin-auth-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px 32px;
}

.admin-auth-top-logo {
  display: inline-flex;
  justify-content: center;
}

.admin-auth-top-logo img {
  width: auto;
  height: 87px;
  object-fit: contain;
}

.admin-auth-card {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr 420px;
  overflow: hidden;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 27, 62, .08);
}

.admin-auth-left {
  min-height: 500px;
  background: #0d1b3e;
  color: #fff;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 132px;
}

.admin-pill {
  width: max-content;
  border: 1px solid rgba(232,160,32,.32);
  border-radius: 20px;
  background: rgba(232,160,32,.12);
  color: #e8a020;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 700;
}

.admin-auth-left h1 {
  max-width: 520px;
  margin: 22px 0 14px;
  font-size: 32px;
  line-height: 1.24;
}

.admin-auth-left p {
  max-width: 480px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.8;
}

.admin-auth-form {
  padding: 46px 44px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.admin-auth-form h2 {
  margin: 0 0 6px;
  color: #0d1b3e;
  font-size: 26px;
}

.admin-auth-form p {
  margin: 0;
  color: #999;
  font-size: 13px;
}

.admin-auth-form label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

.admin-auth-form input,
.admin-search input,
.admin-action-row select {
  width: 100%;
  height: 46px;
  border: 1.5px solid #e6e3dc;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  font-size: 13.5px;
  outline: none;
}

.admin-primary-btn,
.admin-secondary-btn {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.admin-primary-btn:disabled {
  background: #94a3b8;
  cursor: wait;
}

.admin-secondary-btn {
  min-height: 42px;
  background: #b90407;
  margin-top: 10px;
}

.admin-manual-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-manual-form label {
  display: grid;
  gap: 6px;
}

.admin-manual-form label span {
  color: #697086;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-manual-form input,
.admin-manual-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.admin-manual-form button {
  grid-column: 1 / -1;
}

.admin-muted-link {
  color: #777;
  font-size: 13px;
  text-align: center;
}

.admin-alert {
  display: none;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff1f2;
  color: #b90407;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 700;
}

.admin-alert.active { display: block; }
.admin-alert.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #eee4d5;
  background: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-side-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.admin-side-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-logout {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #555;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: #fff5dd;
  color: #0d1b3e;
}

.admin-logout {
  margin-top: auto;
  color: #b90407;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-topbar p,
.admin-panel-head p {
  margin: 0 0 4px;
  color: #9a680a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-topbar h1,
.admin-panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-top-actions a,
.admin-top-actions span {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
}

.admin-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: #0d1b3e;
  font-weight: 700;
}

.admin-loading[hidden],
.admin-content[hidden],
.admin-view[hidden],
[data-lms-step-panel][hidden] {
  display: none !important;
}

.admin-view {
  min-width: 0;
}

.admin-view.active {
  animation: adminViewIn .16s ease-out;
}

@keyframes adminViewIn {
  from { opacity: .72; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stats article,
.admin-panel {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(13,27,62,.04);
}

.admin-stats article {
  padding: 16px;
  display: grid;
  gap: 7px;
}

.admin-stats i {
  color: #e8a020;
  font-size: 18px;
}

.admin-stats span {
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.admin-stats strong {
  color: #0d1b3e;
  font-size: 22px;
}

.admin-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.admin-pipeline button {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-pipeline button.active {
  border-color: #e8a020;
  background: #fff5dd;
  color: #9a680a;
}

.admin-pipeline b {
  min-width: 24px;
  border-radius: 999px;
  background: #0d1b3e;
  color: #fff;
  padding: 3px 7px;
  text-align: center;
  font-size: 11px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.admin-panel {
  min-width: 0;
  padding: 18px;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-search {
  position: relative;
  width: min(360px, 100%);
}

.admin-search i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.admin-search input {
  padding-left: 38px;
}

.admin-table-wrap {
  overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #f1ece4;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
}

.admin-table th {
  color: #777;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-table tr.active {
  background: #fffaf0;
}

.admin-table strong,
.admin-action-row strong,
.admin-cert-row strong {
  display: block;
  color: #111827;
  font-size: 13px;
}

.admin-table span,
.admin-action-row span,
.admin-cert-row span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.admin-table button {
  border: 0;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-table em,
.admin-detail-head em {
  display: inline-flex;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  padding: 5px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.admin-table em.active,
.admin-detail-head em.active {
  background: #eaf8ee;
  color: #168042;
}

.admin-table em.payment {
  background: #fff1f2;
  color: #b90407;
}

.admin-table em.verification,
.admin-table em.pending {
  background: #fff5dd;
  color: #9a680a;
}

.admin-table em.registration {
  background: #eef6ff;
  color: #155aa8;
}

.admin-table em.completed {
  background: #eef2ff;
  color: #3347a5;
}

.admin-applications-panel[hidden],
.admin-students-panel[hidden],
.admin-detail-panel[hidden] {
  display: none !important;
}

.admin-applications-panel {
  grid-column: 1 / -1;
}

.admin-applications-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-application-card {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  padding: 13px;
  display: grid;
  gap: 10px;
}

.admin-application-card strong {
  display: block;
  color: #111827;
  font-size: 14px;
}

.admin-application-card span,
.admin-application-card small,
.admin-application-card time {
  display: block;
  color: #777;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.admin-application-card em {
  justify-self: start;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  padding: 5px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-detail-panel {
  position: sticky;
  top: 18px;
}

.admin-empty-state {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: #777;
}

.admin-empty-state i {
  color: #e8a020;
  font-size: 32px;
}

.admin-empty-state h2 {
  margin: 0;
  color: #0d1b3e;
}

.admin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-detail-head span {
  color: #9a680a;
  font-size: 11px;
  font-weight: 800;
}

.admin-detail-head h2 {
  margin: 4px 0;
  color: #0d1b3e;
  font-size: 22px;
}

.admin-detail-head p {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.admin-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.admin-detail-stats div {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  padding: 10px;
}

.admin-detail-stats span {
  display: block;
  color: #777;
  font-size: 10px;
}

.admin-detail-stats strong {
  display: block;
  margin-top: 4px;
  color: #0d1b3e;
  font-size: 14px;
}

.admin-detail-section {
  border-top: 1px solid #f1ece4;
  padding-top: 14px;
  margin-top: 14px;
}

.admin-detail-section h3 {
  margin: 0 0 10px;
  color: #0d1b3e;
  font-size: 15px;
}

.admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-profile-grid div {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  padding: 9px;
}

.admin-profile-grid span {
  display: block;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-profile-grid strong {
  display: block;
  margin-top: 4px;
  color: #0d1b3e;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-action-row,
.admin-cert-row {
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid #f1ece4;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.admin-action-row {
  grid-template-columns: minmax(0, 1fr) 128px;
}

.admin-action-row:has(.admin-payment-actions) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-cert-row {
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) auto;
}

.admin-action-row select {
  height: 38px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-payment-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-payment-actions select {
  flex: 0 0 128px;
}

.admin-compact-btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.admin-cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-cert-actions a,
.admin-cert-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-cert-actions button {
  background: #fff5dd;
  color: #9a680a;
}

.admin-cert-actions a.download {
  background: #b90407;
  color: #fff;
}

.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-chip-row span,
.admin-empty-inline {
  border: 1px dashed #d9d2c5;
  border-radius: 8px;
  color: #777;
  padding: 9px 10px;
  font-size: 12px;
}

.admin-doc-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.admin-doc-checklist span {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  padding: 9px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.admin-doc-checklist span.done {
  border-color: #bde6cf;
  background: #f0fdf4;
  color: #168042;
}

.admin-doc-checklist span.pending {
  background: #fff5dd;
  color: #9a680a;
}

.admin-doc-files a {
  color: #b90407;
  font-weight: 800;
}

.admin-doc-review-list {
  display: grid;
  gap: 10px;
}

.admin-doc-review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  padding: 12px;
}

.admin-doc-review-row strong,
.admin-doc-review-row span,
.admin-doc-review-row p {
  display: block;
}

.admin-doc-review-row strong {
  color: #061a44;
  font-size: 13px;
}

.admin-doc-review-row span,
.admin-doc-review-row p {
  color: #777;
  font-size: 12px;
  margin-top: 3px;
}

.admin-doc-review-row em {
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 7px 10px;
}

.admin-doc-review-row em.verified {
  background: #dcfce7;
  color: #168042;
}

.admin-doc-review-row em.pending {
  background: #fff5dd;
  color: #9a680a;
}

.admin-doc-review-row em.rejected {
  background: #fee2e2;
  color: #b90407;
}

.admin-doc-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-doc-actions a,
.admin-doc-actions button {
  border: 1px solid #e7dbc7;
  border-radius: 8px;
  background: #fff;
  color: #061a44;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 10px;
  text-decoration: none;
}

.admin-doc-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-completion-list {
  display: grid;
  gap: 12px;
}

.admin-completion-card {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.admin-completion-head,
.admin-completion-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-completion-head span {
  display: block;
  color: #8a857e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-completion-head strong {
  display: block;
  margin-top: 3px;
  color: #0d1b3e;
  font-size: 15px;
  line-height: 1.35;
}

.admin-completion-head em {
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff5dd;
  color: #9a680a;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.admin-completion-head em.eligible,
.admin-completion-head em.issued {
  background: #eaf8ee;
  color: #168042;
}

.admin-completion-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-completion-progress div {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.admin-completion-progress span {
  display: block;
  color: #8a857e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-completion-progress strong {
  display: block;
  margin-top: 3px;
  color: #0d1b3e;
  font-size: 13px;
}

.admin-completion-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-completion-checks span {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  padding: 9px 10px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
}

.admin-completion-checks span.done {
  border-color: #bde6cf;
  background: #f0fdf4;
  color: #168042;
}

.admin-completion-checks span.pending {
  background: #fff5dd;
  color: #9a680a;
}

.admin-completion-actions .admin-secondary-btn {
  min-height: 40px;
  height: auto;
  padding: 9px 12px;
}

.admin-completion-actions .admin-secondary-btn:disabled {
  background: #e8edf5;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.admin-lms-course-select {
  width: min(420px, 100%);
}

.admin-lms-course-select select {
  width: 100%;
  height: 44px;
  border: 1px solid #e8ded0;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 14px 0 38px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-lms-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-lms-step-menu {
  position: sticky;
  top: 18px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  padding: 10px;
  display: grid;
  gap: 7px;
}

.admin-lms-step-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475069;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-lms-step-menu button i {
  width: 18px;
  color: #9a680a;
  text-align: center;
}

.admin-lms-step-menu button.active,
.admin-lms-step-menu button:hover {
  background: #0d1b3e;
  color: #fff;
}

.admin-lms-step-menu button.active i,
.admin-lms-step-menu button:hover i {
  color: #f9aa14;
}

.admin-lms-grid {
  min-width: 0;
  display: block;
}

.admin-lms-form {
  min-height: auto;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: 0 14px 28px rgba(13, 27, 62, .035);
}

.admin-lms-form.active,
.admin-lms-manage.active {
  animation: adminViewIn .16s ease-out;
}

.admin-lms-form h3 {
  margin: 0 0 2px;
  color: #0d1b3e;
  font-size: 15px;
  line-height: 1.25;
}

.admin-lms-form input,
.admin-lms-form select,
.admin-lms-form textarea {
  width: 100%;
  height: 42px;
  min-height: 42px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.admin-lms-form input::placeholder,
.admin-lms-form textarea::placeholder {
  color: #9b958d;
}

.admin-lms-form textarea {
  height: auto;
  min-height: 86px;
  padding-top: 11px;
  resize: vertical;
  line-height: 1.55;
}

.admin-lms-form .admin-secondary-btn {
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 14px;
}

.admin-lms-preview {
  margin-top: 16px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.admin-lms-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-lms-preview-head div,
.admin-lms-module-list article {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
}

.admin-lms-preview-head div:first-child {
  background: #0d1b3e;
}

.admin-lms-preview-head div:first-child span,
.admin-lms-preview-head div:first-child strong {
  color: #fff;
}

.admin-lms-preview-head span,
.admin-lms-module-list span,
.admin-lms-module-list small {
  display: block;
  color: #6f6a63;
  font-size: 11px;
  line-height: 1.55;
}

.admin-lms-preview-head span,
.admin-lms-module-list small {
  font-weight: 800;
  text-transform: uppercase;
}

.admin-lms-preview-head strong,
.admin-lms-module-list strong {
  display: block;
  margin-top: 4px;
  color: #0d1b3e;
  font-size: 15px;
  line-height: 1.35;
}

.admin-lms-module-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-lms-module-list article {
  position: relative;
  overflow: hidden;
}

.admin-lms-module-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #f9aa14;
}

.admin-lms-module-list small {
  margin-top: 10px;
  color: #9a680a;
}

.admin-lms-module-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: start;
}

.admin-lms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.admin-lms-actions button {
  width: 32px;
  height: 32px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  cursor: pointer;
}

.admin-lms-actions button:hover {
  border-color: #f3d79c;
  background: #fff8ea;
  color: #b90407;
}

.admin-lms-preview em.published,
.admin-lms-preview em.draft,
.admin-lms-preview em.resource {
  width: max-content;
  border-radius: 8px;
  padding: 7px 9px;
  background: #f0fdf4;
  color: #168042;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-lms-preview em.draft {
  background: #fff1f2;
  color: #b90407;
}

.admin-lms-preview em.resource {
  background: #fff5dd;
  color: #9a680a;
}

.admin-lms-children,
.admin-lms-course-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.admin-lms-course-items {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.admin-lms-course-items h3 {
  margin: 0 0 4px;
  color: #0d1b3e;
  font-size: 15px;
}

.admin-lms-child {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.admin-lms-subchild {
  margin-left: 22px;
  background: #fbfaf7;
}

.admin-lms-child > div:first-child {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
}

.admin-lms-child > div:first-child i {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
}

.admin-lms-child strong {
  margin: 0;
  color: #0d1b3e;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-lms-child span {
  color: #6f6a63;
  font-size: 11px;
  line-height: 1.45;
}

.admin-lms-edit-panel {
  margin-top: 14px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(13, 27, 62, .035);
}

.admin-lms-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f1ece4;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.admin-lms-edit-head span {
  display: block;
  margin-bottom: 4px;
  color: #9a680a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-lms-edit-head h3 {
  margin: 0;
  color: #0d1b3e;
  font-size: 18px;
  line-height: 1.35;
}

.admin-lms-edit-head button {
  width: 36px;
  height: 36px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  cursor: pointer;
}

.admin-lms-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-lms-edit-form label {
  display: grid;
  gap: 6px;
}

.admin-lms-edit-form label.wide,
.admin-lms-edit-form button {
  grid-column: 1 / -1;
}

.admin-lms-edit-form label span {
  color: #6f6a63;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-lms-edit-form input,
.admin-lms-edit-form select,
.admin-lms-edit-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.admin-lms-edit-form textarea {
  min-height: 92px;
  padding-top: 11px;
  resize: vertical;
  line-height: 1.55;
}

.admin-assignment-review {
  margin-top: 18px;
}

.admin-assignment-filter {
  width: min(280px, 100%);
}

.admin-assignment-filter select {
  width: 100%;
  height: 44px;
  border: 1px solid #e8ded0;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 14px 0 38px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-assignment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 14px;
  align-items: start;
}

.admin-assignment-list {
  display: grid;
  gap: 10px;
}

.admin-assignment-list button {
  width: 100%;
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  color: #0d1b3e;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-assignment-list button.active,
.admin-assignment-list button:hover {
  border-color: #f3d79c;
  background: #fff8ea;
}

.admin-assignment-list strong,
.admin-assignment-detail-head h3,
.admin-assignment-answer strong {
  display: block;
  color: #0d1b3e;
  font-size: 14px;
  line-height: 1.35;
}

.admin-assignment-list small,
.admin-assignment-list time,
.admin-assignment-detail-head p,
.admin-assignment-answer p,
.admin-assignment-answer span {
  display: block;
  color: #6f6a63;
  font-size: 12px;
  line-height: 1.6;
}

.admin-assignment-list em,
.admin-assignment-detail-head em {
  width: max-content;
  border-radius: 8px;
  padding: 7px 9px;
  background: #fff5dd;
  color: #9a680a;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-assignment-list em.reviewed,
.admin-assignment-detail-head em.reviewed {
  background: #f0fdf4;
  color: #168042;
}

.admin-assignment-list em.rejected,
.admin-assignment-detail-head em.rejected {
  background: #fff1f2;
  color: #b90407;
}

.admin-assignment-detail {
  position: sticky;
  top: 18px;
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(13, 27, 62, .035);
}

.admin-assignment-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #f1ece4;
  padding-bottom: 14px;
}

.admin-assignment-detail-head span {
  display: block;
  margin-bottom: 5px;
  color: #9a680a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-assignment-detail-head h3 {
  margin: 0 0 5px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.admin-assignment-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.admin-assignment-meta div {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  padding: 10px;
}

.admin-assignment-meta span {
  display: block;
  color: #6f6a63;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-assignment-meta strong {
  display: block;
  margin-top: 3px;
  color: #0d1b3e;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-assignment-answer {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-assignment-answer p {
  margin: 8px 0 12px;
}

.admin-assignment-answer a {
  color: #b90407;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.admin-assignment-review-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-assignment-review-form label {
  display: grid;
  gap: 6px;
}

.admin-assignment-review-form label.wide,
.admin-assignment-review-form button {
  grid-column: 1 / -1;
}

.admin-assignment-review-form label span {
  color: #6f6a63;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-assignment-review-form input,
.admin-assignment-review-form select,
.admin-assignment-review-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.admin-assignment-review-form textarea {
  min-height: 92px;
  padding-top: 11px;
  resize: vertical;
  line-height: 1.55;
}

.admin-support-inbox {
  margin-top: 18px;
}

.admin-support-list {
  display: grid;
  gap: 10px;
}

.admin-support-card {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr);
  gap: 14px;
  align-items: start;
}

.admin-support-card span {
  display: block;
  color: #9a680a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-support-card h3 {
  margin: 4px 0 8px;
  color: #0d1b3e;
  font-size: 16px;
  line-height: 1.35;
}

.admin-support-card p {
  margin: 0;
  color: #475069;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-support-card aside {
  border-left: 1px solid #f1ece4;
  padding-left: 14px;
  display: grid;
  gap: 6px;
}

.admin-support-card strong {
  color: #0d1b3e;
  font-size: 13px;
  line-height: 1.35;
}

.admin-support-card a {
  color: #b90407;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.course-player-page {
  min-height: 100vh;
  background: #f7f8fb;
  color: #0d1b3e;
  font-family: "Poppins", sans-serif;
}

.course-player-top {
  min-height: 86px;
  background: #fff;
  border-bottom: 1px solid #eee4d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
}

.course-player-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.course-player-back,
.course-player-primary,
.course-player-complete,
.course-player-list a {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #b90407;
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.course-player-back,
.course-player-assignment button {
  background: #0d1b3e;
}

.course-player-back:hover,
.course-player-primary:hover,
.course-player-complete:hover,
.course-player-list a:hover,
.course-player-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 27, 62, .12);
}

.course-player-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
}

.course-player-sidebar,
.course-player-panel,
.course-player-lesson {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 27, 62, .045);
}

.course-player-sidebar {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 18px;
}

.course-player-sidebar p,
.course-player-lesson-top > div > span {
  margin: 0 0 6px;
  color: #9a680a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.course-player-sidebar h1 {
  margin: 0 0 18px;
  color: #0d1b3e;
  font-size: 24px;
  line-height: 1.25;
}

.course-player-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.course-player-progress span {
  color: #6f6a63;
  font-size: 12px;
  font-weight: 700;
}

.course-player-progress b {
  color: #b90407;
}

.course-player-progress div {
  height: 8px;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
}

.course-player-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #b90407, #f9aa14);
}

.course-player-modules {
  display: grid;
  gap: 12px;
}

.course-player-modules article {
  border-top: 1px solid #f1ece4;
  padding-top: 12px;
}

.course-player-modules strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #0d1b3e;
  font-size: 14px;
  line-height: 1.35;
}

.course-player-modules strong span {
  min-width: 28px;
  height: 24px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.course-player-modules button {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #475069;
  padding: 9px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.course-player-modules button i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f4f6fa;
  color: #6f6a63;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.course-player-modules button span {
  overflow-wrap: anywhere;
}

.course-player-modules button small {
  color: #8a857e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-player-modules button.active {
  border-color: #f3d79c;
  background: #fff8ea;
  color: #0d1b3e;
}

.course-player-modules button.active i,
.course-player-modules button.complete i {
  background: #0d1b3e;
  color: #fff;
}

.course-player-modules button.complete small {
  color: #168042;
}

.course-player-main {
  display: grid;
  gap: 16px;
}

.course-player-lesson {
  padding: 24px;
}

.course-player-complete-banner {
  border: 1px solid #bde6cf;
  border-radius: 8px;
  background: #f0fdf4;
  color: #0d1b3e;
  padding: 14px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.course-player-complete-banner i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #168042;
  color: #fff;
  display: inline-grid;
  place-items: center;
}

.course-player-complete-banner strong {
  display: block;
  color: #0d1b3e;
  font-size: 15px;
  line-height: 1.35;
}

.course-player-complete-banner span {
  display: block;
  margin-top: 3px;
  color: #475069;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.course-player-lesson-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.course-player-lesson h2 {
  max-width: 740px;
  margin: 0;
  color: #0d1b3e;
  font-size: 30px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.course-player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.course-player-meta b {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  color: #6f6a63;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
}

.course-player-meta b.is-complete {
  border-color: #bde6cf;
  background: #f0fdf4;
  color: #168042;
}

.course-player-copy {
  border-top: 1px solid #f1ece4;
  border-bottom: 1px solid #f1ece4;
  padding: 20px 0;
}

.course-player-copy p {
  max-width: 780px;
  margin: 0;
  color: #475069;
  font-size: 14px;
  line-height: 1.8;
}

.course-player-resource-head {
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-player-resource-head strong {
  color: #0d1b3e;
  font-size: 15px;
}

.course-player-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.course-player-materials a,
.course-player-materials em {
  border: 1px solid #eee4d5;
  border-radius: 8px;
  background: #fffdf9;
  color: #0d1b3e;
  padding: 12px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-decoration: none;
}

.course-player-materials a i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
}

.course-player-materials a small {
  display: block;
  color: #8a857e;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.course-player-panel {
  padding: 20px;
}

.course-player-list {
  display: grid;
  gap: 10px;
}

.course-player-list article {
  border: 1px solid #f1ece4;
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.course-player-list article > i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  display: inline-grid;
  place-items: center;
}

.course-player-list article.course-player-assignment {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.course-player-assignment form {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr) auto;
  gap: 8px;
  align-items: stretch;
  border-top: 1px solid #f1ece4;
  padding-top: 12px;
}

.course-player-assignment textarea,
.course-player-assignment input {
  min-height: 42px;
  border: 1px solid #e2d7c4;
  border-radius: 8px;
  background: #fff;
  color: #0d1b3e;
  padding: 10px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.course-player-assignment textarea {
  min-height: 70px;
  resize: vertical;
  line-height: 1.55;
}

.course-player-assignment button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.course-player-assignment button:disabled {
  background: #94a3b8;
  cursor: wait;
}

.course-player-complete.completed,
.course-player-complete:disabled {
  background: #eaf8ee;
  color: #168042;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.course-player-submission-state {
  grid-column: 2 / -1;
  border: 1px solid #e7eadf;
  border-radius: 8px;
  background: #f8fbf4;
  padding: 11px 12px;
  display: grid;
  gap: 6px;
}

.course-player-submission-state span {
  color: #475069;
  font-size: 11px;
  font-weight: 700;
}

.course-player-submission-state p {
  margin: 0;
  color: #475069;
  font-size: 12px;
  line-height: 1.6;
}

.course-player-submission-state strong {
  display: inline;
  font-size: inherit;
}

.course-player-list strong {
  display: block;
  color: #0d1b3e;
  font-size: 14px;
  line-height: 1.35;
}

.course-player-list span,
.course-player-list small {
  display: block;
  color: #6f6a63;
  font-size: 12px;
  line-height: 1.55;
}

.course-player-list p {
  margin: 6px 0 0;
  color: #475069;
  font-size: 12px;
  line-height: 1.6;
}

.course-player-list em {
  border-radius: 8px;
  background: #fff5dd;
  color: #9a680a;
  padding: 7px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.course-player-list em.submitted {
  background: #eef4ff;
  color: #1d4ed8;
}

.course-player-list em.reviewed {
  background: #eaf8ee;
  color: #168042;
}

.course-player-list em.rejected {
  background: #fff1f2;
  color: #b90407;
}

.course-player-list em.live {
  background: #eaf8ee;
  color: #168042;
}

.course-player-list em.completed {
  background: #eef4ff;
  color: #1d4ed8;
}

.course-player-list em.cancelled {
  background: #fff1f2;
  color: #b90407;
}

.course-player-live-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.course-player-live-actions a,
.course-player-assignment-attachment {
  min-height: 34px;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.course-player-live-actions a + a {
  background: #fff5dd;
  color: #9a680a;
}

.course-player-assignment-attachment {
  width: fit-content;
  margin-top: 8px;
  background: #fff5dd;
  color: #9a680a;
}

.course-player-empty {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: 42px;
  color: #0d1b3e;
}

.course-player-empty > i {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(185, 4, 7, 0.1);
  color: #b90407;
  font-size: 20px;
}

.course-player-empty.locked > i {
  background: #fff5dd;
  color: #9a680a;
}

.course-player-empty h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.course-player-empty p {
  max-width: 620px;
  margin: 0;
  color: #475069;
  font-size: 14px;
  line-height: 1.7;
}

.course-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.course-player-actions a {
  min-height: 44px;
  border-radius: 8px;
  background: #0d1b3e;
  color: #fff;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.course-player-actions a:first-child {
  background: #f9aa14;
  color: #0d1b3e;
}

@media (max-width: 1180px) {
  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-pipeline,
  .admin-applications-list,
  .admin-lms-module-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-lms-workspace {
    grid-template-columns: 1fr;
  }

  .admin-lms-step-menu {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .course-player-shell {
    grid-template-columns: 1fr;
  }

  .course-player-sidebar {
    position: static;
  }

  .admin-detail-panel,
  .admin-assignment-detail {
    position: static;
  }

  .admin-assignment-shell {
    grid-template-columns: 1fr;
  }

  .admin-support-card {
    grid-template-columns: 1fr;
  }

  .admin-support-card aside {
    border-left: 0;
    border-top: 1px solid #f1ece4;
    padding-left: 0;
    padding-top: 12px;
  }

  .admin-lms-module-head,
  .admin-lms-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-lms-actions {
    justify-content: flex-start;
  }

  .admin-assignment-list button {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .admin-assignment-list time {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .admin-auth-card,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-auth-left {
    min-height: auto;
    padding: 34px 28px;
  }

  .admin-auth-form {
    padding: 34px 28px;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar,
  .admin-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stats,
  .admin-pipeline,
  .admin-applications-list,
  .admin-lms-preview-head,
  .admin-lms-module-list,
  .admin-assignment-list button,
  .admin-assignment-meta,
  .admin-assignment-review-form,
  .admin-lms-edit-form,
  .admin-detail-stats,
  .admin-profile-grid,
  .admin-doc-checklist,
  .admin-completion-progress,
  .admin-completion-checks,
  .admin-action-row,
  .admin-cert-row,
  .course-player-list article,
  .course-player-assignment form {
    grid-template-columns: 1fr;
  }

  .admin-manual-form {
    grid-template-columns: 1fr;
  }

  .admin-lms-step-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-lms-step-menu button {
    min-height: 40px;
    padding: 0 9px;
    font-size: 11px;
  }

  .admin-assignment-detail-head {
    flex-direction: column;
  }

  .admin-assignment-list em,
  .admin-assignment-list time {
    grid-column: auto;
  }

  .admin-assignment-review-form label.wide,
  .admin-assignment-review-form button,
  .admin-lms-edit-form label.wide,
  .admin-lms-edit-form button {
    grid-column: 1;
  }

  .admin-lms-subchild {
    margin-left: 0;
  }

  .admin-lms-form,
  .admin-lms-form:nth-child(1),
  .admin-lms-form:nth-child(2),
  .admin-lms-form:nth-child(3),
  .admin-lms-form:nth-child(4),
  .admin-lms-form:nth-child(5) {
    grid-column: 1;
  }

  .course-player-top {
    min-height: auto;
    padding: 12px 18px;
  }

  .course-player-logo img {
    height: 46px;
  }

  .course-player-shell {
    width: min(100% - 24px, 1180px);
    margin: 18px auto;
  }

  .course-player-sidebar,
  .course-player-panel,
  .course-player-lesson {
    padding: 16px;
  }

  .course-player-sidebar h1,
  .course-player-lesson h2 {
    font-size: 22px;
  }

  .course-player-lesson-top,
  .course-player-resource-head {
    align-items: stretch;
    flex-direction: column;
  }

  .course-player-complete,
  .course-player-primary,
  .course-player-back,
  .course-player-actions a {
    width: 100%;
  }

  .course-player-materials,
  .course-player-list article,
  .course-player-assignment form {
    grid-template-columns: 1fr;
  }

  .course-player-list article,
  .course-player-list article.course-player-assignment {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .course-player-list em {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .course-player-live-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .course-player-assignment form {
    grid-column: 1 / -1;
  }

  .course-player-empty {
    padding: 24px;
  }
}

/* ============================================================
   NEW HEADER & FOOTER — 2026 redesign
   Replaces .top-strip / old .site-header / .footer on all pages
   ============================================================ */
.topbar{background:#073766;color:#fff;font-size:12px;position:relative;z-index:101}
.topbar-inner{min-height:42px;width:100%;display:flex;justify-content:space-between;align-items:center}
.topbar-contact,.topbar-actions{display:flex;align-items:center;gap:0}
.topbar-item{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 15px;font-weight:700;color:#fff;border-left:1px solid rgba(255,255,255,.14);text-decoration:none;transition:background .2s,color .2s}
.topbar-left .topbar-item:first-child{border-left:0;padding-left:0}
.topbar-actions .topbar-item:last-child{padding-right:0}
.topbar-item:hover{background:rgba(255,255,255,.07);color:#f2c424}
.topbar-item svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.topbar-item i{font-size:13px;flex:0 0 auto}
.cart-link{position:relative}
.cart-link b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:1px;border-radius:999px;background:#d72d34;color:#fff;font-size:9px;line-height:1}
.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 rgba(7,27,50,.11),0 7px 18px rgba(7,27,50,.035) !important}
.nav-wrap{display:flex !important;align-items:center !important;justify-content:space-between !important;height:100px !important;gap:28px !important;padding:0 !important;max-width:none !important}
.brand{display:block !important;flex:0 0 auto !important;min-width:0 !important}
.brand-logo{display:block;width:clamp(259px,16.7vw,305px);max-width:100%;max-height:81px;object-fit:contain;object-position:left center}
.main-nav{display:flex;align-items:center;gap:20px;margin-left:auto}
.main-nav>a:not(.nav-cta){font-size:12px;font-weight:800;color:#19324b;position:relative;white-space:nowrap;text-decoration:none}
.main-nav>a:not(.nav-cta):after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:#d72d34;transition:.2s}
.main-nav>a:not(.nav-cta):hover:after,.main-nav>a.active:after{right:0}
.main-nav>.nav-cta{display:inline-flex;align-items:center;justify-content:center;background:#f2c424;color:#071b32;border:none;min-height:46px;padding:0 21px;font-size:14px;font-weight:850;border-radius:3px;cursor:pointer;transition:.25s;text-decoration:none}
.main-nav>.nav-cta:hover{background:#ffd955;transform:translateY(-2px)}
.menu-toggle{display:none;border:0;background:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.menu-toggle span{width:25px;height:2px;background:#071b32;display:block}
.topbar .container,.site-header .container,.site-footer .container{width:min(95%,1520px);margin-inline:auto}
.site-footer{background:#061426;color:#c5d0dc}
.footer-top{padding:68px 0}
.site-footer .footer-grid{display:grid;grid-template-columns:1.6fr .75fr .9fr .9fr;gap:55px}
.footer-brand p{font-size:13px;color:#9dafc1;max-width:370px;margin-bottom:20px}
.footer-logo-panel{display:block;background:#fff;padding:9px 12px;max-width:430px;margin-bottom:22px;text-decoration:none}
.footer-logo-panel img{display:block;width:100%;height:auto}
.foundation{color:#f2c424;font-size:11px;display:block;margin-top:6px}
.site-footer .footer-grid h4{color:#fff;font-size:15px;margin-bottom:20px}
.site-footer .footer-grid>div:not(:first-child){display:flex;flex-direction:column}
.site-footer .footer-grid>div:not(:first-child) a{font-size:13px;color:#9dafc1;margin-bottom:10px;text-decoration:none}
.site-footer .footer-grid a:hover{color:#f2c424}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;font-size:11px;color:#9dafc1}
.footer-bottom .container{display:flex;justify-content:space-between}
.footer-bottom span:last-child{display:flex;gap:18px}
.footer-bottom a{color:#9dafc1;text-decoration:none}
.footer-bottom a:hover{color:#f2c424}
.floating-whatsapp{position:fixed;right:24px;bottom:24px;width:54px;height:54px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(0,0,0,.22);z-index:50;text-decoration:none}
.floating-whatsapp svg{width:27px;height:27px;fill:currentColor;stroke:none}
.floating-whatsapp:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 16px 34px rgba(37,211,102,.32)}
@media(max-width:1060px){
  .menu-toggle{display:flex !important;flex:0 0 auto !important}
  .main-nav{position:absolute;top:100%;left:0;right:0;display:none !important;flex-direction:column;align-items:stretch;background:#fff;padding:18px 3% 24px;box-shadow:0 18px 35px rgba(0,0,0,.14);gap:0;z-index:99}
  .main-nav.open{display:flex !important}
  .main-nav>a:not(.nav-cta){display:block !important;font-size:14px !important;padding:12px 0 !important;white-space:normal !important}
  .main-nav>a:not(.nav-cta):after{display:none !important}
  .main-nav>.nav-cta{width:100%;margin-top:8px;text-align:center;min-height:52px}
  .site-footer .footer-grid{grid-template-columns:1.35fr repeat(2,1fr)}
  .site-footer .footer-grid>div:last-child{grid-column:2/4}
}
@media(min-width:1061px) and (max-width:1280px){
  .brand-logo{width:265px;max-height:76px}
}
@media(max-width:1060px){
  .brand-logo{width:min(288px,71.3vw);max-height:87px}
}
@media(max-width:820px){
  .site-footer .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .site-footer .footer-grid>div:last-child{grid-column:auto}
}
@media(max-width:680px){
  .topbar{overflow-x:auto;scrollbar-width:none}
  .topbar::-webkit-scrollbar{display:none}
  .topbar-inner{width:max-content;min-width:100%;padding:0 14px}
  .topbar-item{font-size:10px;min-height:38px;padding-inline:8px;white-space:nowrap}
  .topbar-actions .topbar-item span{display:none}
  .topbar-actions .cart-link span{display:inline}
  .nav-wrap{height:76px !important;gap:12px !important}
  .brand-logo{width:min(248px,74.4vw);max-height:74px}
  .site-footer .footer-grid{grid-template-columns:1fr;gap:34px}
  .footer-bottom .container{flex-direction:column;gap:10px}
  .footer-bottom span:last-child{flex-wrap:wrap}
  .floating-whatsapp{right:14px;bottom:14px;width:50px;height:50px}
}

/* ── Brand logo override: beats all .site-header .brand img rules ── */
.site-header .brand img.brand-logo{width:clamp(259px,16.7vw,305px);max-width:100%;max-height:81px;height:auto;object-fit:contain;object-position:left center}
@media(min-width:1061px) and (max-width:1280px){.site-header .brand img.brand-logo{width:265px;max-height:76px}}
@media(max-width:1060px){.site-header .brand img.brand-logo{width:min(288px,71.3vw);max-height:87px}}
@media(max-width:680px){.site-header .brand img.brand-logo{width:min(248px,74.4vw);max-height:74px}}

/* ── Footer logo sizing (matches home.css across all breakpoints) ── */
@media(min-width:1281px){.footer-logo-panel{max-width:290px;padding:6px 8px;margin-bottom:18px}}
@media(min-width:1061px) and (max-width:1280px){.footer-logo-panel{max-width:275px}}
@media(max-width:680px){.footer-logo-panel{max-width:290px;padding:6px 8px}}
@media(max-width:480px){.footer-logo-panel{max-width:250px;padding:5px 7px}}
/* Shared About navigation dropdown */
.main-nav .nav-dropdown-toggle{font-family:"Source Sans 3",sans-serif;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:0;white-space:nowrap}
@media(max-width:1060px){.main-nav .nav-dropdown-toggle{font-size:14px}}
.nav-dropdown{position:relative;display:flex;align-items:center}.nav-dropdown-toggle{border:0;background:transparent;padding:0;font:inherit;font-size:12px;font-weight:800;color:#19324b;cursor:pointer;display:flex;align-items:center;gap:5px}.nav-dropdown-menu{position:absolute;top:calc(100% + 20px);left:50%;transform:translate(-50%,8px);min-width:260px;background:#fff;border:1px solid #e5eaf0;border-radius:14px;box-shadow:0 24px 55px rgba(7,27,50,.16);padding:10px;opacity:0;visibility:hidden;pointer-events:none;transition:.2s;z-index:120}.nav-dropdown-menu:before{content:"";position:absolute;left:0;right:0;top:-22px;height:22px}.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}.nav-dropdown-menu a{display:block;padding:11px 12px;border-radius:9px;color:#263649;font-size:13px;font-weight:800;line-height:1.2;text-decoration:none}.nav-dropdown-menu a:hover,.nav-dropdown-menu a.active{background:#f6f8fb;color:#d72d34}
@media(max-width:1060px){.nav-dropdown{display:block!important}.nav-dropdown-toggle{width:100%;justify-content:space-between;padding:12px 0;font-size:14px}.nav-dropdown-menu{position:static;display:block;opacity:1;visibility:visible;pointer-events:auto;transform:none!important;box-shadow:none;border:0;background:#f7f9fc;border-radius:10px;padding:7px;margin-bottom:6px}.nav-dropdown-menu:before{display:none}.nav-dropdown-menu a{padding:10px 12px}}
/* Final header parity: the button-based About item must match link-based items. */
@media(min-width:1281px){.main-nav .nav-dropdown-toggle{font-size:15px;font-weight:700;line-height:1.2;letter-spacing:0}}
@media(min-width:1061px) and (max-width:1280px){.main-nav .nav-dropdown-toggle{font-size:13px;font-weight:800}}
@media(max-width:1060px){.main-nav .nav-dropdown-toggle{font-size:14px;font-weight:800}}
