﻿@media (min-width: 992px) {
  .director-card-flex {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .director-card-flex {
    border-radius: 1rem !important;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .director-card-flex {
    flex-direction: column !important;
  }

  .director-card-flex>div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .director-card-flex img {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 180px;
    height: auto;
  }
}

@media (max-width: 992px) {
  .nav.navbar {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
}

/* Brand logos: ensure full color, responsive sizing, and a subtle hover lightening + scale */
.brand-img {
  filter: none !important;
  opacity: 1;
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.carousel-item .brand-img,
.img-fluid.brand-img {
  filter: none !important;
}

/* Hover / focus effect: slightly brighten, saturate and scale up */
.brand-img:hover,
.brand-img:focus,
.carousel-item:hover .brand-img {
  filter: brightness(1.12) saturate(1.08);
  transform: scale(1.06);
  outline: none;
}

/* keyboard focus visible */
.brand-img:focus {
  box-shadow: 0 0 0 4px rgba(255, 136, 0, 0.18);
  border-radius: 4px;
}

/* About section layout: text left, image center-right on wide screens, stacked on small screens */
.about-container {
  display: flex;
  gap: 28px;
  align-items: center;
  /* vertical center alignment */
  max-width: 1200px;
  margin: 28px auto;
  padding: 12px;
}

.about-text {
  flex: 1 1 62%;
}

.about-text h2 {
  margin-top: 0;
}


@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    padding: 10px;
  }

  .about-text {
    width: 100%;
  }
}

/* About section typographic and spacing tweaks */
.about-container {
  padding-left: 20px;
  padding-right: 20px;
}

.about-text {
  line-height: 1.75;
  font-size: 1rem;
  color: #1f2937;
}

.about-text .intro {
  font-style: normal;
  color: #374151;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.about-text p {
  margin-bottom: 12px;
  max-width: 70ch;
}

@media (min-width: 1200px) {
  .about-container {
    gap: 40px;
  }

  .about-text p {
    font-size: 1.05rem;
  }
}

@media (max-width: 900px) {
  .about-text {
    padding: 6px 4px;
    font-size: 0.98rem;
  }

  .about-text p {
    max-width: 100%;
  }

}

/* Utility: float image to the right without text wrapping */
.float-right-image {
  float: right;
  margin-left: 28px;
  /* breathing room between text and image */
  shape-outside: inset(0);
  /* ensure no text wraps into irregular shapes */
  width: 36%;
  max-width: 420px;
  min-width: 240px;
}

.float-right-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .float-right-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px 0;
  }
}

/* Justify paragraphs in the about section for cleaner edges on wide screens */
.about-text p {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* Ensure floated images clear within the about container */
.about-container::after {
  content: "";
  display: table;
  clear: both;
}


.navbar.shadow {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Set a custom width for the navbar links container */
.nav.navbar-nav {
  width: 80%;
  min-width: 320px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

@media (max-width: 1200px) {
  .nav.navbar-nav {
    width: 95%;
    max-width: 100vw;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .nav.navbar-nav {
    width: 100%;
    font-size: 0.9rem;
    flex-wrap: wrap;
  }
}

/*
Custom Css
*/

/* Brand color for H2 headings in main content areas */

h2,
.content h2,
.about-section h2,
.ielts-intro h2,
.ielts-versions h2,
.ielts-format h2,
.ielts-scoring h2,
.ielts-validity h2 {
  color: #f3b56b;
}

/* Ensure H3 and H4 use black for readability */
h3,
.content h3,
.about-section h3,
.ielts-intro h3,
.ielts-versions h3,
.ielts-format h3,
.ielts-scoring h3,
.ielts-validity h3,
.ielts-additional h3,
.ielts-prep h3 {
  color: #1f5487;
}

h4,
.content h4,
.about-section h4,
.ielts-intro h4,
.ielts-versions h4,
.ielts-format h4,
.ielts-scoring h4,
.ielts-validity h4 {
  color: #1f5487;
}

/* Events Section Styles */
.events-modern {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-modern {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid #e5e7eb;
}

.event-modern:first-child {
  border-top: 0;
}

.date-modern {
  width: 84px;
  height: 84px;
  border: 1px solid #f3b56b;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
  box-shadow: 0 1px 0 #f3f4f6 inset;
}

.date-modern .day {
  font-size: 30px;
  font-weight: 800;
  color: #f3b56b;
}

.date-modern .mon {
  font-size: 13px;
  letter-spacing: .08em;
  color: #6b7280;
  font-weight: 700;
}

.content-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.title-modern {
  font-size: 24px;
  font-weight: 900;
  color: #222;
}

.meta-modern {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #6b7280;
  font-weight: 500;
}

.meta-item-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-modern {
  width: 18px;
  height: 18px;
  display: inline-block;
}

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

  .date-modern {
    width: 60px;
    height: 60px;
  }

  .date-modern .day {
    font-size: 22px;
  }

  .date-modern .mon {
    font-size: 11px;
  }

  .title-modern {
    font-size: 20px;
  }
}

/* ======================
   High-Quality Learning Section
   ====================== */
.hayl-learning {
  --hero-img: url("../img/banner_img_01.jpg");
  /* main hero background image */
  --overlay: rgba(0, 0, 0, 0.55);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);
  --stats-bg: #f3f4f6;
  --icon: #f59e0b;
  /* amber */
  --number: #111827;
  --label: #6b7280;
}

/* HERO */
.hayl-hero {
  width: 100%;
  background: linear-gradient(0deg, var(--overlay), var(--overlay)),
    var(--hero-img) center/cover no-repeat;
  color: var(--text);
}

.hayl-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 14vw, 120px) 20px;
}

.hayl-hero__title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 10px;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hayl-hero__sub {
  max-width: 78ch;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* STATS STRIP */
.hayl-stats {
  background: var(--stats-bg);
  width: 100%;
}

.hayl-stats__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 52px) 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

@media (max-width: 600px) {
  .hayl-stats__wrap {
    grid-template-columns: 1fr 8px 1fr;
    gap: 0;
  }

  .hayl-stat {
    margin-bottom: 0;
    border-bottom: none;
  }

  .hayl-divider {
    display: block;
    width: 8px;
    min-width: 8px;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    margin: 0 0;
    grid-row: span 2;
    grid-column: 2;
  }

  .hayl-stats__wrap>.hayl-stat:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .hayl-stats__wrap>.hayl-divider:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hayl-stats__wrap>.hayl-stat:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .hayl-stats__wrap>.hayl-stat:nth-child(5) {
    grid-column: 1;
    grid-row: 2;
  }

  .hayl-stats__wrap>.hayl-divider:nth-child(6) {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .hayl-stats__wrap>.hayl-stat:nth-child(7) {
    grid-column: 3;
    grid-row: 2;
  }
}

.hayl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hayl-stat__icon img {
  width: 100px;
  height: 85px;
  filter: brightness(0) saturate(100%) invert(68%) sepia(91%) saturate(1490%) hue-rotate(359deg) brightness(97%) contrast(103%);
}

.hayl-stat__number {
  font-weight: bold;
  font-size: clamp(40px, 4vw, 40px) !important;
  color: var(--number);
}

.hayl-stat__label {
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--label);
}

/* Divider */
.hayl-divider {
  display: none;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
}

/* Desktop layout */
@media (min-width: 900px) {
  .hayl-stats__wrap {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
  }

  .hayl-divider {
    display: block;
  }
}

/* primary, high school cards*/
.hayl-modern-card {
  transition: transform 0.3s cubic-bezier(.4, 2, .6, 1), box-shadow 0.3s;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
}

.hayl-modern-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(255, 140, 0, 0.15);
}

.hayl-card-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.hayl-modern-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hayl-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #ff9800 0%, #ffb347 100%);
  color: #fff;
  padding: 14px 0 10px 0;
  text-align: center;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  width: 100%;
  z-index: 2;
  animation: fadeInUp 0.7s;
}

.hayl-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  .hayl-card-img-wrap {
    height: 180px;
  }

  .hayl-card-title {
    font-size: 1.1rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Hayl Academic stages */

:root {
  --hayl-bg: #ffffff;
  --hayl-text: #111827;
  --hayl-muted: #6b7280;
  --hayl-card: #ffffff;
  --hayl-border: #e5e7eb;
  --hayl-brand: #f3b56b;
  --hayl-brand-strong: #e69847;
  --hayl-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.hayl_academic {
  background: var(--hayl-bg);
  padding: clamp(2rem, 4vw, 4rem) 1rem;
  color: var(--hayl-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

.hayl_academic__container {
  max-width: 1300px;
  margin: 0 auto;
}

.hayl_academic__header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hayl_academic__title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin: 0 0 .5rem;
  font-weight: 800;
}

.hayl_academic__subtitle {
  margin: 0;
  color: var(--hayl-muted);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

/* Grid */
.hayl_academic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 680px) {
  .hayl_academic__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hayl_academic__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.hayl_academic__card {
  display: flex;
  flex-direction: column;
  background: var(--hayl-card);
  border: 1px solid var(--hayl-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hayl-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hayl_academic__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

/* Bigger image */
.hayl_academic__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  /* bigger ratio than 16:9 */
  overflow: hidden;
  background: #f3f4f6;
  margin: 0;
}

.hayl_academic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.hayl_academic__content {
  padding: 1.3rem 1.2rem 1.5rem;
}

.hayl_academic__stage {
  margin: .25rem 0 .35rem;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: #1f2937;
}

.hayl_academic__years {
  margin: 0 0 1rem;
  color: var(--hayl-muted);
  font-weight: 500;
}

/* Button */
.hayl_academic__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  border-radius: 7px;
  background: var(--hayl-brand);
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--hayl-shadow);
  transition: background .15s ease, transform .15s ease;
}

.hayl_academic__btn:hover {
  background: var(--hayl-brand-strong);
  transform: translateY(-2px);
}

.hayl_academic__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(243, 181, 107, .25);
}

.hayl_academic__icon {
  flex: 0 0 auto;
}

/* Ratio section */
:root {
  --whychoose-text: #0f172a;
  --whychoose-muted: #6b7280;
  --whychoose-brand: #f3b56b;
  --whychoose-bg: #ffffff;
  --whychoose-overlay: rgba(15, 23, 42, .45);
  --whychoose-divider: rgba(255, 255, 255, .35);
  --whychoose-shadow: 0 18px 50px rgba(2, 8, 23, .25);
  --whychoose-maxw: 1200px;
  --whychoose-hero: url("../img/banner_img_02.jpg");
}

/* Section header */
.whychoose_hayl {
  background: var(--whychoose-bg);
  color: var(--whychoose-text);
}

.whychoose_hayl__container {
  max-width: var(--whychoose-maxw);
  margin: 0 auto;
  padding: 2.2rem 1rem 1rem;
}

.whychoose_hayl__header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.whychoose_hayl__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 .3rem;
  font-weight: 900;
  line-height: 1.15;
}

.whychoose_hayl__subtitle {
  margin: 0 auto;
  color: var(--whychoose-muted);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 100ch;
}

/* Metrics banner */
.whychoose_hayl__metrics {
  position: relative;
  margin-top: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .0), rgba(0, 0, 0, .0)), var(--whychoose-hero);
  background-size: cover;
  background-position: center;
  box-shadow: var(--whychoose-shadow);
}

.whychoose_hayl__overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, .15), rgba(15, 23, 42, .55));
}

.whychoose_hayl__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  color: #fff;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 1rem;
}

/* Desktop layout */
@media (min-width: 768px) {
  .whychoose_hayl__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .whychoose_hayl__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .whychoose_hayl__item {
    position: relative;
  }

  .whychoose_hayl__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    right: 0;
    width: 1px;
    background: var(--whychoose-divider);
  }
}

/* Metric item */
.whychoose_hayl__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: clamp(1rem, 2.5vw, 1.25rem) .75rem;
}

.whychoose_hayl__item img {
  width: 100px;
  height: 85px;
}

.whychoose_hayl__icon {
  color: var(--whychoose-brand);
  filter: drop-shadow(0 8px 22px rgba(243, 181, 107, .3));
}

.whychoose_hayl__figure {

  font-weight: bolder !important;
  font-size: clamp(3.0rem, 9vw, 4.0rem) !important;
  color: var(--whychoose-brand);
  letter-spacing: .5px;
  line-height: 1.1;
}

.whychoose_hayl__caption {
  margin: 0;
  font-size: clamp(.95rem, 1.9vw, 1.05rem);
  line-height: 1.45;
  max-width: 28ch;
}



/* Top Bar Style */
.top-bar {
  background-color: #002147;
  color: white;
  padding: 8px 0;
  flex-wrap: wrap;
}

.top-bar .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.top-bar .socials a {
  color: white;
  margin-left: 10px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-bar .container span {
    display: none;
  }

  .top-bar .container .socials {
    width: 100%;
    justify-content: flex-start;
    display: flex;
  }

  .top-bar .container .socials .mobile-phone {
    display: inline-flex;
  }
}

.top-bar .container .socials .mobile-phone {
  display: none;
}

@media (max-width: 768px) {
  .top-bar .container .socials .mobile-phone {
    display: inline-flex;
  }
}


/* Student Comments section*/
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --accent: #f3b56b;
  --card-w: 320px;
}

* {
  box-sizing: border-box
}

body {
  font-family: Inter, ui-sans-serif, system-ui,
    -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.hayl_student_comment {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 16px;
  text-align: center;
}

.hayl_student_comment h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 26px;
  font-weight: 700
}


.hayl_student_comment .carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hayl_student_comment .track {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  transition: transform 0.8s ease-in-out;
}


.hayl_student_comment .card {
  width: var(--card-w);
  min-width: var(--card-w);
  background: transparent;
  text-align: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.hayl_student_comment .photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08)
}

.hayl_student_comment .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}


.hayl_student_comment .name {
  font-weight: 700;
  margin-bottom: 6px
}

.hayl_student_comment .year {
  color: var(--muted);
  margin-bottom: 14px
}

.hayl_student_comment .text {
  color: #6b7280;
  line-height: 1.7;
  font-size: 15px;
  max-width: 300px;
  margin: 0 auto;
}


.hayl_student_comment .dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px
}

.hayl_student_comment .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background .3s
}

.hayl_student_comment .dot.active {
  background: var(--accent)
}


.hayl_student_comment .carousel-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
}


/* Responsive adjustments */
@media (max-width:1000px) {
  :root {
    --card-w: 280px
  }
}

@media (max-width:720px) {
  :root {
    --card-w: 100%
  }

  .hayl_student_comment .track {
    gap: 0
  }

  .hayl_student_comment .card {
    min-width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .hayl_student_comment .photo {
    width: 120px;
    height: 120px
  }

  .hayl_student_comment .text {
    font-size: 14px
  }
}

@media (max-width:420px) {
  :root {
    --card-w: 100%
  }

  .hayl_student_comment .track {
    gap: 0
  }
}

/* our school section */

.container_3 {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  font-family: 'Arial', sans-serif;


}

.sidebar {
  width: 25%;
}

/* Modern quick links box */
.modern-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.modern-box:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.modern-box h3 {
  border-bottom: 2px solid #f3b56b;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.modern-box ul {
  list-style: none;
}

.modern-box ul li {
  margin-bottom: 0.6rem;
}

.modern-box a {
  text-decoration: none;
  color: #0056a3;
  transition: color 0.3s;
}

.modern-box a:hover {
  color: #f3b56b;
}

/* Early Years box */
.early-years-box {
  background: #fff9e6;
  border: 1px solid #f3b56b;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}



.early-years-box p {
  margin-top: 1rem;
}

.early-years-box ul {
  margin-top: 0.5rem;
  list-style: disc;
  padding-left: 1.5rem;
}

.btn {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}

.apply {
  background: #f3b56b;
  color: #fff;
}

.adm {
  background: #f3b56b;
  color: #fff;
}

.talk {
  background: #fff;
  border: 2px solid #f3b56b;
  color: #f3b56b;
}

.note {
  font-size: 0.1rem;
  color: gray;
  margin-top: 0.5rem;
}

.content {
  width: 75%;
}

h1 {
  color: #444;
}

h1 span {
  color: #f3b56b;
}

/* Text wrapping image */
.wrap-img {
  float: right;
  /* slightly reduced width so image takes less horizontal space on desktop */
  /* reduce further per request */
  width: 40%;
  max-width: 500px;
  min-width: 240px;
  margin: 0 0 2rem 2.5rem;
  border-radius: 8px;
}

/* Ensure the floated image crops to a consistent visual height on desktop like the attachment */
.wrap-img img {
  display: block;
  width: 100%;
  height: 400px;
  /* desktop crop height */
  object-fit: cover;
  /* crop while preserving focal area */
  border-radius: 10px;
  border: solid 3px #f3b56b;
}

/* Highlights section */
.highlights h2 {
  color: #f3b56b;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.number {
  background: #f3b56b;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.details h3 {
  color: #444;
  margin-bottom: 0.5rem;
}

.details ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .container_3 {
    flex-direction: column;
  }

  .sidebar,
  .content {
    width: 100%;
  }

  .wrap-img {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }

  /* On small screens the image should be natural height (no cropping) */
  .wrap-img img {
    height: auto;
    object-fit: contain;
  }
}

/* --- Styles moved from early_years.html (page-scoped) --- */

/* Small header adjustments originally inline in the page */
.navbar.navbar-light {
  min-height: 90px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.navbar .navbar-brand img {
  max-height: 150px;
}

/* Page-scoped hero banner styles and typography variables for early_years.html */
/* Page-scoped typography variables: change here to update font across this page */
:root {
  --page-font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --page-base-font-size: 16px;
  /* change to 15px/14px if you want smaller text */
  --page-line-height: 1.6;
  --page-heading-weight: 700;
}

/* Make the main header sticky with a white background and subtle shadow */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  /* above most content but below modals */
  background: #fff !important;
  /* force white background regardless of other rules */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* When nav collapses to mobile, keep sticky behavior and white bg */
@media (max-width: 991px) {
  .navbar {
    position: sticky;
    top: 0;
  }
}

/* Apply uniform font family and base size across the page (scoped) */
html,
body {
  font-family: var(--page-font-family) !important;
  font-size: var(--page-base-font-size) !important;
  line-height: var(--page-line-height) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings scaled from the base font-size */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--page-font-family) !important;
  font-weight: var(--page-heading-weight) !important;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: calc(var(--page-base-font-size) * 2);
}

h2 {
  font-size: calc(var(--page-base-font-size) * 1.5);
}

h3 {
  font-size: calc(var(--page-base-font-size) * 1.25);
}

p,
li,
a,
span,
label,
input,
button {
  font-size: var(--page-base-font-size) !important;
}

.btn {
  font-size: var(--page-base-font-size) !important;
}

/* Small text scaling (e.g., footer) */
small,
.small {
  font-size: calc(var(--page-base-font-size) * 0.85) !important;
}

/* Ensure utility classes that set font-family are overridden on this page */
.navbar,
.top-bar,
.footer,
footer {
  font-family: var(--page-font-family) !important;
}

/* Hero/abstract styles */
.ey-hero-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(90deg, #f6fbff 0%, #e6f2ff 100%);
  box-shadow: 0 6px 18px rgba(13, 38, 76, 0.06);
  padding: 28px 0;
  /* vertical padding; horizontal controlled by inner container */
}

.ey-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  text-align: center;
}

.ey-hero h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  color: #0b3d91;
  font-weight: 700;
  font-family: var(--page-font-family);
}

.ey-hero p.lead {
  margin-top: 8px;
  color: #204a87;
  font-size: 16px;
  opacity: 0.95;
}

@media (max-width: 576px) {
  .ey-hero h1 {
    font-size: 22px;
  }

  .ey-hero p.lead {
    font-size: 14px;
  }
}

/* Abstract animated background (scoped to this page) */
.ey-bg-svg {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.ey-hero-wrap {
  position: relative;
}

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

.ey-bg-shape {
  filter: blur(18px) saturate(120%);
  transform-origin: center;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* subtle floating animation */
@keyframes floatX {
  0% {
    transform: translateX(-10px) translateY(0) scale(1);
  }

  50% {
    transform: translateX(10px) translateY(-6px) scale(1.02);
  }

  100% {
    transform: translateX(-10px) translateY(0) scale(1);
  }
}

@keyframes floatY {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.03);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.ey-bg-shape.s1 {
  animation: floatX 8s ease-in-out infinite;
}

.ey-bg-shape.s2 {
  animation: floatY 10s ease-in-out infinite;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ey-bg-shape {
    animation: none !important;
  }
}

/* End moved styles */

/* Intro heading color for Early Years and related pages */
.intro h1,
.intro h1 span {
  color: #f3b56b !important;
}

/* Testimonial ) */

testimonoal_section {
  --bg: #0f172a;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #f3b56b;
  --shadow: 0 10px 30px rgba(2, 6, 23, .12);
  --radius: 16px;
  --gap: 20px;
  --max-width: 1100px;
  --card-padding: 22px;
  --card-min-height: 250px;
  --dot-size: 12px;
}

testimonoal_section {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #ffffff;
  /* changed to white background */
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  background: transparent;
}

/* Scoped to test page to avoid collisions */
.test-carousel .carousel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.01));
  box-shadow: var(--shadow);
}

/* center the section heading and add breathing space below */
.test-carousel .carousel h2 {
  text-align: center;
  padding-bottom: 20px;
  margin: 0 0 6px 0;
}

.test-carousel .viewport {
  overflow: hidden;
}

.test-carousel .track {
  display: flex;
  gap: var(--gap);
  transition: transform .62s cubic-bezier(.22, .97, .33, 1);
  align-items: stretch;
}

.test-carousel .card {
  background: var(--card);
  color: #0f172a;
  border-radius: var(--radius);
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
  min-width: 0;
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(2, 6, 23, .06);
  min-height: var(--card-min-height);
}

.test-carousel .card .top {
  display: flex;
  gap: 14px;
  align-items: center
}

.test-carousel .avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  flex: 0 0 56px;
  overflow: hidden;
  display: inline-block
}

.test-carousel .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.test-carousel .meta {
  flex: 1
}

.test-carousel .name {
  font-weight: 700;
  margin-bottom: 3px
}

.test-carousel .role {
  font-size: 13px;
  color: var(--muted)
}

.test-carousel .quote {
  margin: 18px 0 0;
  line-height: 1.5;
  color: #0f172a;
  flex: 1
}

.test-carousel .rating {
  margin-top: 14px;
  display: flex;
  gap: 6px;
  align-items: center
}

.test-carousel .star {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  color: var(--accent);
}

.test-carousel .star i {
  font-size: 14px;
  color: var(--accent);
}

.test-carousel .dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 8px
}

.test-carousel .dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .22s, background .22s;
  border: 2px solid rgba(15, 23, 42, 0.06);
}

.test-carousel .dot[aria-current="true"] {
  background: linear-gradient(90deg, var(--accent), #f3b56b);
  transform: scale(1.08);
  border-color: rgba(0, 0, 0, .06);
}

.test-carousel .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* Responsive: desktop 3, medium 2, mobile 1 (scoped to .test-carousel) */
@media (max-width:980px) {
  .test-carousel .card {
    flex: 0 0 calc((100% - (1 * var(--gap))) / 2);
  }
}

@media (max-width:640px) {
  .test-carousel .card {
    flex: 0 0 100%;
  }

  .test-carousel .carousel {
    padding: 18px
  }
}

.test-carousel .track,
.test-carousel .dot {
  user-select: none
}

/* ensure dots centered at bottom when placed outside the carousel block */
#test-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px
}

/* School History  */
.about-page {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  color: #1e293b;
  font-family: "Poppins", sans-serif;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* Abstract morphic shapes */
.about-page::before,
.about-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.about-page::before {
  width: 300px;
  height: 300px;
  background: #f3b56b;
  top: -60px;
  left: -80px;
}

.about-page::after {
  width: 250px;
  height: 250px;
  background: #f3b56b;
  bottom: -60px;
  right: -80px;
}

/* Layout wrapper */
.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

h2,
h3,
h4 {
  color: #1e293b;
  font-weight: 600;
}

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
}

.intro h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #f3b56b;
  display: block;
  margin-top: 8px;
  border-radius: 3px;
}

.intro p {
  font-size: 1.05rem;
  text-align: justify;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 60px;
}

/* History */
.history-section {
  margin-bottom: 70px;
}

.history-section h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #f3b56b;
}

.history-section p {
  text-align: justify;
  color: #475569;
  line-height: 1.9;
}

/* Mission & Vision */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.mission,
.vision {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #f3b56b;
}

.mission:hover,
.vision:hover {
  transform: translateY(-5px);
  transition: all 0.4s ease;
}

.mission h3,
.vision h3 {
  color: #f3b56b;
  margin-bottom: 10px;
}

.mission p,
.vision p {
  text-align: justify;
  color: #475569;
  line-height: 1.8;
}

/* Core Values */
.core-values {
  margin-bottom: 80px;
}

.core-values h3 {
  font-size: 1.8rem;
  color: #f3b56b;
  margin-bottom: 40px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.value {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.value:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 35px rgba(243, 181, 107, 0.25);
}

.value h4 {
  color: #f3b56b;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value p {
  color: #475569;
  text-align: justify;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Impact */
.impact h3 {
  color: #f3b56b;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.impact p {
  text-align: justify;
  color: #475569;
  line-height: 1.9;
}

/* Responsive */
@media (max-width: 768px) {
  .intro h2 {
    font-size: 2rem;
  }

  .mission-vision {
    gap: 20px;
  }
}

/* --- TERM SECTION BASE STYLES --- */
/* --- INTRO NOTE --- */
.intro-note {
  max-width: 1100px;
  margin: 40px auto 20px auto;
  background: #fff8e6;
  border-left: 6px solid #f3b56b;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-note h2 {
  color: #f3b56b;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.intro-note p {
  color: #444;
}

.term-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

.term-section {
  background-color: #f4f6f9;
  color: #222;
  line-height: 1.6;
}

a {
  color: #f3b56b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- MAIN CONTAINER --- */
.term-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 1100px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- LEFT CONTENT --- */
.term-content {
  flex: 1 1 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header h1 {
  font-size: 2.2rem;
  color: #f3b56b;
}

.subtitle {
  color: #555;
  margin-bottom: 25px;
}

/* --- TERM BOXES --- */
.term-box {
  margin-bottom: 25px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.term-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.term-box h2 {
  background-color: #f3b56b;
  color: #fff;
  padding: 12px 16px;
  font-size: 1.1rem;
  margin: 0;
  /* remove default top/bottom margin so header sits flush */
  display: block;
}

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

.term-box th,
.term-box td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.term-box th {
  width: 40%;
  color: #333;
  font-weight: 600;
}

.term-box td {
  color: #555;
}

.term-box tr:last-child th,
.term-box tr:last-child td {
  border-bottom: none;
}

/* --- NOTE --- */
.note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #777;
}

/* --- RIGHT IMAGE SECTION --- */
.term-image {
  flex: 1 1 500px;
  display: flex;
}

.term-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- EXTRA SECTIONS --- */
section.info-section {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

section.info-section h2 {
  color: #f3b56b;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

section.info-section p {
  color: #444;
  margin-bottom: 15px;
}

section.info-section ul {
  list-style: disc;
  margin-left: 20px;
  color: #555;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .term-container {
    flex-direction: column;
  }

  .term-image {
    height: 300px;
    order: -1;
  }

  .term-content {
    padding: 20px;
  }

  section.info-section {
    padding: 25px;
  }
}

/* Extra small-screen margins for term pages */
@media (max-width: 900px) {
  .intro-note {
    margin: 40px 12px 30px 12px;
    padding: 12px 14px;
  }

  .term-container {
    margin: 20px 10px 22px 10px;
    /* top/right/bottom/left */
    padding: 0;
    /* avoid double-padding with inner content */
  }

  .term-content {
    margin: 0 6px;
    padding: 16px;
  }
}

/* Make intro-note more compact on very small screens */
@media (max-width: 480px) {
  .intro-note {
    padding: 15px 10px;
    margin: 25px 10px;
    border-left-width: 4px;
    border-radius: 6px;
    max-height: 150px;
    /* prevent excessive height */
    overflow: hidden;
  }

  .intro-note h2 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .intro-note p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }
}

/* -------------------------------------------------------------------------
   Term dates redesign (term_dates.html)
   Scoped to body.term-page so other pages keep their current layout.
-------------------------------------------------------------------------- */
body.term-page {
  --term-ink: #173b63;
  --term-muted: #64768f;
  --term-accent: #f3b56b;
  --term-accent-strong: #e69847;
  --term-line: rgba(23, 59, 99, 0.1);
  --term-surface: rgba(255, 255, 255, 0.9);
  --term-surface-soft: rgba(248, 244, 236, 0.92);
  --term-shadow: 0 28px 60px rgba(16, 43, 74, 0.09);
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.14), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(23, 59, 99, 0.1), transparent 24%),
    linear-gradient(180deg, #f9f5ef 0%, #fbfaf6 46%, #f4ede3 100%);
  color: var(--term-ink);
}

.term-page-main {
  font-family: "Manrope", sans-serif;
  overflow: hidden;
  padding-bottom: 72px;
}

.term-page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.term-page-hero {
  position: relative;
  padding: 68px 0 34px;
}

.term-page-hero::before,
.term-page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.term-page-hero::before {
  top: -120px;
  right: -110px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 59, 99, 0.14), rgba(23, 59, 99, 0));
}

.term-page-hero::after {
  left: -70px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.18), rgba(243, 181, 107, 0));
}

.term-page-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.96), rgba(35, 90, 144, 0.92)),
    #173b63;
  box-shadow: 0 30px 70px rgba(16, 43, 74, 0.18);
}

.term-page-hero-panel::before,
.term-page-hero-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.term-page-hero-panel::before {
  top: -90px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.term-page-hero-panel::after {
  left: -80px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.2), rgba(243, 181, 107, 0));
}

.term-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 32px;
  align-items: center;
}

.term-page-eyebrow,
.term-page-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(23, 59, 99, 0.08);
  color: var(--term-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-page-hero-copy .term-page-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.term-page-hero-copy h1,
.term-page-section-head h2,
.term-page-term-head h3 {
  font-family: "Cormorant Garamond", serif;
}

.term-page-hero-copy h1 {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.term-page-hero-copy p,
.term-page-section-head p,
.term-page-highlight-card p,
.term-page-guidance-card p {
  margin: 0;
  color: var(--term-muted);
  line-height: 1.82;
}

.term-page-hero-copy p {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
}

.term-page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.term-page-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 24px rgba(8, 20, 19, 0.14);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.term-page-pills i {
  color: var(--term-accent);
}

.term-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.term-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.term-page-btn:hover,
.term-page-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.term-page-btn--primary {
  background: linear-gradient(135deg, var(--term-accent), #f8d1a5);
  color: #112e4c;
  box-shadow: 0 16px 28px rgba(243, 181, 107, 0.22);
}

.term-page-btn--primary:hover,
.term-page-btn--primary:focus {
  color: #112e4c;
  background: linear-gradient(135deg, var(--term-accent-strong), #efbf8a);
}

.term-page-btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.term-page-btn--secondary:hover,
.term-page-btn--secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.term-page-hero-aside {
  display: grid;
  gap: 18px;
}

.term-page-photo-card,
.term-page-highlight-card,
.term-page-term-card,
.term-page-guidance-card {
  border: 1px solid var(--term-line);
  border-radius: 26px;
  box-shadow: var(--term-shadow);
}

.term-page-photo-card {
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #edf2f8;
  order: 2;
}

.term-page-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.term-page-highlight-card {
  padding: 24px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--term-ink);
  order: 1;
}

.term-page-highlight-card .term-page-card-kicker {
  margin-bottom: 14px;
  background: rgba(23, 59, 99, 0.08);
  color: var(--term-ink);
}

.term-page-highlight-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--term-ink);
  font-size: 1.35rem;
  line-height: 1.18;
}

.term-page-highlight-title {
  margin: 0 0 14px;
  color: var(--term-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.term-page-highlight-copy {
  display: grid;
  gap: 12px;
}

.term-page-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.term-page-stat-item {
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: rgba(23, 59, 99, 0.05);
}

.term-page-stat-item span {
  display: block;
  color: var(--term-accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-page-stat-item strong {
  margin: 8px 0 0;
  color: #fff;
  color: var(--term-ink);
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.term-page-highlight-card p {
  color: var(--term-muted);
}

.term-page-timeline {
  position: relative;
  padding: 18px 0 12px;
}

.term-page-section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.term-page-section-head h2 {
  margin: 0;
  color: var(--term-ink);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.term-page-section-head p {
  margin-top: 14px;
}

.term-page-stack {
  position: relative;
  display: grid;
  gap: 22px;
}

.term-page-stack::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 88px;
  width: 2px;
  background: linear-gradient(180deg, rgba(243, 181, 107, 0.3), rgba(23, 59, 99, 0.18));
}

.term-page-term-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.term-page-term-card:nth-child(2) .term-page-term-body {
  transform: translateX(22px);
}

.term-page-term-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3b56b, #f8d1a5);
  color: #112e4c;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(243, 181, 107, 0.18);
}

.term-page-term-body {
  display: grid;
  gap: 22px;
  padding: 28px 28px 26px;
  border: 1px solid var(--term-line);
  border-radius: 28px;
  background: var(--term-surface);
  box-shadow: var(--term-shadow);
  backdrop-filter: blur(16px);
}

.term-page-term-head {
  display: grid;
  gap: 10px;
}

.term-page-term-head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(243, 181, 107, 0.14);
  color: var(--term-accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-page-term-head p {
  margin: 0;
  color: var(--term-muted);
  line-height: 1.8;
}

.term-page-term-head h3 {
  margin: 0;
  color: var(--term-ink);
  font-size: 2rem;
  line-height: 1.04;
}

.term-page-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.term-page-date-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 59, 99, 0.08);
  border-radius: 18px;
  background: var(--term-surface-soft);
}

.term-page-date-item span {
  color: var(--term-accent-strong);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-page-date-item strong {
  color: var(--term-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.term-page-guidance {
  padding: 18px 0 0;
}

.term-page-guidance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.term-page-guidance-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
}

.term-page-guidance-card--accent {
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.96), rgba(35, 90, 144, 0.92)),
    #173b63;
  border-color: rgba(255, 255, 255, 0.08);
}

.term-page-guidance-card h2 {
  margin: 0 0 12px;
  color: var(--term-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.term-page-guidance-card--accent .term-page-card-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.term-page-guidance-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.term-page-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #f9ddbc;
  font-weight: 700;
  text-decoration: none;
}

.term-page-inline-link:hover,
.term-page-inline-link:focus {
  color: #f8dfb9;
  text-decoration: none;
}

@media (min-width: 1101px) {
  .term-page-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .term-page-pills span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .term-page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .term-page-btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .term-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .term-page-hero-copy h1,
  .term-page-hero-copy p {
    max-width: none;
  }

  .term-page-stack::before {
    left: 78px;
  }

  .term-page-term-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .term-page-term-card:nth-child(2) .term-page-term-body {
    transform: none;
  }

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

  .term-page-guidance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .term-page-shell {
    width: min(100% - 24px, 1180px);
  }

  .term-page-main {
    padding-bottom: 56px;
  }

  .term-page-hero {
    padding: 52px 0 22px;
  }

  .term-page-hero-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .term-page-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .term-page-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .term-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .term-page-btn {
    width: 100%;
  }

  .term-page-photo-card {
    min-height: 260px;
  }

  .term-page-stack::before {
    display: none;
  }

  .term-page-term-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .term-page-term-mark {
    min-height: 48px;
    width: fit-content;
  }

  .term-page-term-body {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .term-page-term-head h3 {
    font-size: 1.72rem;
  }

  .term-page-date-grid {
    grid-template-columns: 1fr;
  }

  .term-page-guidance-card {
    padding: 22px 18px;
  }
}

/* -------------------------------------------------------------------------
   Contact page redesign (contact.html)
   Scoped to body.contact-modern-page so other pages keep their current layout.
-------------------------------------------------------------------------- */
body.contact-modern-page {
  --contact-ink: #173b63;
  --contact-muted: #62716d;
  --contact-accent: #c78d46;
  --contact-accent-strong: #a66a21;
  --contact-line: rgba(23, 59, 99, 0.1);
  --contact-surface: rgba(255, 255, 255, 0.9);
  --contact-surface-soft: rgba(247, 242, 234, 0.92);
  --contact-shadow: 0 26px 58px rgba(23, 59, 99, 0.09);
  --contact-radius: 10px;
  --contact-page-gutter: 20px;
  --contact-section-space: 24px;
  background:
    radial-gradient(circle at top left, rgba(199, 141, 70, 0.12), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(23, 59, 99, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, #fcfbf8 45%, #f3ede1 100%);
  color: var(--contact-ink);
}

.contact-modern-main {
  font-family: "Manrope", sans-serif;
  overflow: hidden;
  padding-bottom: 72px;
}

.contact-modern-shell {
  width: min(1180px, calc(100% - (var(--contact-page-gutter) * 2)));
  margin: 0 auto;
}

.contact-modern-hero,
.contact-modern-connect,
.contact-modern-map-section {
  position: relative;
}

.contact-modern-hero {
  padding: 68px 0 32px;
}

.contact-modern-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--contact-radius);
  background:
    linear-gradient(135deg, rgba(23, 59, 99, 0.97), rgba(35, 90, 144, 0.94)),
    #173b63;
  box-shadow: 0 30px 70px rgba(23, 59, 99, 0.18);
}

.contact-modern-hero-panel::before,
.contact-modern-hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-modern-hero-panel::before {
  top: -100px;
  right: -50px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.contact-modern-hero-panel::after {
  left: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(199, 141, 70, 0.2), rgba(199, 141, 70, 0));
}

.contact-modern-hero-grid,
.contact-modern-connect-grid,
.contact-modern-map-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.contact-modern-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  align-items: center;
}

.contact-modern-connect-grid,
.contact-modern-map-grid {
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
}

.contact-modern-eyebrow,
.contact-modern-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--contact-radius);
  background: rgba(23, 59, 99, 0.08);
  color: var(--contact-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-modern-copy .contact-modern-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.contact-modern-copy h1,
.contact-modern-hero-card h2,
.contact-modern-info-card h2,
.contact-modern-form-head h2,
.contact-modern-location-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.04em;
}

.contact-modern-copy h1 {
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.92;
}

.contact-modern-hero-card h2,
.contact-modern-info-card h2,
.contact-modern-form-head h2,
.contact-modern-location-card h2 {
  color: var(--contact-ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.contact-modern-copy p,
.contact-modern-hero-card p,
.contact-modern-info-card p,
.contact-modern-form-head p,
.contact-modern-location-card p {
  margin: 0;
  line-height: 1.82;
}

.contact-modern-copy p {
  max-width: 62ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.contact-modern-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-modern-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--contact-radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 24px rgba(8, 20, 19, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-modern-pills i {
  color: #f0c27b;
}

.contact-modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-modern-btn,
.contact-modern-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--contact-radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-modern-btn:hover,
.contact-modern-btn:focus,
.contact-modern-submit-btn:hover,
.contact-modern-submit-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-modern-btn--primary,
.contact-modern-submit-btn {
  background: #f2d0a0;
  color: #173b63;
  box-shadow: 0 16px 28px rgba(8, 20, 19, 0.18);
}

.contact-modern-btn--primary:hover,
.contact-modern-btn--primary:focus,
.contact-modern-submit-btn:hover,
.contact-modern-submit-btn:focus {
  color: #173b63;
  background: #f7d9b0;
}

.contact-modern-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-modern-btn--secondary:hover,
.contact-modern-btn--secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-modern-btn--light {
  background: #173b63;
  color: #fff;
}

.contact-modern-btn--light:hover,
.contact-modern-btn--light:focus {
  color: #fff;
  background: #1f4744;
}

.contact-modern-btn--outline {
  background: transparent;
  border-color: rgba(23, 59, 99, 0.12);
  color: var(--contact-ink);
}

.contact-modern-btn--outline:hover,
.contact-modern-btn--outline:focus {
  color: var(--contact-ink);
  background: rgba(23, 59, 99, 0.05);
}

.contact-modern-hero-card,
.contact-modern-info-card,
.contact-modern-form-panel,
.contact-modern-map-card,
.contact-modern-location-card {
  border: 1px solid var(--contact-line);
  border-radius: var(--contact-radius);
  box-shadow: var(--contact-shadow);
}

.contact-modern-hero-card,
.contact-modern-info-card,
.contact-modern-form-panel,
.contact-modern-location-card {
  padding: 28px;
}

.contact-modern-hero-card,
.contact-modern-info-card,
.contact-modern-form-panel,
.contact-modern-map-card,
.contact-modern-location-card {
  background: var(--contact-surface);
}

.contact-modern-hero-card p,
.contact-modern-info-card p,
.contact-modern-form-head p,
.contact-modern-location-card p {
  color: var(--contact-muted);
}

.contact-modern-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-modern-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--contact-muted);
  line-height: 1.72;
}

.contact-modern-checklist li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--contact-accent-strong);
}

.contact-modern-contact-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-modern-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 59, 99, 0.08);
  border-radius: var(--contact-radius);
  background: rgba(247, 242, 234, 0.86);
  color: var(--contact-ink);
  text-decoration: none;
}

.contact-modern-contact-links a:hover,
.contact-modern-contact-links a:focus {
  color: var(--contact-ink);
  background: rgba(244, 234, 217, 0.95);
  text-decoration: none;
}

.contact-modern-contact-links i {
  color: var(--contact-accent-strong);
}

.contact-modern-connect {
  padding: var(--contact-section-space) 0 0;
}

.contact-modern-info-card,
.contact-modern-form-panel,
.contact-modern-location-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-modern-info-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-modern-info-card--visit .contact-modern-info-list {
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  width: min(100%, 560px);
  margin: 20px auto 0;
}

.contact-modern-info-card--visit .contact-modern-card-kicker {
  margin-left: auto;
  margin-right: auto;
}

.contact-modern-info-card--visit h2,
.contact-modern-info-card--visit > p {
  text-align: center;
}

.contact-modern-info-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(23, 59, 99, 0.08);
  border-radius: var(--contact-radius);
  background: var(--contact-surface-soft);
}

.contact-modern-info-card--visit .contact-modern-info-item {
  height: 100%;
  align-content: start;
  align-items: center;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.contact-modern-info-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--contact-radius);
  background: rgba(23, 59, 99, 0.08);
  color: var(--contact-accent-strong);
  font-size: 1rem;
}

.contact-modern-info-content {
  display: grid;
  gap: 4px;
}

.contact-modern-info-list strong {
  color: var(--contact-accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-modern-info-list span {
  color: var(--contact-ink);
  line-height: 1.65;
}

.contact-modern-info-card--accent {
  background:
    linear-gradient(135deg, rgba(23, 59, 99, 0.97), rgba(35, 90, 144, 0.94)),
    #173b63;
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-modern-info-card--accent .contact-modern-card-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.contact-modern-info-card--accent h2,
.contact-modern-info-card--accent p {
  color: #fff;
}

.contact-modern-info-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-modern-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #f3d7ac;
  font-weight: 700;
  text-decoration: none;
}

.contact-modern-inline-link:hover,
.contact-modern-inline-link:focus {
  color: #f8dfb9;
  text-decoration: none;
}

.contact-modern-wide-card {
  grid-column: 1 / -1;
}

.contact-modern-form-head {
  margin-bottom: 20px;
}

.contact-modern-form-panel {
  display: flex;
  flex-direction: column;
}

.contact-modern-form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.contact-modern-form .form-label {
  margin-bottom: 8px;
  color: var(--contact-ink);
  font-weight: 700;
}

.contact-modern-form .form-control {
  min-height: 54px;
  border: 1px solid rgba(23, 59, 99, 0.12);
  border-radius: var(--contact-radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--contact-ink);
  box-shadow: none;
}

.contact-modern-form textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.contact-modern-form .form-control::placeholder {
  color: #93a29f;
}

.contact-modern-form .form-control:focus {
  border-color: rgba(166, 106, 33, 0.45);
  box-shadow: 0 0 0 4px rgba(199, 141, 70, 0.14);
}

.contact-modern-form-actions {
  margin-top: auto;
  padding-top: 22px;
}

.contact-modern-submit-btn {
  border: 0;
  cursor: pointer;
}

.contact-modern-form-message {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-modern-map-section {
  padding: var(--contact-section-space) 0 0;
}

.contact-modern-map-grid--full {
  width: min(1180px, calc(100% - (var(--contact-page-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
}

.contact-modern-map-card {
  overflow: hidden;
  min-height: 470px;
  height: 100%;
  border-radius: 10px;
  border-right: 0;
}

.contact-modern-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
}

.contact-modern-route-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-modern-route-list li {
  position: relative;
  padding-left: 18px;
  color: var(--contact-muted);
  line-height: 1.72;
}

.contact-modern-route-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--contact-accent-strong);
}

.contact-modern-location-note {
  margin: 18px 0 0;
  color: var(--contact-muted);
  line-height: 1.75;
}

.contact-modern-inline-link--location {
  margin-top: 14px;
  color: var(--contact-accent-strong);
}

.contact-modern-inline-link--location:hover,
.contact-modern-inline-link--location:focus {
  color: var(--contact-ink);
}

.contact-modern-actions--map {
  margin-top: auto;
  padding-top: 24px;
}

@media (min-width: 1101px) {
  .contact-modern-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-modern-pills span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-modern-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .contact-modern-btn,
  .contact-modern-submit-btn {
    width: 100%;
  }

  .contact-modern-actions--map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .contact-modern-actions--map .contact-modern-btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .contact-modern-hero-grid,
  .contact-modern-connect-grid,
  .contact-modern-map-grid {
    grid-template-columns: 1fr;
  }

  .contact-modern-map-grid--full {
    width: min(1180px, calc(100% - (var(--contact-page-gutter) * 2)));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .contact-modern-map-card {
    border-right: 1px solid var(--contact-line);
    border-radius: 10px;
  }

  .contact-modern-copy p {
    max-width: none;
  }
}

@media (max-width: 767px) {
  body.contact-modern-page {
    --contact-page-gutter: 12px;
    --contact-section-space: 20px;
  }

  .contact-modern-shell {
    width: min(1180px, calc(100% - (var(--contact-page-gutter) * 2)));
  }

  .contact-modern-main {
    padding-bottom: 56px;
  }

  .contact-modern-hero {
    padding: 52px 0 22px;
  }

  .contact-modern-hero-panel,
  .contact-modern-hero-card,
  .contact-modern-info-card,
  .contact-modern-form-panel,
  .contact-modern-location-card {
    padding: 22px 18px;
    border-radius: var(--contact-radius);
  }

  .contact-modern-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .contact-modern-pills,
  .contact-modern-actions,
  .contact-modern-actions--map {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-modern-btn,
  .contact-modern-submit-btn {
    width: 100%;
  }

  .contact-modern-map-card,
  .contact-modern-map-card iframe {
    min-height: 320px;
  }

  .contact-modern-map-grid--full {
    padding: 0;
  }

  .contact-modern-map-card {
    border-radius: 10px;
  }
}

.contact-modern-wide-card,
.contact-modern-location-card {
  border-radius: 10px;
}

.contact-modern-location-card .contact-modern-btn {
  border-radius: 10px;
}

/* -------------------------------------------------------------------------
   Dugsi page (dugsi.html)
   Scoped to body.dugsi-page so other pages keep their current layout.
-------------------------------------------------------------------------- */
body.dugsi-page {
  --dugsi-ink: #152f2e;
  --dugsi-muted: #5d6d69;
  --dugsi-accent: #c79a4b;
  --dugsi-accent-strong: #a87125;
  --dugsi-card-radius: 15px;
  --dugsi-line: rgba(23, 59, 99, 0.11);
  --dugsi-surface: rgba(255, 255, 255, 0.82);
  --dugsi-surface-soft: rgba(249, 244, 234, 0.95);
  --dugsi-shadow: 0 24px 54px rgba(23, 59, 99, 0.08);
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.16), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(23, 59, 99, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f3eb 0%, #fbfaf6 42%, #f2ebde 100%);
  color: var(--dugsi-ink);
}

.dugsi-main {
  position: relative;
  font-family: "Manrope", sans-serif;
  overflow: hidden;
  padding: 56px 0 64px;
}

.dugsi-main::before,
.dugsi-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dugsi-main::before {
  opacity: 0.72;
  background:
    radial-gradient(circle at center, rgba(243, 181, 107, 0.16) 0 2px, transparent 2.5px) 0 0 / 88px 88px,
    radial-gradient(circle at center, rgba(243, 181, 107, 0.1) 0 1.5px, transparent 2px) 44px 44px / 88px 88px,
    conic-gradient(from 45deg at 50% 50%, rgba(23, 59, 99, 0.055) 0 25%, transparent 0 50%, rgba(23, 59, 99, 0.055) 0 75%, transparent 0) 0 0 / 88px 88px,
    linear-gradient(45deg, transparent 43%, rgba(243, 181, 107, 0.08) 43.5%, rgba(243, 181, 107, 0.08) 56.5%, transparent 57%) 0 0 / 88px 88px,
    linear-gradient(-45deg, transparent 43%, rgba(243, 181, 107, 0.08) 43.5%, rgba(243, 181, 107, 0.08) 56.5%, transparent 57%) 0 0 / 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22));
}

.dugsi-main::after {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.34), transparent 12%),
    radial-gradient(circle at 82% 38%, rgba(243, 181, 107, 0.12), transparent 18%);
}

.dugsi-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.dugsi-hero,
.dugsi-overview,
.dugsi-pillars,
.dugsi-pathway,
.dugsi-cta {
  position: relative;
}

.dugsi-overview,
.dugsi-pillars,
.dugsi-pathway,
.dugsi-cta {
  padding-top: 20px;
}

.dugsi-overview .dugsi-shell,
.dugsi-pillars .dugsi-shell,
.dugsi-pathway .dugsi-shell,
.dugsi-cta .dugsi-shell {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(243, 181, 107, 0.14);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(249, 244, 234, 0.92)),
    var(--dugsi-surface-soft);
  box-shadow: var(--dugsi-shadow);
  backdrop-filter: blur(12px);
}

.dugsi-overview .dugsi-shell::before,
.dugsi-pillars .dugsi-shell::before,
.dugsi-pathway .dugsi-shell::before,
.dugsi-cta .dugsi-shell::before,
.dugsi-overview .dugsi-shell::after,
.dugsi-pillars .dugsi-shell::after,
.dugsi-pathway .dugsi-shell::after,
.dugsi-cta .dugsi-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dugsi-overview .dugsi-shell::before,
.dugsi-pillars .dugsi-shell::before,
.dugsi-pathway .dugsi-shell::before,
.dugsi-cta .dugsi-shell::before {
  inset: 14px;
  border: 1px solid rgba(243, 181, 107, 0.16);
  border-radius: 24px;
}

.dugsi-overview .dugsi-shell::after,
.dugsi-pillars .dugsi-shell::after,
.dugsi-pathway .dugsi-shell::after,
.dugsi-cta .dugsi-shell::after {
  top: -30px;
  right: -24px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(243, 181, 107, 0.18), rgba(243, 181, 107, 0)),
    conic-gradient(from 45deg, rgba(23, 59, 99, 0.04) 0 25%, transparent 0 50%, rgba(23, 59, 99, 0.04) 0 75%, transparent 0);
}

.dugsi-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.98), rgba(27, 79, 130, 0.95)),
    linear-gradient(90deg, rgba(243, 181, 107, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(243, 181, 107, 0.08) 1px, transparent 1px),
    #173b63;
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow: 0 30px 70px rgba(23, 59, 99, 0.18);
}

.dugsi-hero-panel::before,
.dugsi-hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dugsi-hero-panel::before {
  top: -90px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.dugsi-hero-panel::after {
  left: -90px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197, 144, 69, 0.22), rgba(197, 144, 69, 0));
}

.dugsi-hero-grid,
.dugsi-overview-grid,
.dugsi-card-grid,
.dugsi-step-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.dugsi-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  align-items: center;
}

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

.dugsi-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dugsi-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dugsi-eyebrow,
.dugsi-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(243, 181, 107, 0.18);
  background: rgba(23, 59, 99, 0.06);
  color: var(--dugsi-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dugsi-hero-copy .dugsi-eyebrow {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.dugsi-hero-copy h1,
.dugsi-section-head h2,
.dugsi-hero-card h2,
.dugsi-panel h3,
.dugsi-feature-card h3,
.dugsi-step-card h3,
.dugsi-cta-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.04em;
}

.dugsi-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.55rem, 4.5vw, 4.4rem);
  line-height: 0.97;
}

.dugsi-section-head {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
}

.dugsi-section-head::after {
  content: "";
  display: block;
  width: 120px;
  height: 12px;
  margin: 18px auto 0;
  background:
    radial-gradient(circle, rgba(243, 181, 107, 0.92) 3px, transparent 3.5px) center/24px 12px repeat-x;
  opacity: 0.75;
}

.dugsi-overview .dugsi-section-head {
  margin: 0 auto 24px;
  text-align: center;
}

.dugsi-overview .dugsi-section-head::after {
  margin: 18px auto 0;
}

.dugsi-pillars .dugsi-section-head,
.dugsi-pathway .dugsi-section-head {
  margin: 0 auto 24px;
  text-align: center;
}

.dugsi-pillars .dugsi-section-head::after,
.dugsi-pathway .dugsi-section-head::after {
  margin: 18px auto 0;
}

.dugsi-section-head h2,
.dugsi-hero-card h2,
.dugsi-cta-card h2 {
  color: var(--dugsi-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.04;
}

.dugsi-panel h3,
.dugsi-feature-card h3,
.dugsi-step-card h3 {
  color: var(--dugsi-ink);
  font-size: 1.55rem;
  line-height: 1.08;
}

.dugsi-hero-copy p,
.dugsi-section-head p,
.dugsi-hero-card p,
.dugsi-panel p,
.dugsi-feature-card p,
.dugsi-step-card p,
.dugsi-cta-card p {
  margin: 0;
  color: var(--dugsi-muted);
  line-height: 1.72;
}

.dugsi-hero-copy p {
  max-width: 56ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.dugsi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dugsi-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(8, 20, 19, 0.14);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.dugsi-pills i {
  color: #f2c987;
}

.dugsi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.dugsi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.dugsi-btn:hover,
.dugsi-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.dugsi-btn--primary {
  background: #f2d0a0;
  color: #173b63;
  box-shadow: 0 16px 28px rgba(8, 20, 19, 0.18);
}

.dugsi-btn--primary:hover,
.dugsi-btn--primary:focus {
  color: #173b63;
  background: #f7d9af;
}

.dugsi-btn--secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dugsi-btn--secondary:hover,
.dugsi-btn--secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.dugsi-hero-card,
.dugsi-panel,
.dugsi-feature-card,
.dugsi-step-card,
.dugsi-cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dugsi-line);
  border-radius: var(--dugsi-card-radius);
  box-shadow: var(--dugsi-shadow);
}

.dugsi-step-card {
  border-radius: 10px;
}

.dugsi-panel,
.dugsi-feature-card,
.dugsi-step-card,
.dugsi-cta-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: var(--dugsi-surface);
}

.dugsi-panel::before,
.dugsi-feature-card::before,
.dugsi-step-card::before,
.dugsi-cta-card::before,
.dugsi-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--dugsi-accent-strong), #e5bf7b);
}

.dugsi-hero-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(249, 241, 226, 0.96)),
    rgba(255, 250, 242, 0.96);
}

.dugsi-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.dugsi-focus-item {
  padding: 14px;
  border: 1px solid rgba(23, 59, 99, 0.08);
  border-radius: 14px;
  background: rgba(23, 59, 99, 0.04);
  display: grid;
  gap: 4px;
}

.dugsi-focus-item strong {
  color: var(--dugsi-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.dugsi-focus-item span {
  color: var(--dugsi-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.dugsi-checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.dugsi-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--dugsi-muted);
  line-height: 1.72;
}

.dugsi-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--dugsi-accent-strong);
}

.dugsi-panel--accent {
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.97), rgba(35, 90, 144, 0.94)),
    linear-gradient(90deg, rgba(243, 181, 107, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(243, 181, 107, 0.08) 1px, transparent 1px),
    #173b63;
  background-size: auto, 24px 24px, 24px 24px, auto;
  border-color: rgba(255, 255, 255, 0.08);
}

.dugsi-panel--accent h3,
.dugsi-panel--accent p {
  color: #fff;
}

.dugsi-panel--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.dugsi-panel-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dugsi-panel-list li,
.dugsi-note-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.dugsi-panel-list li {
  background: rgba(23, 59, 99, 0.06);
  border-radius: 10px;
  color: var(--dugsi-ink);
}

.dugsi-note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.dugsi-note-list span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dugsi-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(243, 181, 107, 0.18), rgba(243, 181, 107, 0.08)),
    rgba(197, 144, 69, 0.14);
  color: var(--dugsi-accent-strong);
  font-size: 1.1rem;
}

.dugsi-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  margin-bottom: 16px;
  border-radius: 10px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 34%),
    rgba(197, 144, 69, 0.16);
  color: var(--dugsi-accent-strong);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dugsi-cta-card {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.97), rgba(44, 101, 152, 0.95)),
    #173b63;
  border-color: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.dugsi-cta-card .dugsi-card-kicker {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.dugsi-cta-card h2,
.dugsi-cta-card p {
  color: #fff;
}

.dugsi-cta-card p {
  color: rgba(255, 255, 255, 0.82);
}

.dugsi-cta-card p {
  max-width: 62ch;
  margin: 14px auto 0;
}

.dugsi-actions--cta {
  justify-content: center;
}

.dugsi-panel p + p {
  margin-top: 12px;
}

@media (min-width: 1101px) {
  .dugsi-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dugsi-pills span,
  .dugsi-btn {
    width: 100%;
  }

  .dugsi-pills span {
    justify-content: center;
    text-align: center;
  }

  .dugsi-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .dugsi-actions--cta {
    width: min(460px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1100px) {
  .dugsi-hero-grid,
  .dugsi-overview-grid {
    grid-template-columns: 1fr;
  }

  .dugsi-card-grid,
  .dugsi-step-grid,
  .dugsi-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dugsi-hero-copy p {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .dugsi-main {
    padding: 52px 0 56px;
  }

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

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

  .dugsi-shell {
    width: min(1180px, calc(100% - 24px));
  }

  .dugsi-hero-panel,
  .dugsi-hero-card,
  .dugsi-panel,
  .dugsi-feature-card,
  .dugsi-step-card,
  .dugsi-cta-card {
    padding: 22px 18px;
    border-radius: var(--dugsi-card-radius);
  }

  .dugsi-step-card {
    border-radius: 10px;
  }

  .dugsi-overview .dugsi-shell,
  .dugsi-pillars .dugsi-shell,
  .dugsi-pathway .dugsi-shell,
  .dugsi-cta .dugsi-shell {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .dugsi-overview .dugsi-shell::before,
  .dugsi-pillars .dugsi-shell::before,
  .dugsi-pathway .dugsi-shell::before,
  .dugsi-cta .dugsi-shell::before {
    inset: 10px;
    border-radius: 18px;
  }

  .dugsi-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .dugsi-pills,
  .dugsi-actions,
  .dugsi-card-grid,
  .dugsi-step-grid,
  .dugsi-focus-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dugsi-btn {
    width: 100%;
  }
}

/* Footer section styles only */

.footer-section {
  width: 100%;
}

.footer {
  background-color: #2f3337;
  color: #ffffff;
  padding: 40px 20px  20px;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

.footer-section-inner {
  flex: 1 1 230px;
  min-width: 230px;
  padding: 32px 24px;
  box-sizing: border-box;
}

.footer-section-inner h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.footer-section-inner ul {
  list-style: none;
  padding-left: 0;
}

.footer-section-inner ul li {
  margin: 10px 0;
}

.footer-section-inner ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section-inner ul li a:hover {
  color: #ffffff;
}

/* Quick Links submenu in footer */
.quick-links {
  padding-left: 0;
  list-style: none;
}

.quick-links li {
  margin: 8px 0;
}

.quick-links .has-submenu {
  position: relative;
}

.quick-links .has-submenu>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-links .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #f2f2f2;
  /* light gray panel on desktop */
  color: #222;
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 30;
}

.quick-links .submenu li {
  margin: 6px 0;
}

.quick-links .has-submenu:focus-within>.submenu,
.quick-links .has-submenu:hover>.submenu {
  display: block;
}

/* chevron indicator on the label (desktop-friendly) */
.quick-links .has-submenu .submenu-label::after {
  content: "\25BE";
  margin-left: 8px;
  font-size: 12px;
  color: #cfcfcf;
  transition: transform 0.18s ease, color 0.18s ease;
}

.quick-links .has-submenu:hover .submenu-label::after,
.quick-links .has-submenu:focus-within .submenu-label::after {
  transform: rotate(180deg);
  color: #fff;
}

/* style links inside desktop submenu */
.quick-links .submenu a {
  color: #222;
  display: block;
  padding: 6px 8px;
  text-decoration: none;
  border-radius: 4px;
}

.quick-links .submenu a:hover {
  background: #e6e6e6;
  color: #f3b56b;
  ;
}

/* hide the explicit toggle button on larger screens (desktop uses hover/chevron) */
@media (min-width: 769px) {
  .submenu-toggle {
    display: none;
  }
}

/* On small screens, keep submenu collapsed by default; toggle with .open */
@media (max-width: 768px) {
  .quick-links .submenu {
    position: static;
    display: none;
    padding-left: 16px;
    box-shadow: none;
    margin-top: 8px;
  }

  .quick-links .has-submenu.open>.submenu {
    display: block;
  }

  .submenu-toggle {
    background: transparent;
    border: none;
    color: #ddd;
    font-size: 16px;
    margin-left: 8px;
    cursor: pointer;
  }

  .submenu-toggle:focus {
    outline: 2px solid #444;
  }

  .submenu-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .submenu-label {
    text-decoration: none;
    color: inherit;
  }

  /* hide the chevron added by ::after on small screens so only the toggle button shows */
  .quick-links .has-submenu .submenu-label::after {
    display: none;
  }
}

.about .logo {
  font-size: 22px;
  font-weight: bold;
  color: #f3b56b;
  margin-bottom: 10px;
  display: inline-block;
}

.about p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #ccc;
}

.contact-info p {
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
}

.contact-info {
  margin-top: 25px;
  margin-bottom: 20px;
}

.contact-info i {
  margin-right: 12px;
  color: #f3b56b;
  width: 22px;
  display: inline-block;
}

.social-icons a {
  color: #ccc;
  margin-right: 10px;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #f3b56b;
}

.newsletter form {
  display: flex;
  margin: 10px 0;
}

.newsletter input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 3px 0 0 3px;
}

.newsletter button {
  padding: 8px 12px;
  border: none;
  background: #f3b56b;
  color: white;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.newsletter button i {
  font-size: 16px;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25D366;
  /* WhatsApp green */
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 1200;
  font-weight: 600;
}

.whatsapp-float .whatsapp-icon {
  font-size: 18px;
  line-height: 1;
}

.whatsapp-float .whatsapp-text {
  display: inline-block;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 10px;
  }

  .whatsapp-float .whatsapp-text {
    display: none;
  }
}

.payment-icons i {
  font-size: 22px;
  margin-right: 10px;
  margin-top: 10px;
  color: #f3b56b;
}

.payment-poster-wrap {
  margin-top: 12px;
}

.payment-poster {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  flex-wrap: wrap;
  color: #ccc;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-copy a {
  color: #f3b56b;
  text-decoration: none;
  font-weight: 700;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: #ffffff;
}

.footer-logo {
  width: 120px;
  /* increased logo size */
  height: auto;
}

.footer-bottom-right a {
  margin: 0 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

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

h3,
h4 {
  color: white;
}

body.legal-page {
  --legal-accent: #0f766e;
  --legal-accent-strong: #115e59;
  --legal-accent-soft: rgba(15, 118, 110, 0.12);
  --legal-ink: #142a28;
  --legal-muted: #576967;
  --legal-surface: #ffffff;
  --legal-surface-soft: #f5f8f8;
  background: linear-gradient(180deg, #f5f7f8 0%, #f8fafb 100%);
  color: var(--legal-ink);
}

body.legal-page--terms {
  --legal-accent: #c58b11;
  --legal-accent-strong: #9a6a0d;
  --legal-accent-soft: rgba(197, 139, 17, 0.12);
}

body.legal-page--cookies {
  --legal-accent: #d96a20;
  --legal-accent-strong: #b45309;
  --legal-accent-soft: rgba(217, 106, 32, 0.12);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem !important;
  padding-bottom: 3.75rem !important;
  color: var(--legal-ink);
  border-bottom: 1px solid rgba(20, 42, 40, 0.08);
}

body.legal-page .legal-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

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

.legal-hero::after {
  display: none;
}

.legal-hero .h1 {
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--legal-ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(20, 42, 40, 0.74);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 18px 78px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 26px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(20, 42, 40, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: var(--legal-ink);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(13, 33, 31, 0.04);
}

.legal-card {
  position: relative;
  overflow: hidden;
  background: var(--legal-surface);
  border: 1px solid rgba(20, 42, 40, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(13, 33, 31, 0.05);
  padding: 30px 28px;
}

.legal-card::before {
  display: none;
}

.legal-card::after {
  display: none;
}

.legal-card + .legal-card {
  margin-top: 22px;
}

.legal-card h2 {
  margin: 0 0 14px;
  padding-right: 0;
  color: var(--legal-ink);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal-card h3 {
  margin: 22px 0 10px;
  color: var(--legal-accent-strong);
  font-size: 1rem;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  color: var(--legal-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-card p {
  margin: 0;
  max-width: none;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-card li {
  position: relative;
  padding: 0 0 0 18px;
}

.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--legal-accent);
  transform: translateY(-50%);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0;
  align-items: stretch;
}

.legal-grid .legal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.legal-grid .legal-card + .legal-card {
  margin-top: 0;
}

.legal-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--legal-accent);
  border-radius: 12px;
  background: var(--legal-surface-soft);
  box-shadow: inset 0 0 0 1px rgba(20, 42, 40, 0.04);
  color: var(--legal-muted);
}

@media (max-width: 768px) {
  .legal-shell {
    padding: 28px 16px 56px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .legal-card h2 {
    font-size: 1.24rem;
  }

  .legal-meta {
    justify-content: center;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section-inner {
    width: 100%;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    border-radius: 3px;
    margin: 5px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-left {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    width: 100%;
  }

  .footer-bottom-right {
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    justify-content: center;
    display: flex;
  }
}

/* Homepage footer refresh */
.footer--home {
  position: relative;
  overflow: hidden;
  background: #2f3337;
  color: #ffffff;
  padding: 56px 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer--home::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.14) 0%, rgba(243, 181, 107, 0) 70%);
  pointer-events: none;
}

.footer--home > * {
  position: relative;
  z-index: 1;
}

.footer--home .footer-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  padding: 0;
}

.footer--home .footer-brand,
.footer--home .footer-center-columns--home,
.footer--home .newsletter--featured {
  min-width: 0;
  padding: 0;
  height: 100%;
}

.footer--home .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer--home .footer-brand-main {
  display: flex;
  flex-direction: column;
}

.footer--home .footer-brand-social {
  margin-top: auto;
}

.footer--home .footer-center-columns--home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 6px;
  align-items: start;
}

.footer--home .footer-section-inner h3 {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 12px;
  border-bottom: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer--home .footer-section-inner h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: #f3b56b;
}

.footer--home .footer-section-inner h4 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer--home .footer-brand-name {
  margin: 0 0 12px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.footer--home .footer-brand-copy {
  margin: 0;
  max-width: 100%;
  color: #dfe8f6;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.footer--home .footer-logo {
  width: 156px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}

.footer--home .contact-info {
  margin: 28px 0 0;
}

.footer--home .contact-info p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: #eef4fb;
  font-size: 0.97rem;
  line-height: 1.65;
  white-space: normal;
}

.footer--home .contact-info p:nth-child(n+5) {
  display: none;
}

.footer--home .contact-info p i,
.footer--home .social-icons a,
.footer--home .payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f3b56b;
  margin: 0;
  flex-shrink: 0;
}

.footer--home .contact-info p a {
  color: #ffffff;
  text-decoration: none;
}

.footer--home .contact-info p a:hover {
  color: #f3b56b;
}

.footer--home .contact-info p i,
.footer--home .social-icons a i,
.footer--home .payment-icon i {
  font-size: 0.95rem;
}

.footer--home .contact-hours-card {
  display: flex;
  align-items: center;
}

.footer--home .contact-hours-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer--home .contact-hours-lines span:first-child {
  color: #eef4fb;
  font-size: 0.97rem;
  line-height: 1.65;
}

.footer--home .contact-hours-lines span:last-child {
  display: block;
  color: #c7d6ea;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer--home .footer-social-label {
  display: block;
  margin: 12px 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3b56b;
}

.footer--home .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer--home .social-icons a {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.footer--home .social-icons a:hover {
  color: #ffffff;
  background: rgba(243, 181, 107, 0.16);
  border-color: rgba(243, 181, 107, 0.42);
  transform: translateY(-2px);
}

.footer--home .quick-links {
  display: none;
}

.footer--home .footer-links-list,
.footer--home .footer-support ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer--home .footer-links-list li,
.footer--home .footer-support li {
  margin: 0;
}

.footer--home .footer-links-list a,
.footer--home .footer-support a {
  display: inline-flex;
  align-items: center;
  color: #eef4fb;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer--home .footer-links-list a:hover,
.footer--home .footer-support a:hover {
  color: #f3b56b;
  transform: translateX(3px);
}

.footer--home .footer-directions-item {
  display: flex;
  grid-column: 1 / -1;
  justify-content: stretch;
  margin-top: 0;
}

.footer--home .footer-directions-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 54px;
  padding: 8px 18px 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer--home .footer-directions-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(9, 24, 23, 0.16);
}

.footer--home .footer-directions-card:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer--home .newsletter--featured {
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid rgba(243, 181, 107, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 40px rgba(4, 18, 17, 0.24);
}

.footer--home .footer-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 181, 107, 0.16);
  color: #ffd86c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer--home .newsletter--featured h3 {
  font-size: 1.35rem;
}

.footer--home .newsletter--featured p {
  margin: 0;
  color: #f2f7f6;
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer--home .newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 22px 0 0;
}

.footer--home .newsletter input {
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 25, 23, 0.4);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer--home .newsletter input::placeholder {
  color: #c7d2d0;
}

.footer--home .newsletter input:focus,
.footer--home .newsletter button:focus {
  outline: none;
}

.footer--home .newsletter input:focus-visible,
.footer--home .newsletter button:focus-visible,
.footer--home .social-icons a:focus-visible,
.footer--home .footer-links-list a:focus-visible,
.footer--home .footer-support a:focus-visible,
.footer--home .contact-info p a:focus-visible,
.footer--home .footer-bottom-right a:focus-visible {
  outline: 2px solid #f3b56b;
  outline-offset: 3px;
}

.footer--home .newsletter button {
  height: 54px;
  padding: 0 20px;
  border-radius: 16px;
  border: none;
  background: #f3b56b;
  color: #112e4c;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(243, 181, 107, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer--home .newsletter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(243, 181, 107, 0.3);
}

.footer--home .newsletter button i,
.footer--home .payment-icon i {
  margin: 0;
  color: inherit;
}

.footer--home .newsletter-msg {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  margin: 0;
  color: #ffffff;
}

.footer--home .payment-methods {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer--home .payment-icons {
  display: block;
}

.footer--home .payment-poster {
  max-width: 360px;
}

.footer--home .payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 27, 25, 0.38);
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
}

.footer--home .footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dfe8f6;
}

.footer--home .footer-bottom-left {
  gap: 10px;
  flex-wrap: wrap;
}

.footer--home .footer-bottom-left span:not(.footer-copy) {
  display: none;
}

.footer--home .footer-copy {
  display: inline;
}

.footer--home .footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer--home .footer-bottom-right a {
  margin: 0;
  color: #dfe8f6;
}

.footer--home .footer-bottom-right a:hover {
  color: #f3b56b;
}

@media (max-width: 1100px) {
  .footer--home .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer--home .footer-brand,
  .footer--home .newsletter--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer--home {
    padding: 44px 20px 22px;
  }

  .footer--home .footer-container,
  .footer--home .newsletter form {
    grid-template-columns: 1fr;
  }

  .footer--home .footer-center-columns--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 8px;
  }

  .footer--home .newsletter--featured {
    padding: 24px 20px;
  }

  .footer--home .newsletter button {
    width: 100%;
  }

  .footer--home .footer-bottom,
  .footer--home .footer-bottom-right {
    justify-content: flex-start;
    text-align: left;
  }

  .footer--home .payment-poster-wrap {
    display: flex;
    justify-content: center;
  }

  .footer--home .payment-poster {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Sidebar quick-links spacing for modern boxed lists */
.quick-links.modern-box {
  padding-left: 1rem;
  /* adds breathing room on the left */
}

/* Preloader styles */
#preloader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(23, 59, 99, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 420ms ease, visibility 420ms ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: min(100%, 340px);
  padding: 24px;
}

.preloader-card {
  text-align: center;
}

.preloader-brand {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.preloader-brand::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.16), rgba(243, 181, 107, 0) 70%);
}

.preloader-spinner-track,
.preloader-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.preloader-spinner-track {
  border: 2px solid rgba(23, 59, 99, 0.08);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.72);
}

.preloader-spinner-ring {
  inset: 10px;
  border: 3px solid transparent;
  border-top-color: #173b63;
  border-right-color: #f3b56b;
  animation: preloader-spin-reverse 1.12s linear infinite;
}

.preloader-spinner-ring--inner {
  inset: 28px;
  border-width: 2px;
  border-bottom-color: rgba(23, 59, 99, 0.85);
  border-left-color: rgba(243, 181, 107, 0.9);
  opacity: 0.75;
  animation: preloader-spin 1.8s linear infinite;
}

.preloader-logo {
  width: 76px;
  height: 76px;
  padding: 10px;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.preloader-title {
  margin: 22px 0 0;
  color: #173b63;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #preloader {
    transition: none;
  }

  .preloader-spinner-ring {
    animation: none;
  }
}

@media (max-width: 900px) {
  .quick-links.modern-box {
    padding-left: 0.6rem;
    /* slightly reduced on narrow viewports */
  }
}

/*about section */

.about-section {
  background: #fff;
  padding: 60px 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
}

.about-section .about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.about-section .about-text {
  flex: 1 1 550px;
}

.about-section .about-text h5 {
  color: #f3b56b;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-section .about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-section .about-text .intro {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.about-section .about-text p {
  margin-bottom: 15px;
  color: #444;
}

.about-section .hayl-about-main p,
.about-section .hayl-about-main .lead {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  /* slightly increase line-height for readable justified text */
  line-height: 1.75;
}

.about-section .about-image {
  flex: 1 1 400px;
}

.about-section .about-image img {
  width: 100%;
  border-radius: 10px;
  border: 4px solid #f3b56b;
  object-fit: cover;
}

/* Mobile tweaks to reduce vertical spacing around the about image */
@media (max-width: 768px) {
  .about-section .about-container {
    gap: 12px;
    /* reduce gap between stacked items */
  }

  .about-section .about-image,
  .about-section .about-image img {
    margin: 0;
    /* remove any vertical margins */
    padding: 0;
    display: block;
  }

  /* keep thin border but avoid it adding extra visual spacing */
  .about-section .about-image img {
    border-width: 4px;
    box-sizing: border-box;
  }

  .about-section .about-text p {
    margin-bottom: 8px;
    /* tighten spacing between paragraphs */
  }

  .about-section .about-tabs {
    margin-top: 0 !important;
    /* remove space before tabs on mobile */
    margin-bottom: 0 !important;
    padding: 0 !important;
    /* remove all padding */
    padding-inline: 0 !important;
    /* remove horizontal padding */
  }
}

/* Stronger mobile reset: remove top/bottom padding around the about section and ensure the image is flush */
@media (max-width: 768px) {
  .about-section {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .about-section .about-image,
  .about-section .about-image img {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* If the image border creates visual spacing, optionally remove it on small screens */
  .about-section .about-image img {
    border-width: 2px !important;
  }
}

/* Remove bottom spacing from about-text on mobile so image sits flush */
@media (max-width: 768px) {
  .about-section .about-text {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .about-section .about-text p,
  .about-section .about-text .intro {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ensure the last child has no additional spacing */
  .about-section .about-text>*:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Aggressive mobile reset: completely eliminate gap between text and image */
@media (max-width: 768px) {
  .about-section .about-container {
    gap: 0 !important;
    /* remove all gap */
    margin: 0 !important;
    padding: 0 !important;
  }

  .about-section .about-container>div {
    margin: 0 !important;
    padding: 8px !important;
    /* minimal padding for readability */
  }

  .about-section .about-text {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .about-section .about-image {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* --- Tabs --- */
.about-section .about-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 20px;
  align-items: flex-start;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 20px;
}

.about-section .tab-buttons {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-section .tab-buttons .tab {
  background: #f9f9f9;
  border: 2px solid transparent;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}

.about-section .tab-buttons .tab i {
  font-size: 18px;
}

.about-section .tab-buttons .tab.active,
.about-section .tab-buttons .tab:hover {
  background: #fff8e1;
  border-color: #f3b56b;
  color: #f3b56b;
}

.about-section .tab-content {
  flex: 3 1 600px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px 20px;
  min-height: 220px;

}

.about-section .tab-card {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.about-section .tab-card.active {
  display: block;
}

.about-section .tab-card .icon {
  font-size: 45px;
  color: #f3b56b;
  margin-bottom: 10px;
}

.about-section .tab-card h3 {
  color: #333;
  margin-bottom: 10px;
}

.about-section .tab-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.about-section .read-btn {
  background: #f3b56b;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.about-section .read-btn:hover {
  background: #e0a700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section .tab-select {
  display: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #f3b56b;
  background: #fff;
  color: #333;
  font-weight: 600;
}

/* --- Video Section --- */
.about-section .about-video {
  width: 100vw;
  margin-top: 50px;
  margin-left: calc(-50vw + 50%);
  position: relative;
  border-top: 6px solid #f3b56b;
  border-bottom: 6px solid #f3b56b;
  overflow: hidden;
}

.about-section .about-video iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.about-section .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .about-section .about-container {
    flex-direction: column;
  }

  .about-section .tab-buttons {
    display: none;
  }

  .about-section .tab-select {
    display: block;
    margin-bottom: 15px;
  }

  .about-section .tab-content {
    padding: 20px;
  }

  .about-section .about-video iframe {
    height: 250px;
  }

  .about-section .video-overlay {
    font-size: 1.3rem;
  }
}

/* -------------------------------------------------------------------------
   About page redesign (about.html)
------------------------------------------------------------------------- */
body.about-modern-page {
  --about-ink: #173b63;
  --about-muted: #64768f;
  --about-accent: #f3b56b;
  --about-accent-soft: #f9ddbc;
  --about-surface: rgba(255, 252, 247, 0.96);
  --about-surface-soft: rgba(245, 239, 230, 0.82);
  --about-border: rgba(23, 59, 99, 0.09);
  --about-shadow: 0 28px 80px rgba(16, 43, 74, 0.09);
  --about-radius-card: 20px;
  --about-radius-panel: 14px;
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.12), transparent 32%),
    linear-gradient(180deg, #f9f5ef 0%, #efe8de 100%);
  color: var(--about-ink);
}

.about-modern-main {
  font-family: "Manrope", sans-serif;
}

.about-modern-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.about-modern-kicker,
.about-modern-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--about-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--about-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-modern-kicker {
  border-radius: 10px;
}

.about-modern-hero {
  position: relative;
  padding: clamp(46px, 8vw, 88px) 0 30px;
}

.about-modern-hero::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto;
  height: 440px;
  background:
    radial-gradient(circle at 10% 18%, rgba(243, 181, 107, 0.16), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(23, 59, 99, 0.08), transparent 22%);
  pointer-events: none;
}

.about-modern-hero-grid,
.about-modern-story-grid,
.about-modern-message-grid {
  display: grid;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-modern-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
}

.about-modern-hero-copy h1,
.about-modern-section-head h2,
.about-modern-panel--story h2,
.about-modern-message-card h2,
.about-modern-cta-card h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--about-ink);
  letter-spacing: -0.03em;
}

.about-modern-hero-copy h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 18px 0 18px;
  max-width: none;
  color: var(--about-ink);
}

.about-modern-hero-line {
  display: inline;
}

.about-modern-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.8;
  color: rgba(23, 59, 99, 0.86);
  max-width: 62ch;
  margin: 0 0 14px;
}

.about-modern-copy {
  color: var(--about-muted);
  line-height: 1.85;
  max-width: 58ch;
  margin: 0;
}

.about-modern-lead,
.about-modern-copy,
.about-modern-floating-card p,
.about-modern-panel p,
.about-modern-checklist li,
.about-modern-principle-card p,
.about-modern-value-card p,
.about-modern-message-card p,
.about-modern-step-card p,
.about-modern-cta-card p {
  text-align: justify;
  text-justify: inter-word;
}

.about-modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.about-modern-btn:hover,
.about-modern-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.about-modern-btn--primary {
  background: linear-gradient(135deg, var(--about-accent), #f8d1a5);
  color: #112e4c;
  box-shadow: 0 18px 36px rgba(243, 181, 107, 0.24);
}

.about-modern-btn--primary:hover,
.about-modern-btn--primary:focus {
  color: #112e4c;
  box-shadow: 0 24px 42px rgba(243, 181, 107, 0.3);
}

.about-modern-btn--secondary {
  border: 1px solid var(--about-border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--about-ink);
}

.about-modern-btn--secondary:hover,
.about-modern-btn--secondary:focus {
  color: var(--about-ink);
  background: #fff;
}

.about-modern-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-modern-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--about-border);
  background: rgba(255, 255, 255, 0.65);
  color: var(--about-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.about-modern-hero-visual {
  position: relative;
  padding: 22px 0 38px 18px;
}

.about-modern-photo-card,
.about-modern-panel,
.about-modern-principle-card,
.about-modern-value-card,
.about-modern-portrait-card,
.about-modern-message-card,
.about-modern-step-card,
.about-modern-cta-card,
.about-modern-metric-card {
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
}

.about-modern-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #d9d0c4;
}

.about-modern-photo-card img,
.about-modern-portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-modern-photo-card img {
  aspect-ratio: 4 / 4.8;
}

.about-modern-floating-card {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: min(280px, 72%);
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 47, 87, 0.96), rgba(35, 90, 144, 0.92));
  color: #fdf7ef;
  box-shadow: 0 26px 52px rgba(16, 43, 74, 0.26);
}

.about-modern-floating-card strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 2.1rem;
  line-height: 1;
}

.about-modern-stat-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 247, 239, 0.72);
}

.about-modern-floating-card p {
  margin: 0;
  line-height: 1.7;
  color: rgba(253, 247, 239, 0.8);
}

.about-modern-story,
.about-modern-principles,
.about-modern-values,
.about-modern-message,
.about-modern-journey,
.about-modern-cta {
  padding: 28px 0 0;
}

.about-modern-story-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.about-modern-panel {
  padding: 34px;
  border-radius: var(--about-radius-card);
  background: var(--about-surface);
  height: 100%;
}

.about-modern-panel h2 {
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 1;
  margin: 16px 0 18px;
}

.about-modern-panel--focus {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-modern-panel h3,
.about-modern-principle-card h3,
.about-modern-value-card h3,
.about-modern-step-card h3 {
  color: var(--about-ink);
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.about-modern-panel p,
.about-modern-principle-card p,
.about-modern-value-card p,
.about-modern-message-card p,
.about-modern-step-card p,
.about-modern-cta-card p {
  color: var(--about-muted);
  line-height: 1.82;
  margin: 0;
}

.about-modern-panel--story p + p {
  margin-top: 14px;
}

.about-modern-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-modern-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--about-muted);
  line-height: 1.75;
}

.about-modern-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--about-accent), #f8d1a5);
  box-shadow: 0 0 0 5px rgba(243, 181, 107, 0.12);
}

.about-modern-metrics {
  padding-top: 30px;
}

.about-modern-metric-grid,
.about-modern-principle-grid,
.about-modern-values-grid,
.about-modern-step-grid {
  display: grid;
  gap: 18px;
}

.about-modern-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-modern-metric-card {
  padding: 24px 20px;
  border-radius: var(--about-radius-panel);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.about-modern-metric-card strong {
  display: block;
  font-size: 1.42rem;
  color: var(--about-ink);
}

.about-modern-metric-card span {
  display: block;
  margin-top: 7px;
  color: var(--about-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.about-modern-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.about-modern-section-head h2 {
  font-size: clamp(2.15rem, 4vw, 3.05rem);
  line-height: 1.04;
  margin: 0;
  max-width: 18ch;
}

.about-modern-section-head--compact h2 {
  max-width: 16ch;
}

.about-modern-principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-modern-principle-card,
.about-modern-value-card,
.about-modern-step-card {
  padding: 28px;
  border-radius: var(--about-radius-card);
  background: var(--about-surface);
}

.about-modern-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(243, 181, 107, 0.16), rgba(243, 181, 107, 0.08));
  color: var(--about-accent);
  font-size: 1.15rem;
}

.about-modern-values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-modern-value-card {
  background: rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.about-modern-value-card__media {
  margin: 0;
  height: clamp(190px, 18vw, 230px);
  background: #e7eef7;
  overflow: hidden;
}

.about-modern-value-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-modern-value-card__body {
  display: grid;
  gap: 10px;
  padding: 24px 24px 26px;
  flex: 1;
}

.about-modern-message-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.about-modern-portrait-card {
  overflow: hidden;
  border-radius: 22px;
  margin: 0;
  background: #d6cec3;
  min-height: 100%;
}

.about-modern-message-card {
  padding: 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 238, 228, 0.92));
}

.about-modern-message-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  margin: 16px 0 18px;
  text-align: justify;
  text-justify: inter-word;
}

.about-modern-message-card blockquote {
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.16;
  color: var(--about-ink);
  width: 100%;
  max-width: 85%;
  text-align: justify;
}

.about-modern-message-card p {
  text-align: justify;
  text-justify: inter-word;
}

.about-modern-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-modern-step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--about-accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.about-modern-cta {
  padding-bottom: 60px;
}

.about-modern-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 47, 87, 0.95), rgba(35, 90, 144, 0.95)),
    #173b63;
  color: #fdf7ef;
}

.about-modern-cta-copy,
.about-modern-actions--cta {
  width: 100%;
}

.about-modern-cta-card h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  line-height: 0.98;
  margin: 14px 0 12px;
}

.about-modern-cta-card p,
.about-modern-cta-card .about-modern-section-kicker {
  color: rgba(253, 247, 239, 0.82);
}

.about-modern-cta-card .about-modern-section-kicker {
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.about-modern-actions--cta {
  margin-top: 0;
  justify-content: flex-start;
}

.about-modern-actions--cta .about-modern-btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.about-modern-actions--cta .about-modern-btn--secondary:hover,
.about-modern-actions--cta .about-modern-btn--secondary:focus {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1100px) {
  .about-modern-hero-grid,
  .about-modern-story-grid,
  .about-modern-message-grid {
    grid-template-columns: 1fr;
  }

  .about-modern-values-grid,
  .about-modern-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-modern-step-grid,
  .about-modern-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-modern-hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .about-modern-section-head h2 {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .about-modern-hero-line {
    display: block;
  }

  .about-modern-principles .about-modern-section-head,
  .about-modern-values .about-modern-section-head,
  .about-modern-journey .about-modern-section-head {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
  }

  .about-modern-principles .about-modern-section-head h2,
  .about-modern-values .about-modern-section-head h2,
  .about-modern-journey .about-modern-section-head h2 {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: center;
  }

  .about-modern-principles .about-modern-section-head .about-modern-kicker,
  .about-modern-values .about-modern-section-head .about-modern-kicker,
  .about-modern-journey .about-modern-section-head .about-modern-kicker {
    order: 2;
    align-self: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .about-modern-shell {
    width: min(100% - 28px, 100%);
  }

  .about-modern-hero {
    padding-top: 30px;
  }

  .about-modern-hero-copy h1 {
    max-width: none;
  }

  .about-modern-lead,
  .about-modern-copy,
  .about-modern-floating-card p,
  .about-modern-panel p,
  .about-modern-checklist li,
  .about-modern-principle-card p,
  .about-modern-value-card p,
  .about-modern-step-card p,
  .about-modern-cta-card p {
    text-align: left;
  }

  .about-modern-panel,
  .about-modern-principle-card,
  .about-modern-value-card,
  .about-modern-message-card,
  .about-modern-step-card,
  .about-modern-cta-card {
    padding: 24px;
    border-radius: 18px;
  }

  .about-modern-value-card {
    padding: 0;
  }

  .about-modern-value-card__body {
    padding: 20px 20px 22px;
  }

  .about-modern-value-card__media {
    height: 200px;
  }

  .about-modern-photo-card {
    border-radius: 20px;
  }

  .about-modern-photo-card img,
  .about-modern-portrait-card img {
    aspect-ratio: 4 / 3.8;
  }

  .about-modern-floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .about-modern-values-grid,
  .about-modern-principle-grid,
  .about-modern-step-grid,
  .about-modern-metric-grid {
    grid-template-columns: 1fr;
  }

  .about-modern-value-card__media {
    height: 220px;
  }

  .about-modern-actions,
  .about-modern-actions--cta {
    flex-direction: column;
    align-items: stretch;
  }

  .about-modern-btn {
    width: 100%;
  }

  .about-modern-hero-visual {
    padding-inline: 0;
  }
}

/* -------------------------------------------------------------------------
   Appointment page styles (appoint_form.html)
   Scoped to the .appointment container to avoid global overrides.
------------------------------------------------------------------------- */
.appointment {
  --appointment-card-radius: 10px;
}

.appointment .card {
  border-radius: var(--appointment-card-radius);
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.06);
}

.appointment .card-body {
  padding: 1.5rem;
}

.appointment .form-label {
  font-weight: 600;
  color: #1f2937;
}

.appointment .form-text-helper {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
  /* Bootstrap $gray-600 */
}

.appointment .student-group {
  background: #ffffff;
}

.appointment .student-group .remove-student {
  margin-left: auto;
}

.appointment #addStudentBtn {
  margin-top: 6px;
}

.appointment textarea.form-control {
  min-height: 110px;
}

/* Make the preferences row inputs vertically aligned and consistent height */
.appointment .row.align-items-end .form-control,
.appointment .row.align-items-end .form-select {
  min-height: 44px;
}

/* Small screens: tighten spacing inside card */
@media (max-width: 576px) {
  .appointment .card-body {
    padding: 1rem;
  }

  .appointment .student-group {
    padding: .75rem !important;
  }
}

/* Make action buttons stand out */
.appointment .btn-orange {
  background: #f3b56b;
  color: #fff;
  border: none;
  padding: .5rem 1rem;
  border-radius: 24px;
  font-weight: 600;
}

/* small visual helper for clipboard/message area */
#formMsg {
  min-width: 160px;
}

/* -------------------------------------------------------------------------
   Appointment booking redesign (appoint_form.html)
   Scoped to body.appointment-page so other pages keep their current layout.
-------------------------------------------------------------------------- */
body.appointment-page {
  --appointment-ink: #173b63;
  --appointment-muted: #5e706d;
  --appointment-accent: #e69847;
  --appointment-accent-strong: #d88938;
  --appointment-line: rgba(23, 59, 99, 0.1);
  --appointment-surface: rgba(255, 255, 255, 0.94);
  --appointment-surface-soft: rgba(247, 242, 234, 0.88);
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.12), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(23, 59, 99, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f5ee 0%, #fbfaf7 44%, #f4efe6 100%);
  color: var(--appointment-ink);
}

.appointment-page-main {
  font-family: "Manrope", sans-serif;
  overflow: hidden;
  padding-bottom: 72px;
}

.appointment-page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.appointment-page-hero {
  position: relative;
  padding: 68px 0 32px;
}

.appointment-page-hero::before,
.appointment-page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.appointment-page-hero::before {
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 59, 99, 0.12), rgba(23, 59, 99, 0));
}

.appointment-page-hero::after {
  left: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.15), rgba(243, 181, 107, 0));
}

.appointment-page-hero-grid,
.appointment-page-booking-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: start;
}

.appointment-page-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
}

.appointment-page-eyebrow,
.appointment-page-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(23, 59, 99, 0.08);
  color: var(--appointment-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointment-page-hero-copy h1 {
  margin: 0;
  color: var(--appointment-ink);
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.appointment-page-hero-copy p,
.appointment-page-form-head p,
.appointment-page-info-card p,
.appointment-page-section-copy,
.appointment-page-form-note {
  margin: 0;
  color: var(--appointment-muted);
  line-height: 1.82;
  text-align: justify;
}

.appointment-page-hero-copy p {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 1.02rem;
}

.appointment-page-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.appointment-page-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--appointment-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(23, 59, 99, 0.05);
  color: var(--appointment-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.appointment-page-pills i {
  color: var(--appointment-accent-strong);
}

.appointment-page-hero-card,
.appointment-page-info-card,
.appointment-page-form-panel {
  border: 1px solid var(--appointment-line);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(23, 59, 99, 0.08);
}

.appointment-page-hero-card {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(23, 59, 99, 0.97), rgba(44, 101, 152, 0.95)),
    #173b63;
  color: #fff;
}

.appointment-page-hero-card .appointment-page-card-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.appointment-page-hero-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.appointment-page-steps {
  counter-reset: appointment-step;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.appointment-page-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 58px;
}

.appointment-page-steps li::before {
  counter-increment: appointment-step;
  content: counter(appointment-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
}

.appointment-page-steps strong {
  color: #fff;
  font-size: 1rem;
}

.appointment-page-steps span,
.appointment-page-hero-note {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.appointment-page-hero-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.appointment-page-hero-note a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.appointment-page-booking {
  padding-top: 8px;
}

.appointment-page-booking-grid {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
}

.appointment-page-sidebar {
  display: grid;
  gap: 18px;
}

.appointment-page-info-card {
  padding: 24px;
  background: var(--appointment-surface);
}

.appointment-page-info-card h3,
.appointment-page-form-head h2 {
  margin: 0;
  color: var(--appointment-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.appointment-page-info-card h3 {
  font-size: 1.45rem;
}

.appointment-page-info-card--accent {
  background:
    linear-gradient(135deg, rgba(243, 181, 107, 0.14), rgba(23, 59, 99, 0.04)),
    #fff;
}

.appointment-page-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.appointment-page-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--appointment-muted);
  line-height: 1.75;
  text-align: justify;
}

.appointment-page-checklist li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--appointment-accent), #d6b07f);
  box-shadow: 0 0 0 5px rgba(243, 181, 107, 0.12);
}

.appointment-page-contact-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.appointment-page-contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 59, 99, 0.09);
  background: rgba(255, 255, 255, 0.78);
  color: var(--appointment-ink);
  text-decoration: none;
  font-weight: 600;
}

.appointment-page-contact-links a i {
  color: var(--appointment-accent-strong);
}

.appointment-page-form-panel {
  padding: 32px;
  background: var(--appointment-surface);
}

.appointment-page-form-head {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.appointment-page-section-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(23, 59, 99, 0.07);
  color: var(--appointment-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointment-page-section-copy {
  margin-top: 12px;
}

.appointment-page-student-group {
  margin: 0;
  padding: 22px 20px;
  border: 1px solid var(--appointment-line);
  border-radius: 18px;
  background: var(--appointment-surface-soft);
}

.appointment-page .appointment .form-label {
  font-weight: 700;
  color: var(--appointment-ink);
}

.appointment-page .appointment-page-form .form-control,
.appointment-page .appointment-page-form .form-select {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(23, 59, 99, 0.14);
  background: #fff;
  box-shadow: none;
}

.appointment-page .appointment-page-form .form-control:focus,
.appointment-page .appointment-page-form .form-select:focus {
  border-color: rgba(243, 181, 107, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(243, 181, 107, 0.14);
}

.appointment-page .appointment-page-form textarea.form-control {
  min-height: 130px;
}

.appointment-page-main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.appointment-page-add-btn {
  border-color: rgba(23, 59, 99, 0.14);
  color: var(--appointment-ink);
  background: rgba(255, 255, 255, 0.88);
}

.appointment-page-add-btn:hover,
.appointment-page-add-btn:focus {
  border-color: rgba(243, 181, 107, 0.45);
  color: var(--appointment-accent-strong);
  background: rgba(243, 181, 107, 0.08);
}

.appointment-page-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.appointment-page-submit-btn {
  border: 0;
  background: linear-gradient(135deg, var(--appointment-accent), var(--appointment-accent-strong));
  color: #fff;
  box-shadow: 0 16px 30px rgba(169, 106, 25, 0.24);
}

.appointment-page-submit-btn:hover,
.appointment-page-submit-btn:focus {
  color: #fff;
}

.appointment-page-copy-btn {
  border-color: rgba(23, 59, 99, 0.15);
  color: var(--appointment-ink);
  background: rgba(255, 255, 255, 0.9);
}

.appointment-page-copy-btn:hover,
.appointment-page-copy-btn:focus {
  color: var(--appointment-ink);
  background: #fff;
}

.appointment-page .remove-student {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
}

.appointment-page-form-message {
  min-height: 24px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.appointment-page-form-note {
  padding-top: 4px;
  font-size: 0.94rem;
}

@media (max-width: 1100px) {
  .appointment-page-hero-grid,
  .appointment-page-booking-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .appointment-page-shell {
    width: min(100% - 28px, 100%);
  }

  .appointment-page-hero {
    padding: 50px 0 22px;
  }

  .appointment-page-pills,
  .appointment-page-sidebar {
    grid-template-columns: 1fr;
  }

  .appointment-page-hero-card,
  .appointment-page-info-card,
  .appointment-page-form-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .appointment-page-student-group {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .appointment-page-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .appointment-page-submit-btn,
  .appointment-page-copy-btn,
  .appointment-page-add-btn {
    width: 100%;
  }

  .appointment-page-form-message {
    min-height: 0;
  }
}

/* ===== CO-CURRICULUM PAGE STYLES ===== */

.co-curriculum-page .ey-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

.co-curriculum-page .ey-hero .lead {
  max-width: 760px;
  margin: 14px auto 0;
  color: #294743;
  font-size: 1.08rem;
  line-height: 1.7;
}

.co-curriculum-page .hayl-curriculum-main {
  background:
    radial-gradient(circle at top right, rgba(243, 181, 107, 0.14), transparent 26%),
    linear-gradient(180deg, #fbf8f1 0%, #ffffff 35%, #f7fbfb 100%);
  padding: 72px 20px 88px;
  font-family: "Roboto", sans-serif;
  color: #173b63;
  position: relative;
  overflow: hidden;
}

.co-curriculum-page .hayl-curriculum-main::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(23, 59, 99, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
  filter: blur(70px);
}

.co-curriculum-page .curriculum-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.co-curriculum-page .co-curriculum-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #173b63 0%, #235a90 55%, #2c6598 100%);
  box-shadow: 0 24px 48px rgba(23, 59, 99, 0.16);
  color: #fff;
}

.co-curriculum-page .co-curriculum-overview__copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.co-curriculum-page .co-curriculum-kicker {
  display: inline-flex;
  justify-self: start;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f9ddbc;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.co-curriculum-page .co-curriculum-overview__copy h2 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.co-curriculum-page .co-curriculum-overview__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
}

.co-curriculum-page .co-curriculum-overview__grid {
  display: grid;
  gap: 16px;
}

.co-curriculum-page .co-curriculum-overview__item {
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.co-curriculum-page .co-curriculum-overview__item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 227, 157, 0.16);
  color: #f9ddbc;
  font-size: 1.05rem;
}

.co-curriculum-page .co-curriculum-overview__item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.co-curriculum-page .co-curriculum-overview__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.co-curriculum-page .curriculum-section {
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  padding: 40px 36px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(23, 59, 99, 0.08);
  backdrop-filter: blur(8px);
}

.co-curriculum-page .curriculum-section:not(.extracurricular-section) {
  background: transparent;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  padding: 34px;
}

.co-curriculum-page .section-header {
  text-align: left;
  margin-bottom: 28px;
}

.co-curriculum-page .section-header h2 {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  margin: 0;
  color: #173b63;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.co-curriculum-page .section-header h2::after {
  content: "";
  flex-basis: 100%;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, #f3b56b, #e69847);
  display: block;
  margin: 16px 0 0;
  border-radius: 999px;
}

.co-curriculum-page .section-header h2 i {
  color: #f3b56b;
  font-size: 1.55rem;
}

.co-curriculum-page .curriculum-intro {
  margin-bottom: 28px;
  color: #52636b;
  font-size: 1.03rem;
  line-height: 1.85;
  text-align: justify;
}

.co-curriculum-page .curriculum-intro p {
  margin-bottom: 16px;
}

.co-curriculum-page .curriculum-intro p:last-child {
  margin-bottom: 0;
}

.co-curriculum-page .curriculum-intro strong {
  color: #e69847;
  font-weight: 700;
}

.co-curriculum-page .subjects-grid,
.co-curriculum-page .approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.co-curriculum-page .subject-category,
.co-curriculum-page .approach-item {
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf8 100%);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(23, 59, 99, 0.08);
}

.co-curriculum-page .subject-category {
  position: relative;
  overflow: hidden;
}

.co-curriculum-page .subject-category::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f3b56b, #173b63);
}

.co-curriculum-page .category-header h3,
.co-curriculum-page .approach-header h3 {
  margin: 0 0 20px;
  color: #173b63;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.co-curriculum-page .category-header h3 i,
.co-curriculum-page .approach-header h3 i {
  margin-right: 10px;
  color: #f3b56b;
}

.co-curriculum-page .subjects-list {
  margin-bottom: 18px;
}

.co-curriculum-page .subject-item,
.co-curriculum-page .facility-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.co-curriculum-page .subject-item {
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
  color: #475569;
  transition: color 0.24s ease;
}

.co-curriculum-page .subject-item:last-child {
  border-bottom: none;
}

.co-curriculum-page .subject-item:hover {
  color: #173b63;
}

.co-curriculum-page .subject-item i,
.co-curriculum-page .facility-item i {
  flex: 0 0 auto;
  width: 20px;
  color: #f3b56b;
  font-size: 1.05rem;
  margin-top: 3px;
}

.co-curriculum-page .category-description {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
  text-align: justify;
}

.co-curriculum-page .extracurricular-section {
  background: linear-gradient(135deg, #173b63 0%, #235a90 55%, #2c6598 100%);
  border-color: rgba(23, 59, 99, 0.12);
  color: #fff;
}

.co-curriculum-page .extracurricular-section .section-header h2,
.co-curriculum-page .extracurricular-section .section-header h2 i,
.co-curriculum-page .extracurricular-section .curriculum-intro,
.co-curriculum-page .extracurricular-section .extracurricular-footer {
  color: #fff;
}

.co-curriculum-page .extracurricular-section .section-header h2::after {
  background: linear-gradient(90deg, #f9ddbc, #f3b56b);
}

.co-curriculum-page .extracurricular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  align-items: stretch;
}

.co-curriculum-page .activity-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 26px 22px;
  text-align: left;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  transition: transform 0.26s ease, background 0.26s ease, border-color 0.26s ease;
}

.co-curriculum-page .activity-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 227, 157, 0.26);
}

.co-curriculum-page .activity-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 227, 157, 0.12);
  color: #f9ddbc;
  font-size: 1.55rem;
}

.co-curriculum-page .activity-card h4 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.45;
}

.co-curriculum-page .activity-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.co-curriculum-page .extracurricular-footer {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
}

.co-curriculum-page .approach-content p {
  color: #52636b;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: justify;
}

.co-curriculum-page .approach-content p:last-child {
  margin-bottom: 0;
}

.co-curriculum-page .facilities-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.co-curriculum-page .facility-item {
  padding: 14px 16px;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  background: #f8fafb;
  color: #475569;
  transition: border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.co-curriculum-page .facility-item:hover {
  border-color: rgba(243, 181, 107, 0.28);
  background: #fffdf6;
  color: #173b63;
}

.co-curriculum-page .co-curriculum-partners-section {
  padding-top: 14px;
  padding-bottom: 14px;
}

.co-curriculum-page .co-curriculum-partners-section .section-header {
  text-align: center;
  margin-bottom: 10px;
}

.co-curriculum-page .co-curriculum-partners-section .section-header h2 {
  justify-content: center;
}

.co-curriculum-page .co-curriculum-partners-section .section-header h2::after {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.co-curriculum-page .co-curriculum-partners-section .row.text-center {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.co-curriculum-page .co-curriculum-partners-section .tempaltemo-carousel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.co-curriculum-page .co-curriculum-partners-section .carousel.slide {
  padding-top: 0 !important;
}

.co-curriculum-page .co-curriculum-partners-section .carousel-item .col-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.co-curriculum-page .co-curriculum-partners-section .brand-img {
  max-width: 82%;
  margin-left: auto;
  margin-right: auto;
}

.partners-section {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.partners-section .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.partners-section .row.text-center {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.partners-section .col-lg-6.m-auto {
  margin-bottom: 10px;
}

.partners-section .col-lg-6.m-auto h1 {
  margin-bottom: 0;
}

.partners-section .tempaltemo-carousel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.partners-section .carousel.slide {
  padding-top: 0 !important;
}

.partners-section .carousel-item .col-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.partners-section .brand-img {
  max-width: 82%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1199px) {
  .co-curriculum-page .co-curriculum-overview,
  .co-curriculum-page .subjects-grid,
  .co-curriculum-page .approach-grid {
    grid-template-columns: 1fr;
  }

  .co-curriculum-page .extracurricular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .co-curriculum-page .co-curriculum-overview__copy h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .co-curriculum-page .hayl-curriculum-main {
    padding: 48px 15px 72px;
  }

  .co-curriculum-page .co-curriculum-overview,
  .co-curriculum-page .curriculum-section {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .co-curriculum-page .section-header {
    margin-bottom: 22px;
  }

  .co-curriculum-page .section-header h2 {
    font-size: 1.65rem;
  }

  .co-curriculum-page .section-header h2::after {
    margin-top: 14px;
  }

  .co-curriculum-page .curriculum-intro {
    font-size: 0.98rem;
  }

  .co-curriculum-page .extracurricular-grid {
    grid-template-columns: 1fr;
  }

  .co-curriculum-page .activity-card,
  .co-curriculum-page .subject-category,
  .co-curriculum-page .approach-item {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .co-curriculum-page .ey-hero h1 {
    font-size: 2rem;
  }

  .co-curriculum-page .section-header h2 {
    font-size: 1.5rem;
  }

  .co-curriculum-page .co-curriculum-overview__item {
    padding: 18px 16px;
  }
}

/* ===== INDEX.HTML MOBILE HERO BANNER OPTIMIZATION ===== */
@media (max-width: 768px) {
  /* Hero slider text - improved mobile styling */
  .hero-caption h1 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    width: 90% !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
    padding: 0 10px !important;
  }
  
  .hero-caption p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    width: 90% !important;
    text-align: center !important;
    line-height: 1.5 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6) !important;
    padding: 0 15px !important;
    margin: 0 !important;
  }
  
  .hero-caption > div {
    width: 95% !important;
    padding: 20px 10px !important;
  }
  
  /* Mobile arrow styling - better blending */
  .arrow.left,
  .arrow.right {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  .arrow.left {
    left: 12px !important;
  }
  
  .arrow.right {
    right: 12px !important;
  }
  
  .arrow svg {
    width: 18px !important;
    height: 18px !important;
    stroke: rgba(255, 255, 255, 0.9) !important;
    stroke-width: 2.5 !important;
  }
  
  /* Dots styling for mobile */
  .dots {
    bottom: 16px !important;
    padding-bottom: 20px !important;
  }
  
  .dot {
    width: 12px !important;
    height: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Director's message */
  .blockquote {
    text-align: justify !important;
  }
  
  /* Welcome section paragraphs */
  .container-fluid p {
    text-align: justify;
  }
  
  /* Academic stages content */
  .hayl_academic__subtitle {
    text-align: justify;
  }
  
  /* Why choose us subtitle */
  .whychoose_hayl__subtitle {
    text-align: justify;
  }
  
  /* Testimonial quotes */
  .quote {
    text-align: justify !important;
  }
  
  /* Brand section paragraph */
  .bg-light p {
    text-align: justify;
  }
}

/* ===== ADMISSIONS PAGE ===== */
body.admissions-page {
  --admissions-ink: #173b63;
  --admissions-muted: #5b6f6d;
  --admissions-accent: #e69847;
  --admissions-accent-strong: #d88938;
  --admissions-cream: #f6f1e8;
  --admissions-surface: #ffffff;
  --admissions-surface-soft: #fbf8f3;
  --admissions-line: rgba(23, 59, 99, 0.1);
  --admissions-radius-card: 18px;
  --admissions-radius-panel: 14px;
  --admissions-radius-soft: 12px;
  --admissions-radius-pill: 12px;
  background:
    radial-gradient(circle at top left, rgba(243, 181, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, #fcfbf8 38%, #f6f2ea 100%);
  color: var(--admissions-ink);
}

.admissions-main {
  overflow: hidden;
}

.admissions-hero {
  position: relative;
  padding: 68px 0 54px;
}

.admissions-hero::before,
.admissions-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.admissions-hero::before {
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 59, 99, 0.12), rgba(23, 59, 99, 0));
}

.admissions-hero::after {
  left: -80px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 181, 107, 0.14), rgba(243, 181, 107, 0));
}

.admissions-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.admissions-eyebrow,
.admissions-kicker {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--admissions-radius-pill);
  background: rgba(23, 59, 99, 0.08);
  color: var(--admissions-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admissions-hero h1 {
  margin: 0;
  max-width: none;
  color: var(--admissions-ink);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.admissions-hero-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.admissions-hero-copy p {
  max-width: none;
  margin: 0;
  color: var(--admissions-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  text-align: justify;
}

.admissions-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  max-width: 720px;
}

.admissions-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 11px 15px;
  border: 1px solid rgba(23, 59, 99, 0.09);
  border-radius: var(--admissions-radius-pill);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(23, 59, 99, 0.05);
  color: var(--admissions-ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.admissions-pills i {
  width: 18px;
  text-align: center;
  color: var(--admissions-accent-strong);
}

.admissions-hero-actions,
.admissions-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.admissions-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-content: flex-start;
  max-width: 720px;
}

.admissions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--admissions-radius-soft);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.admissions-btn:hover {
  transform: translateY(-2px);
}

.admissions-btn--primary {
  background: linear-gradient(135deg, var(--admissions-accent), var(--admissions-accent-strong));
  box-shadow: 0 16px 32px rgba(169, 104, 21, 0.24);
  color: #fff;
}

.admissions-btn--primary:hover,
.admissions-btn--primary:focus {
  color: #fff;
}

.admissions-btn--secondary {
  border-color: rgba(23, 59, 99, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--admissions-ink);
}

.admissions-btn--ghost {
  border-color: rgba(243, 181, 107, 0.2);
  background: rgba(243, 181, 107, 0.08);
  color: var(--admissions-accent-strong);
}

.admissions-hero-actions .admissions-btn {
  width: 100%;
}

.admissions-hero-visual {
  display: grid;
  gap: 18px;
}

.admissions-photo-card,
.admissions-facts-card,
.admissions-intro-card,
.admissions-feature-card,
.admissions-step,
.admissions-panel,
.admissions-program-card,
.admissions-support-card,
.admissions-faq-item,
.admissions-cta {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--admissions-line);
  border-radius: var(--admissions-radius-card);
  box-shadow: 0 18px 38px rgba(23, 59, 99, 0.06);
}

.admissions-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.admissions-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admissions-photo-overlay {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px 20px;
  border-radius: var(--admissions-radius-panel);
  background: linear-gradient(180deg, rgba(23, 59, 99, 0.06), rgba(23, 59, 99, 0.84));
  color: #fff;
}

.admissions-photo-overlay span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admissions-photo-overlay strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.35;
}

.admissions-facts-card {
  padding: 24px 24px 18px;
}

.admissions-facts-card h2,
.admissions-section-head h2,
.admissions-panel h2,
.admissions-cta h2 {
  margin: 0;
  color: var(--admissions-ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.admissions-panel h2 {
  text-align: justify;
}

.admissions-facts-card ul,
.admissions-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.admissions-facts-card li,
.admissions-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--admissions-muted);
  line-height: 1.65;
  text-align: justify;
}

.admissions-facts-card i,
.admissions-checklist li::before {
  flex: 0 0 auto;
  color: var(--admissions-accent-strong);
}

.admissions-shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px 88px;
}

.admissions-intro-card,
.admissions-section-block,
.admissions-support-strip,
.admissions-cta {
  margin-top: 28px;
}

.admissions-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 30px 34px;
}

.admissions-section-head p,
.admissions-intro-card p,
.admissions-feature-card p,
.admissions-step p,
.admissions-panel p,
.admissions-program-card p,
.admissions-support-copy p,
.admissions-faq-item p,
.admissions-cta p {
  margin: 0;
  color: var(--admissions-muted);
  line-height: 1.8;
  text-align: justify;
}

.admissions-section-head {
  max-width: none;
  margin-bottom: 24px;
}

.admissions-section-head--inline {
  margin-bottom: 0;
}

.admissions-feature-grid,
.admissions-steps,
.admissions-split-grid,
.admissions-program-grid {
  display: grid;
  gap: 22px;
}

.admissions-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.admissions-feature-card,
.admissions-step,
.admissions-program-card {
  height: 100%;
  padding: 26px 24px;
}

.admissions-feature-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--admissions-radius-soft);
  background: rgba(243, 181, 107, 0.12);
  color: var(--admissions-accent-strong);
  font-size: 1.2rem;
}

.admissions-feature-card h3,
.admissions-step h3,
.admissions-program-card h3,
.admissions-support-card h3 {
  margin: 0 0 12px;
  color: var(--admissions-ink);
  font-size: 1.25rem;
  line-height: 1.3;
}

.admissions-support-copy h2 {
  text-align: justify;
}

.admissions-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admissions-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(243, 181, 107, 0.16), rgba(23, 59, 99, 0.08));
  color: var(--admissions-accent-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admissions-split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  align-items: stretch;
}

.admissions-panel,
.admissions-support-card {
  height: 100%;
  padding: 28px 28px 26px;
}

.admissions-panel-head {
  margin-bottom: 18px;
}

.admissions-panel h2 {
  font-size: 1.95rem;
}

.admissions-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-top: 2px;
}

.admissions-note {
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(243, 181, 107, 0.18);
  border-radius: var(--admissions-radius-soft);
  background: rgba(243, 181, 107, 0.08);
  color: var(--admissions-muted);
  line-height: 1.7;
}

.admissions-program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admissions-program-card {
  display: flex;
  flex-direction: column;
}

.admissions-program-card a {
  margin-top: auto;
  padding-top: 16px;
  color: var(--admissions-accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.admissions-support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  padding: 0;
}

.admissions-support-copy {
  padding: 28px 6px 0 4px;
}

.admissions-checklist--compact {
  gap: 12px;
}

.admissions-faq-list {
  display: grid;
  gap: 16px;
}

.admissions-faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}

.admissions-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  color: var(--admissions-ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.admissions-faq-item summary::-webkit-details-marker {
  display: none;
}

.admissions-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: var(--admissions-accent-strong);
  font-size: 1.55rem;
  font-weight: 400;
}

.admissions-faq-item[open] summary::after {
  content: "-";
}

.admissions-faq-item p {
  padding: 0 24px 22px;
}

.admissions-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 32px 34px;
  background:
    linear-gradient(135deg, rgba(23, 59, 99, 0.03), rgba(243, 181, 107, 0.1)),
    rgba(255, 255, 255, 0.96);
}

.admissions-cta-copy {
  max-width: none;
}

@media (max-width: 1199px) {
  .admissions-hero-grid,
  .admissions-intro-card,
  .admissions-support-strip,
  .admissions-cta {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 991px) {
  .admissions-hero {
    padding: 54px 0 40px;
  }

  .admissions-feature-grid,
  .admissions-split-grid {
    grid-template-columns: 1fr;
  }

  .admissions-photo-card {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .admissions-shell {
    padding: 0 15px 72px;
  }

  .admissions-hero h1 {
    max-width: none;
    font-size: 2rem;
  }

  .admissions-pills {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admissions-feature-grid,
  .admissions-steps,
  .admissions-program-grid {
    grid-template-columns: 1fr;
  }

  .admissions-hero-actions {
    grid-template-columns: 1fr;
  }

  .admissions-intro-card,
  .admissions-feature-card,
  .admissions-step,
  .admissions-panel,
  .admissions-program-card,
  .admissions-support-card,
  .admissions-cta {
    padding: 24px 20px;
  }

  .admissions-facts-card {
    padding: 22px 20px 18px;
  }

  .admissions-photo-overlay {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .admissions-faq-item summary {
    padding: 20px 52px 20px 18px;
  }

  .admissions-faq-item p {
    padding: 0 18px 20px;
  }
}

/* School uniform page */
body.uniform-page {
  --uniform-ink: #5b2140;
  --uniform-ink-strong: #311426;
  --uniform-muted: #6f5e69;
  --uniform-maroon: #8d2e59;
  --uniform-maroon-deep: #5f1f42;
  --uniform-accent: #ef9444;
  --uniform-accent-strong: #d97926;
  --uniform-surface: #ffffff;
  --uniform-surface-soft: #fff7f0;
  --uniform-line: rgba(91, 33, 64, 0.12);
  --uniform-shadow: 0 22px 54px rgba(68, 27, 49, 0.12);
  background:
    radial-gradient(circle at 12% 10%, rgba(141, 46, 89, 0.13), transparent 23%),
    radial-gradient(circle at 88% 18%, rgba(239, 148, 68, 0.16), transparent 24%),
    linear-gradient(180deg, #fffaf5 0%, #fbf2eb 54%, #f8eee7 100%);
  color: var(--uniform-ink);
  font-family: "Manrope", "Roboto", sans-serif;
}

.uniform-main {
  overflow-x: clip;
  padding-bottom: 84px;
}

.uniform-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.uniform-hero {
  padding: 56px 0 26px;
}

.uniform-hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(95, 31, 66, 0.98), rgba(141, 46, 89, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  box-shadow: var(--uniform-shadow);
  color: #fff8f7;
}

.uniform-hero-panel::before,
.uniform-hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.uniform-hero-panel::before {
  width: 320px;
  height: 320px;
  top: -110px;
  right: -100px;
  background: radial-gradient(circle, rgba(239, 148, 68, 0.35), rgba(239, 148, 68, 0));
}

.uniform-hero-panel::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.uniform-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: start;
}

.uniform-hero-copy {
  display: grid;
  align-content: start;
}

.uniform-eyebrow,
.uniform-card-kicker,
.uniform-section-kicker,
.uniform-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
}

.uniform-eyebrow,
.uniform-card-kicker {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff2ea;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.uniform-hero-copy h1,
.uniform-section-head h2,
.uniform-section-header h2,
.uniform-category-card h3,
.uniform-card h3,
.uniform-guidance-copy h2,
.uniform-hero-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

.uniform-hero-copy h1 {
  margin: 18px 0 0;
  max-width: none;
  font-size: clamp(2.7rem, 5.1vw, 4.35rem);
  line-height: 0.95;
  color: #ffffff;
}

.uniform-hero-copy p,
.uniform-hero-card p,
.uniform-section-head p,
.uniform-section-header p,
.uniform-category-card p,
.uniform-card p,
.uniform-guidance-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.uniform-hero-copy p {
  max-width: 66ch;
  margin-top: 18px;
  color: rgba(255, 244, 239, 0.9);
}

.uniform-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.uniform-pills span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 246, 0.95);
}

.uniform-pills i {
  margin-top: 4px;
  color: #ffd2ab;
}

.uniform-actions,
.uniform-guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.uniform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.uniform-btn:hover,
.uniform-btn:focus-visible {
  transform: translateY(-2px);
}

.uniform-btn--primary {
  background: linear-gradient(135deg, #ffbe73, var(--uniform-accent));
  color: #4d1c0f;
  box-shadow: 0 18px 34px rgba(217, 121, 38, 0.26);
}

.uniform-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff7f3;
}

.uniform-btn--secondary-light {
  border-color: var(--uniform-line);
  background: rgba(91, 33, 64, 0.06);
  color: var(--uniform-ink);
}

.uniform-hero-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.uniform-lookbook {
  display: block;
}

.uniform-hero-card,
.uniform-category-card,
.uniform-card,
.uniform-guidance-panel,
.uniform-accessory-card {
  border: 1px solid var(--uniform-line);
  border-radius: 26px;
  box-shadow: var(--uniform-shadow);
}

.uniform-lookbook-main {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 249, 246, 0.96), rgba(246, 228, 216, 0.95));
  box-shadow: 0 18px 40px rgba(32, 11, 24, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 8px;
}

.uniform-lookbook-main {
  min-height: 0;
}

.uniform-lookbook-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  filter: drop-shadow(0 18px 20px rgba(59, 19, 40, 0.1));
}

.uniform-lookbook-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(31, 14, 25, 0.52);
  backdrop-filter: blur(8px);
}

.uniform-lookbook-label span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 236, 222, 0.82);
}

.uniform-lookbook-label strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #ffffff;
}

.uniform-hero-card {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff8f6;
}

.uniform-hero-card--notice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px 28px;
  align-items: start;
}

.uniform-hero-card-copy,
.uniform-hero-card-meta {
  display: grid;
  align-content: start;
}

.uniform-hero-card-meta {
  gap: 16px;
}

.uniform-hero-card h2 {
  margin: 16px 0 10px;
  font-size: 2rem;
  line-height: 1.02;
  color: #ffffff;
}

.uniform-hero-card p {
  color: rgba(255, 244, 239, 0.88);
}

.uniform-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.uniform-summary-grid div {
  padding: 14px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.uniform-summary-grid span {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.uniform-summary-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 244, 239, 0.88);
}

.uniform-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.uniform-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  background: #fff5ec;
  color: var(--uniform-maroon-deep);
  text-decoration: none;
  font-weight: 800;
}

.uniform-overview,
.uniform-section,
.uniform-essentials,
.uniform-guidance {
  padding-top: 26px;
}

.uniform-section-head,
.uniform-section-header {
  margin-bottom: 24px;
}

.uniform-section-kicker {
  background: rgba(141, 46, 89, 0.1);
  color: var(--uniform-maroon);
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.uniform-section-head h2,
.uniform-section-header h2,
.uniform-guidance-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 3.9vw, 3.1rem);
  line-height: 1;
  color: var(--uniform-ink-strong);
}

.uniform-guidance-copy h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.08;
}

.uniform-section-head p,
.uniform-section-header p,
.uniform-category-card p,
.uniform-card p,
.uniform-guidance-copy p {
  color: var(--uniform-muted);
}

.uniform-section-head p {
  max-width: 70ch;
  margin-top: 12px;
}

.uniform-category-grid,
.uniform-grid,
.uniform-accessory-grid {
  display: grid;
  gap: 20px;
}

.uniform-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.uniform-accessory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uniform-category-card,
.uniform-card,
.uniform-accessory-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: var(--uniform-surface);
}

.uniform-category-card::before,
.uniform-card::before,
.uniform-accessory-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--uniform-maroon), var(--uniform-accent));
}

.uniform-category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff0de, #ffd7b3);
  color: var(--uniform-accent-strong);
  font-size: 1.25rem;
}

.uniform-category-card h3,
.uniform-card h3 {
  margin: 18px 0 8px;
  font-size: 1.7rem;
  color: var(--uniform-ink-strong);
}

.uniform-accessory-card h3 {
  margin: 18px 0 8px;
  font-size: 1.55rem;
  color: var(--uniform-ink-strong);
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

.uniform-card-media {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.uniform-card-media--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uniform-card-shot,
.uniform-accessory-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(91, 33, 64, 0.1);
  background: linear-gradient(180deg, #fffaf5, #f4ebe5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.uniform-card-shot {
  min-height: 208px;
}

.uniform-card-shot--wide {
  min-height: 244px;
}

.uniform-card-shot img,
.uniform-accessory-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 20px rgba(55, 20, 38, 0.1));
}

.uniform-card-shot figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(91, 33, 64, 0.68);
  color: #fff8f6;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.uniform-section-header {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-items: start;
}

.uniform-section-header > div {
  display: grid;
  align-content: start;
}

.uniform-section-header p {
  max-width: 70ch;
}

.uniform-section-header--girls .uniform-section-kicker {
  background: rgba(239, 148, 68, 0.16);
  color: #99510f;
}

.uniform-card-badge {
  background: rgba(141, 46, 89, 0.09);
  color: var(--uniform-maroon);
}

.uniform-card-badge--sport {
  background: rgba(239, 148, 68, 0.14);
  color: #9d5612;
}

.uniform-card-badge--friday {
  background: rgba(91, 33, 64, 0.08);
  color: var(--uniform-maroon-deep);
}

.uniform-item-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

.uniform-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(91, 33, 64, 0.08);
  border-radius: 10px;
  background: var(--uniform-surface-soft);
  color: var(--uniform-ink);
}

.uniform-item-list i {
  margin-top: 4px;
  color: var(--uniform-accent-strong);
}

.uniform-card-schedule {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(91, 33, 64, 0.1);
  border-radius: 10px;
  background: rgba(141, 46, 89, 0.05);
}

.uniform-card-schedule-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(141, 46, 89, 0.12);
  color: var(--uniform-maroon-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uniform-card-schedule p {
  margin: 0;
  color: var(--uniform-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
}

.uniform-card-schedule strong {
  color: var(--uniform-ink-strong);
}

.uniform-accessory-card p {
  color: var(--uniform-muted);
}

.uniform-accessory-photo {
  min-height: 232px;
  margin-bottom: 6px;
}

.uniform-guidance-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 22px 28px;
  align-items: start;
  padding: 34px 34px 32px;
  background:
    radial-gradient(circle at top right, rgba(239, 148, 68, 0.18), transparent 28%),
    linear-gradient(135deg, #fff8f1 0%, #fff2e5 45%, #fffaf6 100%);
}

.uniform-guidance-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--uniform-maroon), var(--uniform-accent));
}

.uniform-guidance-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.uniform-guidance-copy p {
  max-width: 72ch;
}

.uniform-guidance-highlights {
  display: grid;
  gap: 14px;
}

.uniform-guidance-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(91, 33, 64, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px rgba(68, 27, 49, 0.08);
}

.uniform-guidance-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(141, 46, 89, 0.14), rgba(239, 148, 68, 0.2));
  color: var(--uniform-maroon-deep);
  font-size: 1rem;
}

.uniform-guidance-note p {
  margin: 0;
  color: var(--uniform-ink);
  line-height: 1.7;
  text-align: left;
}

.uniform-guidance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .uniform-pills,
  .uniform-category-grid,
  .uniform-grid,
  .uniform-accessory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .uniform-overview .uniform-section-head p {
    max-width: none;
  }

  .uniform-section .uniform-section-header p {
    max-width: none;
  }
}

@media (max-width: 991px) {
  .uniform-hero {
    padding: 46px 0 22px;
  }

  .uniform-hero-grid,
  .uniform-guidance-panel {
    grid-template-columns: 1fr;
  }

  .uniform-hero-card--notice {
    grid-template-columns: 1fr;
  }

  .uniform-lookbook-main {
    aspect-ratio: 1.16 / 1;
  }

  .uniform-guidance-actions {
    margin-top: 8px;
  }
}

@media (max-width: 767px) {
  .uniform-shell {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .uniform-main {
    padding-bottom: 72px;
  }

  .uniform-hero-panel,
  .uniform-category-card,
  .uniform-card,
  .uniform-guidance-panel,
  .uniform-hero-card {
    padding: 22px 20px;
  }

  .uniform-hero-copy h1 {
    max-width: none;
    font-size: 2.35rem;
  }

  .uniform-pills,
  .uniform-summary-grid,
  .uniform-category-grid,
  .uniform-grid,
  .uniform-accessory-grid,
  .uniform-card-media--split,
  .uniform-quick-links {
    grid-template-columns: 1fr;
  }

  .uniform-actions,
  .uniform-guidance-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .uniform-btn {
    width: 100%;
    min-width: 0;
  }

  .uniform-lookbook-main {
    aspect-ratio: 1 / 1;
  }

  .uniform-hero-card h2,
  .uniform-section-head h2,
  .uniform-section-header h2,
  .uniform-guidance-copy h2 {
    font-size: 2rem;
  }

  .uniform-guidance-copy h2 {
    font-size: 1.55rem;
  }

  .uniform-card-shot--wide,
  .uniform-card-shot,
  .uniform-accessory-photo {
    min-height: 220px;
  }
}



