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

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Poppins', sans-serif; overflow-x: hidden; color: #1a1a1a; }
img   { max-width: 100%; display: block; }

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  width: 100%;
  height: 105px;
  background-color: #780A2E;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.container {
  width: 90%;
  max-width: 1686px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { height: 27px; width: auto; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 0.8; }

.call-icon {
  width: 35px; height: 35px; min-width: 35px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.3s;
}
.call-icon:hover  { transform: scale(1.1); }
.call-icon img    { width: 21px; height: 21px; }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 28px; color: #fff;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  width: 100%;
  min-height: 615px;
  margin-top: 105px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 63%, #780A2E 233%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 5%;
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-left {
  flex: 0 0 auto;
  width: 280px;
  text-align: center;
}

.small-text {
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 25px;
}

.main-heading {
  font-weight: 800;
  font-size: 52px;
  line-height: 1.25;
  color: #1F201F;
}

.with { font-size: 32px; font-weight: 600; }

.hero-middle {
  flex: 0 0 auto;
  width: 270px;
  text-align: center;
}

.hero-middle h2 {
  font-weight: 300;
  font-size: 26px;
  line-height: 40px;
  margin-bottom: 20px;
}

.steps { margin-top: 16px; }
.steps div {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 16px;
  color: #780A2E;
}

.hero-form-wrap {
  flex: 0 0 auto;
  width: 400px;
  margin: 0 !important;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about {
  width: 100%;
  padding: 100px 5%;
  background: #fff;
}

.about-title {
  width: 215px; height: 65px;
  background: #780A2E; color: #fff;
  font-size: 30px; font-weight: 600;
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto 60px auto;
}

/* Same flex-row pattern as hero */
.about-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-text {
  flex: 1;
  font-size: 20px;
  line-height: 34px;
  text-align: justify;
}
.about-text p           { margin-bottom: 24px; }
.about-text p:last-child { margin-bottom: 0; }

.about-image {
  flex: 0 0 auto;
  width: 44%;
  max-width: 500px;
  position: relative;
  display: flex; justify-content: center; align-items: center;
}

.shape {
  position: absolute;
  width: 380px; height: 240px;
  background: rgba(120,10,46,0.15);
  border-radius: 50%;
  right: 30px; bottom: 50px; z-index: 0;
}

.about-image img {
  width: 100%; max-width: 480px;
  position: relative; z-index: 1;
}

/* ==========================================================
   WHY ISMS SECTION
   ========================================================== */
.why-section {
  width: 100%;
  padding: 100px 5%;
  background: #EBEBEB;
}

.why-title {
  width: fit-content;
  padding: 15px 40px;
  margin: 0 auto 70px auto;
  background: #780A2E; color: #fff;
  font-size: 30px; font-weight: 600;
  text-align: center;
}

/* Same flex-row pattern as hero */
.why-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.why-column {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 22px;
}

.why-column-left  { animation: slideInLeft  1s ease-out; }
.why-column-right { animation: slideInRight 1s ease-out; }

@keyframes slideInLeft  { from { transform: translateX(-80px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX( 80px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInBottom{ from { transform: translateY( 60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.why-card {
  background: #fff;
  padding: 16px 22px;
  font-size: 20px; font-weight: 500;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.why-card:hover { transform: translateY(-4px); }

.why-image {
  flex: 0 0 auto;
  width: 30%;
  max-width: 380px;
  display: flex; justify-content: center; align-items: center;
  position: relative;
  animation: slideInBottom 1s ease-out;
}
.why-image img  { width: 100%; max-width: 380px; position: relative; z-index: 2; }

.glow {
  position: absolute;
  width: 340px; height: 340px;
  background: #fff;
  border-radius: 50%;
  filter: blur(80px); z-index: 1;
}

/* ==========================================================
   PARTNER UNIVERSITIES
   ========================================================== */
.partner-universities {
  width: 100%;
  padding: 50px 0;
  background: #fff;
  overflow: hidden;
}

.section-title {
  background: #780A2E; color: #fff;
  text-align: center;
  padding: 15px 40px;
  font-size: 30px; font-weight: 600; line-height: 45px;
  margin: 0 auto 60px auto;
  width: fit-content;
}

/* country row = flex row (same pattern) */
.country-section {
  display: flex;
  align-items: stretch;
}

.country-header {
  background: #780A2E; color: #fff;
  font-size: 24px; font-weight: 600;
  padding: 20px 28px;
  min-width: 250px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  padding: 15px 0;
}
.marquee::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(to right, #f5f5f5, transparent); z-index: 5;
}
.marquee::after {
  content: ''; position: absolute;
  right: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(to left, #f5f5f5, transparent); z-index: 5;
}

.marquee .universities-grid {
  display: flex; flex-wrap: nowrap;
  gap: 15px; width: max-content;
  animation: scrollLeft 20s linear infinite;
}
.marquee-reverse .universities-grid { animation: scrollRight 20s linear infinite; }
.marquee:hover .universities-grid   { animation-play-state: paused; }

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

.university-card {
  display: flex; flex-direction: column; align-items: center;
  min-width: 210px; width: 210px;
  background: #fff;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s; flex-shrink: 0;
}
.university-card:hover { transform: translateY(-5px); }

.university-logo {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; min-height: 70px; width: 100%; background: #fff;
}
.university-logo img { max-width: 130px; max-height: 55px; object-fit: contain; }

.university-name {
  width: 100%; text-align: center;
  padding: 8px; font-size: 11px; font-weight: 500;
  color: #fff; background: #AEAEAE;
  min-height: 35px;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* colour variants */
.uk-1{background:#B6B6B6;color:#000}.uk-2{background:#01253A}.uk-3{background:#424A52}
.uk-4{background:#B01C2E}.uk-5{background:#014D9A}.uk-6{background:#323C44}
.uk-7{background:#A17206}.uk-8{background:#0C4270}
.ireland-1{background:#0071BD}.ireland-2{background:#E82C2E}.ireland-3{background:#A80050}
.ireland-4{background:#033771}.ireland-5{background:#004837}.ireland-6{background:#E1222A}
.ireland-7{background:#2F5059}.ireland-8{background:#0097DC}
.dubai-1{background:#29AAE1}.dubai-2{background:#000}.dubai-3{background:#E81C48}
.dubai-4{background:#46505B}.dubai-5{background:#3C4A63}.dubai-6{background:#A10E2F}
.dubai-7{background:#2B6DB5}
.france-1{background:#572B82}.france-2{background:#E7433C}.france-3{background:#001E4B}
.france-4{background:#EC1C2D}.france-5{background:#000}.france-6{background:#0B2C76}
.france-7{background:#FF5400}
.australia-1{background:#231F20}.australia-2{background:#231F20}.australia-3{background:#21409A}
.australia-4{background:#ED1C2E}.australia-5{background:#231F20}.australia-6{background:#76232F}
.australia-7{background:#CF4044}.australia-8{background:#044B99}
.nz-1{background:#90522A}.nz-2{background:#D44407}.nz-3{background:#E69203}
.nz-4{background:#0A5793}.nz-5{background:#115737}.nz-6{background:#9D586A}
.nz-7{background:#F37023}.nz-8{background:#000}

/* CTA button */
.cta-button {
  display: flex; justify-content: center; align-items: center;
  margin: 40px auto;
  padding: 10px 40px;
  max-width: 467px; height: 70px;
  border: 2px solid #780A2E;
  border-radius: 50px;
  background: transparent;
  cursor: pointer; transition: all 0.3s;
}
.cta-button:hover         { background: #780A2E; }
.cta-button span          { font-size: 26px; font-weight: 600; color: #000; transition: color 0.3s; text-align: center; }
.cta-button:hover span    { color: #fff; }

/* ==========================================================
   WHY STUDY ABROAD
   ========================================================== */
.why-study-abroad {
  width: 100%;
  padding: 30px 5% 80px;
  background: #fff;
}

.study-abroad-title {
  width: fit-content;
  padding: 10px 30px; height: 65px;
  margin: 0 auto 70px auto;
  background: #780A2E; color: #fff;
  font-size: 30px; font-weight: 600; line-height: 45px;
  display: flex; justify-content: center; align-items: center; text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  max-width: 1400px; margin: 0 auto;
}

.benefit-card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0px 4px 17.4px 4px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px;
  transition: transform 0.3s;
}
.benefit-card:hover { transform: translateY(-5px); }

.benefit-icon {
  width: 100%; height: 160px;
  display: flex; justify-content: center; align-items: center;
  padding: 20px; background: #fff;
}
.benefit-icon img { max-width: 90px; max-height: 90px; object-fit: contain; }

.benefit-content {
  background: rgba(203,203,203,0.5);
  padding: 14px 18px; flex: 1;
  display: flex; flex-direction: column;
}
.benefit-content h3 { font-weight: 600; font-size: 15px; line-height: 22px; margin-bottom: 6px; }
.benefit-content p  { font-weight: 300; font-size: 13px; line-height: 21px; margin: 0; }

/* ==========================================================
   SCHOLARSHIP SECTION
   ========================================================== */
.scholarship-section {
  width: 100%;
  background: #780A2E;
  padding: 36px 0 60px;
  overflow: hidden;
}

.scholarship-frame  { width: 100%; position: relative; }

.scholarship-title-box {
  width: fit-content; height: 65px;
  margin: 0 auto 50px auto;
  background: #5C0822;
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
}
.scholarship-title-box h2 { font-weight: 600; font-size: 28px; color: #fff; white-space: nowrap; }

.scholarship-marquee { width: 100%; overflow: hidden; }
.scholarship-track {
  display: flex; gap: 40px;
  width: max-content;
  animation: scrollLeft 25s linear infinite;
}
.scholarship-track:hover { animation-play-state: paused; }

.card { width: 330px; height: 420px; background: #fff; flex-shrink: 0; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   TRENDING PROGRAMS
   ========================================================== */
.trending-section {
  width: 100%;
  padding: 60px 5%;
  background: #CBCBCB;
}

.trending-title-box {
  width: fit-content; max-width: 700px; height: 65px;
  margin: 0 auto 50px auto;
  background: #780A2E;
  display: flex; justify-content: center; align-items: center;
  padding: 10px 30px;
}
.trending-title-box h2 { font-weight: 600; font-size: 26px; color: #fff; text-align: center; }

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1400px; margin: 0 auto;
}

.program-box {
  background: #fff;
  font-weight: 600; font-size: 16px;
  padding: 18px 16px; color: #000;
  transition: background 0.3s, color 0.3s;
  cursor: default;
}
.program-box:hover { background: #780A2E; color: #fff; }

/* ==========================================================
   DESTINATIONS SECTION
   ========================================================== */
.destinations-section {
  width: 100%;
  background: #780A2E;
  padding: 30px 0 40px;
  overflow: hidden;
}

.destinations-title-box {
  display: flex; justify-content: center; align-items: center;
  padding: 10px 27px;
  background: #5C0822;
  width: fit-content; min-height: 65px;
  margin: 0 auto 35px auto;
}
.destinations-title-box span {
  font-weight: 600; font-size: 30px; line-height: 45px;
  color: #fff; white-space: nowrap;
}

.destinations-marquee { width: 100%; overflow: hidden; }
.destinations-track {
  display: flex; gap: 21px;
  width: max-content;
  animation: destinationsScroll 20s linear infinite;
}
.destinations-track:hover { animation-play-state: paused; }

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

.destination-card {
  position: relative;
  width: 320px; height: 240px;
  flex-shrink: 0; overflow: hidden;
}
.destination-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.destination-label {
  position: absolute;
  bottom: 15px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 40px;
  background: #fff;
  box-shadow: 0px -3px 14.9px 5px rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
  font-weight: 600; font-size: 18px; color: #000; white-space: nowrap;
}

/* ==========================================================
   7 EASY STEPS SECTION
   ========================================================== */
.steps-section {
  width: 100%;
  background: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.steps-title-box {
  display: flex; justify-content: center; align-items: center;
  padding: 10px 27px;
  background: #780A2E;
  width: fit-content; height: 65px;
  margin: 0 auto 60px auto;
}
.steps-title-box span {
  font-weight: 600; font-size: 24px; line-height: 36px;
  color: #fff; white-space: nowrap;
}

/* Desktop layout */
.steps-desktop {
  display: flex; flex-direction: column; align-items: center;
  width: 90%; max-width: 1400px; margin: 0 auto;
}

.steps-top-row,
.steps-circles-row,
.steps-bottom-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.steps-top-cell,
.steps-bottom-cell {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 8px;
}
.steps-top-cell.empty,
.steps-bottom-cell.empty { visibility: hidden; }

.step-label-title { font-weight: 700; font-size: 14px; line-height: 21px; margin-bottom: 6px; }
.step-label-desc  { font-weight: 400; font-size: 12px; line-height: 18px; color: #666; }

.step-dash-line {
  display: block;
  width: 2px; height: 50px;
  border-left: 2px dashed #444;
  margin: 8px auto;
}

.step-circle-wrap { display: flex; justify-content: center; align-items: center; }

.s-outer  { width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.s-dashed { width: 120px; height: 120px; border-radius: 50%; border: 3px dashed #444; display: flex; align-items: center; justify-content: center; }
.s-black  { width: 105px; height: 105px; border-radius: 50%; background: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.s-color  { width: 88px;  height: 88px;  border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.s-white  { width: 64px;  height: 64px;  border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.s-white span { font-weight: 800; font-size: 22px; color: #000; }

/* Mobile steps */
.steps-mobile {
  display: none;
  flex-direction: column;
  width: 88%; max-width: 560px;
  margin: 0 auto;
}

.sm-step {
  display: flex; align-items: flex-start;
  gap: 18px; position: relative; padding-bottom: 32px;
}
.sm-step:not(.last)::after {
  content: '';
  position: absolute;
  left: 39px; top: 76px; bottom: 0;
  border-left: 2px dashed #444;
}

.sm-circle {
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff;
  display: flex; justify-content: center; align-items: center;
  font-weight: 800; font-size: 22px; color: #000;
  flex-shrink: 0; margin: 8px;
  box-shadow: 0 0 0 8px var(--c), 0 0 0 13px #fff, 0 0 0 18px var(--c);
}

.sm-info { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.sm-info strong { font-weight: 600; font-size: 17px; line-height: 26px; }
.sm-info span   { font-weight: 400; font-size: 14px; line-height: 22px; color: #bbb; }

/* ==========================================================
   COMPANIES SECTION
   ========================================================== */
.companies-section {
  width: 100%;
  background-color: #780A2E;
  padding: 0 0 52px 0;
  overflow: hidden;
}

.companies-title-box {
  display: flex; justify-content: center; align-items: center;
  padding: 10px 21px;
  background: #5C0822;
  width: fit-content; height: 65px;
  margin: 20px auto;
}
.companies-title-box span {
  font-weight: 600; font-size: 26px; line-height: 39px;
  color: #fff; white-space: nowrap;
}

.companies-strip { width: 100%; overflow: hidden; margin-top: 52px; }
.companies-track {
  display: flex; flex-wrap: nowrap;
  width: max-content;
  animation: companiesScroll 28s linear infinite;
}
.companies-strip:hover .companies-track { animation-play-state: paused; }

.company-card {
  width: 220px; height: 84px;
  background: #fff; flex-shrink: 0;
  display: flex; justify-content: center; align-items: center;
  padding: 10px 18px; margin-right: 12px;
}
.company-card img { max-width: 100%; max-height: 54px; object-fit: contain; }

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

/* ==========================================================
   STUDENTS SAYING SECTION
   ========================================================== */
.students-saying-section {
  width: 100%;
  background: #fff;
  padding: 0 0 70px 0;
}

.saying-title-box {
  display: flex; justify-content: center; align-items: center;
  padding: 10px 21px;
  background: #780A2E;
  width: fit-content; height: 65px;
  margin: 0 auto;
}
.saying-title-box span {
  font-weight: 600; font-size: 30px; line-height: 45px;
  color: #fff; white-space: nowrap;
}

.saying-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 39px;
  justify-content: center;
  margin: 39px auto 0;
  padding: 0 5%;
  max-width: 1400px;
}

.student-card {
  position: relative;
  width: 100%;
  aspect-ratio: 287 / 400;
  display: block; text-decoration: none;
  overflow: hidden; cursor: pointer;
}

.student-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.student-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
  transition: transform 0.4s;
}
.student-card:hover .student-photo img { transform: scale(1.03); }

.student-name-bar {
  position: absolute;
  left: 0; right: 0;
  top: 73.25%; bottom: 13.75%;
  background: #780A2E;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 14px;
}

.student-name {
  font-weight: 600; font-size: 20px; line-height: 30px;
  color: #fff; flex: 1;
}

.student-arrow-btn {
  position: absolute;
  right: 10%; bottom: 6.75%;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid #fff;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
  display: flex; justify-content: center; align-items: center;
  transition: background 0.2s, transform 0.2s;
}
.student-card:hover .student-arrow-btn { background: #fff; transform: scale(1.1); }

/* ==========================================================
   FAQ SECTION
   ========================================================== */
.faq-section {
  width: 100%;
  background: #fff;
  padding: 0 0 80px 0;
  overflow: hidden;
}

.faq-title-box {
  display: flex; justify-content: center; align-items: center;
  height: 65px; padding: 10px 40px;
  background: #780A2E;
  width: fit-content;
  margin: 0 auto 70px auto;
}
.faq-title-box span {
  font-weight: 600; font-size: 30px; line-height: 45px;
  color: #fff; white-space: nowrap;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 736px));
  gap: 40px 48px;
  justify-content: center;
  padding: 0 5%;
  max-width: 1600px; margin: 0 auto;
}

.faq-item { border-radius: 5px; overflow: hidden; cursor: pointer; user-select: none; }

.faq-header {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 53px;
  background: #EEE;
  padding: 10px 20px 10px 33px; gap: 12px;
}

.faq-question { font-weight: 400; font-size: 22px; line-height: 33px; color: #780A2E; flex: 1; }

.faq-chevron {
  flex-shrink: 0; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s;
}
.faq-item.open .faq-header .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  position: relative;
  background: #780A2E;
  padding: 0 56px 0 33px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 250px; padding: 18px 56px 18px 33px; }

.faq-answer p { font-weight: 400; font-size: 20px; line-height: 30px; color: #fff; margin: 0; }

.faq-answer-chevron {
  position: absolute;
  top: 14px; right: 18px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================
   ELIGIBILITY BANNER + MULTI-STEP FORM
   ========================================================== */
.eligibility-section {
  width: 100%;
  min-height: auto;
  background: #780A2E;
  /* Same flex-row pattern as hero */
  display: flex;
  align-items: stretch;
  position: relative; overflow: hidden;
}

.eligibility-banner {
  flex: 1;
  display: flex; align-items: center;
  padding: 10px 60px 80px 10px;
  position: relative; z-index: 2;
}
.eligibility-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  top: 50%; left: 40%; transform: translate(-50%,-50%);
  z-index: 0; pointer-events: none;
}

.eligibility-banner-text { position: relative; z-index: 1; }

.eb-ready  { font-weight: 300; font-size: 28px; line-height: 42px; color: #fff; margin: 0 0 4px 0; }
.eb-title  { font-weight: 800; font-size: 80px; line-height: 96px; color: #fff; margin: 0 0 8px 0; }
.eb-dreams { font-weight: 300; font-size: 28px; line-height: 42px; color: #fff; margin: 0 0 4px 0; }
.eb-brand  { font-weight: 700; font-size: 32px; line-height: 48px; color: #fff; margin: 0; }

/* Form wrap — flex: 0 0 auto, same as hero-form-wrap */
.eligibility-form-wrap {
  flex: 0 0 auto;
  width: 420px;
  background: #fff;
  padding: 10px 32px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  margin: 40px 60px 40px 0;
  border-radius: 4px;
}

/* Multi-step form elements */
.ms-step        { display: none; flex-direction: column; gap: 0; }
.ms-step.active { display: flex; }

.ms-back {
  display: flex; align-items: center; gap: 6px;
  background: #f0e8ec; border: none; border-radius: 50px;
  padding: 6px 14px 6px 10px; cursor: pointer;
  width: fit-content; margin-bottom: 20px;
  font-size: 14px; color: #780A2E; font-weight: 600;
  transition: background 0.2s;
}
.ms-back:hover { background: #e0d0d6; }

.ms-question { font-weight: 500; font-size: 15px; line-height: 23px; color: #1a1a1a; margin: 0 0 14px 0; }
.ms-mt       { margin-top: 22px; }

.ms-safe { font-weight: 700; font-size: 14px; color: #1a1a1a; margin: 4px 0 18px 0; }

.ms-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }

.ms-btn {
  height: 38px; background: #D9D9D9; border: none;
  font-weight: 500; font-size: 13px; color: #000;
  cursor: pointer; border-radius: 2px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 8px;
}
.ms-btn:hover    { background: #c4c4c4; }
.ms-btn.selected { background: #780A2E; color: #fff; }
.ms-btn-full     { width: 100%; margin-bottom: 0; }

.ms-recommended { font-size: 9px; font-weight: 300; color: #555; text-align: right; margin-bottom: 6px; }

.ms-input {
  width: 100%; height: 46px;
  background: #F5F0F2; border: none;
  border-bottom: 1px solid #ccc;
  padding: 0 14px; font-size: 14px; color: #333;
  outline: none; margin-bottom: 14px;
  border-radius: 2px; transition: border-color 0.2s;
}
.ms-input:focus        { border-color: #780A2E; }
.ms-input::placeholder { color: #aaa; }

.ms-checkbox-label {
  display: flex; align-items: flex-start;
  gap: 12px; cursor: pointer;
  margin-bottom: 22px; margin-top: 4px;
}
.ms-checkbox-label input[type="checkbox"] { display: none; }

.ms-checkmark {
  width: 22px; height: 22px; min-width: 22px;
  border: 1.5px solid #780A2E; background: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; margin-top: 2px; transition: background 0.2s;
}
.ms-checkbox-label input:checked + .ms-checkmark { background: #f5f0f2; }

.ms-checkbox-text { font-size: 13px; line-height: 20px; color: #555; }

.ms-continue {
  width: 100%; height: 44px;
  background: #780A2E; border: none; border-radius: 50px;
  font-weight: 600; font-size: 16px; color: #fff;
  cursor: pointer; margin-top: 16px; transition: background 0.3s;
}
.ms-continue:hover { background: #5a0822; }

.eligibility-man {
  position: absolute;
  bottom: 0;
  right: 460px; 
  height: 80%;
  width: auto;
  z-index: 1;
  pointer-events: none;
  /*transform: scaleX(-1);*/
}

/*FOOTER*/
.site-footer {
  width: 100%; background: #fff;
  padding: 20px; text-align: center;
  border-top: 1px solid #eee;
}
.site-footer p {
  font-weight: 300; font-size: 18px; line-height: 30px;
  color: #000; margin: 0; text-transform: capitalize;
}

/* RESPONSIVE  */

/* ── 1199px ── */
@media (max-width: 1199px) {
  /* Navbar */
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }

  /* Hero */
  .hero-left    { width: 240px; }
  .hero-middle  { width: 240px; }
  .hero-form-wrap { width: 360px; }
  .main-heading { font-size: 42px; }
  .hero-middle h2 { font-size: 22px; line-height: 34px; }

  /* About */
  .about-text    { font-size: 18px; line-height: 30px; }

  /* Why */
  .why-card { font-size: 17px; }

  /* Benefits */
  .benefits-grid { gap: 30px 20px; }

  /* Eligibility */
  .eb-title  { font-size: 64px; line-height: 80px; }
  .eb-ready, .eb-dreams { font-size: 24px; }
  .eb-brand  { font-size: 28px; }
  .eligibility-form-wrap { width: 380px; margin: 40px 40px 40px 0; padding: 32px 24px; }

  /* Steps */
  .s-outer  { width: 120px; height: 120px; }
  .s-dashed { width: 102px; height: 102px; }
  .s-black  { width: 88px;  height: 88px;  }
  .s-color  { width: 72px;  height: 72px;  }
  .s-white  { width: 52px;  height: 52px;  }
  .s-white span { font-size: 18px; }
  .step-label-title { font-size: 12px; line-height: 18px; }
  .step-label-desc  { font-size: 11px; }
}

/* ── 991px — hamburger menu, all rows collapse to column ── */
@media (max-width: 991px) {
  /* Navbar */
  .navbar      { height: 80px; }
  .nav-links   { display: none; }
  .menu-toggle { display: block; }

  /* Hero — flex row → column */
  .hero            { margin-top: 80px; min-height: auto; padding: 50px 5%; }
  .hero-container  { flex-direction: column; align-items: center; gap: 36px; }
  .hero-left       { width: 100%; max-width: 500px; text-align: center; }
  .hero-middle     { width: 100%; max-width: 500px; text-align: center; }
  .hero-form-wrap  { width: 100%; max-width: 480px; }
  .main-heading    { font-size: 40px; }

  /* About — flex row → column */
  .about           { padding: 70px 5%; }
  .about-container { flex-direction: column; align-items: center; gap: 40px; }
  .about-text      { font-size: 17px; line-height: 28px; text-align: left; }
  .about-image     { width: 100%; max-width: 480px; }
  .shape           { width: 280px; height: 180px; right: 20px; bottom: 30px; }

  /* Why ISMS — flex row → column */
  .why-section    { padding: 70px 5%; }
  .why-container  { flex-direction: column; align-items: center; gap: 40px; }
  .why-column     { width: 100%; max-width: 600px; }
  .why-image      { width: 60%; max-width: 340px; }
  .glow           { width: 280px; height: 280px; }

  /* Universities */
  .country-header { min-width: 110px; font-size: 18px; padding: 16px 14px; }
  .university-card { min-width: 180px; width: 180px; }

  /* Benefits 2-col */
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  /* Scholarship */
  .card { width: 280px; height: 350px; }

  /* Trending 2-col */
  .trending-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Steps — show mobile list, hide desktop grid */
  .steps-desktop  { display: none; }
  .steps-mobile   { display: flex; }

  /* Companies */
  .companies-title-box { max-width: 90%; }
  .companies-title-box span { font-size: 18px; white-space: normal; text-align: center; line-height: 28px; }
  .company-card   { width: 160px; height: 66px; }

  /* Students 2-col */
  .saying-grid    {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; padding: 0 5%;
    max-width: 700px; margin: 32px auto 0;
  }
  .saying-title-box { width: 88%; max-width: 560px; height: auto; padding: 12px 20px; }
  .saying-title-box span { font-size: 20px; line-height: 30px; white-space: normal; text-align: center; }

  /* FAQ 1-col */
  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 680px; margin: 0 auto;
    gap: 22px; padding: 0 5%;
  }
  .faq-title-box { height: auto; padding: 14px 28px; margin-bottom: 50px; width: 88%; max-width: 560px; }
  .faq-title-box span { font-size: 22px; line-height: 33px; white-space: normal; text-align: center; }

  /* Eligibility — flex row → column */
  .eligibility-section {
    flex-direction: column; align-items: center;
    min-height: auto; padding: 60px 5% 50px;
  }
  .eligibility-banner {
    padding: 0; margin-bottom: 40px;
    justify-content: center; text-align: center;
  }
  .eligibility-banner::before { display: none; }
  .eb-title  { font-size: 56px; line-height: 70px; }
  .eb-ready, .eb-dreams { font-size: 20px; line-height: 32px; }
  .eb-brand  { font-size: 26px; line-height: 38px; }
  .eligibility-form-wrap { width: 100%; max-width: 500px; margin: 0; padding: 32px 28px; }

  .site-footer p { font-size: 15px; }
}

/* ── 767px ── */
@media (max-width: 767px) {
  .navbar   { height: 70px; }
  .logo img { height: 20px; }

  /* Hero */
  .hero            { margin-top: 70px; padding: 40px 5%; }
  .main-heading    { font-size: 34px; }
  .with            { font-size: 24px; }
  .small-text      { font-size: 15px; line-height: 26px; }
  .hero-middle h2  { font-size: 20px; line-height: 32px; }
  .steps div       { font-size: 14px; margin-bottom: 16px; }

  /* About */
  .about       { padding: 55px 5%; }
  .about-title { font-size: 24px; height: 55px; margin-bottom: 40px; }
  .about-text  { font-size: 15px; line-height: 26px; }

  /* Why */
  .why-section { padding: 55px 5%; }
  .why-title   { font-size: 22px; padding: 12px 28px; }
  .why-card    { font-size: 15px; padding: 14px 18px; }
  .why-image   { width: 75%; }

  /* Universities */
  .section-title   { font-size: 22px; padding: 12px 24px; margin-bottom: 40px; }
  .country-header  { min-width: 90px; font-size: 15px; padding: 14px 10px; }
  .university-card { min-width: 155px; width: 155px; }
  .university-logo img { max-width: 100px; max-height: 48px; }
  .university-name { font-size: 10px; min-height: 30px; }

  /* Benefits */
  .study-abroad-title { font-size: 22px; height: 55px; margin-bottom: 50px; }
  .benefit-icon   { height: 130px; }
  .benefit-icon img { max-width: 72px; max-height: 72px; }
  .benefit-content h3 { font-size: 13px; }
  .benefit-content p  { font-size: 12px; }

  /* Scholarship */
  .scholarship-title-box h2 { font-size: 22px; }
  .card { width: 240px; height: 300px; }

  /* Trending */
  .trending-title-box { height: 55px; }
  .trending-title-box h2 { font-size: 20px; }
  .program-box { font-size: 14px; padding: 15px 12px; }

  /* Destinations */
  .destinations-title-box span { font-size: 22px; }
  .destination-card  { width: 230px; height: 180px; }
  .destination-label { width: 160px; height: 36px; font-size: 15px; }

  /* Steps mobile */
  .steps-title-box { height: 55px; }
  .steps-title-box span { font-size: 18px; white-space: normal; text-align: center; line-height: 28px; }
  .sm-circle  { width: 52px; height: 52px; font-size: 18px; }
  .sm-info strong { font-size: 15px; }
  .sm-info span   { font-size: 13px; }
  .sm-step:not(.last)::after { left: 34px; top: 64px; }

  /* Companies */
  .companies-title-box span { font-size: 15px; }
  .companies-strip { margin-top: 30px; }
  .company-card { width: 140px; height: 56px; }

  /* Students */
  .saying-title-box span { font-size: 17px; line-height: 26px; }
  .saying-grid   { gap: 14px; padding: 0 4%; }
  .student-name  { font-size: 15px; }
  .student-arrow-btn { width: 28px; height: 28px; }

  /* FAQ */
  .faq-section { padding-bottom: 50px; }
  .faq-title-box { width: 92%; padding: 12px 20px; margin-bottom: 40px; }
  .faq-title-box span { font-size: 19px; line-height: 29px; }
  .faq-header   { padding: 10px 16px 10px 20px; min-height: 48px; }
  .faq-question { font-size: 16px; line-height: 24px; }
  .faq-answer   { padding: 0 46px 0 20px; }
  .faq-item.open .faq-answer { padding: 14px 46px 14px 20px; max-height: 320px; }
  .faq-answer p { font-size: 15px; line-height: 24px; }
  .faq-answer-chevron { right: 12px; top: 10px; }

  /* CTA */
  .cta-button      { max-width: 85%; height: 58px; }
  .cta-button span { font-size: 20px; }

  /* Eligibility */
  .eligibility-section { padding: 50px 5% 40px; }
  .eb-title  { font-size: 44px; line-height: 56px; }
  .eb-ready, .eb-dreams { font-size: 18px; line-height: 28px; }
  .eb-brand  { font-size: 22px; line-height: 33px; }
  .eligibility-form-wrap { padding: 28px 20px; }
  .ms-btn      { font-size: 12px; height: 36px; }
  .ms-question { font-size: 14px; }
  .ms-continue { font-size: 15px; height: 42px; }

  .site-footer p { font-size: 13px; }
}

/* ── 599px ── */
@media (max-width: 599px) {
  /* Hero */
  .hero         { padding: 36px 5%; }
  .main-heading { font-size: 28px; }
  .with         { font-size: 22px; }
  .hero-form-wrap { max-width: 100%; }

  /* About */
  .about-title { font-size: 20px; width: 160px; height: 50px; }
  .about-text  { font-size: 14px; line-height: 24px; }

  /* Why */
  .why-title { font-size: 18px; padding: 10px 22px; }
  .why-card  { font-size: 14px; padding: 13px 16px; }

  /* Universities */
  .section-title   { font-size: 18px; padding: 10px 18px; }
  .country-header  { min-width: 72px; font-size: 13px; padding: 12px 8px; }
  .university-card { min-width: 140px; width: 140px; }
  .university-logo img { max-width: 88px; max-height: 40px; }

  /* Benefits — 1 col */
  .benefits-grid { grid-template-columns: 1fr; max-width: 380px; }
  .study-abroad-title { font-size: 18px; height: auto; min-height: 55px; padding: 10px 20px; }

  /* Scholarship */
  .card { width: 200px; height: 250px; }
  .scholarship-track { gap: 24px; }
  .scholarship-title-box h2 { font-size: 18px; }

  /* Trending */
  .trending-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .program-box   { font-size: 13px; padding: 14px 10px; }
  .trending-title-box h2 { font-size: 18px; }

  /* Destinations */
  .destinations-title-box span { font-size: 18px; line-height: 28px; }
  .destination-card  { width: 180px; height: 145px; }
  .destination-label { width: 140px; height: 32px; font-size: 13px; }

  /* Steps */
  .steps-title-box span { font-size: 15px; line-height: 24px; }
  .sm-circle { width: 46px; height: 46px; font-size: 16px; margin: 6px; }
  .sm-info strong { font-size: 13px; }
  .sm-info span   { font-size: 12px; }
  .sm-step:not(.last)::after { left: 29px; top: 56px; }

  /* Companies */
  .companies-title-box span { font-size: 13px; }
  .company-card { width: 110px; height: 46px; }

  /* Students */
  .saying-title-box span { font-size: 15px; line-height: 23px; }
  .saying-grid  { gap: 10px; padding: 0 4%; }
  .student-name { font-size: 13px; }
  .student-name-bar { padding: 0 8px; }
  .student-arrow-btn { width: 24px; height: 24px; }

  /* FAQ */
  .faq-grid { padding: 0 4%; gap: 14px; }
  .faq-title-box { width: 95%; padding: 10px 16px; margin-bottom: 32px; }
  .faq-title-box span { font-size: 17px; line-height: 26px; }
  .faq-question { font-size: 14px; line-height: 21px; }
  .faq-answer p { font-size: 14px; line-height: 22px; }
  .faq-chevron svg, .faq-answer-chevron svg { width: 14px; height: 8px; }

  /* CTA */
  .cta-button      { max-width: 94%; height: 52px; padding: 8px 20px; }
  .cta-button span { font-size: 17px; }

  /* Eligibility */
  .eligibility-section { padding: 40px 4% 36px; }
  .eb-title  { font-size: 36px; line-height: 46px; }
  .eb-ready, .eb-dreams { font-size: 16px; line-height: 25px; }
  .eb-brand  { font-size: 20px; line-height: 30px; }
  .eligibility-form-wrap { padding: 24px 16px; max-width: 100%; }
  .ms-grid-2 { gap: 6px; }
  .ms-btn    { font-size: 11px; height: 34px; }
  .ms-question { font-size: 13px; line-height: 20px; }
  .ms-input  { height: 42px; font-size: 13px; }
  .ms-continue { font-size: 14px; height: 40px; }
  .ms-checkbox-text { font-size: 12px; }

  .site-footer p { font-size: 12px; line-height: 22px; }
}

/* ── 479px ── */
@media (max-width: 479px) {
  .navbar   { height: 64px; }
  .logo img { height: 18px; }
  .menu-toggle { font-size: 24px; }

  /* Hero */
  .hero         { margin-top: 64px; }
  .main-heading { font-size: 26px; }
  .with         { font-size: 20px; }

  /* Universities */
  .university-card { min-width: 125px; width: 125px; }

  /* Trending — 1 col */
  .trending-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

  /* Destinations */
  .destination-card  { width: 155px; height: 125px; }
  .destination-label { width: 125px; height: 28px; font-size: 12px; }

  /* Steps */
  .sm-step   { gap: 14px; padding-bottom: 24px; }
  .sm-circle { width: 42px; height: 42px; font-size: 14px; margin: 5px; }
  .sm-step:not(.last)::after { left: 26px; top: 50px; }

  /* Companies */
  .company-card { width: 95px; height: 40px; }

  /* Students — 1 col */
  .saying-grid   { grid-template-columns: 1fr; gap: 16px; padding: 0 8%; max-width: 360px; }
  .student-card  { aspect-ratio: 287 / 340; }

  /* Eligibility */
  .eb-title { font-size: 30px; line-height: 40px; }
  .eb-brand { font-size: 18px; }
  .ms-btn   { font-size: 10px; height: 32px; }
}

/* ── 359px ── */
@media (max-width: 359px) {
  .navbar   { height: 60px; }
  .logo img { height: 16px; }
  .hero     { margin-top: 60px; }
  .main-heading { font-size: 22px; }

  .country-header  { min-width: 58px; font-size: 11px; padding: 10px 6px; }
  .university-card { min-width: 110px; width: 110px; }
  .university-logo img { max-width: 74px; max-height: 32px; }

  .destination-card  { width: 135px; height: 110px; }
  .destination-label { width: 110px; height: 26px; font-size: 11px; }

  .faq-title-box span { font-size: 14px; line-height: 21px; }
  .faq-question { font-size: 12px; line-height: 18px; }
  .faq-answer p { font-size: 12px; line-height: 19px; }
  .faq-item.open .faq-answer { max-height: 340px; }

  .eb-title  { font-size: 24px; line-height: 32px; }
  .eb-ready, .eb-dreams { font-size: 14px; }
  .eb-brand  { font-size: 16px; }
  .ms-btn    { font-size: 9px; }
  .ms-question { font-size: 12px; }
}