* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #063c43;
  --deep: #032c31;
  --blue: #0a7077;
  --blue-2: #0f848d;
  --gold: #d9b52d;
  --ink: #082e34;
  --muted: #56696d;
  --line: #d7dfd8;
  --soft: #f3f5ed;
  --accent: #c8a62a;
  --accent-soft: #eef0de;
  --olive-glow: #7b8153;
  --white: #fff;
  --shadow: 0 18px 45px rgba(6, 60, 67, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  max-width: 1180px;
  width: min(92%, 1180px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(10, 31, 68, 0.06);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  flex: 0 0 auto;
}

.site-logo {
  width: auto;
  height: 100px;
  max-width: 160px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.footer-logo-img {
  width: 150px;
  height: 70px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: var(--gold);
  font-weight: 800;
}

.logo-mark svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

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

.logo strong {
  font-size: 23px;
}

.logo small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  color: #17305f;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 28px 0;
}

.apply-btn,
.primary-btn,
.secondary-btn,
.cta-content a,
.university-card a,
.details-btn,
.details-dialog a,
.contact-form button,
.filters button,
.hero-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.apply-btn {
  min-width: 126px;
  padding: 0 22px;
  background: var(--navy);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 44, 49, 0.96), rgba(6, 60, 67, 0.8) 50%, rgba(6, 60, 67, 0.34)),
    url("https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?w=1600&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(0deg, rgba(2, 27, 68, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: center;
  gap: 60px;
  padding: 62px 0 96px;
}

.hero-left {
  max-width: 620px;
}

.eyebrow {
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--blue);
  font-size: 16px;
}

.hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.05;
}

.hero h1 span {
  color: var(--gold);
  display: block;
}

.hero-copy {
  max-width: 560px;
  color: #eef5ff;
  font-size: 19px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  min-width: 160px;
  padding: 0 22px;
}

.primary-btn {
  background: var(--blue-2);
  color: var(--white);
}

.secondary-btn {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-form,
.contact-form,
.country-card,
.about-panel,
.university-card,
.stats-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-form {
  background: var(--white);
  color: var(--ink);
  padding: 28px;
}

.hero-form h2 {
  margin-bottom: 18px;
  font-size: 20px;
}

.hero-form label {
  display: block;
  margin-bottom: 10px;
  color: #263d63;
  font-size: 12px;
  font-weight: 800;
}

.hero-form input,
.hero-form select,
.contact-form input,
.contact-form textarea,
.search-row input,
.search-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.hero-form input,
.hero-form select {
  margin-top: 4px;
  height: 42px;
  padding: 0 12px;
}

.hero-form button {
  width: 100%;
  margin-top: 6px;
  background: var(--blue);
  color: var(--white);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.hero-form p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -66px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 124px;
  background: var(--white);
  padding: 26px 54px;
}

.stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}

.stat-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #dbe7ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.stat strong {
  font-size: 22px;
}

.stat small {
  color: var(--muted);
  font-size: 12px;
}

.study-abroad-section {
  padding: 92px 0 70px;
  background: var(--white);
}

.study-abroad-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.study-abroad-copy h2 {
  margin-bottom: 54px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
}

.study-abroad-copy h2 span {
  color: var(--gold);
}

.study-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 46px;
}

.study-benefit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.study-benefit > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}

.study-benefit svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.study-benefit h3 {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 21px;
  line-height: 1.2;
}

.study-benefit p {
  color: #263d63;
  font-size: 16px;
  line-height: 1.55;
}

.study-abroad-visual {
  position: relative;
  min-height: 560px;
}

.study-photo {
  position: absolute;
  inset: 46px 0 22px 62px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.24) 0 82px, transparent 84px),
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.22) 0 96px, transparent 98px),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.2) 0 112px, transparent 114px),
    linear-gradient(135deg, #5a623d, #0a7077 55%, #d9b52d);
}

.study-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.study-metric {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 220px;
  min-height: 76px;
  border-radius: 999px;
  background: var(--white);
  padding: 12px 28px;
  box-shadow: 0 18px 45px rgba(8, 31, 76, 0.12);
}

.study-metric strong {
  color: var(--deep);
  font-size: 34px;
  line-height: 1;
}

.study-metric span {
  color: #263d63;
  font-size: 16px;
  line-height: 1.3;
}

.metric-top {
  top: 96px;
  left: 0;
}

.metric-left {
  left: 0;
  bottom: 50px;
}

.metric-bottom {
  right: -8px;
  bottom: 22px;
}

.section {
  padding: 82px 0;
}

.section-heading {
  width: min(92%, 760px);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  color: var(--deep);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.section-heading.light h1,
.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.country-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.country-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.country-card img.country-flag {
  background: linear-gradient(135deg, #faf8ee, #eef0de);
  object-fit: contain;
  padding: 22px;
}

.country-card div {
  padding: 20px;
}

.country-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.country-card p {
  color: var(--muted);
  font-size: 13px;
}

.country-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd8e7;
}

.carousel-dots span:first-child {
  background: var(--blue);
}

.why-section {
  padding: 78px 0;
  background: linear-gradient(180deg, #f4f6ee, #fbfcf7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-item {
  min-height: 170px;
  padding: 20px 34px;
  text-align: center;
  border-right: 1px solid #d9e4f3;
}

.why-item:last-child {
  border-right: 0;
}

.why-item span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 1px solid #cadbf4;
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.why-item span svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.1;
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.why-item p {
  color: var(--muted);
  font-size: 13px;
}

.about-section {
  padding-bottom: 64px;
  background: var(--white);
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fbff, #eef5ff);
  border: 1px solid var(--line);
}

.about-image {
  min-height: 420px;
  background: #dce8f8;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.about-content h2 {
  margin: 8px 0 18px;
  color: var(--deep);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.about-content p:not(.eyebrow) {
  margin-bottom: 14px;
  color: #40516f;
  font-size: 17px;
}

.about-highlights {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.about-highlights span {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 800;
}

.about-highlights span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 194, 71, 0.22);
}

.service-rows {
  padding: 70px 0;
  background: var(--white);
}

.service-stack {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 16px 36px rgba(8, 31, 76, 0.08);
}

.service-row.reverse .service-copy {
  order: 2;
}

.service-row.reverse .service-image {
  order: 1;
}

.service-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 470px);
  justify-self: center;
  padding: 48px;
}

.service-copy::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 96px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
  transform: translateY(-50%);
}

.service-row.reverse .service-copy::after {
  right: auto;
  left: -10px;
}

.service-copy h2 {
  max-width: 360px;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.service-copy p {
  max-width: 380px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.service-copy ul {
  margin: 16px 0 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.service-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--blue);
}

.service-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.service-copy a::after {
  content: "→";
  margin-left: 8px;
}

.service-image {
  min-height: 340px;
  background: #dbe7f4;
}

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

.partners-section {
  padding-top: 20px;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
  color: #182846;
  text-align: center;
}

.partner-strip strong {
  min-height: 50px;
  display: grid;
  place-items: center;
  color: #152746;
  font-size: 18px;
}

.courses-section {
  padding: 76px 0 86px;
  background:
    linear-gradient(rgba(3, 44, 49, 0.96), rgba(6, 60, 67, 0.92)) top/100% 250px no-repeat,
    var(--soft);
}

.standalone-courses {
  min-height: 760px;
  padding-top: 112px;
}

.page-intro {
  max-width: 920px;
  margin: 8px auto 38px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.page-intro p {
  font-size: 16px;
  line-height: 1.65;
}

.course-finder {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  align-items: start;
}

.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filter-title a,
.filter-title button {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.filters .clear-filters {
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  border-radius: 0;
}

.filters h3 {
  margin: 18px 0 9px;
  font-size: 14px;
}

.filters label {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.filters button {
  width: 100%;
  margin-top: 18px;
  background: var(--blue);
  color: var(--white);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 18px;
  margin-bottom: 22px;
}

.search-row input,
.search-row select {
  height: 50px;
  padding: 0 16px;
}

.results-summary {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.university-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 150px 118px;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

.university-media {
  position: relative;
  overflow: hidden;
  width: 180px;
  height: 118px;
  border-radius: 6px;
  background: #f6f8fc;
}

.university-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.university-logo {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 6px;
  background: var(--white);
  object-fit: contain;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(8, 31, 76, 0.18);
}

.logo-fallback {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 3px solid var(--white);
  background: linear-gradient(145deg, #eef0de, #faf8ee);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 31, 76, 0.18);
}

.university-card h3 {
  margin-bottom: 3px;
  font-size: 18px;
}

.university-card p,
.university-card small {
  color: var(--muted);
}

.university-card em {
  display: block;
  max-width: 620px;
  margin-top: 7px;
  color: #52627a;
  font-size: 12px;
  font-style: normal;
}

.university-card span {
  color: #273a5b;
  font-size: 13px;
  font-weight: 800;
}

.university-card a,
.details-btn {
  min-height: 38px;
  padding: 0 14px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
}

.no-results {
  border: 1px dashed #b9c7db;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 34px;
  text-align: center;
}

.no-results h3 {
  margin-bottom: 6px;
  color: var(--deep);
}

.no-results p {
  color: var(--muted);
}

.details-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 27, 68, 0.56);
}

.details-dialog {
  position: relative;
  width: min(92vw, 520px);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 24px 70px rgba(2, 27, 68, 0.28);
}

.details-dialog h3 {
  margin-bottom: 16px;
  color: var(--deep);
  font-size: 24px;
}

.details-dialog p {
  margin-bottom: 10px;
  color: var(--muted);
}

.details-dialog strong {
  color: var(--ink);
}

.details-dialog a {
  width: 100%;
  margin-top: 12px;
  background: var(--blue);
  color: var(--white);
}

.details-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--blue);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

.how-it-works-section {
  padding: 86px 0 74px;
  background: var(--white);
}

.process-heading {
  max-width: 780px;
  margin: 0 auto 58px;
  text-align: center;
}

.process-heading h2,
.faq-section h2 {
  color: var(--deep);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
}

.process-heading h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 6px;
  margin: 12px auto 0;
  background: var(--gold);
}

.process-heading p {
  margin-top: 26px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42px;
  right: -28px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.process-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
  color: #5d6657;
}

.process-icon::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 32px;
  height: 5px;
  background: var(--gold);
  transform: translateX(-50%);
}

.process-icon svg {
  width: 74px;
  height: 74px;
  stroke-width: 1.4;
}

.process-step h3 {
  margin-bottom: 22px;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.15;
}

.process-step p {
  max-width: 190px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.42;
}

.faq-section {
  padding: 72px 0 86px;
  background: var(--white);
}

.faq-section h2 {
  margin-bottom: 42px;
}

.faq-section h2 span {
  color: var(--gold);
}

.faq-list {
  border-top: 1px solid #d8dde6;
}

.faq-item {
  border-bottom: 1px solid #d8dde6;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0 36px;
  text-align: left;
  font-size: 21px;
  font-weight: 800;
}

.faq-item button svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.faq-item.open button svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.faq-answer p {
  overflow: hidden;
  max-width: 880px;
  padding: 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 28px;
}


.country-filter {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.country-filter input {
  margin: 0;
}

.filter-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #dbe4f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 27, 68, 0.48);
}

.form-popup-card {
  position: relative;
  width: min(92vw, 420px);
  border-radius: 8px;
  background: var(--white);
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(2, 27, 68, 0.28);
}

.form-popup-card h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 28px;
}

.form-popup.success .form-popup-card h3 {
  color: #0c7c4a;
}

.form-popup.error .form-popup-card h3 {
  color: #b42318;
}

.form-popup-card p {
  color: var(--muted);
  font-size: 16px;
}

.form-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--blue);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact-info h2 {
  margin: 6px 0 12px;
  color: var(--deep);
  font-size: 34px;
}

.contact-info > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
}

.contact-info ul {
  margin-top: 28px;
  list-style: none;
}

.contact-info li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
  color: var(--muted);
}

.contact-info li > svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue);
  stroke-width: 2.2;
}

.contact-info strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input {
  height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
  padding: 14px;
}

.contact-form button {
  background: var(--blue);
  color: var(--white);
}

.map-card {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-top: 44px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(0deg, #e8eef7 0 2px, transparent 2px 44px),
    repeating-linear-gradient(90deg, #e8eef7 0 2px, transparent 2px 54px),
    #f7f9fc;
  color: #cb2f32;
  font-weight: 900;
}

.cta-section {
  position: relative;
  padding: 60px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 44, 49, 0.94), rgba(6, 60, 67, 0.74)),
    url("https://images.unsplash.com/photo-1516321310764-8d1f7b93d6c1?w=1600&q=80") center/cover;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.cta-content p {
  margin: 8px 0 24px;
  color: #eef5ff;
  font-size: 18px;
}

.cta-content a {
  min-width: 130px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--ink);
}

.footer {
  background: #f7f9fc;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 42px;
  padding: 56px 0 44px;
}

.footer h3 {
  margin-bottom: 16px;
  font-size: 15px;
}

.footer p,
.footer li,
.footer a {
  color: #40516f;
  font-size: 14px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 260px;
  margin: 18px 0;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e7eefb;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.socials svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(4%, calc((100% - 1180px) / 2));
  background: var(--deep);
}

.footer-bottom p {
  color: var(--white);
  font-size: 12px;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 12px 30px rgba(10, 112, 119, 0.38);
  font-weight: 900;
}

.whatsapp svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.4;
}

@media (max-width: 1020px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    min-height: auto;
    padding: 10px 0 14px;
  }

  .site-logo {
    height: 76px;
    max-width: 130px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .hero-content,
  .study-abroad-panel,
  .course-finder,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .study-abroad-visual {
    min-height: 520px;
  }

  .study-photo {
    inset: 36px 0 20px 58px;
  }

  .hero-form {
    max-width: 420px;
  }

  .standalone-courses {
    padding-top: 92px;
  }

  .page-intro {
    margin: 4px auto 28px;
  }

  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid,
  .stats-card,
  .partner-strip,
  .service-row,
  .process-steps,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .why-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(94%, 1180px);
  }

  .header {
    position: relative;
  }

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

  .site-logo {
    height: 62px;
    max-width: 112px;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 44px 0 96px;
  }

  .eyebrow {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-buttons,
  .field-pair,
  .search-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .study-abroad-section {
    padding: 64px 0 50px;
  }

  .how-it-works-section,
  .faq-section {
    padding: 60px 0;
  }

  .standalone-courses {
    padding-top: 70px;
  }

  .process-heading {
    margin-bottom: 40px;
  }

  .process-heading p {
    font-size: 17px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-step p {
    max-width: 310px;
    font-size: 16px;
  }

  .process-step h3 {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .process-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 14px;
  }

  .process-icon svg {
    width: 58px;
    height: 58px;
  }

  .faq-section h2 {
    margin-bottom: 28px;
  }

  .faq-item button {
    min-height: 68px;
    padding: 0 4px;
    font-size: 18px;
  }

  .faq-answer p {
    padding: 0 4px;
  }

  .page-intro p {
    font-size: 15px;
  }

  .study-abroad-copy h2 {
    margin-bottom: 34px;
  }

  .study-benefits {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .study-benefit {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .study-benefit h3 {
    font-size: 19px;
  }

  .study-benefit p {
    font-size: 15px;
  }

  .study-abroad-visual {
    min-height: auto;
    padding-top: 18px;
  }

  .study-photo {
    position: relative;
    inset: auto;
    min-height: 360px;
  }

  .study-metric {
    position: relative;
    min-width: auto;
    width: 100%;
    margin-top: 14px;
    justify-content: center;
  }

  .metric-top,
  .metric-left,
  .metric-bottom {
    inset: auto;
  }

  .stats-card,
  .country-grid,
  .why-grid,
  .partner-strip,
  .service-row,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row,
  .service-row.reverse {
    min-height: auto;
  }

  .service-row.reverse .service-copy,
  .service-row.reverse .service-image {
    order: initial;
  }

  .service-copy {
    width: 100%;
    justify-self: stretch;
    padding: 38px 6%;
  }

  .service-copy::after,
  .service-row.reverse .service-copy::after {
    top: -8px;
    left: 6%;
    right: auto;
    width: 86px;
    height: 8px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    transform: none;
  }

  .service-image {
    min-height: 260px;
  }

  .stats-card {
    padding: 24px;
  }

  .why-item,
  .why-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d9e4f3;
  }

  .why-item:last-child {
    border-bottom: 0;
  }

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

  .about-image {
    min-height: 280px;
  }

  .university-card {
    grid-template-columns: 1fr;
  }

  .university-media {
    width: 100%;
    height: 180px;
  }

  .university-card span,
  .university-card a,
  .details-btn {
    grid-column: 1 / -1;
  }

  .contact-info li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
