@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --primary-red: #8B2020;
  --primary-dark: #6B1515;
  --text-white: #ffffff;
  --section-max-width: 1120px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--primary-red);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
}

h2 {
  font-family: 'Futura Md BT', 'Futura', 'Trebuchet MS', sans-serif;
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 90dvh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ─── Video Background ──────────────────────────────────────── */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cover trick: always fill whichever dimension is larger */
  width: 100vw;
  height: 56.25vw;   /* 16:9 based on width */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 based on height */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* ─── Tint Overlay ──────────────────────────────────────────── */
.hero-video-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0) 60%),
    rgba(205, 33, 42, 0.80);
  z-index: 1;
  pointer-events: none;
}

/* ─── Hero Content ──────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem 6.75rem;
  gap: 1.25rem;
}

.hero-top-logo {
  position: relative;
  z-index: 12;
  width: clamp(50px, 12vw, 130px);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-top-logo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ─── Hero Image ────────────────────────────────────────────── */
.country-flags {
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-flags img.hero-image {
  width: min(92vw, 980px);
  max-height: 56vh;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.35));
}

.hero-metrics {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.8rem 0.7rem;
  text-align: center;
}

.metric-value {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.metric-label {
  margin-top: 0.3rem;
  font-size: clamp(0.78rem, 1.55vw, 1rem);
  font-weight: 700;
  opacity: 0.95;
}

/* ─── Wave ──────────────────────────────────────────────────── */
.hero-wave {
  display: none;
}

/* ─── Why K7 Section ───────────────────────────────────────── */
.why-k7-section {
  position: relative;
  z-index: 20;
  min-height: auto;
  padding: 4.2rem 1rem 5rem;
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-dark) 100%);
}

.why-k7-container {
  position: relative;
  top: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.why-k7-eyebrow {
  font-size: clamp(0.86rem, 1.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.94;
}

.why-k7-title {
  margin-top: 0.8rem;
  font-size: clamp(2.7rem, 6.9vw, 5.2rem);
  line-height: 0.98;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.why-k7-title-main {
  color: var(--text-white);
}

.why-k7-title-accent {
  color: var(--text-white);
  opacity: 0.78;
}

.why-k7-text {
  margin: 1.1rem 0 0;
  max-width: 1080px;
  font-size: clamp(1rem, 1.75vw, 1.3rem);
  line-height: 1.52;
  font-weight: 500;
  opacity: 1;
}

.why-k7-lead {
  margin-top: 1.7rem;
  font-size: clamp(1.1rem, 2.25vw, 1.6rem);
  font-weight: 700;
  line-height: 1.42;
}

/* ─── K7 Offers Section ────────────────────────────────────── */
.k7-offers-section {
  position: relative;
  z-index: 20;
  padding: 4.2rem 1rem 6rem;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-red) 100%);
  overflow: hidden;
}

.k7-offers-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.k7-offers-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  font-size: clamp(2.7rem, 6.9vw, 5.2rem);
  line-height: 0.98;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.k7-offers-title-main {
  display: block;
  color: var(--text-white);
}

.k7-offers-title-accent {
  display: block;
  color: var(--text-white);
  opacity: 0.84;
}

.k7-offers-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem 1.2rem;
}

.k7-offer-card {
  --tilt: 0deg;
  background: #ffffff;
  color: var(--primary-red);
  border-radius: 10px;
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-left: 6px solid rgba(139, 32, 32, 0.78);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s ease;
  transform: translateY(0) rotate(var(--tilt));
}

.k7-offer-card p {
  font-size: clamp(1rem, 1.65vw, 1.45rem);
  font-weight: 700;
  line-height: 1.28;
  transition: transform 0.35s ease;
}

.tilt-left { --tilt: -1.4deg; }
.tilt-right { --tilt: 1.4deg; }
.tilt-right-soft { --tilt: 0.9deg; }
.tilt-left-soft { --tilt: -0.9deg; }

.k7-offer-card:hover {
  transform: translateY(-8px) rotate(var(--tilt));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  border-left-color: var(--primary-dark);
}

.k7-offer-card:hover p {
  transform: translateX(4px);
}

body.has-scroll-anim .k7-offers-title,
body.has-scroll-anim .k7-offer-card {
  opacity: 0;
}

body.has-scroll-anim .k7-offers-title {
  transform: translateY(24px);
}

body.has-scroll-anim .k7-offer-card {
  transform: translateY(26px) rotate(var(--tilt));
}

body.has-scroll-anim .k7-offers-section.is-visible .k7-offers-title,
body.has-scroll-anim .k7-offers-section.is-visible .k7-offer-card {
  opacity: 1;
}

body.has-scroll-anim .k7-offers-section.is-visible .k7-offers-title {
  transform: translateY(0);
}

body.has-scroll-anim .k7-offers-section.is-visible .k7-offer-card {
  transform: translateY(0) rotate(var(--tilt));
}

body.has-scroll-anim .k7-offers-section .k7-offer-card:nth-child(1) { transition-delay: 0.08s; }
body.has-scroll-anim .k7-offers-section .k7-offer-card:nth-child(2) { transition-delay: 0.16s; }
body.has-scroll-anim .k7-offers-section .k7-offer-card:nth-child(3) { transition-delay: 0.24s; }
body.has-scroll-anim .k7-offers-section .k7-offer-card:nth-child(4) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  body.has-scroll-anim .k7-offers-title,
  body.has-scroll-anim .k7-offer-card {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt));
    transition: none;
  }

  .k7-offer-card:hover {
    transform: translateY(0) rotate(var(--tilt));
  }
}

/* ─── Participating Universities Section ───────────────────── */
.universities-section {
  position: relative;
  z-index: 20;
  padding: 4.8rem 1rem 6.5rem;
  color: #1b1b1b;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.universities-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: -64px;
  width: 100%;
  height: 92px;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: skewY(-2.6deg);
  transform-origin: right top;
  z-index: 0;
}

.universities-container {
  position: relative;
  z-index: 1;
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.universities-eyebrow {
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: rgba(27, 27, 27, 0.74);
  text-align: center;
}

.universities-title {
  margin-top: 0.45rem;
  font-size: clamp(1.9rem, 4.3vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary-red);
}

.universities-image-wrap {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.universities-image {
  width: min(100%, 1120px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.universities-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.uni-tile {
  min-height: 112px;
  border: 1px solid rgba(107, 21, 21, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.95rem 0.85rem;
  box-shadow: 0 8px 18px rgba(32, 16, 16, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uni-tile span {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.3;
  font-weight: 700;
  color: #1f1f1f;
}

.uni-tile-featured {
  min-height: 220px;
  background: linear-gradient(135deg, rgba(139, 32, 32, 0.08) 0%, rgba(107, 21, 21, 0.18) 100%);
  border: 1px solid rgba(107, 21, 21, 0.28);
  box-shadow: 0 12px 24px rgba(32, 16, 16, 0.16);
}

.uni-tile-featured span {
  font-size: clamp(1.35rem, 2.35vw, 2.1rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--primary-red);
}

.uni-logo {
  position: relative;
  border-style: dashed;
  border-color: rgba(107, 21, 21, 0.2);
  background: rgba(255, 255, 255, 0.86);
}

.uni-logo::before {
  content: '';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(139, 32, 32, 0.28);
  margin-right: 0.55rem;
  flex-shrink: 0;
}

.uni-logo span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(107, 21, 21, 0.72);
}

.uni-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(32, 16, 16, 0.13);
}

/* ─── Expert Talks Section ─────────────────────────────────── */
.expert-talks-section {
  position: relative;
  z-index: 20;
  min-height: 0;
  padding: 3rem 1rem 4.2rem;
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-dark) 100%);
}

.expert-talks-container {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
  padding: 0;
}

.expert-talks-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  font-size: clamp(2.7rem, 6.9vw, 5.2rem);
  line-height: 0.98;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--text-white);
  max-width: 1120px;
  text-wrap: balance;
}

.expert-talks-title-main {
  color: var(--text-white);
}

.expert-talks-title-accent {
  color: var(--text-white);
  opacity: 0.78;
}

.expert-talks-lead {
  margin-top: 0.95rem;
  max-width: 940px;
  font-size: clamp(1.06rem, 1.62vw, 1.24rem);
  line-height: 1.58;
  font-weight: 500;
  color: var(--text-white);
  opacity: 0.92;
  text-wrap: pretty;
}

.expert-talks-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.expert-talk-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 0;
  border: 1px solid rgba(139, 32, 32, 0.75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.expert-photo-wrap {
  width: 100%;
  aspect-ratio: 5 / 4;
  height: auto;
  min-height: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(139, 32, 32, 0.75);
  background: #efefef;
  overflow: hidden;
}

.expert-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.expert-content {
  display: flex;
  flex-direction: column;
}

.expert-content-block {
  padding: 0.9rem 1rem;
}

.expert-content-block + .expert-content-block {
  border-top: 1px solid rgba(139, 32, 32, 0.75);
}

.expert-badge {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(139, 32, 32, 0.85);
}

.expert-name {
  margin-top: 0.22rem;
  font-size: clamp(1.7rem, 2.6vw, 3.5rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary-red);
}

.expert-region {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 1.18vw, 1.5rem);
  font-weight: 700;
  color: #6b1515;
}

.expert-topic {
  margin-top: 0.1rem;
  font-size: clamp(0.96rem, 0.94vw, 1.08rem);
  line-height: 1.42;
  font-weight: 500;
  color: #2a2a2a;
}

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

/* ─── Participating Countries Section ─────────────────────── */
.participating-countries-section {
  position: relative;
  z-index: 20;
  padding: 3rem 1rem 4.6rem;
  color: #1b1b1b;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.participating-countries-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: -56px;
  width: 100%;
  height: 84px;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: skewY(-2.5deg);
  transform-origin: right top;
  z-index: 0;
}

.participating-countries-container {
  position: relative;
  z-index: 1;
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.participating-countries-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(107, 21, 21, 0.18);
  background: none;
  box-shadow: 0 10px 18px rgba(32, 16, 16, 0.08);
  min-height: 0;
  overflow: hidden;
}

.participating-countries-label {
  padding: 1.45rem 1.35rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.1rem;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.015em;
  border-right: 1px solid rgba(107, 21, 21, 0.18);
  background: none;
  white-space: nowrap;
}

.countries-label-main {
  font-size: clamp(3rem, 3.6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.98;
  color: var(--primary-red);
}

.countries-label-accent {
  font-size: clamp(3rem, 3.6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.98;
  color: var(--primary-red);
  opacity: 0.78;
}

.participating-countries-marquee {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  padding: 1.1rem;
  min-width: 0;
  overflow: hidden;
}

.countries-row {
  display: flex;
  overflow: hidden;
  mask-image: none;
  -webkit-mask-image: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.countries-row::-webkit-scrollbar {
  display: none;
}

.countries-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.9rem;
  min-width: max-content;
  max-width: none;
  padding-right: 0.9rem;
  animation: countriesMarquee 24s linear infinite;
}

.countries-row-reverse .countries-track {
  animation-direction: reverse;
}

.country-item {
  min-height: 80px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  border: 1px solid rgba(139, 32, 32, 0.2);
  border-radius: 0px;
  padding: 0.62rem 1.25rem;
  background: #ffffff;
}
.country-flag {
  font-size: 3.2rem;
  line-height: 1;
}

.country-name {
  font-size: clamp(1.16rem, 1.9vw, 2.2rem);
  font-weight: 700;
  color: var(--primary-red);
}

@keyframes countriesMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .countries-track {
    animation: none;
  }
}

/* ─── Top Admits Section ───────────────────────────────────── */
.top-admits-section {
  position: relative;
  z-index: 20;
  padding: 3.8rem 1rem 5.8rem;
  color: #1b1b1b;
  background-color: rgba(139, 32, 32, 0.08);
  background-image: none;
}

.top-admits-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.top-admits-section .universities-eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.top-admits-title {
  text-align: left;
  text-transform: uppercase;
  color: var(--text-white);
  font-size: clamp(2.7rem, 6.9vw, 4.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.top-admits-title .why-k7-title-accent {
  color: rgba(255, 255, 255, 0.78) !important;
}

.top-admits-subtitle {
  margin-top: 0.7rem;
  text-align: center;
  color: var(--text-white);
  font-size: clamp(1.06rem, 1.62vw, 1.24rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.top-admits-grid {
  --admit-gap: 0.95rem;
  --admit-card-width: clamp(180px, 17vw, 250px);
  margin-top: 2rem;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}

.top-admits-track {
  display: flex;
  width: max-content;
  animation: topAdmitsMarquee 32s linear infinite;
}

.top-admits-set {
  display: flex;
  align-items: stretch;
  gap: var(--admit-gap);
  padding-right: var(--admit-gap);
}

.top-admits-grid.is-paused .top-admits-track {
  animation-play-state: paused;
}

.top-admit-item {
  flex: 0 0 var(--admit-card-width);
  background: #ffffff;
  border: 1px solid rgba(139, 32, 32, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(32, 16, 16, 0.08);
  padding: 0.2rem;
}

.top-admit-image {
  width: 100%;
  height: auto;
  display: block;
}

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

@media (prefers-reduced-motion: reduce) {
  .top-admits-track {
    animation: none;
  }
}

/* ─── Success Stories Section ─────────────────────────────── */
.success-stories-section {
  position: relative;
  z-index: 20;
  padding: 3.8rem 1rem 5.8rem;
  color: #1b1b1b;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.success-stories-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.success-stories-eyebrow {
  text-align: center;
  text-transform: uppercase;
    color: rgba(27, 27, 27, 0.74);
  font-size: clamp(0.86rem, 1.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.success-stories-title {
  margin-top: 0.35rem;
  display: flex;
  align-items: baseline;
  justify-content: left;
  gap: 0.55rem;
  text-align: left;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7.3vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.success-stories-title-main {
  color: var(--primary-red);
}

.success-stories-title-accent {
  color: var(--primary-dark);
  opacity: 0.84;
}

.success-stories-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.success-story-card {
  background: #ffffff;
  border: 2px solid rgba(139, 32, 32, 0.78);
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.success-story-year {
  margin: 0 0 0.45rem;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px rgba(139, 32, 32, 0.35);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.success-story-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.success-story-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.success-story-text {
  padding: 0.95rem 1rem 1.05rem;
  font-size: clamp(0.96rem, 0.98vw, 1.08rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(107, 21, 21, 0.95);
}

.success-stories-grid .success-story-card:nth-child(3) {
  grid-column: 1 / -1;
}

/* ─── Student Feedback Section ─────────────────────────────── */
.student-feedback-section {
  position: relative;
  z-index: 20;
  padding: 3.8rem 1rem 5.4rem;
  color: #1b1b1b;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.student-feedback-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.student-feedback-eyebrow {
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.74);
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
  letter-spacing: 0.09em;
  font-weight: 700;
}

.student-feedback-title {
  margin-top: 0.45rem;
  display: flex;
  align-items: baseline;
  justify-content: left;
  gap: 0.55rem;
  text-align: left;
  text-transform: uppercase;
  color: var(--primary-red);
  font-size: clamp(2.5rem, 7.3vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.student-feedback-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.student-feedback-card {
  background: #ffffff;
  border: 2px solid rgba(139, 32, 32, 0.78);
  box-shadow: none;
  overflow: hidden;
}

.student-feedback-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.student-feedback-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.student-feedback-name {
  padding: 0.7rem 0.9rem 0.8rem;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1.2;
}

.student-feedback-quote {
  margin-top: 1rem;
  border: 2px solid rgba(139, 32, 32, 0.78);
  background: #ffffff;
  padding: 1.25rem 1.2rem;
}

.student-feedback-quote p {
  font-size: clamp(1.06rem, 2vw, 1.8rem);
  line-height: 1.35;
  color: var(--primary-red);
  font-weight: 500;
}

.student-feedback-quote span {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: clamp(1.04rem, 1.65vw, 1.4rem);
  font-weight: 700;
  color: var(--primary-red);
}

/* ─── Event Location Section ──────────────────────────────── */
.event-location-section {
  position: relative;
  z-index: 20;
  padding: 3.8rem 1rem 5.6rem;
  color: #1b1b1b;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-red) 100%);
}

.event-location-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.event-location-eyebrow {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
  letter-spacing: 0.09em;
  font-weight: 700;
}

.event-location-title {
  margin-top: 0.45rem;
  text-transform: uppercase;
  color: var(--text-white);
  font-size: clamp(2.5rem, 7.3vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.event-location-layout {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}


.event-location-map-wrap {
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.event-location-info {
  padding: 1.2rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.8rem;
}

.event-location-pin {
  line-height: 0;
}

.event-location-pin svg {
  width: clamp(2.6rem, 5vw, 4rem);
  height: auto;
  display: block;
}

.event-location-name {
  color: var(--text-white);
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.event-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  border: 0;
  background: #ffffff;
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-location-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.event-location-map-wrap {
  min-height: 380px;
  overflow: hidden;
}

.event-location-map {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── FAQ Section ──────────────────────────────────────────── */
.faq-section {
  position: relative;
  z-index: 20;
  padding: 3.8rem 1rem 5.6rem;
  color: #1b1b1b;
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-dark) 100%);
}

.faq-container {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
}

.faq-eyebrow {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
  letter-spacing: 0.09em;
  font-weight: 700;
}

.faq-title {
  margin-top: 0.45rem;
  /* text-transform: uppercase; */
  color: var(--text-white);
  font-size: clamp(2.5rem, 7.3vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.faq-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.15rem;
  color: var(--text-white);
  font-size: clamp(1.04rem, 1.9vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.15rem 1rem;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.5;
  font-weight: 500;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 20;
  background-color: #f5f5f8;
  background-image: radial-gradient(rgba(139, 32, 32, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #1b1b1b;
  overflow: hidden;
  margin-top: -1px;
}

.footer-ticker {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transform-origin: center;
  width: 104%;
  margin-left: -2%;
}

.footer-ticker-primary {
  background: #FFE433;
  transform: rotate(-1.1deg);
  margin-top: 2px;
}

.footer-ticker-secondary {
  background: #00F556;
  transform: rotate(0.7deg);
  margin-top: 2px;
}

.footer-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0.62rem 1.6rem;
  min-width: max-content;
  color: #1b1b1b;
  font-size: clamp(0.9rem, 1.2vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
   animation: ticker-scroll 20s linear infinite;
}

.footer-ticker-secondary .footer-ticker-track {
  animation-direction: reverse;
}

.footer-main,
.footer-bottom {
  width: min(var(--section-max-width), 100%);
  margin: 0 auto;
  padding-inline: 1rem;
}

.footer-main {
  padding-top: 2.25rem;
  padding-bottom: 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 1.4rem;
  border-bottom: 1px solid rgba(139, 32, 32, 0.14);
}

.footer-hash {
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--primary-red);
}

.footer-main-right {
  display: grid;
  gap: 0.5rem;
  justify-self: end;
  justify-items: end;
  text-align: right;
}

.footer-contact-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.75rem);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 100%;
  line-height: 1.25;
  word-break: break-word;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  padding-bottom: 7.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-left {
  display: grid;
  gap: 0.25rem;
}

.footer-copy {
  color: rgba(27, 27, 27, 0.72);
  font-size: clamp(0.92rem, 1.2vw, 1.15rem);
  line-height: 1.35;
}

.footer-social {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(139, 32, 32, 0.35);
  background: #ffffff;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px rgba(32, 16, 16, 0.18);
}

.footer-bottom-right {
  display: grid;
  gap: 0.4rem;
  justify-items: end;
  text-align: right;
  color: rgba(27, 27, 27, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  font-weight: 600;
  line-height: 1.2;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-ticker-secondary .footer-ticker-track {
  animation-direction: reverse; /* or a different duration */
}

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

@media (prefers-reduced-motion: reduce) {
  .footer-ticker-track {
    animation: none;
  }
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .why-k7-section .why-k7-word {
    --word-fill: 0%;
    display: inline-block;
    color: rgba(255, 255, 255, 0.28);
    background-image: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff var(--word-fill),
      rgba(255, 255, 255, 0.28) var(--word-fill),
      rgba(255, 255, 255, 0.28) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ─── Fade-up Animation ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-3 { animation-delay: 0.6s; }

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

/* ═══════════════════════════════════════════════════════════════
   REGISTER BUTTON  —  exact style from reference CSS
═══════════════════════════════════════════════════════════════ */
.global-register {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(130%);
  opacity: 0;
  z-index: 120;
  border: none;
  border-radius: 0px;
  padding: 1rem 2.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
  background: white ;
  box-shadow:
    0 14px 32px rgba(107, 21, 21, 0.45),
    0 0 0 0 rgba(255, 255, 255, 0.48);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: opacity 0.45s ease, box-shadow 0.25s ease;
}

.global-register.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: register-ring 2.2s ease-out infinite;
}

.global-register:hover {
  transform: translateX(-50%) translateY(0);
  box-shadow:
    0 18px 38px rgba(107, 21, 21, 0.55),
    0 0 0 10px rgba(var(--primary-dark-rgb), 0.12);
}

.global-register:active {
  transform: translateX(-50%) translateY(0);
}

.btn-dot {
  width: 9px;
  height: 9px;
  background: var(--primary-dark);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(var(--primary-dark-rgb), 0.6);
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

@keyframes register-attention {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(0) scale(1.055);
  }
}

@keyframes register-ring {
  0% {
    box-shadow:
      0 14px 32px rgba(107, 21, 21, 0.45),
      0 0 0 0 rgba(255, 255, 255, 0.48);
  }
  70% {
    box-shadow:
      0 14px 32px rgba(107, 21, 21, 0.45),
      0 0 0 14px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow:
      0 14px 32px rgba(107, 21, 21, 0.45),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-register.is-visible,
  .btn-dot {
    animation: none;
  }
}

/* ─── Modal Overlay ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(24, 10, 10, 0.72);
  backdrop-filter: blur(3px);
  z-index: 140;
  padding: 1rem;
}

.modal-overlay.is-open {
  display: flex;
}

/* ─── Modal Box ─────────────────────────────────────────────── */
.register-modal {
  width: min(540px, 100%);
  background: #ffffff;
  color: #252525;
  border-radius: 16px;
  border: 1px solid rgba(139, 32, 32, 0.12);
  padding: 1.25rem 1.25rem 1.15rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.otp-modal {
  width: min(460px, 100%);
}

.register-modal h2 {
  font-family: 'Futura Md BT', 'Futura', 'Trebuchet MS', sans-serif;
  font-size: 1.38rem;
  margin-bottom: 0.95rem;
  text-align: center;
  color: #7d1d1d;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.72rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(139, 32, 32, 0.08);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #7d1d1d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── Form ──────────────────────────────────────────────────── */
#registerForm {
  display: grid;
  gap: 0.2rem;
}

.form-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  margin: 0.42rem 0 0.28rem;
  font-weight: 600;
  color: #4a4a4a;
}

.form-input {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  padding: 0.68rem 0.82rem;
  font-size: 0.96rem;
  background: #fafafa;
  color: #2f2f2f;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus {
  border-color: #8B2020;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139, 32, 32, 0.14);
}

.otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.otp-btn {
  border: none;
  border-radius: 10px;
  background: #8B2020;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 0.68rem 0.95rem;
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.otp-btn:hover {
  background: #7a1c1c;
  box-shadow: 0 6px 14px rgba(139, 32, 32, 0.24);
}

.otp-btn:active  { transform: translateY(1px); }
.otp-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.otp-status {
  min-height: 1.1rem;
  margin-top: 0.3rem;
  color: #8B2020;
  font-size: 0.83rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.otp-section[hidden] {
  display: none;
}

.otp-section {
  margin-top: 0.2rem;
}

.submit-btn {
  width: 100%;
  margin-top: 0.82rem;
  padding: 0.78rem 0.85rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #8B2020;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.submit-btn:hover {
  background: #7a1c1c;
  box-shadow: 0 6px 14px rgba(139, 32, 32, 0.24);
}

.submit-btn:active   { transform: translateY(1px); }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    height: 80svh;
    min-height: 0;
  }

  .hero-top-logo {
    width: clamp(95px, 31vw, 145px);
  }

  .hero-content {
    min-height: 80svh;
    justify-content: center;
    padding-top: max(0.45rem, env(safe-area-inset-top, 0px));
    padding-bottom: calc(2.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.82rem;
  }

  .why-k7-section {
    min-height: auto;
    padding: 0 1rem;
  }

  .why-k7-container {
    min-height: auto;
    padding: 2.4rem 0 3.2rem;
  }

  .k7-offers-section {
    padding: 3rem 1rem 5.2rem;
  }

  .k7-offers-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 0.98;
  }

  .k7-offers-title-main,
  .k7-offers-title-accent {
    display: block;
  }

  .universities-section {
    padding: 3.2rem 1rem 5.4rem;
    background-size: 20px 20px;
  }

  .expert-talks-section {
    min-height: auto;
    padding: 0.8rem 1rem 0;
  }

  .expert-talks-container {
    justify-content: flex-start;
    padding: 1.9rem 0 2rem;
    
  }

  .expert-talks-title {
    gap: 0.45rem 0.65rem;
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
  }

  .expert-talks-lead {
    margin-top: 0.68rem;
    font-size: clamp(0.94rem, 2.85vw, 1rem);
    line-height: 1.5;
  }

  .expert-talks-grid {
    margin-top: 1.35rem;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .expert-talk-card {
    grid-template-columns: 1fr;
    width: 80%;
    margin: 10px auto;
    min-height: 0;
  }

  .expert-photo-wrap {
    width: 100%;
    aspect-ratio: 5 / 6;
    height: 95%;
    min-height: 0;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(139, 32, 32, 0.75);
  }

  .expert-photo {
    object-position: center top;
  }

  .expert-content-block {
    padding: 0.84rem 0.82rem;
  }

  .participating-countries-section {
    padding: 2.8rem 1rem 4.8rem;
    background-size: 20px 20px;
  }

  .top-admits-section {
    padding: 2.8rem 1rem 4.9rem;
    background-size: 20px 20px;
  }

  .success-stories-section {
    padding: 2.8rem 1rem 4.9rem;
    background-size: 20px 20px;
  }

  .student-feedback-section {
    padding: 2.8rem 1rem 4.9rem;
    background-size: 20px 20px;
  }

  .event-location-section {
    padding: 2.8rem 1rem 4.9rem;
  }

  .faq-section {
    padding: 2.8rem 1rem 4.9rem;
  }

  .top-admits-grid {
    --admit-gap: 0.75rem;
    --admit-card-width: clamp(150px, 38vw, 220px);
  }

  .success-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .success-story-video-wrap,
  .student-feedback-video-wrap {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .student-feedback-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .event-location-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .event-location-map-wrap {
    min-height: 300px;
  }

  .faq-question {
    padding: 0.95rem 0.95rem;
    font-size: clamp(0.98rem, 3.1vw, 1.3rem);
  }

  .faq-question::after {
    width: 30px;
    height: 30px;
    font-size: 1.4rem;
  }

  .faq-answer {
    padding: 0 0.95rem 0.9rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.75rem;
    padding-top: 1.8rem;
    padding-bottom: 0.85rem;
  }

  .footer-main-right {
    justify-items: start;
    justify-self: start;
    text-align: left;
  }

  .footer-contact-link {
    justify-content: flex-start;
    font-size: clamp(0.95rem, 2.7vw, 1.15rem);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding-bottom: 8rem;
  }

  .footer-bottom-right {
    justify-items: start;
    text-align: left;
    font-size: clamp(0.96rem, 2.9vw, 1.08rem);
  }

  .success-stories-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
    gap: 0.4rem;
  }

  .success-stories-eyebrow {
    font-size: clamp(0.76rem, 2.4vw, 0.9rem);
    letter-spacing: 0.09em;
  }

  .top-admits-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
  }

  .top-admits-subtitle {
    font-size: clamp(0.94rem, 2.85vw, 1rem);
    line-height: 1.5;
    margin-top: 0.58rem;
  }

  .participating-countries-section::before {
    top: -42px;
    height: 64px;
    background-size: 20px 20px;
  }

  .participating-countries-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .participating-countries-label {
    border-right: 0;
    border-bottom: 1px solid rgba(107, 21, 21, 0.18);
    padding: 0.95rem 0.8rem;
  }

  .countries-label-main {
    font-size: clamp(1.9rem, 8.2vw, 2.6rem);
  }

  .countries-label-accent {
    font-size: clamp(1.75rem, 7.4vw, 2.3rem);
  }

  .participating-countries-marquee {
    gap: 0.68rem;
    padding: 0.82rem;
  }

  .countries-track {
    gap: 0.62rem;
    padding-right: 0.62rem;
    animation-duration: 20s;
  }

  .country-item {
    min-height: 52px;
    gap: 0.56rem;
    padding: 0.5rem 0.8rem;
  }

  .country-flag {
    font-size: 1.72rem;
    line-height: 1;
  }

  .country-name {
    font-size: clamp(1rem, 3.35vw, 1.2rem);
  }

  .expert-badge {
    font-size: 0.78rem;
  }

  .expert-name {
    font-size: clamp(1.44rem, 5.4vw, 1.8rem);
  }

  .expert-region {
    font-size: clamp(0.88rem, 2.6vw, 0.98rem);
  }

  .expert-topic {
    margin-top: 0.05rem;
    font-size: clamp(0.86rem, 2.45vw, 0.94rem);
    line-height: 1.34;
  }

  .universities-section::before {
    top: -46px;
    height: 70px;
    background-size: 20px 20px;
  }

  .universities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .uni-tile,
  .uni-tile-featured {
    min-height: 96px;
  }

  .uni-tile-featured {
    min-height: 154px;
    grid-column: 1 / -1;
  }

  .uni-tile-featured span {
    font-size: clamp(1.08rem, 5.2vw, 1.5rem);
  }

  .k7-offers-grid {
    margin-top: 1.4rem;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .k7-offer-card {
    min-height: auto;
    padding: 0.85rem 0.95rem;
  }

  .k7-offer-card p {
    font-size: clamp(0.94rem, 4.7vw, 1.15rem);
  }

  .why-k7-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
  }

  .why-k7-text {
    line-height: 1.6;
  }

  .why-k7-lead {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    line-height: 1.45;
  }

  .country-flags img.hero-image {
    width: min(96vw, 620px);
    max-height: 60svh;
  }

  .hero-metrics {
    width: min(96vw, 700px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.56rem;
  }

  .metric-card {
    padding: 0.68rem 0.54rem;
  }

  .global-register {
    width: auto;
    max-width: none;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    padding: 1rem 2.35rem;
    font-size: 1.08rem;
    border-radius: 0;
    justify-content: center;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0.55rem;
  }

  .register-modal {
    width: 100%;
    max-height: min(88dvh, 760px);
    overflow-y: auto;
    border-radius: 14px;
    padding: 0.88rem 0.88rem 0.95rem;
  }

  .register-modal h2 {
    font-size: 1.13rem;
    margin-bottom: 0.62rem;
  }

  .modal-close {
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    top: 0.45rem;
    right: 0.5rem;
  }

  .form-label  { font-size: 0.84rem; margin-top: 0.36rem; }
  .form-input  { padding: 0.56rem 0.7rem; font-size: 0.9rem; border-radius: 9px; }
  .otp-btn     { padding: 0.56rem 0.68rem; font-size: 0.82rem; border-radius: 9px; }
  .submit-btn  { margin-top: 0.68rem; padding: 0.66rem 0.72rem; font-size: 0.92rem; border-radius: 9px; }

  .otp-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero {
    height: 78svh;
    min-height: 0;
  }

  .hero-top-logo {
    width: clamp(88px, 34vw, 124px);
  }

  .hero-content {
    min-height: 78svh;
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px));
    gap: 0.66rem;
  }

  .global-register {
    max-width: none;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    padding: 1rem 2.35rem;
    font-size: 1.08rem;
    border-radius: 0;
  }

  .country-flags img.hero-image {
    max-height: 56svh;
  }

  .hero-metrics {
    gap: 0.55rem;
  }

  .why-k7-section {
    min-height: auto;
    padding: 0 1rem;
  }

  .why-k7-container {
    padding: 2rem 0 2.8rem;
  }

  .k7-offers-section {
    padding: 2.5rem 1rem 4.8rem;
  }

  .universities-section {
    padding: 2.6rem 1rem 4.6rem;
  }

  .expert-talks-section {
    min-height: auto;
    padding: 0.6rem 1rem 0;
  }

  .expert-talks-container {
    justify-content: flex-start;
    padding: 1.45rem 0 1.6rem;
  }

  .expert-talks-title {
    gap: 0.45rem 0.65rem;
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
  }

  .expert-talks-lead {
    margin-top: 0.58rem;
    font-size: clamp(0.88rem, 3.95vw, 0.95rem);
    line-height: 1.4;
  }

  .expert-talks-grid {
    margin-top: 1.1rem;
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .expert-talk-card {
    grid-template-columns: 1fr;
    width: 80%;
    margin: 0 auto;
    min-height: 0;
  }

  .expert-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 6;
    height: 100%;
    min-height: 0;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(139, 32, 32, 0.75);
  }

  .expert-content-block {
    padding: 0.74rem 0.72rem;
  }

  .participating-countries-section {
    padding: 2.25rem 1rem 4.2rem;
  }

  .top-admits-section {
    padding: 2.25rem 1rem 4.3rem;
  }

  .success-stories-section {
    padding: 2.25rem 1rem 4.3rem;
  }

  .student-feedback-section {
    padding: 2.25rem 1rem 4.3rem;
  }

  .event-location-section {
    padding: 2.25rem 1rem 4.3rem;
  }

  .faq-section {
    padding: 2.25rem 1rem 4.3rem;
  }

  .top-admits-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
  }

  .top-admits-subtitle {
    margin-top: 0.58rem;
    font-size: clamp(0.88rem, 3.95vw, 0.95rem);
    line-height: 1.4;
  }

  .top-admits-grid {
    margin-top: 1.25rem;
    --admit-gap: 0.62rem;
    --admit-card-width: clamp(132px, 58vw, 180px);
  }

  .success-stories-title {
    font-size: clamp(2rem, 9.6vw, 3.7rem);
    line-height: 0.98;
    gap: 0.34rem;
    flex-wrap: wrap;
  }

  .success-stories-eyebrow {
    font-size: clamp(0.72rem, 3.3vw, 0.82rem);
    letter-spacing: 0.08em;
  }

  .success-stories-grid {
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .student-feedback-grid {
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-location-layout {
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-location-info {
    padding: 0.95rem 0.88rem;
    gap: 0.62rem;
  }

  .event-location-btn {
    width: 100%;
  }

  .event-location-map-wrap {
    min-height: 240px;
  }

  .faq-list {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .faq-question {
    padding: 0.86rem 0.88rem;
    font-size: clamp(0.92rem, 4.3vw, 1.06rem);
  }

  .faq-question::after {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }

  .faq-answer {
    padding: 0 0.88rem 0.84rem;
  }

  .faq-answer p {
    font-size: clamp(0.86rem, 3.7vw, 0.95rem);
    line-height: 1.4;
  }

  .footer-ticker-track {
    gap: 0.75rem;
    padding: 0.52rem 1.1rem;
    font-size: clamp(0.72rem, 3.2vw, 0.92rem);
  }

  .footer-main {
    padding-top: 1.4rem;
    padding-bottom: 0.7rem;
  }

  .footer-bottom {
    padding-top: 0.95rem;
    padding-bottom: 7.8rem;
  }

  .footer-copy {
    font-size: clamp(0.82rem, 3.5vw, 0.92rem);
  }

  .footer-social-link {
    width: 34px;
    height: 34px;
  }

  .footer-social-link svg {
    width: 18px;
    height: 18px;
  }

  .student-feedback-quote {
    margin-top: 0.75rem;
    padding: 0.95rem 0.88rem;
  }

  .student-feedback-quote p {
    font-size: clamp(0.96rem, 4.1vw, 1.14rem);
    line-height: 1.35;
  }

  .success-story-year {
    margin-bottom: 0.36rem;
    font-size: clamp(2rem, 12vw, 3.1rem);
    -webkit-text-stroke: 1.5px rgba(139, 32, 32, 0.35);
  }

  .success-story-text {
    padding: 0.82rem 0.82rem 0.9rem;
    font-size: clamp(0.88rem, 3.45vw, 0.94rem);
    line-height: 1.36;
  }

  .participating-countries-section::before {
    top: -34px;
    height: 52px;
  }

  .participating-countries-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .participating-countries-label {
    border-right: 0;
    border-bottom: 1px solid rgba(107, 21, 21, 0.2);
    text-align: center;
    justify-items: center;
    padding: 0.82rem 0.62rem;
  }

  .countries-label-main {
    font-size: clamp(1.55rem, 8.4vw, 2rem);
  }

  .countries-label-accent {
    font-size: clamp(1.42rem, 7.6vw, 1.82rem);
  }

  .participating-countries-marquee {
    gap: 0.56rem;
    padding: 0.65rem 0.58rem;
  }

  .countries-track {
    gap: 0.52rem;
    padding-right: 0.52rem;
    animation-duration: 18s;
  }

  .country-item {
    min-height: 48px;
    gap: 0.48rem;
    padding: 0.44rem 0.72rem;
  }

  .country-flag {
    font-size: 1.48rem;
    line-height: 1;
  }

  .country-name {
    font-size: clamp(0.92rem, 4.35vw, 1.04rem);
  }

  .expert-badge {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .expert-name {
    font-size: clamp(1.37rem, 6.72vw, 1.61rem);
  }

  .expert-region {
    margin-top: 0.2rem;
    font-size: clamp(0.82rem, 3.6vw, 0.92rem);
  }

  .expert-topic {
    font-size: clamp(0.84rem, 3.45vw, 0.92rem);
    line-height: 1.3;
  }

  .universities-section::before {
    top: -36px;
    height: 56px;
  }

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

  .uni-tile,
  .uni-tile-featured {
    min-height: 84px;
  }

  .uni-tile-featured {
    min-height: 128px;
  }

  .why-k7-title {
    margin-top: 0.6rem;
  }

  .why-k7-lead {
    font-size: clamp(1.5rem, 7.2vw, 1.9rem);
    line-height: 1.42;
    margin-top: 1.15rem;
  }
}