:root {
  --navy: #05275b;
  --deep: #031a3d;
  --gold: #c58a12;
  --cream: #f5f2ea;
  --ink: #122746;
  --muted: #68758a;
  --line: #e1e5eb;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Tajawal, Arial, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

body.site-ad-popup-open {
  overflow: hidden
}

.site-ad-popup[hidden] {
  display: none
}

.site-ad-popup {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 28px;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .25s ease
}

.site-ad-popup.is-visible {
  opacity: 1
}

.site-ad-popup__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(1, 13, 33, .82);
  backdrop-filter: blur(5px);
  cursor: pointer
}

.site-ad-popup__dialog {
  width: min(760px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
  transform: translateY(20px) scale(.96);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1)
}

.site-ad-popup.is-visible .site-ad-popup__dialog {
  transform: translateY(0) scale(1)
}

.site-ad-popup__dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 66px);
  border-radius: 9px;
  object-fit: contain
}

.site-ad-popup__close {
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -18px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .28);
  cursor: pointer;
  font: 700 25px/1 Arial, sans-serif
}

.site-ad-popup__close:hover,
.site-ad-popup__close:focus-visible {
  background: #ad760a;
  outline: 3px solid rgba(232, 185, 78, .35)
}

@media(max-width:600px) {
  .site-ad-popup {
    padding: 18px
  }

  .site-ad-popup__dialog {
    width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    border-width: 3px;
    border-radius: 10px
  }

  .site-ad-popup__dialog img {
    max-height: calc(100vh - 42px);
    border-radius: 7px
  }

  .site-ad-popup__close {
    width: 34px;
    height: 34px;
    top: -14px;
    left: -10px;
    border-width: 2px;
    font-size: 22px
  }
}

@media(prefers-reduced-motion:reduce) {
  .site-ad-popup,
  .site-ad-popup__dialog {
    transition: none
  }
}

.utility {
  height: 34px;
  padding: 0 clamp(20px, 6vw, 88px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--deep);
  color: #c7d1e1;
  font-size: 11px;
  position: relative;
  z-index: 25
}

.utility-right,
.utility-left {
  display: flex;
  align-items: center;
  gap: 20px
}

.utility-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px
}

.utility-date,
.utility-date__long,
.utility-date__short {
  display: inline-flex;
  align-items: center
}

.utility-date {
  gap: 7px;
  color: #e7edf6;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap
}

.utility-date>svg {
  width: 15px;
  height: 15px;
  color: #e6b84e;
  stroke-width: 1.8
}

.utility-date__long,
.utility-date__short {
  gap: 8px
}

.utility-date__short {
  display: none
}

.utility-date i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e6b84e
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #c58a12 0%, #e6b84e 100%);
  color: #031a3d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(197, 138, 18, 0.3);
  white-space: nowrap
}

.beta-badge svg {
  width: 12px;
  height: 12px;
  stroke: #031a3d;
  stroke-width: 2.2
}

.utility a {
  color: #e6b84e
}

header {
  height: 68px;
  padding: 0 clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  gap: 35px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content
}

.mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold)
}

.mark svg {
  width: 30px
}

.brand>span:last-child {
  display: flex;
  flex-direction: column
}

.brand b {
  color: var(--navy);
  font-size: 16px
}

.brand small {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: var(--gold)
}

nav {
  display: flex;
  margin: auto;
  gap: 4px
}

nav a {
  font-size: 12px;
  padding: 10px 11px;
  position: relative
}

nav a.active:after,
nav a:hover:after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 11px;
  left: 11px;
  height: 2px;
  background: var(--gold)
}

.admission-link {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 11px
}

.admission-link svg {
  width: 16px
}

.nav-toggle {
  display: none;
  border: 0;
  background: none
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--navy);
  margin: 5px
}

.hero {
  height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 45px clamp(24px, 8vw, 120px);
  overflow: hidden
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0
}

.hero-photo {
  background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1900&q=90') center 45%/cover
}

.hero-shade {
  background: rgba(3, 26, 61, .72)
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 610px
}

.seal {
  position: absolute;
  right: -82px;
  top: 4px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column
}

.seal span {
  font-size: 8px
}

.seal b {
  font-size: 13px;
  color: #e7b84f
}

.eyebrow {
  font-size: 11px;
  color: #e6b64b;
  font-weight: 700;
  margin: 0 0 9px
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin-left: 8px;
  vertical-align: middle
}

.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.12;
  font-weight: 500;
  margin: 0 0 14px
}

.hero h1 span {
  color: #e4b44a
}

.hero-content>p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: #d4deeb;
  max-width: 540px
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 22px
}

.btn {
  height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px
}

.btn svg {
  width: 15px
}

.gold {
  background: var(--gold);
  color: #fff
}

.ghost {
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff
}

.hero-index {
  position: absolute;
  left: 7vw;
  bottom: 35px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px
}

.hero-index i {
  height: 1px;
  width: 65px;
  background: rgba(255, 255, 255, .5)
}

.hero-index span {
  color: #e6b64b
}

.quick-links {
  width: min(1120px, 88%);
  margin: -32px auto 0;
  position: relative;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line)
}

.quick-links>a {
  height: 82px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-left: 1px solid var(--line)
}

.quick-links>a:last-child {
  border: 0
}

.quick-links svg {
  width: 25px;
  color: var(--gold)
}

.quick-links span {
  display: flex;
  flex-direction: column
}

.quick-links b {
  font-size: 13px
}

.quick-links small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px
}

.section {
  padding: 65px clamp(24px, 7vw, 105px)
}

.intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr .65fr;
  align-items: center;
  gap: 4vw
}

.eyebrow.dark {
  color: var(--gold)
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  margin: 0 0 15px;
  font-weight: 500;
  color: var(--deep)
}

.intro-copy>p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9
}

.signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0
}

.signature>span {
  width: 30px;
  height: 1px;
  background: var(--gold)
}

.signature div {
  display: flex;
  flex-direction: column
}

.signature b {
  font-size: 12px
}

.signature small {
  font-size: 9px;
  color: var(--muted)
}

.line-link {
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px
}

.line-link svg {
  width: 13px
}

.intro-image {
  height: 370px;
  position: relative
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.intro-image>div {
  position: absolute;
  right: -22px;
  bottom: 20px;
  width: 145px;
  padding: 17px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px
}

.intro-image>div b {
  font-size: 27px;
  color: #e7b84f
}

.intro-image>div span {
  font-size: 9px;
  line-height: 1.5
}

.principles {
  border-top: 1px solid var(--line)
}

.principles article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative
}

.principles article>span {
  position: absolute;
  left: 0;
  font-size: 9px;
  color: #aeb6c3
}

.principles svg {
  width: 23px;
  color: var(--gold);
  margin-bottom: 8px
}

.principles h3 {
  font-size: 14px;
  margin: 0 0 4px
}

.principles p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0
}

.levels {
  background: var(--cream)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 25px
}

.section-heading h2 {
  margin: 0
}

.section-heading>p {
  font-size: 12px;
  color: var(--muted);
  max-width: 400px
}

.level-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px
}

.level-list>a {
  height: 68px;
  padding: 9px 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid transparent
}

.level-list>a:hover {
  border-color: var(--gold)
}

.level-icon {
  width: 38px;
  height: 38px;
  background: #f7f3e9;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: 0 0 38px
}

.level-icon svg {
  width: 23px
}

.level-list>a>span:nth-child(2) {
  display: flex;
  flex-direction: column
}

.level-list b {
  font-size: 12px
}

.level-list small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px
}

.level-list .arrow {
  width: 13px;
  margin-right: auto;
  color: var(--gold)
}

.stats {
  padding: 30px clamp(24px, 7vw, 105px);
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stats div {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .18)
}

.stats div:last-child {
  border: 0
}

.stats b {
  display: block;
  color: #e5b54a;
  font-size: 27px;
  font-weight: 500
}

.stats span {
  font-size: 10px;
  color: #cfdaea
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.service-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  display: flex;
  gap: 14px
}

.service-grid article>svg {
  width: 27px;
  color: var(--gold);
  flex: 0 0 27px
}

.service-grid h3 {
  font-size: 14px;
  margin: 0 0 5px
}

.service-grid p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0
}

.admission {
  padding: 45px clamp(24px, 8vw, 120px);
  background: var(--deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.admission h2 {
  color: white;
  margin-bottom: 7px
}

.admission>div>p:last-child {
  font-size: 12px;
  color: #c6d1e2
}

.admission .btn {
  min-width: 165px
}

footer {
  padding: 42px clamp(24px, 7vw, 105px);
  background: #02132e;
  color: #aab6ca;
  font-size: 10px
}

.footer-brand b {
  color: #fff
}

.footer-main p {
  max-width: 340px;
  line-height: 1.7
}

.copyright {
  padding: 12px clamp(24px, 7vw, 105px);
  background: #020f25;
  color: #728198;
  text-align: center;
  font-size: 9px
}

@media(max-width:900px) {
  .utility {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    height: 32px;
    font-size: 11px
  }

  .utility-left {
    display: none
  }

  .utility-center {
    margin-right: auto
  }

  .utility-date__long {
    display: none
  }

  .utility-date__short {
    display: inline-flex
  }

  header {
    top: 0
  }

  .nav-toggle {
    display: block;
    margin-right: auto
  }

  header nav {
    display: none;
    position: absolute;
    top: 67px;
    right: 15px;
    left: 15px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px;
    flex-direction: column
  }

  header nav.open {
    display: flex
  }

  .parent-portal-link,
  .admission-link {
    display: none
  }

  .hero {
    height: 600px
  }

  .seal {
    display: none
  }

  .quick-links {
    grid-template-columns: 1fr 1fr
  }

  .quick-links>a:nth-child(2) {
    border-left: 0
  }

  .intro {
    grid-template-columns: 1fr 1fr
  }

  .principles {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
  }

  .level-list {
    grid-template-columns: 1fr 1fr
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .section-heading {
    align-items: start;
    flex-direction: column
  }
}

@media(max-width:430px) {
  .utility {
    padding-inline: 8px;
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .utility-right {
    display: flex !important;
    align-items: center;
    gap: 6px;
  }

  .utility-center {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
  }

  .beta-badge {
    padding-inline: 7px;
    font-size: 9.5px
  }

  .utility-date {
    gap: 5px;
    font-size: 9.5px
  }

  .utility-date>svg {
    width: 13px;
    height: 13px
  }

  .utility-date__short {
    gap: 5px
  }
}

@media(max-width:560px) {
  header {
    padding-inline: 16px
  }

  .brand b {
    font-size: 14px
  }

  .hero {
    height: 570px;
    padding-inline: 20px
  }

  .hero h1 {
    font-size: 38px
  }

  .actions {
    flex-direction: column;
    width: 100%
  }

  .btn {
    width: 100%
  }

  .quick-links {
    width: calc(100% - 28px);
    grid-template-columns: 1fr
  }

  .quick-links>a {
    height: 66px;
    border-left: 0;
    border-bottom: 1px solid var(--line)
  }

  .section {
    padding: 48px 18px
  }

  .intro {
    grid-template-columns: 1fr
  }

  .intro-image {
    height: 290px
  }

  .principles {
    grid-column: auto;
    grid-template-columns: 1fr
  }

  .level-list {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .stats div {
    border: 0
  }

  .admission {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px
  }
}

.brand-logo {
  display: block;
  width: clamp(220px, 22vw, 300px);
  height: auto;
  max-height: 52px;
  object-fit: contain
}

.footer-brand {
  width: max-content
}

.footer-brand .brand-logo {
  width: min(300px, 65vw)
}

@media(max-width:560px) {
  .brand-logo {
    width: 210px;
    max-height: 46px
  }
}

.form-page {
  background: #f5f6f8
}

.application-main {
  width: min(1120px, calc(100% - 40px));
  margin: 32px auto 55px
}

.application-intro {
  min-height: 128px;
  padding: 24px 30px;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.application-intro .eyebrow {
  margin-bottom: 5px
}

.application-intro h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 6px
}

.application-intro>div>p:last-child {
  font-size: 11px;
  color: #cbd5e5;
  margin: 0
}

.form-step {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 9px 15px;
  font-size: 10px;
  color: #e7b84f
}

.application-form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 8px 30px 24px
}

.application-form fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 25px;
  margin: 0
}

.application-form legend {
  width: 100%;
  padding: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px
}

.application-form legend>span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #f7f3e9;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700
}

.application-form legend>div {
  display: flex;
  flex-direction: column
}

.application-form legend b {
  font-size: 14px;
  color: var(--deep)
}

.application-form legend small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px
}

.form-grid {
  display: grid;
  gap: 13px
}

.four-cols {
  grid-template-columns: repeat(4, 1fr)
}

.three-cols {
  grid-template-columns: repeat(3, 1fr)
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #34445c;
  font-size: 10px;
  font-weight: 700
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 39px;
  border: 1px solid #d9dee6;
  background: #fff;
  color: var(--ink);
  font: 400 12px Tajawal, Arial, sans-serif;
  padding: 0 10px;
  outline: 0
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(197, 138, 18, .1)
}

.form-grid input[type=file] {
  padding: 7px;
  height: 39px;
  font-size: 10px
}

.file-field small {
  font-size: 8px;
  color: var(--muted);
  font-weight: 400
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px
}

.form-actions p {
  font-size: 9px;
  color: var(--muted);
  margin: 0
}

.submit-btn {
  border: 0;
  cursor: pointer;
  min-width: 145px;
  font-family: inherit
}

.submit-btn:hover {
  background: #ad770d
}

@media(max-width:900px) {
  .four-cols {
    grid-template-columns: repeat(2, 1fr)
  }

  .three-cols {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .application-main {
    width: calc(100% - 24px);
    margin: 18px auto 35px
  }

  .application-intro {
    padding: 20px;
    min-height: 115px
  }

  .application-intro h1 {
    font-size: 26px
  }

  .form-step {
    display: none
  }

  .application-form {
    padding: 5px 16px 20px
  }

  .four-cols,
  .three-cols {
    grid-template-columns: 1fr
  }

  .application-form fieldset {
    padding-block: 19px
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px
  }

  .submit-btn {
    width: 100%
  }
}

/* Slightly larger typography across all pages */
body {
  font-size: 15px
}

.utility {
  font-size: 12px
}

nav a {
  font-size: 14px
}

.admission-link {
  font-size: 13px
}

.brand small {
  font-size: 10px
}

.eyebrow {
  font-size: 13px
}

.hero-content>p:not(.eyebrow) {
  font-size: 16px
}

.btn {
  font-size: 13px
}

.hero-index {
  font-size: 12px
}

.seal span {
  font-size: 10px
}

.quick-links b {
  font-size: 15px
}

.quick-links small {
  font-size: 12px
}

.intro-copy>p:not(.eyebrow) {
  font-size: 15px
}

.signature b {
  font-size: 14px
}

.signature small {
  font-size: 11px
}

.line-link {
  font-size: 13px
}

.intro-image>div span {
  font-size: 11px
}

.principles h3 {
  font-size: 16px
}

.principles p {
  font-size: 12px
}

.principles article>span {
  font-size: 11px
}

.section-heading>p {
  font-size: 14px
}

.level-list b {
  font-size: 14px
}

.level-list small {
  font-size: 11px
}

.stats span {
  font-size: 12px
}

.service-grid h3 {
  font-size: 16px
}

.service-grid p {
  font-size: 12px
}

.admission>div>p:last-child {
  font-size: 14px
}

footer {
  font-size: 12px
}

footer>div>b {
  font-size: 14px
}

.copyright {
  font-size: 11px
}

.application-intro>div>p:last-child {
  font-size: 13px
}

.form-step {
  font-size: 12px
}

.application-form legend b {
  font-size: 16px
}

.application-form legend small {
  font-size: 11px
}

.form-grid label {
  font-size: 12px
}

.form-grid input,
.form-grid select {
  font-size: 14px
}

.form-grid input[type=file] {
  font-size: 12px
}

.file-field small {
  font-size: 10px
}

.form-actions p {
  font-size: 11px
}



/* Registration form section cards */
.application-form {
  padding: 18px 22px 26px;
  background: #f8f9fb
}

.application-form fieldset {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0 20px 22px;
  border: 1px solid #dfe4eb;
  background: #fff;
  box-shadow: 0 4px 14px rgba(3, 26, 61, .035)
}

.application-form legend {
  box-sizing: border-box;
  width: calc(100% + 40px);
  margin: 0 -20px 20px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #f5f1e7 0, #fbfaf7 58%, #fff 100%);
  border-right: 4px solid var(--gold);
  border-bottom: 1px solid #e8e3d8;
  gap: 12px
}

.application-form legend>span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: var(--navy);
  color: #e7b84f;
  border-radius: 2px;
  font-size: 12px
}

.application-form legend>div {
  gap: 2px
}

.application-form legend b {
  font-size: 17px;
  line-height: 1.25;
  color: var(--deep)
}

.application-form legend small {
  font-size: 12px;
  line-height: 1.35;
  color: #667287
}

.application-form fieldset:last-of-type {
  margin-bottom: 0
}

.form-grid {
  gap: 15px 13px
}

.form-grid label {
  font-size: 13px;
  color: #263a57
}

.form-grid input,
.form-grid select {
  height: 42px;
  background: #fcfdff
}

.form-actions {
  padding: 20px 4px 0
}

@media(max-width:560px) {
  .application-form {
    padding: 12px
  }

  .application-form fieldset {
    padding: 0 14px 18px;
    margin-bottom: 12px
  }

  .application-form legend {
    width: calc(100% + 28px);
    margin-inline: -14px;
    padding: 12px 14px
  }

  .application-form legend>span {
    width: 34px;
    height: 34px;
    flex-basis: 34px
  }

  .application-form legend b {
    font-size: 16px
  }

  .application-form legend small {
    font-size: 11px
  }
}

.application-form legend>span svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8
}

header nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap
}

header nav a>svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--gold);
  stroke-width: 1.7
}

/* Reference-inspired header: project navy and gold identity */
.hero-header {
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .32);
  color: #fff
}

.hero-header nav a {
  color: #fff
}

.hero-header nav a>svg {
  color: var(--gold)
}

.hero-header .admission-link {
  background: var(--gold);
  color: #fff
}

.hero-header .nav-toggle span {
  background: #fff
}

.header-tools {
  display: none;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.header-tool {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--navy);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  flex: 0 0 36px !important;
  box-sizing: border-box !important;
}

.header-tool svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.search-tool {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #f1f4f9;
  border-color: #dce2eb;
  color: var(--navy);
}

.registration-tool {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(197, 138, 18, 0.25) !important;
}

.registration-tool svg {
  width: 18px !important;
  height: 18px !important;
  stroke: var(--gold) !important;
  stroke-width: 1.8 !important;
}

.registration-tool:hover,
.registration-tool:active {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 14px rgba(197, 138, 18, 0.45) !important;
}

.registration-tool:hover svg,
.registration-tool:active svg {
  stroke: #fff !important;
}

.mobile-menu-extras {
  display: none
}

@media(max-width:900px) {
  body.menu-is-open {
    overflow: hidden
  }

  header {
    height: 66px;
    padding: 0 18px;
    gap: 8px;
    background: rgba(255, 255, 255, .97);
    transition: background .25s ease, border-color .25s ease
  }

  header.hero-header {
    top: 34px
  }

  .hero-header .search-tool {
    color: #fff
  }

  .hero-header .registration-tool {
    background: rgba(230, 184, 78, 0.18);
    color: #e6b84e;
    border-color: #e6b84e;
  }

  .hero-header .registration-tool svg {
    stroke: #e6b84e;
  }

  .hero-header .nav-toggle span {
    background: #fff
  }

  header .brand {
    margin-left: auto;
    min-width: 0;
    position: relative;
    z-index: 2
  }

  header .brand-logo {
    width: min(205px, 52vw);
    max-height: 44px
  }

  .header-tools {
    display: flex;
    position: relative;
    z-index: 102;
    gap: 3px
  }

  .header-tool {
    display: grid
  }

  .nav-toggle {
    width: 32px;
    height: 32px;
    padding: 5px;
    position: relative;
    z-index: 102;
    margin: 0;
    cursor: pointer
  }

  .nav-toggle span {
    width: 20px;
    height: 1.5px;
    margin: 4px auto;
    background: var(--navy);
    transition: transform .25s ease, opacity .2s ease, background .25s ease
  }

  header nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 100;
    inset: 0;
    top: 0;
    padding: 108px 18px 25px;
    background: var(--navy);
    border: 0;
    transform: translateY(-18px);
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    transition: opacity .25s ease, transform .3s ease, visibility .3s
  }

  header nav.open {
    visibility: visible;
    opacity: 1;
    display: flex;
    transform: translateY(0)
  }

  header nav>a {
    min-height: 42px;
    padding: 9px 4px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
    font-weight: 500;
    gap: 10px
  }

  header nav>a:before {
    content: '\2190';
    order: 3;
    margin-right: auto;
    color: var(--gold);
    font-size: 20px;
    font-weight: 400;
    line-height: 1
  }

  header nav>a:after {
    display: none !important
  }

  header nav>a>svg {
    width: 18px;
    height: 18px;
    color: var(--gold)
  }

  .menu-open,
  .hero-header.menu-open {
    background: var(--navy);
    border-color: rgba(255, 255, 255, .22)
  }

  .menu-open:after {
    content: '';
    position: absolute;
    z-index: 101;
    right: 18px;
    left: 18px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, .38)
  }

  .menu-open .brand-logo {
    filter: none
  }

  .menu-open .search-tool {
    color: #fff
  }

  .menu-open .registration-tool {
    color: var(--gold);
    border-color: var(--gold)
  }

  .menu-open .nav-toggle span {
    background: #fff
  }

  .menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg)
  }

  .menu-open .nav-toggle span:nth-child(2) {
    opacity: 0
  }

  .menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg)
  }

  .mobile-menu-extras {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    gap: 16px
  }

  .mobile-menu-extras>a {
    height: 38px;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700
  }

  .mobile-admission {
    background: var(--gold);
    color: #fff
  }

  header nav .mobile-menu-extras .mobile-parent-portal {
    background: #fff;
    color: var(--navy) !important;
    border: 1px solid #fff
  }

  .mobile-contact {
    border: 1px solid var(--gold);
    color: var(--gold)
  }

  .social-links {
    display: flex;
    direction: ltr;
    justify-content: center;
    gap: 7px;
    margin-top: 13px
  }

  .social-links a {
    width: 29px;
    height: 29px;
    border: 1px solid rgba(255, 255, 255, .55);
    display: grid;
    place-items: center;
    color: #fff;
    font: 500 13px Arial, sans-serif;
    transition: .2s
  }

  .social-links a:hover {
    color: var(--gold);
    border-color: var(--gold)
  }
}

@media(max-width:430px) {
  .header-tools {
    gap: 1px
  }

  .header-tool {
    width: 28px
  }

  header .brand-logo {
    width: min(180px, 47vw)
  }

  header nav {
    padding-top: 98px
  }
}

/* Soft corners across the interface */
:root {
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px
}

.admission-link,
.btn,
.form-step,
.submit-btn {
  border-radius: var(--radius-sm)
}

.quick-links,
.level-list>a,
.service-grid article,
.application-intro,
.application-form fieldset {
  border-radius: var(--radius-md)
}

.quick-links {
  overflow: hidden
}

.intro-image,
.intro-image img {
  border-radius: var(--radius-lg)
}

.intro-image>div {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm)
}

.level-icon,
.application-form legend>span,
.seal {
  border-radius: var(--radius-sm)
}

.form-grid input,
.form-grid select {
  border-radius: var(--radius-sm)
}

.application-form legend {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0
}

.application-form {
  border-radius: 0 0 var(--radius-md) var(--radius-md)
}

@media(max-width:900px) {
  header:not(.hero-header) {
    border-radius: 0 0 var(--radius-md) var(--radius-md)
  }
}

.hero-photo {
  background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1900&q=90')
}

/* Mobile hero: preserve more of the cover image and keep content compact */
@media(max-width:560px) {
  .hero {
    height: 620px;
    align-items: flex-end;
    padding: 100px 18px 58px
  }

  .hero-photo {
    background-position: 56% center
  }

  .hero-shade {
    background: linear-gradient(to bottom, rgba(3, 26, 61, .12) 0%, rgba(3, 26, 61, .2) 42%, rgba(3, 26, 61, .88) 76%, rgba(3, 26, 61, .97) 100%)
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .25)
  }

  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 6px
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.18;
    margin-bottom: 8px
  }

  .hero-content>p:not(.eyebrow) {
    display: -webkit-box;
    max-width: 100%;
    margin: 0;
    color: #e5ebf3;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
  }

  .hero .actions {
    width: 100%;
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .hero .actions .btn {
    width: 100%;
    height: 38px;
    padding-inline: 8px;
    font-size: 11px;
    white-space: nowrap;
    text-shadow: none
  }

  .hero-index {
    display: none
  }
}

/* Registration feedback and actions */
.alert {
  margin: 16px 0 0;
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid;
  border-radius: var(--radius-md)
}

.alert-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  font-weight: 800
}

.alert strong {
  display: block;
  font-size: 14px
}

.alert p {
  margin: 3px 0 0;
  font-size: 13px
}

.alert-success {
  background: #ecfdf3;
  color: #067647;
  border-color: #abefc6
}

.alert-success .alert-icon {
  background: #d1fadf
}

.alert-error {
  background: #fef3f2;
  color: #b42318;
  border-color: #fecdca
}

.alert-error .alert-icon {
  background: #fee4e2
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 680px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6
}

.agreement input {
  accent-color: var(--gold);
  margin-top: 3px
}

.submit-btn {
  height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(197, 138, 18, .2);
  transition: .2s
}

.submit-btn:disabled {
  opacity: .65;
  cursor: wait
}

.retained-file {
  padding: 7px 9px;
  border: 1px solid #abefc6;
  border-radius: var(--radius-sm);
  background: #ecfdf3;
  color: #067647;
  font-size: 10px;
  font-weight: 700
}

.route-error {
  min-height: 55vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center
}

.route-error>span {
  color: var(--gold);
  font-size: 64px;
  font-weight: 700;
  line-height: 1
}

.route-error h1 {
  margin: 10px 0
}

.route-error p {
  margin: 0 0 22px;
  color: var(--muted)
}

@media(min-width:901px) and (max-width:1150px) {
  header {
    padding-inline: 24px;
    gap: 15px
  }

  .brand-logo {
    width: 220px
  }

  header nav a {
    padding-inline: 7px;
    font-size: 12px
  }

  .admission-link {
    padding-inline: 10px
  }
}

/* Educational stages dropdown */
.nav-levels {
  position: relative;
  display: flex;
  align-items: center
}

.nav-levels-toggle {
  height: 100%;
  padding: 10px 11px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  position: relative
}

.nav-levels-toggle>svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: 0 0 16px
}

.nav-levels-chevron {
  width: 12px;
  height: 12px;
  transition: transform .2s ease
}

.nav-levels.is-open .nav-levels-chevron {
  transform: rotate(180deg)
}

.nav-levels.active>.nav-levels-toggle:after,
.nav-levels-toggle:hover:after {
  content: "";
  position: absolute;
  right: 11px;
  left: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--gold)
}

.nav-levels-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: 235px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 35px rgba(3, 26, 61, .18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s
}

.nav-levels.is-open .nav-levels-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.nav-levels-menu a {
  min-height: 43px;
  padding: 8px 10px;
  color: var(--ink) !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px
}

.nav-levels-menu a:after {
  display: none !important
}

.nav-levels-menu a:hover {
  background: #f7f3e9;
  color: var(--navy) !important
}

.nav-levels-menu a.active {
  background: #f7f3e9;
  color: var(--navy) !important
}

.nav-levels-menu a span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f7f3e9;
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  font-size: 9px;
  font-weight: 700
}

.nav-levels-menu .nav-menu-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8
}

.nav-levels-menu a b {
  font-weight: 600
}

.hero-header .nav-levels-toggle {
  color: #fff
}

@media(max-width:900px) {
  .nav-levels {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, .16)
  }

  .nav-levels-toggle {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 9px 4px;
    color: #fff;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    position: relative;
    z-index: 2;
    touch-action: manipulation
  }

  .nav-levels-toggle>svg:first-child {
    width: 18px;
    height: 18px
  }

  .nav-levels-chevron {
    order: 3;
    margin-right: auto;
    width: 15px;
    height: 15px
  }

  .nav-levels.active>.nav-levels-toggle:after,
  .nav-levels-toggle:hover:after {
    display: none
  }

  .nav-levels-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 4px 28px 9px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    transition: none
  }

  .nav-levels.is-open .nav-levels-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    padding-top: 4px;
    padding-bottom: 9px
  }

  .nav-levels-menu a {
    min-height: 39px;
    padding: 7px 5px;
    color: #fff !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 13px
  }

  .nav-levels-menu a:last-child {
    border-bottom: 0
  }

  .nav-levels-menu a:hover {
    background: transparent;
    color: var(--gold) !important
  }

  .nav-levels-menu a.active {
    background: rgba(255, 255, 255, .07);
    color: var(--gold) !important
  }

  .nav-levels-menu a span {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    background: rgba(255, 255, 255, .1)
  }

  .nav-levels-menu .nav-menu-icon svg {
    width: 15px;
    height: 15px
  }
}

@media(min-width:901px) and (max-width:1150px) {
  .nav-levels-toggle {
    padding-inline: 7px;
    font-size: 12px
  }
}

.parent-portal-link {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap
}

.hero-header .parent-portal-link {
  color: #fff;
  border-color: rgba(255, 255, 255, .55)
}

@media(max-width:1150px) and (min-width:901px) {
  .parent-portal-link {
    height: 34px;
    padding-inline: 9px;
    font-size: 10px
  }
}

@media(max-width:900px) {
  .parent-portal-link {
    display: none !important;
  }
}

@media(max-width:460px) {
  .search-tool {
    display: none
  }
}

@media(max-width:430px) {
  header .brand-logo {
    width: min(145px, 38vw)
  }

  .parent-portal-link {
    display: none !important;
  }
}

/* Organised Footer Styles */
footer#contact {
  display: block;
  padding: 50px clamp(24px, 6vw, 88px) 40px;
  background: #02132e;
  color: #aab6ca;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-main p {
  color: #8fa0ba;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #dce5f2;
  transition: transform 0.22s ease, color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.footer-social-link[data-platform="instagram"] svg,
.footer-social-link[data-platform="linkedin"] svg,
.footer-social-link[data-platform="tiktok"] svg,
.footer-social-link[data-platform="whatsapp"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link svg .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.footer-social-link svg .social-icon-cutout {
  fill: #02132e;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  outline: none;
}

.footer-social-link[data-platform="facebook"]:hover { background: #1877f2; }
.footer-social-link[data-platform="instagram"]:hover { background: #d62976; }
.footer-social-link[data-platform="x"]:hover { background: #111; }
.footer-social-link[data-platform="youtube"]:hover { background: #f00; }
.footer-social-link[data-platform="linkedin"]:hover { background: #0a66c2; }
.footer-social-link[data-platform="tiktok"]:hover { background: #111; }
.footer-social-link[data-platform="whatsapp"]:hover { background: #25d366; }

.whatsapp-fab {
  position: fixed;
  right: clamp(18px, 2.5vw, 32px);
  bottom: calc(clamp(18px, 2.5vw, 30px) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(5, 76, 35, .3);
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.whatsapp-fab svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-3px);
  background: #1fbd5a;
  box-shadow: 0 12px 28px rgba(5, 76, 35, .4);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .34);
  outline-offset: 3px;
}

.whatsapp-fab:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .whatsapp-fab {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }

  .whatsapp-fab svg {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: none;
  }
}

@media print {
  .whatsapp-fab {
    display: none;
  }
}

.footer-social-link[data-platform="youtube"]:hover .social-icon-cutout {
  fill: #f00;
}

.footer-col b {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.footer-col b::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.footer-links-grid a {
  color: #aab6ca;
  font-size: 13px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-grid a:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aab6ca;
  font-size: 13px;
  line-height: 1.6;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--gold);
  margin-top: 2px;
}

.contact-item a {
  color: #cdd7e7;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--gold);
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 16px;
  background: rgba(197, 138, 18, 0.12);
  color: #e6b84e !important;
  border: 1px solid rgba(197, 138, 18, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  width: fit-content;
}

.footer-contact-btn svg {
  width: 14px;
  height: 14px;
  margin: 0;
}

.footer-contact-btn:hover {
  background: var(--gold);
  color: #ffffff !important;
  border-color: var(--gold);
}

.footer-contact-btn:hover svg {
  color: #ffffff;
}

.copyright {
  padding: 16px clamp(20px, 6vw, 88px);
  background: #020f25;
  color: #728198;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media(max-width:900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-main {
    grid-column: span 2;
  }

  .footer-main p {
    max-width: 100%;
  }
}

@media(max-width:560px) {
  footer#contact {
    padding: 32px 18px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    grid-column: auto;
    text-align: right;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-col b {
    font-size: 15px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }

  .footer-contact-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
}

/* ===== Language Dropdown (Flag + Text Menu) ===== */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 30;
}

.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: #e7edf6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.lang-dropdown-toggle:hover,
.lang-dropdown.is-open .lang-dropdown-toggle {
  background: rgba(230, 184, 78, 0.22);
  border-color: #e6b84e;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(230, 184, 78, 0.25);
}

.lang-dropdown-toggle .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flag-icon {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.lang-dropdown-toggle .lang-name {
  font-size: 11.5px;
  letter-spacing: 0.2px;
}

.lang-dropdown-toggle .lang-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.lang-dropdown.is-open .lang-dropdown-toggle .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  min-width: 140px;
  background: #031a3d;
  border: 1px solid rgba(230, 184, 78, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 100;
}

html[dir="ltr"] .lang-dropdown-menu {
  left: auto;
  right: 0;
}

.lang-dropdown.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #c7d1e1;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lang-dropdown-item.is-active {
  background: rgba(230, 184, 78, 0.18);
  color: #e6b84e;
  font-weight: 700;
}

.lang-dropdown-item .lang-flag {
  font-size: 15px;
  line-height: 1;
}

.lang-dropdown-item .lang-label {
  flex: 1;
  font-size: 12px;
}

.lang-dropdown-item .lang-check {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #e6b84e;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .lang-dropdown-toggle {
    padding: 3px 8px;
    font-size: 11px;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .lang-dropdown-toggle {
    padding: 2px 7px;
    font-size: 10.5px;
    gap: 4px;
  }
  .lang-dropdown-toggle .flag-icon {
    width: 17px;
    height: 11px;
  }
}
