:root {
  --navy: #0a314f;
  --navy-2: #08263e;
  --teal: #008c9b;
  --gold: #e6b24c;
  --cream: #f8f3e7;
  --paper: #ffffff;
  --ink: #172432;
  --muted: #64717d;
  --line: #e5edf1;
  --shadow: 0 24px 70px rgba(13, 49, 78, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #fbfcfb;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #fff;
  background: var(--navy);
}

.top-strip {
  color: #d9f2f4;
  background: var(--navy-2);
  font-size: 14px;
}

.top-strip__inner,
.top-contact,
.top-social,
.main-nav__inner,
.menu,
.hero-actions,
.quick-cta__inner,
.about-points,
.section-heading--row,
.final-cta__inner,
.bottom-line .container {
  display: flex;
  align-items: center;
}

.top-strip__inner {
  min-height: 44px;
  justify-content: space-between;
  gap: 18px;
}

.top-contact,
.top-social {
  gap: 18px;
  flex-wrap: wrap;
}

.top-contact {
  min-width: 0;
}

.top-contact a {
  overflow-wrap: anywhere;
}

.top-social a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.top-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.main-nav {
  position: sticky;
  z-index: 15;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(7, 35, 59, 0.08);
  backdrop-filter: blur(16px);
}

.main-nav__inner {
  min-height: 86px;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  display: grid;
  width: 50px;
  height: 50px;
background-color: white;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  color: var(--navy);
  font-size: 22px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu {
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu li {
  position: relative;
}

.menu a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

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

.menu a:hover::after {
  transform: scaleX(1);
}

.has-submenu > a {
  padding-right: 14px;
}

.has-submenu > a::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  width: 265px;
  padding: 12px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.submenu::before {
  position: absolute;
  top: -13px;
  right: 0;
  left: 0;
  height: 13px;
  content: "";
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
}

.submenu a::after,
.submenu a::before {
  display: none;
}

.submenu a:hover {
  color: var(--teal);
  background: #eef7f8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-slider,
.hero-slide {
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-image:
    linear-gradient(90deg, rgba(6, 28, 48, 0.92) 0%, rgba(6, 28, 48, 0.74) 42%, rgba(6, 28, 48, 0.2) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero__content {
  padding: 84px 0 130px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bceff4;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1,
.hero h2 {
  max-width: 730px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.02;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #e6f2f2;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #102132;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(230, 178, 76, 0.28);
}

.btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-controls {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 44px;
  display: flex;
  gap: 12px;
  transform: translateX(calc(var(--container) / 2));
}

.hero-controls button {
  width: 42px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-controls button.is-active {
  background: var(--gold);
}

.quick-cta {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}

.quick-cta__inner {
  justify-content: space-between;
  gap: 22px;
  padding: 28px 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: var(--shadow);
}

.quick-cta p {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 28, 48, 0.9), rgba(6, 28, 48, 0.42)),
    url("../assets/hero-campus.png") center / cover;
}

.page-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dcebed;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
  font-weight: 800;
}

.section {
  padding: 104px 0;
}

.inner-page {
  background: #eaf5f8;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 64px;
  align-items: start;
}

.page-content h2,
.sidebar-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-main,
.page-content,
.sidebar-card,
.content-card {
  min-width: 0;
}

.page-main {
  display: grid;
  gap: 34px;
}

.page-content h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
}

.page-content h2::after {
  display: block;
  width: 84px;
  height: 2px;
  margin: 16px 0 30px;
  content: "";
  background: linear-gradient(90deg, var(--navy) 0 28px, var(--line) 28px 100%);
}

.page-content h3 {
  margin: 42px 0 16px;
  color: var(--navy);
  font-size: 18px;
}

.page-content p {
  margin: 0 0 22px;
  color: #344454;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.content-card,
.sidebar-card,
.team-lead,
.team-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 49, 79, 0.07);
}

.content-card {
  padding: 36px;
}

.sidebar-card {
  position: sticky;
  top: 116px;
  padding: 30px;
}

.sidebar-card h2 {
  font-size: 25px;
}

.sidebar-links {
  padding: 18px 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #4d5d68;
  font-weight: 800;
}

/* .sidebar-links a::before {
  margin-right: 10px;
  color: var(--teal);
  content: ">";
} */

.sidebar-links a:hover,
.sidebar-links a[aria-current="page"] {
  color: var(--teal);
}

.team-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: 34px;
  margin-bottom: 30px;
}

.team-lead__media,
.team-card__media {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 800;
}

.team-lead h2,
.team-card h3 {
  margin-bottom: 8px;
}

.role {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

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

.team-card {
  overflow: hidden;
}

.team-card__media {
  min-height: 180px;
  border-radius: 0;
  font-size: 42px;
}

.team-card__body {
  padding: 24px;
}

.team-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

.service-visual {
  margin: 34px 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(11, 49, 79, 0.08);
}

.service-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  margin: 20px 0 36px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.service-list li {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #344454;
  line-height: 1.55;
}

.service-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-specs {
  padding-left: 0;
  margin: 18px 0 36px;
  list-style: none;
}

.service-specs li {
  padding: 10px 0;
  color: #344454;
  line-height: 1.7;
}

.service-specs strong {
  color: var(--navy);
}

.service-table {
  width: 100%;
  margin: 22px 0 38px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 49, 79, 0.06);
}

.service-table th,
.service-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: #344454;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.service-table th {
  color: var(--navy);
  background: #eef7f8;
  font-weight: 900;
}

.recent-services {
  padding-top: 28px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.recent-services h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.recent-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.recent-card img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
}

.recent-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
}

.recent-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.query-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.query-panel__heading {
  display: flex;
  min-height: auto;
  align-items: center;
  gap: 12px;
  padding: 34px 34px 0;
  color: var(--navy);
  background: #fff;
}

.query-panel__heading span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #102132;
  background: var(--gold);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(230, 178, 76, 0.22);
}

.query-panel__heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.query-form {
  display: grid;
  gap: 18px;
  padding: 30px 34px 34px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.radio-group legend {
  color: var(--navy);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-field label span,
.radio-group legend span {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 140, 155, 0.11);
}

.form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.radio-group {
  padding: 0;
  margin: 0;
  border: 0;
}

.radio-options {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: #344454;
}

.radio-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.radio-options--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.query-form small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.query-submit {
  justify-self: start;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #102132;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(230, 178, 76, 0.28);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.query-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(230, 178, 76, 0.34);
}

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

.blog-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 49, 79, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(11, 49, 79, 0.14);
}

.blog-card img,
.blog-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h2,
.blog-detail h2,
.blog-detail h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.blog-card h2 {
  font-size: 25px;
  line-height: 1.18;
}

.blog-card p,
.blog-detail p,
.blog-detail li {
  color: #344454;
  line-height: 1.8;
}

.blog-card p {
  margin: 0;
}

.blog-detail {
  overflow: hidden;
}

.blog-detail__body {
  padding: 34px;
}

.blog-detail h2 {
  margin: 22px 0 16px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
}

.blog-detail h3 {
  margin: 36px 0 14px;
  font-size: 25px;
}

.blog-detail p {
  margin: 0 0 20px;
  font-size: 17px;
}

.blog-detail ul {
  padding-left: 20px;
  margin: 0 0 24px;
}

.blog-quote {
  margin: 34px 0;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--navy);
  background: #fff8e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.tag-list span {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--navy);
  background: #eef7f8;
  font-size: 13px;
  font-weight: 900;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(11, 49, 79, 0.06);
}

.pagination__control {
  padding: 0 18px;
}

.pagination a:hover,
.pagination .is-active {
  border-color: var(--gold);
  color: #102132;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(230, 178, 76, 0.24);
}

.pagination .is-disabled {
  pointer-events: none;
  color: #9aa6ad;
  background: #f5f8f9;
  box-shadow: none;
}

.pagination__dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 54px;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form-card h2,
.contact-info-card h2,
.contact-info-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.contact-form-card h2,
.contact-info-card h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
}

.contact-form .form-field--full,
.contact-form .radio-group,
.contact-form .query-submit {
  grid-column: 1 / -1;
}

.contact-info-list {
  display: grid;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: #344454;
  line-height: 1.7;
}

.contact-info-item--address {
  align-items: start;
}

.contact-info-item span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  color: #102132;
  background: var(--gold);
  font-weight: 900;
  flex: 0 0 auto;
}

.contact-info-item svg,
.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-info-item p,
.contact-info-item a {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.65;
}

.contact-info-item a:hover {
  color: var(--teal);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(11, 49, 79, 0.06);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.section-copy p:not(.eyebrow),
.gallery-card p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.section-copy p:not(.eyebrow) {
  font-size: 17px;
}

.about-points {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-points span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
}

.image-frame {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services {
  background: #eef7f8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading--row {
  max-width: none;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  min-width: max-content;
  color: var(--teal);
  font-weight: 800;
}

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

.service-card {
  display: grid;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 140, 155, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 49, 79, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(11, 49, 79, 0.14);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.service-card span {
  min-height: 44px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.gallery-carousel {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s ease;
}

.gallery-card {
  flex: 0 0 calc((100% - 48px) / 3);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 49, 79, 0.07);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-card div {
  padding: 24px;
}

.gallery-card h3,
.testimonial h3,
.footer h3 {
  margin: 0;
  color: var(--navy);
}

.metrics {
  padding: 76px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 38, 62, 0.95), rgba(0, 140, 155, 0.9)),
    url("../assets/hero-campus.png") center / cover;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metrics__grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metrics strong {
  display: block;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: #e9f6f7;
  font-weight: 700;
}

.testimonials {
  background: var(--cream);
}

.split--testimonial {
  grid-template-columns: 0.8fr 1.2fr;
}

.testimonial-panel {
  position: relative;
  min-height: 365px;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.testimonial {
  display: none;
}

.testimonial.is-active {
  display: block;
}

.testimonial p {
  margin: 0;
  color: #344454;
  font-size: 21px;
  line-height: 1.75;
}

.rating {
  margin: 28px 0 14px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0;
}

.testimonial span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.clients {
  background: #fff;
}

.client-carousel {
  overflow: hidden;
  background: transparent;
}

.client-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 24px;
  animation: client-scroll 24s linear infinite;
}

.client-track img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  background: #fff;
}

@keyframes client-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.final-cta {
  padding: 58px 0;
  color: #fff;
  background: var(--navy);
}

.final-cta__inner {
  justify-content: space-between;
  gap: 26px;
}

.final-cta h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.footer {
  color: #d8e5ec;
  background: #071d31;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 1fr;
  gap: 40px;
  padding: 76px 0;
}

.brand--footer strong {
  color: #fff;
}

.footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 17px;
}

.footer a {
  display: block;
  margin: 10px 0;
  color: #d8e5ec;
}

.footer a.brand--footer {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

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

.bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-line .container {
  min-height: 62px;
  justify-content: space-between;
  gap: 18px;
  color: #aebfc9;
  font-size: 14px;
}

.bottom-line a {
  display: inline;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.blog-gallery img,
.client-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.blog-gallery img {
  aspect-ratio: 4 / 3;
}

.comment-box {
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

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

.client-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(8, 38, 62, 0.07);
  text-align: center;
}

.client-card img {
  height: 110px;
  object-fit: contain;
}

.client-card h3 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 16px;
}

.brochure-float {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 24px;
  width: 104px;
  min-height: 104px;
  border: 0;
  border-radius: 50%;
  color: #102132;
  background: var(--gold);
  box-shadow: 0 20px 42px rgba(9, 33, 54, 0.28);
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.brochure-float span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .top-strip {
    font-size: 13px;
  }

  .top-strip__inner {
    min-height: 38px;
    justify-content: center;
  }

  .top-contact {
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .top-contact a {
    white-space: nowrap;
  }

  .top-social {
    display: none;
  }

  .menu {
    position: absolute;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: grid;
    gap: 8px;
  }

  .menu a {
    display: block;
  }

  .has-submenu > a::before {
    top: 18px;
    transition: transform 0.2s ease;
  }

  .has-submenu.is-open > a::before {
    transform: translateY(-35%) rotate(225deg);
  }

  .submenu {
    position: static;
    width: auto;
    padding: 4px 0 4px 14px;
    margin-top: 2px;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    display: none;
  }

  .submenu::before {
    display: none;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    opacity: 0;
    visibility: hidden;
    display: none;
  }

  .has-submenu.is-open .submenu,
  .has-submenu.is-open:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .split,
  .split--testimonial,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .page-layout,
  .team-lead {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .service-list li:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .top-strip__inner,
  .quick-cta__inner,
  .section-heading--row,
  .final-cta__inner,
  .bottom-line .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav__inner {
    min-height: 68px;
  }

  .menu {
    top: 68px;
  }

  .top-strip {
    font-size: 12px;
  }

  .top-strip__inner {
    min-height: 38px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .top-contact {
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .top-contact a {
    white-space: nowrap;
  }

  .top-social {
    display: none;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

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

  .brand small {
    font-size: 11px;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: 620px;
  }

  .hero-slide {
    background-image:
      linear-gradient(180deg, rgba(6, 28, 48, 0.92), rgba(6, 28, 48, 0.76)),
      var(--hero-image);
  }

  .hero__content {
    padding: 70px 0 112px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-controls {
    right: auto;
    left: 14px;
    transform: none;
  }

  .section {
    padding: 74px 0;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-card,
  .team-lead,
  .sidebar-card {
    padding: 24px;
  }

  .query-panel__heading {
    align-items: flex-start;
    padding: 26px 24px 0;
  }

  .query-form {
    padding: 26px 24px 28px;
  }

  .radio-options--split {
    grid-template-columns: 1fr;
  }

  .service-table {
    display: block;
    overflow-x: auto;
  }

  .split,
  .split--testimonial,
  .service-grid,
  .metrics__grid,
  .footer__grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail__body {
    padding: 24px;
  }

  .blog-gallery,
  .client-grid--large {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .pagination {
    justify-content: flex-start;
  }

  .pagination a,
  .pagination span {
    min-width: 42px;
    min-height: 42px;
  }

  .footer__grid {
    gap: 0;
    padding: 44px 0 28px;
  }

  .footer__grid > div {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__grid > div:first-child {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .footer__grid > div:last-child {
    border-bottom: 0;
  }

  .brand--footer {
    margin: 0;
  }

  .brand--footer .brand__mark {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

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

  .brand--footer small {
    font-size: 11px;
  }

  .footer p {
    margin: 16px 0 0;
    max-width: 30rem;
    color: #aebfc9;
    font-size: 15px;
    line-height: 1.75;
  }

  .footer h3 {
    margin: 0 0 12px;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .footer a {
    margin: 0;
    padding: 8px 0;
    color: #eef7fb;
    font-size: 15px;
    line-height: 1.35;
  }

  .footer__grid > div:nth-child(2) a,
  .footer__grid > div:nth-child(3) a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .footer__grid > div:nth-child(2) a:last-child,
  .footer__grid > div:nth-child(3) a:last-child {
    border-bottom: 0;
  }

  .footer__grid > div:nth-child(2) a::before,
  .footer__grid > div:nth-child(3) a::before {
    content: ">";
    display: inline-block;
    margin-right: 9px;
    color: var(--gold);
    font-weight: 800;
  }

  .footer__grid > div:last-child a {
    padding: 5px 0;
    color: #fff;
  }

  .bottom-line .container {
    min-height: auto;
    align-items: center;
    gap: 7px;
    padding: 18px 0 20px;
    text-align: center;
  }

  .bottom-line span {
    display: block;
  }

  .gallery-card {
    flex-basis: 100%;
  }

  .testimonial-panel {
    padding: 28px;
  }

  .testimonial p {
    font-size: 18px;
  }

  .brochure-float {
    right: 12px;
    bottom: 14px;
    width: 76px;
    min-height: 76px;
    font-size: 11px;
  }

  .brochure-float span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    padding: 38px 0 22px;
  }

  .footer__grid > div {
    padding: 18px 0;
  }

  .footer__grid > div:first-child {
    padding: 18px;
  }

  .footer p,
  .footer a {
    font-size: 14px;
  }

  .brochure-float {
    display: none;
  }
}
