:root {
  --blue-950: #0a192f;
  --blue-900: #112240;
  --blue-800: #193a6b;
  --blue-700: #2563eb;
  --blue-600: #3b82f6;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --white: #ffffff;
  --slate-900: #1e293b;
  --slate-700: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f8fafc;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --green-500: #10b981;
  --shadow-lg: 0 25px 50px -12px rgba(10, 25, 47, 0.25);
  --shadow-md: 0 16px 36px -4px rgba(12, 41, 76, 0.15);
  --shadow-sm: 0 10px 24px rgba(12, 41, 76, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(10, 25, 47, 0.65);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-dark: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(10, 25, 47, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100vw - 40px));
  --nav-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

[id] {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.55;
  touch-action: pan-x pan-y;
}

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

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

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

button {
  cursor: pointer;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 121, 213, 0.12), transparent 28%),
    radial-gradient(circle at 80% 6%, rgba(255, 159, 28, 0.12), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 18%, #ffffff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--slate-700);
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 250ms ease, background 250ms ease, color 250ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--blue-950);
  background: var(--orange-500);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
  background: var(--orange-400);
}

.button-secondary {
  color: var(--blue-900);
  background: #ffffff;
  border-color: rgba(20, 63, 115, 0.12);
  box-shadow: var(--shadow-sm);
}

.button-block {
  width: 100%;
}

.header-cta {
  white-space: nowrap;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  padding: 32px 0 48px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 36, 62, 0.95), rgba(12, 24, 46, 0.88)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: auto auto 10% 8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 121, 213, 0.08), transparent 70%);
  filter: blur(12px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
  align-items: center;
  gap: 32px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.eyebrow-blue {
  color: var(--blue-800);
  background: var(--blue-100);
}

.hero-copy h1,
.section-heading h2,
.advisor-content h2,
.contact-card h3,
.hero-form-card h2,
.exit-popup h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  max-width: 14ch;
  color: var(--white);
  margin-top: 8px;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 60ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

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

.hero-highlights {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.highlight-pill {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 16px 10px;
  border-radius: 12px;
  background: rgba(45, 59, 85, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, border-color 200ms ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.highlight-pill strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.highlight-pill span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-form-card,
.contact-card,
.exit-popup {
  color: var(--slate-900);
  background: #ccc6c3;
  border-radius: 24px;
  border: 0;
  box-shadow: 0 16px 32px rgba(10, 25, 47, 0.25);
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 300ms ease;
}

.hero-form-card {
  padding: 24px 28px;
}

.form-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: #157347;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.hero-form-card h2,
.contact-card h3,
.exit-popup h2 {
  margin-top: 12px;
  font-size: 1.6rem;
  color: var(--blue-950);
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #eee8e4;
  color: var(--slate-900);
  font-size: 0.95rem;
  transition: all 200ms ease;
}

.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 5;
}

.iti__country-list {
  width: 280px; 
  max-width: calc(100vw - 48px);
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  border-radius: 12px;
  font-size: 0.9rem;
}

.iti__country-name {
  white-space: normal;
}

.lead-form .iti--allow-dropdown input,
.lead-form .iti--allow-dropdown input[type=tel] {
  padding-left: 52px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.lead-form .checkbox-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 4px 0;
}

.lead-form .checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-assurance,
.form-feedback {
  margin: 0;
  font-size: 0.95rem;
}

.form-feedback.error {
  color: #dc2626;
  font-weight: 700;
  margin-top: 8px;
}

.form-assurance {
  margin: 4px 0 0;
  color: var(--slate-700);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

.form-feedback {
  min-height: 1.5em;
  color: var(--blue-800);
  font-weight: 700;
}

.trust-bar {
  position: relative;
  margin-top: -22px;
  z-index: 4;
}

.trust-shell {
  display: grid;
  gap: 18px;
  padding: 22px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  mask-image: radial-gradient(ellipse at bottom left, transparent 18%, black 38%),
              radial-gradient(ellipse at bottom right, transparent 18%, black 38%),
              linear-gradient(to bottom, black 60%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, transparent 18%, black 38%),
                      radial-gradient(ellipse at bottom right, transparent 18%, black 38%),
                      linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-composite: source-in;
}

/* Added logo marquee support for sliding logos */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.logo-marquee-content {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 40px;
  animation: slideMarquee 25s linear infinite;
  padding-right: 40px; /* matches gap to ensure seamless loop */
}

.logo-marquee-content img {
  height: 38px;
  object-fit: contain;
  transition: all 300ms ease;
  user-select: none;
}

.logo-marquee-content:hover {
  animation-play-state: paused;
}

.logo-marquee-content img:hover {
  transform: scale(1.05);
}

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

.trust-bar {
  padding: 32px 0;
  border-top: none;
  border-bottom: 0;
  margin-top: -1px; /* Overlap slightly to hide subpixel gaps */
  position: relative;
  z-index: 2;
}

.trust-bar .section-heading {
  margin-bottom: 32px;
  max-width: 100%;
}

.benefit-pills span {
  background: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.95rem;
  border: 1px solid var(--blue-200);
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}


/* Trending Universities Section */
.section-dark-navy {
  background: var(--blue-950);
  position: relative;
  overflow: hidden;
  padding: 100px 0; /* Premium desktop padding */
}

.filter-pills-container {
  margin-bottom: 40px;
}

.filter-pills-scroller {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* Enable wrapping */
  justify-content: center; /* Center the pills */
  padding: 4px 4px 16px;
}

.filter-pills-scroller::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 8px 24px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-pill:hover {
  border-color: var(--blue-600);
  background: rgba(59, 130, 246, 0.1);
}

.filter-pill.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* Increased gap for desktop */
  max-width: 1280px; /* Wider container for premium feel */
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .university-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .university-grid {
    grid-template-columns: 1fr;
  }
}

.uni-card {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  opacity: 0;
  transform: translateY(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.01);
  width: 100%;
}

.uni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.1);
}

.uni-card.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.uni-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.uni-logo-box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf2f7;
}

.uni-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uni-title-area {
  flex-grow: 1;
}

.uni-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2px;
}

.uni-header h3 {
  font-size: 1.1rem;
  color: #1a202c;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.uni-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fff5eb;
  color: #ff8c42;
  white-space: nowrap;
}

.uni-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #718096;
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 500;
}

.uni-loc img {
  width: 14px;
  height: 14px;
}

.uni-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.uni-details-col {
  flex: 1; /* Take all available space */
  min-width: 0; /* Allow col to shrink responsibly */
}

.uni-cta-col {
  flex-shrink: 0; /* Don't let the button squash */
}

.uni-recruiters {
  margin-bottom: 6px;
}

.uni-recruiters .label {
  display: block;
  font-size: 0.8rem;
  color: #4a5568;
  margin-bottom: 4px;
  font-weight: 700;
}

.rec-tags {
  display: flex;
  gap: 5px;
  overflow-x: auto; /* Enable horizontal scrolling */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  padding-bottom: 2px;
  margin-bottom: 4px;
}

.rec-tags::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.rec-tags span {
  flex-shrink: 0; /* Prevent tags from squashing */
  padding: 3px 8px;
  background: #edf2f7;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #4a5568;
  font-weight: 700;
  white-space: nowrap;
}

.pkg {
  font-size: 0.8rem;
  color: #1a202c;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}

.uni-cta-col {
  flex-shrink: 0;
}

.uni-apply-btn {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
  color: white !important;
  padding: 0px 10px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  letter-spacing: 0.3px;
}

.uni-apply-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35) !important;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
}

.uni-apply-btn:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 640px) {
  .uni-card-bottom {
    flex-direction: row; /* Keep side-by-side even on small tablets */
  }
}

@media (max-width: 768px) {
  .header-cta {
    display: none !important;
  }
  
  .uni-card-main {
    flex-direction: column;
    gap: 16px;
  }
  
  .uni-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .uni-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  
  .filter-pills-scroller {
    justify-content: flex-start;
  }
}

.section {
  padding: 96px 0;
}

.section-light {
  background: linear-gradient(180deg, var(--blue-100), rgba(238, 245, 255, 0.25));
}

.section-tint {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 159, 28, 0.1), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.section-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
  text-align: center; /* Ensure text is also centered */
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--blue-950);
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--slate-700);
  font-size: 1.06rem;
}

.destination-card,
.journey-step,
.testimonial-card,
.faq-item,
.contact-card,
.advisor-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.destination-card:hover,
.journey-step:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}


/* --- Why Us Redesign (Benefits Section - Theme Matched) --- */
.section-benefits {
  background: linear-gradient(180deg, var(--blue-100), rgba(238, 245, 255, 0.45));
  color: var(--blue-950);
  overflow: hidden;
  position: relative;
}

.section-benefits .section-heading h2 {
  color: var(--blue-950);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.why-us-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.decorative-splash {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(47, 121, 213, 0.1) 0%, transparent 70%);
  z-index: -1;
  transform: rotate(-15deg);
}

.why-us-image-col img {
  width: 100%;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 40px rgba(10, 25, 47, 0.08));
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usp-item-simple {
  display: flex;
  align-items: center;
  gap: 20px;
}

.usp-icon-circle {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 16px;
}

.usp-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.usp-content p {
  margin: 0;
  color: var(--slate-900);
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 500;
}

.usp-content strong {
  color: var(--blue-800);
  font-weight: 800;
}

@media (max-width: 960px) {
  .section-benefits {
    padding: 80px 0; /* More breathing room */
  }

  .why-us-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .why-us-image-col {
    order: -1;
    max-width: 440px;
    margin: 0 auto;
  }

  .section-benefits .section-heading {
    text-align: left;
    margin-top: 32px;
  }

  .section-benefits .section-heading h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .section-benefits {
    padding: 60px 0;
  }

  .usp-list {
    gap: 28px; /* Increased from 20px for better separation */
  }

  .usp-icon-circle {
    width: 56px;
    height: 56px;
    padding: 14px;
  }

  .usp-content p {
    font-size: 1.05rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .section-benefits .section-heading h2 {
    font-size: 1.85rem;
  }

  .usp-item-simple {
    gap: 16px;
  }

  .usp-icon-circle {
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  .usp-content p {
    font-size: 0.98rem;
  }
}


.feature-card h3,
.destination-content h3,
.journey-step h3,
.testimonial-copy h3,
.footer-column h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--blue-950);
}

.feature-card p,
.destination-content p,
.journey-step p,
.testimonial-copy p,
.faq-copy p,
.advisor-content li {
  color: var(--slate-700);
}

.site-footer p,
.footer-brand p,
.footer-column p {
  color: #ffffff;
}

.icon-box,
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  margin-bottom: 0; /* Removed margin-bottom to align in row */
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.icon-blue,
.step-icon {
  color: var(--blue-700);
  background: rgba(47, 121, 213, 0.12);
}

.icon-orange {
  color: #d97706;
  background: rgba(255, 159, 28, 0.16);
}

.destination-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 20px; /* For shadow/hover scale */
}

.destination-grid::-webkit-scrollbar {
  display: none;
}

.destination-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.destination-media {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.destination-content {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 25, 47, 0.95));
  color: var(--white);
}

.destination-media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 500ms ease;
}

.destination-card:hover .destination-media {
  transform: scale(1.05);
}

.destination-content h3,
.destination-content p,
.text-link {
  color: var(--white);
}

.destination-content p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  max-height: 3em; /* Shows exactly 2 lines */
  overflow: hidden;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  transition: max-height 400ms ease, mask-image 400ms ease, -webkit-mask-image 400ms ease;
}

.destination-card:hover .destination-content p {
  max-height: 8em; /* Enough to reveal full text */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
}

.text-link {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange-400);
}

.journey-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.journey-cards-scroll {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.journey-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.journey-track::before {
  display: none;
}

.journey-image-wrapper {
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  max-height: 640px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.journey-step {
  position: relative;
  padding: 32px;
  scroll-snap-align: start;
  scroll-margin-top: 10px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0; /* Removed margin-bottom to align in row */
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--blue-800);
  font-weight: 800;
}

.video-carousel {
  position: relative;
  width: 100%;
  margin-top: 32px;
}

.video-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 calc(33.333% - 11px);
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  background: var(--slate-900);
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.15);
}

.video-card video,
.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Zoom to maintain ratio */
  border: 0;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}

.video-card:hover video,
.video-card:hover iframe {
  opacity: 1;
  transform: scale(1.04); /* Subtler scale on hover */
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), background 300ms ease;
}

.play-overlay svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--orange-500);
}

.video-info {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: white;
  pointer-events: none;
  z-index: 5;
}

.video-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Sora", sans-serif;
  color: white;
}

.video-info p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.faq-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.faq-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--blue-950);
  font-weight: 800;
  text-align: left;
}

.faq-symbol {
  flex: none;
  color: var(--orange-500);
  font-size: 1.4rem;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--slate-700);
}

.faq-item.is-open .faq-symbol {
  transform: rotate(45deg);
}

.final-cta {
  background:
    radial-gradient(circle at 0% 100%, rgba(47, 121, 213, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.advisor-card {
  overflow: hidden;
}

.advisor-media {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.advisor-content {
  padding: 28px;
}

.advisor-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-top: 0;
  color: var(--blue-950);
}

.contact-benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-benefits li {
  position: relative;
  padding-left: 26px;
}

.contact-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
}

.contact-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 20, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  margin-bottom: 24px;
}

.site-footer {
  color: #ffffff;
  background: #406ac4;
  max-width: var(--container);
  margin: 0 auto 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 20, 42, 0.08);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85); /* Menu links / Quick Links color */
}

.site-footer a:hover {
  color: #ffffff; /* Hover color for menu links */
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  padding: 60px 40px 40px;
}

.brand-footer .brand-copy strong,
.footer-column h3 {
  color: #ffffff;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--orange-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Top border line color */
  padding: 24px 40px;
  color: rgba(255, 255, 255, 0.65); /* Copyright text color */
  font-size: 0.9rem;
}

.footer-bottom-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.developer-credit a {
  color: #ffffff; /* Developer name color */
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: text-decoration-color 0.3s ease;
  white-space: nowrap;
}

.developer-credit a:hover {
  text-decoration-color: #ffffff;
}

/* --- Counselors Section (Optimized Hybrid Layout) --- */
.counselor-static-scroll {
  width: 100%;
}

.counselor-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

@media (min-width: 1024px) {
  .counselor-grid {
    flex-wrap: nowrap;
    gap: 20px;
  }
}

/* Tablet & Mobile: Switch to static horizontal scroll */
@media (max-width: 1023px) {
  .counselor-static-scroll {
    overflow-x: auto;
    padding: 10px 0 20px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
  }

  /* Hide scrollbar but keep scrollable */
  .counselor-static-scroll::-webkit-scrollbar {
    display: none;
  }
  .counselor-static-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .counselor-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    width: max-content;
    padding-right: 20px; /* Peek buffer */
  }

  .counselor-card {
    flex: 0 0 280px; /* Fixed width for scroll track */
  }
}

/* Desktop: Standard layout */
@media (min-width: 1024px) {
  .counselor-card {
    flex: 1;
    min-width: 0;
  }
}

.counselor-card {
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1.35;
  border: 1px solid rgba(0,0,0,0.03);
}

.counselor-image {
  width: 100%;
  height: 100%;
}

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

.counselor-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: var(--white);
  padding: 14px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(4, 18, 38, 0.12);
  text-align: left;
}

.counselor-info h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--blue-950);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.counselor-info p {
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.counselors .section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}



@media (max-width: 580px) {
  .counselor-card {
    flex: 0 0 250px; /* Smaller cards for small phones */
  }
}



.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(39, 174, 96, 0.28);
  z-index: 35;
}

.whatsapp-float .wa-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}




.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1200px) {
  .video-card {
    flex: 0 0 calc(50% - 12px); 
  }

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

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

  .journey-image-wrapper {
    position: relative;
    top: 0;
    height: 350px;
    order: -1;
    margin-bottom: 24px;
  }

  .journey-cards-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    scroll-snap-type: none;
  }

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

@media (max-width: 1100px) {
  .brand-logo {
     width: 140px;
  }
  .main-nav {
    display: none;
  }

  .hero-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy h1 {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-subtitle {
     text-align: center;
     margin-inline: auto;
  }
  
  .hero-actions {
     justify-content: center;
  }

  .trust-bar {
    margin-top: -8px;
  }
}

@media (max-width: 720px) {
  .video-track {
    padding: 0 24px;
    gap: 12px;
  }

  .video-card {
    flex: 0 0 calc(100% - 12px); /* Peek effect: side thumbnails ~10% visible */
    scroll-snap-align: center;
  }

  :root {
    --container: min(100vw - 40px, 100vw - 40px);
  }

  .site-header {
    padding: 12px 0;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .destination-card {
    flex: 0 0 80vw;
    scroll-snap-align: center;
  }

  .nav-shell {
    gap: 12px;
  }

  .brand-logo {
    height: 34px;
  }

  .header-cta {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-highlights {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
    margin-top: 24px;
    justify-content: space-between;
  }

  .highlight-pill {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    padding: 10px 4px;
    background: rgba(10, 25, 47, 0.85); /* Slightly darker for contrast */
    border-radius: 10px;
    text-align: center;
    justify-content: center;
  }

  .highlight-pill strong {
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .highlight-pill span {
    font-size: 0.65rem;
    line-height: 1.25;
  }

  .trust-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .section,
  .hero-section {
    padding-bottom: 72px;
  }

  .feature-grid,
  .journey-split,
  .journey-track,
  .footer-grid,
  .counselor-grid {
    grid-template-columns: 1fr;
  }

  .journey-image-wrapper {
    display: none;
  }

  .journey-split {
    gap: 0;
  }

  .site-footer {
    margin: 0 20px 40px;
  }

  .footer-grid {
    padding: 40px 24px;
  }

  .footer-bottom {
    padding: 24px;
  }

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

  .journey-step {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .journey-step:last-child {
    border-bottom: none;
  }

  .step-header {
    margin-bottom: 16px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-number {
    font-size: 0.75rem;
    padding: 4px 10px;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .journey-step h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .journey-step p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .testimonial-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    display: none;
  }

  .testimonial-card,
  .testimonial-card.is-active {
    display: grid;
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    width: 100%;
    height: 280px;
  }

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

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

  .whatsapp-float {
    position: fixed;
    top: 18px;
    transform: none;
    right: 12px;
    bottom: auto;
    padding: 2px;
    background: transparent;
    box-shadow: none;
    z-index: 100;
  }

  .whatsapp-float .wa-icon {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float span {
    display: none;
  }

  .lead-form {
    gap: 8px;
    margin-top: 10px;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    padding: 10px 14px;
    font-size: 16px; /* Prevents auto-zoom on iOS focus */
  }

  .lead-form .checkbox-row {
    margin-top: 0;
  }
  
  .lead-form .checkbox-row span {
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.3;
  }



  .site-footer {
    padding-bottom: 84px;
  }

  /* Trending Universities Mobile Optimization */
  .section-dark-navy {
    padding: 48px 0;
  }

  .filter-pills-container {
    margin-bottom: 24px;
    margin-left: -20px; /* Bleed to edges */
    margin-right: -20px;
  }

  .filter-pills-scroller {
    display: flex;
    flex-wrap: wrap; /* Wrapped instead of scroll */
    justify-content: center;
    padding: 0 10px;
    gap: 6px;
  }

  .filter-pill {
    padding: 4px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .uni-card {
    padding: 12px 14px;
  }

  .uni-logo-box {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .uni-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
  }

  .uni-header h3 {
    font-size: 0.95rem;
  }

  .uni-tag {
    padding: 2px 8px;
    font-size: 0.65rem;
  }

  .uni-loc {
    font-size: 0.75rem;
    margin-bottom: 0;
  }

  .uni-details-col {
    padding-right: 4px;
  }

  .uni-recruiters .label {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }

  .rec-tags span {
    padding: 2px 6px;
    font-size: 0.65rem;
  }

  .pkg {
    font-size: 0.72rem;
  }

  .uni-apply-btn {
    font-size: 0.75rem !important;
    padding: 0 12px !important;
    min-height: 36px !important;
  }
}

/* ═══════════════════════════════════════════════════════
   Google Reviews Custom Section
═══════════════════════════════════════════════════════ */
.google-reviews-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.google-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-score {
  font-family: "Sora", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-950);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars svg {
  width: 24px;
  height: 24px;
  fill: #FBBC05;
  stroke: none;
}

.google-logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: var(--slate-700);
}

.g-logo {
  height: 28px;
  width: auto;
}

.google-review-count {
  width: 100%;
  margin: 0;
  color: var(--slate-500);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.google-review-count:hover {
  text-decoration: underline;
  color: var(--blue-700);
}

@media (min-width: 768px) {
  .google-review-count {
    width: auto;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .google-reviews-wrapper {
    padding: 24px 16px;
  }
  
  .google-reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .google-rating {
    flex-wrap: wrap;
    gap: 8px;
  }

  .rating-score {
    font-size: 2.2rem;
  }

  .google-review-count {
    margin-top: 4px;
  }
}

.g-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .g-reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .g-reviews-grid::-webkit-scrollbar {
    display: none; 
  }

  .g-review-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
  }
}

.g-review-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--slate-100);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.g-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  background: var(--white);
}

.g-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.g-user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.g-user-info strong {
  font-size: 0.95rem;
  color: var(--blue-950);
  line-height: 1.2;
}

.g-user-info span {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.g-icon-small {
  width: 16px;
  height: 16px;
}

.g-stars-small {
  color: #fbbc05;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.g-review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--slate-700);
  margin: 0;
}

.text-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  position: relative;
  /* keep transition if desired, though -webkit-line-clamp is instant */
  max-height: 6em;
  transition: max-height 0.4s ease-out;
}

.text-content.expanded {
  display: block;
  -webkit-line-clamp: unset;
  max-height: 50em; /* Enough to show full review */
  transition: max-height 0.6s ease-in;
}

.g-read-more {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue-700);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Premium Modal (Pop-up Form) --- */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.modal-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2001;
  width: min(520px, calc(100vw - 32px)); /* Match reference width */
  padding: 10px;
}

.modal-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 95vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.modal-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.modal-root.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--blue-100);
  color: var(--blue-700);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 14px;
  padding: 0 28px;
}

.modal-header h2 {
  font-size: clamp(1rem, 5vw, 1.5rem);
  color: var(--blue-950);
  margin-bottom: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.modal-header p {
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.4;
  display: block; /* Visible by default */
}

.modal-card .form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-card input, 
.modal-card select {
  height: 44px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 0.95rem;
  background: #ffffff;
}

.submit-btn-custom {
  background: #ffccaa !important; /* Peach color matching image */
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.submit-btn-custom:hover {
  background: #ffbb99 !important;
  transform: none;
}

@media (max-width: 640px) {
  .modal-container {
    width: min(400px, calc(100vw - 32px));
    padding: 10px;
  }

  .modal-card {
    padding: 20px 16px; /* Even tighter padding */
  }
  
  .modal-card .form-grid {
    gap: 6px; /* Minimal gap */
  }
  
  .modal-header h2 {
    font-size: clamp(0.75rem, 4.5vw, 1.3rem);
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .modal-header {
    margin-top: 28px;
    margin-bottom: 12px;
    padding: 0;
  }

  .modal-header p {
    display: none; /* Hide secondary text on mobile to save height */
  }

  .modal-card label {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }
}

.g-read-more:hover {
  text-decoration: underline;
}

/* --- Promotional Sticky Bar (Mobile/Tablet) --- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #f1f5f9;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform: translateY(100%);
}

.mobile-sticky-bar.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .mobile-sticky-bar {
    display: flex;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

.sticky-info-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(0.65rem, 3vw, 0.85rem);
  color: #1a202c;
}

.sticky-row img {
  width: 16px;
  height: 16px;
}

.sticky-row.scholarship span {
  color: #2d3748;
}

.sticky-row.scholarship strong {
  color: #f97316; /* Scholarship highlighted in orange */
}

.sticky-row.timer {
  font-size: 0.8rem;
  color: #4a5568;
}

.sticky-row.timer strong {
  font-weight: 800;
  color: #1a202c;
  display: inline-block;
  min-width: 48px; /* Prevents shifting when numbers change */
  text-align: center;
  font-variant-numeric: tabular-nums; /* Monospaced numbers */
}

.promo-register-btn {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  color: white !important;
  padding: clamp(6px, 2vw, 10px) clamp(12px, 4vw, 20px);
  border-radius: 10px;
  font-weight: 800;
  font-size: clamp(0.75rem, 3.5vw, 0.95rem);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  white-space: nowrap;
  flex-shrink: 0; /* Forcefully keep size */
  transition: transform 0.2s ease;
}

/* Ensure footer and page content clear the sticky bar on mobile */
@media (max-width: 1024px) {
  body {
    padding-bottom: 70px;
  }
}

/* --- WhatsApp OTP Verification UI --- */
.otp-verification-wrapper {
  margin-top: 15px;
  background: #f8fafc;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.otp-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: center;
}

.otp-title strong {
  color: var(--blue-950);
}

.otp-input-row {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}

.otp-code-input {
  width: 160px;
  height: 48px;
  font-size: 1.5rem;
  font-family: monospace;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5rem;
  padding-left: 0.5rem;
  border: 2px solid var(--blue-200);
  border-radius: 8px;
  outline: none;
  background: var(--white);
  color: var(--blue-950);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-code-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(47, 121, 213, 0.15);
}

.otp-verify-btn {
  margin-top: 5px;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%) !important;
  color: white !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.otp-verify-btn:hover {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-950) 100%) !important;
}

.otp-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  font-size: 0.85rem;
  width: 100%;
}

.otp-resend-btn,
.otp-change-num-btn {
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  color: var(--blue-700);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: color 0.2s ease;
}

.otp-resend-btn:disabled {
  color: var(--slate-400);
  cursor: not-allowed;
}

.otp-change-num-btn:hover {
  color: var(--blue-950);
  text-decoration: underline;
}

.otp-divider {
  color: var(--slate-300);
}

.otp-error-msg {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ef4444;
  margin: 6px 0 12px;
  width: 100%;
  text-align: center;
}

/* --- Premium Non-Scrollable Popup Modal Custom Styles --- */
#lead-modal .modal-card {
  max-height: 96vh !important;
  overflow-y: auto !important; /* Allow scroll if viewport is extremely small, but keep scrollbar hidden */
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
  padding: 16px 20px !important; /* Tighten padding to save vertical height */
  border-radius: 16px !important; /* More rounded premium look */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#lead-modal .modal-card::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari and Opera */
}

#lead-modal .modal-header h2 {
  font-family: 'Sora', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-align: center !important;
  margin-bottom: 4px !important;
  white-space: normal !important; /* Allow text to wrap on small mobile screens */
}

#lead-modal #modal-urgency {
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #f97316 !important; /* Orange accent color */
  text-align: center !important;
  margin-top: 2px !important;
  margin-bottom: 6px !important;
}

#lead-modal .lead-form label {
  gap: 4px !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 800 !important;
  color: #64748b !important;
  margin-bottom: 2px !important;
  margin-top: 4px !important;
}

#lead-modal .lead-form input,
#lead-modal .lead-form select {
  height: 40px !important; /* Extremely clean heights */
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

/* Exclude padding-left on tel inputs to prevent overlapping with country flag dropdown */
#lead-modal .lead-form input:not([type="tel"]) {
  padding: 0 14px !important;
}

#lead-modal .lead-form input[type="tel"] {
  padding-right: 14px !important;
}

#lead-modal .lead-form select {
  padding: 0 14px !important;
}

#lead-modal .lead-form input:hover:not(:focus),
#lead-modal .lead-form select:hover:not(:focus) {
  border-color: #cbd5e0 !important;
  background: #f1f5f9 !important;
}

#lead-modal .lead-form input:focus,
#lead-modal .lead-form select:focus {
  border-color: #ff5e36 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 94, 54, 0.12) !important;
  outline: none !important;
}

#lead-modal .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important; /* Force side-by-side on all screens including mobile */
  gap: 12px !important;
  width: 100% !important;
}

#lead-modal .checkbox-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 4px !important;
  margin-top: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
}

#lead-modal .checkbox-row input[type="checkbox"] {
  margin-top: 2px !important;
  accent-color: #ff5e36 !important;
  width: 14px !important;
  height: 14px !important;
  cursor: pointer !important;
}

#lead-modal .submit-btn-custom {
  background: linear-gradient(135deg, #ff7e40 0%, #ff5e36 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  height: 42px !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.25) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#lead-modal .submit-btn-custom:hover {
  background: linear-gradient(135deg, #ff915a 0%, #ff714c 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 94, 54, 0.35) !important;
  transform: translateY(-1px) !important;
}

#lead-modal .modal-close {
  color: #94a3b8 !important;
  font-size: 1.5rem !important;
  transition: color 0.2s ease !important;
}

#lead-modal .modal-close:hover {
  color: #0f172a !important;
}

/* Custom media queries for mobile popup modal optimization */
@media (max-width: 640px) {
  #lead-modal .modal-card {
    padding: 12px 14px 14px 14px !important;
    border-radius: 12px !important;
    max-height: calc(100dvh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
  }

  #lead-modal .modal-close {
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1.2rem !important;
  }

  #lead-modal .modal-header {
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    padding: 0 28px !important;
  }

  #lead-modal .modal-header h2 {
    font-size: 1.15rem !important;
  }

  #lead-modal #modal-urgency {
    font-size: 0.76rem !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }

  #lead-modal .lead-form {
    gap: 8px !important;
    margin-top: 8px !important;
  }

  #lead-modal .lead-form label {
    margin-top: 2px !important;
    margin-bottom: 0px !important;
    gap: 2px !important;
    font-size: 0.68rem !important;
  }

  #lead-modal .lead-form input,
  #lead-modal .lead-form select {
    height: 38px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
  }

  #lead-modal .form-row {
    gap: 8px !important;
  }

  #lead-modal .checkbox-row {
    margin-top: 3px !important;
    margin-bottom: 1px !important;
    font-size: 0.72rem !important;
    gap: 6px !important;
  }

  #lead-modal .checkbox-row input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    margin-top: 1px !important;
  }

  #lead-modal .submit-btn-custom {
    height: 38px !important;
    margin-top: 6px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }
}

/* High specificity hidden class — overrides all modal/form !important display rules */
.lead-form-field-hidden,
#lead-modal .lead-form-field-hidden,
#lead-modal .lead-form .lead-form-field-hidden,
#lead-modal .modal-card .lead-form-field-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* OTP Mode — center OTP wrapper inside the modal card */
#lead-modal .lead-form.otp-mode {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 260px !important;
  margin-top: 0 !important;
  gap: 0 !important;
}

#lead-modal .lead-form.otp-mode .otp-verification-wrapper {
  margin-top: 0 !important;
  width: 100% !important;
}
