/* ==========================================================================
   First Steps School of Arts & Sciences — Elite Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Fonts ---- */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Fraunces", "Georgia", serif;
  --nav-font: "Inter", sans-serif;
}

/* ---- Palette (brand colors from the school logo) ---- */
:root {
  --navy-950: #1C1440;
  --navy-900: #2A1D51;
  --navy-800: #3A2A66;
  --navy-700: #4A3778;
  --navy-600: #5C4890;
  --ink: #2A1D51;
  --ink-soft: #5C5478;
  --ink-faint: #8B84A0;

  --gold: #F1730A;
  --gold-light: #F6A15B;
  --gold-dark: #C15C08;
  --gold-soft: rgba(241, 115, 10, 0.12);

  --cream: #FAF7EF;
  --cream-deep: #F1EAD9;
  --paper: #FFFFFF;
  --line: rgba(42, 29, 81, 0.12);
  --line-soft: rgba(42, 29, 81, 0.07);

  --shadow-sm: 0 2px 10px rgba(42, 29, 81, 0.08);
  --shadow-md: 0 14px 34px rgba(42, 29, 81, 0.12);
  --shadow-lg: 0 30px 70px rgba(42, 29, 81, 0.20);

  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 14px;
}

/* Global Colors */
:root {
  --background-color: var(--cream);
  --default-color: var(--ink);
  --heading-color: var(--navy-900);
  --accent-color: var(--gold);
  --surface-color: var(--paper);
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: var(--navy-900);
  --nav-hover-color: var(--gold-dark);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: var(--navy-900);
  --nav-dropdown-hover-color: var(--gold-dark);
}

.light-background {
  --background-color: var(--cream-deep);
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: var(--navy-900);
  --default-color: #C9D3E0;
  --heading-color: #ffffff;
  --surface-color: var(--navy-800);
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html {
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--gold-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  color: var(--default-color);
}

::selection {
  background: var(--gold);
  color: #fff;
}

img {
  max-width: 100%;
}

.eyebrow,
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow::before,
.subtitle::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.dark-background .eyebrow,
.dark-background .subtitle {
  color: var(--gold-light);
}

/* Buttons -------------------------------------------------- */
.btn-primary,
.explore-link,
.send-button,
.submit-btn,
.career-btn {
  font-family: var(--nav-font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  transition: all 0.35s ease;
  border: 1px solid transparent;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--navy-950);
}

.hero-buttons .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-link,
.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: 0.3s;
}

.btn-link i, .explore-link i {
  color: var(--gold-dark);
  transition: transform 0.3s;
}

.btn-link:hover, .explore-link:hover {
  color: var(--gold-dark);
}

.btn-link:hover i, .explore-link:hover i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
}

/* Topbar (contact strip) */
.header .topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.header .topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.header .topbar .topbar-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
}

.header .topbar .topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header .topbar .topbar-info i {
  color: var(--gold-light);
}

.header .topbar a {
  color: rgba(255, 255, 255, 0.75);
}

.header .topbar a:hover {
  color: var(--gold-light);
}

.header .topbar .topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.header .topbar .topbar-links .divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
  .header .topbar {
    font-size: 0.7rem;
  }

  .header .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .header .topbar .topbar-info,
  .header .topbar .topbar-links {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .header .topbar .topbar-links > a:not([aria-label]),
  .header .topbar .topbar-links > .divider {
    display: none;
  }
}

/* Logo + nav, single vertically-centered row */
.header .nav-main {
  background: #ffffff;
}

.header .nav-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header .nav-main .logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.header .nav-main .logo:hover .brandtext .name {
  color: var(--gold-dark);
}

.header .nav-main .logo img {
  max-height: 52px;
}

.header .nav-main .logo .brandtext {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header .nav-main .logo .brandtext .name {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}

.header .nav-main .logo .brandtext .tag {
  font-family: var(--nav-font);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
}

.header .navmenu {
  flex: 1 1 auto;
}

.header .mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--navy-900);
  font-size: 26px;
  cursor: pointer;
  line-height: 0;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    gap: 2px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 14px;
    font-family: var(--nav-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .navmenu a i {
    font-size: 12px;
    margin-left: 6px;
    line-height: 0;
    transition: 0.3s;
  }

  .navmenu li:hover > a::after,
  .navmenu .active::after {
    transform: scaleX(1);
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 100%;
    opacity: 0;
    transition: 0.3s;
    border-radius: var(--radius);
    z-index: 99;
    box-shadow: var(--shadow-lg);
    min-width: 260px;
    border-top: 2px solid var(--gold);
  }

  .navmenu .dropdown ul li {
    min-width: 240px;
  }

  .navmenu .dropdown ul a {
    padding: 12px 16px;
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: var(--nav-dropdown-color);
    border-radius: var(--radius-sm);
  }

  .navmenu .dropdown ul a::after {
    display: none;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: var(--gold-soft);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .header .mobile-nav-toggle {
    display: flex;
  }

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    display: none;
  }

  .navmenu a, .navmenu a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    font-family: var(--nav-font);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--nav-dropdown-color);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 6px;
    transition: transform 0.3s;
  }

  .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i, .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 4px 0 4px 20px;
    margin: 0 20px;
    background: transparent;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--gold-soft);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background: transparent;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 100001;
  }

  .mobile-nav-active .navmenu {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 96px 20px 40px 20px;
    background: rgba(7, 20, 39, 0.97);
    overflow-y: auto;
  }

  .mobile-nav-active .navmenu > ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    width: 100%;
    max-width: 400px;
    margin: 0;
    padding: 12px 0;
    background: #ffffff;
    border-radius: var(--radius);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: #C9D3E0;
  background: var(--navy-950);
  background-image: radial-gradient(circle at 15% 0%, rgba(182,137,63,0.10), transparent 45%);
  font-size: 0.94rem;
  padding: 90px 0 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer .footer-content .logo {
  gap: 14px;
}

.footer .footer-content .logo img {
  max-height: 52px;
}

.footer .footer-content .logo .sitename {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.footer .footer-content .motto {
  font-family: var(--nav-font);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  display: block;
}

.footer .footer-content p {
  color: #97A6BC;
  line-height: 1.9;
}

.footer h4 {
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

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

.footer .footer-links ul li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: #97A6BC;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  font-size: 0.9rem;
}

.footer .footer-links ul a i {
  color: var(--gold);
  font-size: 12px;
}

.footer .footer-links ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer .footer-contact .contact-item .contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .footer-contact .contact-item .contact-icon i {
  color: var(--gold-light);
}

.footer .footer-contact .contact-item .contact-info p {
  margin: 0;
  color: #97A6BC;
  line-height: 1.7;
}

.footer .campus-block {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .campus-block:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.footer .campus-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 8px 0;
}

.footer .campus-name i {
  color: var(--gold-light);
}

.footer .campus-address {
  color: #97A6BC;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 8px 0;
  padding-left: 23px;
}

.footer .campus-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #97A6BC;
  font-size: 0.88rem;
  margin: 0 0 4px 0;
}

.footer .campus-line i {
  color: var(--gold-light);
  font-size: 0.85rem;
}

.footer .footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 2px;
}

.footer .footer-map-link:hover {
  color: #fff;
}

.footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer .social-links a i {
  color: #fff;
  font-size: 0.95rem;
}

.footer .social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding: 24px 0;
}

.footer .footer-bottom .copyright p {
  margin: 0;
  color: #7C8BA0;
  font-size: 0.85rem;
}

.footer .footer-bottom .copyright p .sitename {
  color: #fff;
}

.footer .footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .footer .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

.footer .footer-bottom-links a {
  color: #7C8BA0;
  font-size: 0.85rem;
}

.footer .footer-bottom-links a:hover {
  color: var(--gold-light);
}

.footer .footer-bottom .credits {
  text-align: right;
  font-size: 0.8rem;
  color: #5E6E85;
  margin-top: 6px;
}

@media (max-width: 991px) {
  .footer .footer-bottom .credits {
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Preloader & Scroll top
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader::after {
  content: "";
  width: 46px;
  height: 46px;
  border: 3px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  background: var(--navy-900);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 22px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--gold);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Page title (interior page banners)
--------------------------------------------------------------*/
.page-title {
  background: var(--navy-950);
  background-image:
    radial-gradient(ellipse at 85% 0%, rgba(182,137,63,0.16), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(182,137,63,0.08), transparent 45%);
  padding: 90px 0 70px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-title .eyebrow {
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.page-title h1 {
  font-size: 2.9rem;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
}

.page-title p {
  color: #A9B7CA;
  max-width: 640px;
  margin: 16px auto 0 auto;
  font-size: 1.02rem;
}

.page-title .breadcrumbs ol {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7C8BA0;
}

.page-title .breadcrumbs ol a {
  color: #A9B7CA;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: var(--gold);
}

@media (max-width: 575px) {
  .page-title h1 { font-size: 2.1rem; }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 100px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title .subtitle {
  justify-content: center;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--heading-color);
  margin: 0 0 18px 0;
}

@media (max-width: 575px) {
  .section-title h2 { font-size: 1.9rem; }
}

.section-title p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.dark-background .section-title p {
  color: #A9B7CA;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding: 220px 0 140px 0;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,20,64,0.30) 0%, rgba(18,13,40,0.78) 100%);
  pointer-events: none;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 500;
  margin: 22px 0 10px 0;
  line-height: 1.15;
}

.hero p {
  font-family: var(--nav-font);
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero { padding: 150px 0 90px 0; }
  .hero h1 { font-size: 2.3rem; }
}

/* Hero stat strip */
.hero-stats {
  position: relative;
  z-index: 3;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  margin: -64px auto 0 auto;
  max-width: 1100px;
  padding: 40px 20px;
}

.hero-stats .row > div {
  text-align: center;
  border-right: 1px solid var(--line-soft);
}

.hero-stats .row > div:last-child {
  border-right: none;
}

@media (max-width: 767px) {
  .hero-stats .row > div {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .hero-stats .row > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.hero-stats .stat-num {
  font-family: var(--heading-font);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
}

.hero-stats .stat-num span {
  color: var(--gold-dark);
}

.hero-stats .stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--nav-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-size: 2.1rem;
  margin-bottom: 22px;
  font-weight: 500;
}

@media (max-width: 575px) {
  .about .content h2 { font-size: 1.7rem; }
}

.about .content p {
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.about .cta-wrapper {
  margin-top: 12px;
}

.about .image-wrapper,
.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.image-wrapper img,
.image-wrapper .media-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: block;
}

.image-wrapper .floating-element {
  position: absolute;
  left: -20px;
  bottom: -36px;
  max-width: 320px;
  background: var(--navy-950);
  color: #fff;
  padding: 28px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--gold);
}

@media (max-width: 991px) {
  .image-wrapper .floating-element {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: -30px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

.image-wrapper .quote-content blockquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 10px 0;
  color: #fff;
  position: relative;
}

.image-wrapper .quote-content cite {
  font-family: var(--nav-font);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}


/* Mustang spirit quote card (replaces the old photo + Aristotle quote slot) */
.mustang-card {
  background: var(--navy-950);
  background-image: radial-gradient(ellipse 500px 300px at 100% 0%, rgba(241,115,10,0.18), transparent 60%);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 50px 44px;
  text-align: center;
}

.mustang-card img {
  max-width: 96px;
  margin-bottom: 26px;
}

.mustang-card blockquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #fff;
  margin: 0 0 14px 0;
}

.mustang-card cite {
  font-family: var(--nav-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

/* Round Square IDEALS grid */
.ideals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .ideals-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.ideal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: 0.3s;
}

.ideal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ideal-card .ideal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ideal-card .ideal-icon i {
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.ideal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.ideal-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

/* Round Square Kurt Hahn quote block */
.hahn-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}

.hahn-quote blockquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--navy-900);
  margin: 0 0 16px 0;
}

.hahn-quote cite {
  font-family: var(--nav-font);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
}

/* Round Square homepage teaser */
.round-square-teaser {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 50px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.round-square-teaser .rs-logo {
  flex: 0 0 auto;
}

.round-square-teaser .rs-logo img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

@media (max-width: 767px) {
  .round-square-teaser {
    flex-direction: column;
    text-align: center;
    padding: 40px 26px;
  }
}

/* Round Square page intro visual */
.rs-logo-large {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-logo-large img {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Video embeds */
.video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Full-bleed map strip, sits directly above the footer */
.map-section {
  display: block;
  line-height: 0;
}

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

@media (max-width: 767px) {
  .map-section iframe {
    height: 300px;
  }
}

/*--------------------------------------------------------------
# Media placeholder (used until real photography is supplied)
--------------------------------------------------------------*/
.media-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(182,137,63,0.10), transparent 60%),
    var(--navy-900);
  border: 1px solid rgba(182,137,63,0.35);
  position: relative;
  color: #A9B7CA;
}

.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
}

.media-frame::after {
  left: auto;
  top: auto;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--gold);
  border-left: none;
  border-top: none;
}

.media-frame i {
  font-size: 2.1rem;
  color: var(--gold-light);
}

.media-frame span {
  font-family: var(--nav-font);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 240px;
}

.media-frame.tile { min-height: 190px; }
.media-frame.tall { min-height: 420px; }
.media-frame.short { min-height: 160px; padding: 18px; }

/*--------------------------------------------------------------
# Features Tabs (Programme Stages)
--------------------------------------------------------------*/
.tabs-wrapper .tabs-header {
  margin-bottom: 50px;
}

.tabs-wrapper .nav-tabs {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tabs-wrapper .nav-tabs .nav-item {
  flex: 1 1 220px;
  max-width: 260px;
}

.tabs-wrapper .nav-tabs .nav-link {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 20px;
  cursor: pointer;
  transition: 0.3s;
}

.tabs-wrapper .nav-tabs .nav-link:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.tabs-wrapper .nav-tabs .nav-link.active:hover {
  background: var(--navy-950);
}

.tabs-wrapper .tab-content-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.tabs-wrapper .tab-number {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--line);
  transition: 0.3s;
}

.tabs-wrapper .tab-text h6 {
  margin: 0;
  font-family: var(--nav-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-900);
}

.tabs-wrapper .tab-text small {
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.tabs-wrapper .nav-link.active .tab-number,
.tabs-wrapper .nav-link:hover .tab-number {
  color: var(--gold);
}

.tabs-wrapper .nav-link.active {
  border-color: var(--gold);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.tabs-wrapper .nav-link.active .tab-text h6 {
  color: #fff;
}

.tabs-wrapper .nav-link.active .tab-text small {
  color: #A9B7CA;
}

.features .tab-content .content-area h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  font-weight: 500;
}

@media (max-width: 575px) {
  .features .tab-content .content-area h3 { font-size: 1.4rem; }
}

.features .tab-content .content-area p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.features .tab-content .content-area .feature-points {
  margin-bottom: 30px;
}

.features .tab-content .content-area .feature-points .point-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.features .tab-content .content-area .feature-points .point-item:last-child {
  border-bottom: none;
}

.features .tab-content .content-area .feature-points .point-item i {
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.features .tab-content .content-area .feature-points .point-item span {
  color: var(--ink);
  font-weight: 500;
}

.features .tab-content .visual-content img,
.features .tab-content .visual-content .media-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/*--------------------------------------------------------------
# Feature Cards
--------------------------------------------------------------*/
.features-cards {
  padding-top: 0;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 34px;
  height: 100%;
  transition: 0.35s;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-card .feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.feature-card .feature-icon i {
  font-size: 1.5rem;
  color: var(--gold-dark);
}

.feature-card h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
  font-weight: 500;
}

.feature-card > p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-card .feature-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card .feature-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}

.feature-card .feature-benefits li:first-child {
  border-top: none;
}

.feature-card .feature-benefits li i {
  color: var(--gold-dark);
  margin-top: 3px;
  font-size: 0.85rem;
}

.feature-card.highlighted {
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.feature-card.highlighted .feature-icon {
  background: var(--gold-soft);
}

.feature-card.highlighted h3 {
  color: #fff;
}

.feature-card.highlighted > p {
  color: #A9B7CA;
}

.feature-card.highlighted .feature-benefits li {
  color: #C9D3E0;
  border-top-color: rgba(255,255,255,0.08);
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq .faq-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  cursor: pointer;
}

.faq .faq-item .faq-header h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  transition: 0.3s;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--gold-dark);
}

.faq .faq-item .faq-toggle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq .faq-item .faq-toggle i {
  position: absolute;
  color: var(--navy-900);
  font-size: 1rem;
  transition: 0.3s;
}

.faq .faq-item .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item.faq-active .faq-toggle {
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.faq .faq-item.faq-active .faq-toggle i.bi-plus {
  opacity: 0;
}

.faq .faq-item.faq-active .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0);
  color: var(--gold-light);
}

.faq .faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq .faq-item.faq-active .faq-content {
  max-height: 400px;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 4px 18px 4px;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 780px;
}

/*--------------------------------------------------------------
# Interior detail pages: portfolio-details / project-overview
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 90px;
}

.visual-showcase .main-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.portfolio-details-slider img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.stage-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
}

.stage-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.stage-visual .media-frame {
  min-height: 380px;
}

.swiper-button-next, .swiper-button-prev {
  width: 46px;
  height: 46px;
  background: rgba(11, 29, 51, 0.55);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1.05rem;
  color: #fff;
}

.project-overview h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 22px;
  position: relative;
  padding-top: 26px;
}

.project-overview h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}

.project-overview .overview-text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.project-overview h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-soft);
}

.project-overview p {
  color: var(--ink-soft);
  line-height: 1.85;
}

.project-overview ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.project-overview ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.6;
}

.project-overview ul li:last-child {
  border-bottom: none;
}

.project-overview ul li::before {
  content: "\F282";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold-dark);
  font-size: 0.8rem;
}

.challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 36px;
}

@media (max-width: 767px) {
  .challenge-solution {
    grid-template-columns: 1fr;
  }
}

.challenge-block, .solution-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.solution-block {
  border-left-color: var(--navy-900);
}

/* Tables (subject groups) */
.table-responsive {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table {
  margin-bottom: 0;
}

.table thead.table-dark {
  --bs-table-bg: var(--navy-950);
}

.table thead.table-dark th {
  font-family: var(--nav-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  color: var(--gold-light);
  padding: 16px 20px;
}

.table td {
  padding: 16px 20px;
  vertical-align: middle;
  color: var(--ink-soft);
  border-color: var(--line-soft);
}

.table td strong {
  color: var(--navy-900);
}

/* About page mission/vision tabs */
.custom-tabs {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 -1px 0;
  flex-wrap: wrap;
}

.custom-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: none;
  padding: 14px 30px;
  font-family: var(--nav-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: var(--radius) var(--radius) 0 0;
  transition: 0.3s;
}

.custom-tab.active {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

.custom-tab-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.custom-tab-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0;
}

/*--------------------------------------------------------------
# Facilities gallery grid
--------------------------------------------------------------*/
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 56px 0;
}

@media (max-width: 767px) {
  .facility-gallery { grid-template-columns: repeat(2, 1fr); }
}

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

.facility-gallery .media-frame {
  border-radius: var(--radius);
}

/*--------------------------------------------------------------
# CTA banner
--------------------------------------------------------------*/
.cta-banner {
  background: var(--navy-950);
  background-image: radial-gradient(ellipse 700px 400px at 90% 0%, rgba(182,137,63,0.20), transparent 60%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #A9B7CA;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-form-container {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px;
  height: 100%;
}

.contact .contact-form-container .form-intro h2 {
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.contact .contact-form-container .form-intro p {
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.contact .contact-form-container .contact-form .row {
  margin-bottom: 6px;
}

.contact .contact-form-container .contact-form .form-field {
  position: relative;
  margin-bottom: 24px;
}

.contact .contact-form-container .contact-form .form-field .field-label {
  position: absolute;
  top: -9px;
  left: 14px;
  background: var(--paper);
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.contact .contact-form-container .contact-form .form-field .form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  font-family: var(--default-font);
  color: var(--ink);
  background: var(--paper);
  transition: 0.3s;
}

.contact .contact-form-container .contact-form .form-field .form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.contact .contact-form-container .contact-form .form-field .message-input {
  resize: vertical;
  min-height: 130px;
}

.contact .contact-form-container .contact-form .send-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-950);
  color: #fff;
  padding: 17px 38px;
  border: none;
  border-radius: var(--radius-sm);
  transition: 0.3s;
}

.contact .contact-form-container .contact-form .send-button:hover {
  background: var(--gold);
  color: var(--navy-950);
}

.contact .contact-form-container .contact-form .send-button .button-arrow {
  transition: transform 0.3s;
}

.contact .contact-form-container .contact-form .send-button:hover .button-arrow {
  transform: translateX(4px);
}

.contact .contact-sidebar {
  background: var(--navy-950);
  color: #C9D3E0;
  border-radius: var(--radius-lg);
  padding: 50px 44px;
  height: 100%;
}

.contact .contact-sidebar .contact-header h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact .contact-sidebar .contact-header p {
  color: #97A6BC;
  margin-bottom: 34px;
}

.contact .contact-sidebar .contact-method {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact .contact-sidebar .contact-method:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact .contact-sidebar .contact-method .contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-sidebar .contact-method .contact-icon i {
  color: var(--gold-light);
}

.contact .contact-sidebar .contact-method .contact-details .method-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact .contact-sidebar .contact-method .contact-details h5 {
  color: #fff;
  font-size: 0.98rem;
  margin: 4px 0;
}

.contact .contact-sidebar .contact-method .contact-details p {
  margin: 0;
  color: #97A6BC;
  line-height: 1.7;
}

.contact .contact-sidebar .contact-method .contact-details hr {
  border-color: rgba(255,255,255,0.1);
  margin: 12px 0;
}

.contact .contact-sidebar .connect-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact .contact-sidebar .connect-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.contact .contact-sidebar .social-links {
  display: flex;
  gap: 10px;
}

.contact .contact-sidebar .social-links .social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.contact .contact-sidebar .social-links .social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 991px) {
  .contact .contact-form-container,
  .contact .contact-sidebar {
    padding: 34px 26px;
  }
}

/*--------------------------------------------------------------
# Generic Forms (Career / Admission)
--------------------------------------------------------------*/
.career-section, .admission-section {
  padding: 90px 0;
}

.career-card, .admission-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 60px;
}

@media (max-width: 767px) {
  .career-card, .admission-card {
    padding: 30px 22px;
  }
}

.career-title, .form-title {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
}

.career-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.form-section .section-title,
.career-wrapper h3.section-title {
  text-align: left;
  max-width: none;
  margin: 0 0 26px 0;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold-soft);
}

.form-label {
  font-family: var(--nav-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 8px;
  display: inline-block;
}

.required {
  color: #B23A3A;
}

.form-control, select.form-control {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--default-font);
  color: var(--ink);
  background: var(--paper);
  transition: 0.3s;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.textarea-control {
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 24px;
  padding-top: 10px;
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.submit-btn, .career-btn {
  background: var(--navy-950);
  color: #fff;
  border: none;
  padding: 17px 46px;
  border-radius: var(--radius-sm);
  transition: 0.3s;
}

.submit-btn:hover, .career-btn:hover {
  background: var(--gold);
  color: var(--navy-950);
}

/*--------------------------------------------------------------
# Legal pages (privacy / terms)
--------------------------------------------------------------*/
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 0 100px 0;
}

.legal-page .updated {
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.legal-page h4 {
  font-size: 1.28rem;
  font-weight: 600;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.legal-page h4:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-page h5 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 10px;
  color: var(--navy-800);
}

.legal-page p, .legal-page li {
  color: var(--ink-soft);
  line-height: 1.9;
}

.legal-page ul {
  padding-left: 20px;
}

/*--------------------------------------------------------------
# Server-side Flash Messages
--------------------------------------------------------------*/
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.form-alert i {
  font-size: 1.15rem;
  margin-top: 1px;
}

.form-alert.success {
  background: rgba(46, 125, 83, 0.10);
  border: 1px solid rgba(46, 125, 83, 0.35);
  color: #2E7D53;
}

.form-alert.error {
  background: rgba(178, 58, 58, 0.08);
  border: 1px solid rgba(178, 58, 58, 0.35);
  color: #B23A3A;
}

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #B23A3A;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #2E7D53;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# AOS overrides
--------------------------------------------------------------*/
[data-aos] {
  pointer-events: auto;
}
