/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --navy: #24114d;
  --blue: #5b2bbf;
  --blue-mid: #7c3aed;
  --blue-light: #a78bfa;
  --gold: #f7b801;
  --gold-light: #ffd84d;
  --green: #10b981;
  --red: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: clamp(13px, 2vw, 16px);
  overflow-x: hidden;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-light);
  border-radius: 3px;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.nav-logo-img {
  display: block;
  width: clamp(130px, 30vw, 220px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}
.btn-primary-sm {
  background: var(--blue);
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-primary-sm:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ─── HERO ─────────────────────────────────────── */
/* .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #4c1d95 52%,
    #6d28d9 100%
  );
  padding: 72px 24px 80px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(167, 139, 250, 0.28) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(124, 58, 237, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(247, 184, 1, 0.12) 0%,
      transparent 50%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}
.gradient-text {
  color: var(--gold-light);
  text-shadow: 0 0 22px rgba(247, 184, 1, 0.32);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 130px;
}
.stat-num {
  font-family: "Syne", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
}
.free-label {
  color: var(--gold-light) !important;
  text-shadow: 0 0 18px rgba(247, 184, 1, 0.25);
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
} */

/* ─── SELECTOR SECTION ─────────────────────────── */
.selector-section {
  padding: 24px 0;
  overflow: hidden;
  width: 100%;
}
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 24px);
  width: 100%;
}
.selector-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.vs-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  flex-shrink: 0;
}
.selector-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px dashed var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}
.selector-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
}
.selector-card.has-university {
  border: 2px solid var(--blue-light);
  background: linear-gradient(135deg, #f5f0ff, white);
}
.selector-inner {
  padding: 20px 16px;
  width: 100%;
}
.selector-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
}
.plus-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.selected-uni {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 108px;
}
.selected-uni-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  text-align: center;
}
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
}
.like-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.like-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.like-btn.liked {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.change-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.change-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.remove-btn-top {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 12px;
  transition: all var(--transition);
}
.remove-btn-top:hover {
  background: #fee2e2;
  color: var(--red);
}

/* ─── COMPARISON TABLE ─────────────────────────── */
.comparison-section {
  padding: 20px auto 40px;
  overflow: hidden;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.comparison-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-status {
  padding: 12px 20px;
  background: #f5f0ff;
  color: var(--blue);
  border-bottom: 1px solid #ddd6fe;
  font-size: 0.9rem;
  font-weight: 600;
}
.comp-header {
  background: linear-gradient(135deg, var(--navy) 0%, #5b2bbf 100%);
  display: grid;
  grid-template-columns: clamp(190px, 20vw, 80px) 1fr 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  padding: clamp(12px, 3vw, 24px) clamp(16px, 3vw, 24px);
  min-height: auto;
  border-radius: 25px 25px 0px 0px;
}
.comp-label {
  color: white;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  padding: 0 clamp(8px, 2vw, 12px);
  text-align: center;
  word-wrap: nowrap;
  line-height: 1.2;
}
.comp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: clamp(4px, 1vw, 8px) clamp(16px, 3vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}
.comp-select-btn {
  background: white;
  color: var(--gray-700);
  padding: clamp(8px, 1.5vw, 10px) clamp(14px, 2.5vw, 18px);
  border-radius: var(--radius-md);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0.8vw, 4px);
  border: 1px solid var(--gray-200);
  min-height: 38px;
  white-space: nowrap;
}
.comp-select-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.comp-uni-name {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: clamp(1rem, 2.3vw, 1.05rem);
  text-align: center;
  line-height: 1.3;
}
.comp-uni-name small {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-size: 12px;
}
.mba-guide-link {
  position: absolute;
  top: 12px;
  right: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}
.mba-guide-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Section Dividers */
.section-divider {
  display: grid;
  grid-template-columns: clamp(50px, 20vw, 80px) 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 18px);
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gray-100);
  width: 100%;
  overflow: hidden;
}
.section-divider.free {
  background: #fff9f0;
  color: #92400e;
  font-size: 12px;
}
.section-divider.full-section {
  background: #fff9f0;
  color: #92400e;
}

/* Rows */
.comp-row {
  display: grid;
  grid-template-columns: clamp(50px, 20vw, 80px) 1fr 1fr;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
  width: 100%;
}
.comp-row:hover {
  background: var(--gray-50);
}
.row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.5vw, 6px);
  padding: clamp(12px, 2.5vw, 16px) clamp(12px, 2vw, 18px);
  font-weight: 500;
  color: #000;
  border-right: 1px solid var(--gray-100);
  background: #f5f5f5;
  min-width: 200px;
  word-wrap: break-word;
  word-break: break-word;
  font-size: 16px;
  text-align: center;
  overflow: visible;
  white-space: normal;
  flex-wrap: wrap;
}
.row-val {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 16px) clamp(12px, 2vw, 18px);
  font-size: 16.8px;
  font-weight: 500;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  flex-direction: column;
  gap: clamp(4px, 1.5vw, 6px);
  min-width: 0;
  min-height: clamp(50px, 8vh, 60px);
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  flex-wrap: wrap;
}
.row-val:last-child {
  border-right: none;
}
/* Value badges */
.badge-best {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: clamp(3px, 1.5vw, 5px) clamp(8px, 2vw, 12px);
  border-radius: 50px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: clamp(2px, 1vw, 4px);
  max-width: 95%;
  overflow: visible;
  word-break: break-word;
  white-space: normal;
}
.badge-tag {
  background: #d1fae5;
  color: #065f46;
  padding: clamp(3px, 1.5vw, 5px) clamp(8px, 2vw, 12px);
  border-radius: 50px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 600;
  display: inline-block;
  max-width: 95%;
  overflow: visible;
  word-break: break-word;
  white-space: normal;
}
.badge-tag.premium {
  background: #ede9fe;
  color: #4c1d95;
}
.badge-tag.budget {
  background: #e0f2fe;
  color: #075985;
}
.badge-recommended {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #fde68a;
  padding: clamp(3px, 1.5vw, 5px) clamp(8px, 2vw, 12px);
  border-radius: 50px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: clamp(2px, 1vw, 4px);
}
.emi-badge {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  padding: clamp(3px, 1.5vw, 5px) clamp(8px, 2vw, 12px);
  border-radius: 50px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 600;
  max-width: 95%;
  overflow: visible;
  word-break: break-word;
  white-space: normal;
}
.emi-badge.regular {
  background: #e0f2fe;
  color: #075985;
  border-color: #bae6fd;
}

.placement-bar-wrap {
  width: 100%;
}
.placement-bar-bg {
  background: var(--gray-200);
  height: 6px;
  border-radius: 3px;
  margin-top: 6px;
}
.placement-bar-fill {
  height: 6px;
  border-radius: 3px;
  background: var(--green);
}
.placement-bar-fill.alt {
  background: var(--blue-light);
}

/* Recommendation Box */
.recommendation-box {
  margin: 0 24px 16px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.rec-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 12px;
  font-size: 15.3px;
}
.rec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}
.rec-list li::before {
  content: "●";
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ─── SEARCH MODAL ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.active {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-100);
}
.modal-header h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.modal-close {
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.search-modal-box {
  max-width: 480px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--gray-900);
  font-family: inherit;
}
.filter-chips {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gray-100);
}
.chip {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-600);
}
.chip:hover,
.chip.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.university-list {
  max-height: 340px;
  overflow-y: auto;
}
.uni-item {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-50);
  transition: all var(--transition);
}
.uni-item:hover {
  background: #f5f0ff;
}
.uni-item-info {
  flex: 1;
}
.uni-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
}
.uni-item-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.uni-item-badge {
  font-size: 0.7rem;
  color: var(--blue-mid);
  font-weight: 600;
}
.loading-state,
.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* ─── FLOATING BUTTON ───────────────────────────── */
.floating-help {
  position: fixed;
  bottom: clamp(16px, 3vh, 28px);
  right: clamp(12px, 3vw, 24px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: clamp(10px, 2vw, 14px) clamp(14px, 3vw, 22px);
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  transition: all var(--transition);
  font-family: inherit;
  min-height: 44px;
}
.floating-help:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
}

/* ─── COMP HEADER LOGOS ─────────────────────────── */
.comp-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: contain;
  padding: 4px;
  background: white;
}
.comp-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  html {
    font-size: clamp(12px, 2vw, 14px);
  }

  .hero {
    padding: clamp(40px, 10vw, 56px) clamp(12px, 3vw, 16px)
      clamp(48px, 12vw, 64px);
  }
  .hero-stats {
    gap: clamp(6px, 1.5vw, 8px);
  }
  .stat-card {
    padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 20px);
    min-width: clamp(90px, 20vw, 110px);
  }
  .stat-num {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  }

  .selector-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(6px, 1.5vw, 8px);
  }
  .selector-inner {
    padding: clamp(12px, 2vw, 20px);
  }
  .vs-badge {
    width: clamp(28px, 6vw, 32px);
    height: clamp(28px, 6vw, 32px);
    font-size: clamp(0.65rem, 1.5vw, 0.7rem);
  }

  .mba-guide-link {
    display: none;
  }

  .floating-help span {
    display: none;
  }

  .comparison-section {
    padding: clamp(8px, 2vw, 12px) clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
  }
  .selector-section {
    padding: clamp(12px, 2vw, 16px) clamp(8px, 2vw, 12px) 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: row;
  }
  .stat-card {
    flex: 1;
    min-width: 90px;
    padding: 10px 12px;
  }
  .stat-num {
    font-size: 1.5rem;
  }

  .form-section {
    padding: 20px 12px;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-subtitle {
    font-size: 0.85rem;
  }

  .form-stats {
    flex-wrap: wrap;
    gap: 10px;
  }

  .form-stat-card {
    /* padding: 12px 12px; */
    min-width: 150px;
  }

  .form-stat-num {
    font-size: 2.5rem;
  }

  .form-right-iframe {
    height: 500px;
    border-radius: var(--radius-md);
    padding: 0;
  }

  .selector-section {
    padding: 8px 0 0;
  }

  .comparison-section {
    padding: 8px 0 16px;
  }

  .selector-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    padding: 0 4px;
  }

  .container {
    padding: 0 8px;
  }

  .vs-badge {
    justify-self: center;
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }

  .selector-inner {
    padding: 10px 8px;
  }

  html {
    font-size: clamp(12px, 2.5vw, 14px);
  }

  .comp-header,
  .comp-row,
  .section-divider {
    grid-template-columns: clamp(90px, 18vw, 60px) 1fr 1fr;
    gap: 0;
    width: 100%;
  }

  .row-label {
    padding: clamp(6px, 2vw, 12px) clamp(10px, 1.5vw, 14px);
    font-size: 11px;
    border-right: 1px solid var(--gray-100);
    word-break: break-word;
    min-width: 100px;
    overflow: hidden;
    overflow-wrap: break-word;
    min-height: clamp(45px, 6vh, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .row-val {
    padding: clamp(8px, 2vw, 12px) clamp(10px, 1.5vw, 14px);
    font-size: 12.8px;
    min-width: 0;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    min-height: clamp(45px, 6vh, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .comp-label {
    padding: 0 clamp(1px, 0.5vw, 2px);
    font-size: clamp(1rem, 1.8vw, 0.7rem);
    word-break: break-word;
    min-width: 0;
    overflow: hidden;
    text-align: left;
  }

  .comp-col {
    padding: clamp(6px, 2vw, 8px) clamp(8px, 1.5vw, 12px);
    gap: clamp(8px, 1vw, 4px);
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .comp-uni-name {
    font-size: 1.1rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .comp-uni-name small {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .comp-select-btn {
    padding: clamp(8px, 1.5vw, 8px) clamp(18px, 1.5vw, 10px);
    font-size: clamp(1rem, 1.5vw, 0.7rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    gap: clamp(4px, 1vw, 6px);
    min-height: 30px;
  }

  .comp-logo {
    width: clamp(36px, 8vw, 40px);
    height: clamp(36px, 8vw, 40px);
    flex-shrink: 0;
  }

  .comp-logo-placeholder {
    width: clamp(40px, 10vw, 50px);
    height: clamp(40px, 10vw, 50px);
    font-size: clamp(0.85rem, 2vw, 1rem);
    flex-shrink: 0;
  }

  .comparison-wrapper {
    overflow: visible;
    width: 100%;
    position: relative;
    margin: 0;
    border-radius: 0;
  }

  .comparison-section {
    padding: clamp(6px, 1vw, 8px) 0 clamp(12px, 2vw, 16px);
    overflow: visible;
    width: 100%;
    max-width: 100%;
    font-size: 7px;
  }

  .section-divider {
    word-break: break-word;
  }

  .mba-guide-link {
    display: none;
  }

  .nav-inner {
    padding: clamp(10px, 2vw, 12px);
  }

  .nav-logo-img {
    width: clamp(110px, 25vw, 120px);
  }
}

/* ─── COMPARISON STATUS ─────────────────────────── */
.comparison-status {
  padding: 12px 24px;
  background: #f5f0ff;
  color: var(--blue-mid);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

/* ─── FORM SECTION ────────────────────────────────── */
.form-section {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #4c1d95 52%,
    #6d28d9 100%
  );
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(167, 139, 250, 0.28) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.form-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(124, 58, 237, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(247, 184, 1, 0.12) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.form-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* LEFT SIDE - Content */
.form-left-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-pill-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
}

.form-title {
  font-family: "poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.form-gradient {
  color: var(--gold-light);
  text-shadow: 0 0 22px rgba(247, 184, 1, 0.32);
}

.form-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.6;
}

.form-stats {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}

.form-stat-card {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 18px 18px;
  border-radius: var(--radius-md);
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.form-stat-num {
  font-family: "poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 1.5rem);
  font-weight: 800;
  color: white;
}

.form-free {
  color: var(--gold-light) !important;
  text-shadow: 0 0 18px rgba(247, 184, 1, 0.25);
}

.form-stat-label {
  font-size: clamp(1rem, 1.5vw, 0.9rem);
  line-height: normal;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* RIGHT SIDE - Form */
.form-right-iframe {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 0;
  height: 620px;
}

.form-right-iframe iframe {
  border-radius: var(--radius-md);
}

/* ─── LOGOS CAROUSEL SECTION ────────────────────── */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logos-carousel-section {
  background: white;
  padding: 40px 24px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.logos-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.logos-track {
  display: flex;
  gap: 40px;
  animation: scroll-left 30s linear infinite;
  width: fit-content;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.logo-item img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
  transition: all var(--transition);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .logos-carousel-section {
    padding: 30px 16px;
  }

  .logos-track {
    gap: 24px;
    animation: scroll-left 20s linear infinite;
  }

  .logo-item {
    height: 60px;
  }

  .logo-item img {
    max-height: 60px;
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .logos-carousel-section {
    padding: 24px 12px;
  }

  .logos-track {
    gap: 16px;
    animation: scroll-left 15s linear infinite;
  }

  .logo-item {
    height: 50px;
  }

  .logo-item img {
    max-height: 50px;
    max-width: 110px;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .form-container {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 36px);
  }

  .form-left-content {
    text-align: left;
    align-items: flex-start;
  }

  .badge-pill-form {
    margin: 0;
  }

  .form-title {
    font-size: clamp(1.6rem, 3vw, 1.8rem);
  }

  .form-stats {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-section {
    padding: clamp(32px, 8vw, 40px) clamp(10px, 2vw, 12px);
  }

  .form-container {
    gap: clamp(20px, 4vw, 24px);
  }

  .form-right-iframe {
    padding: 0px;
    height: clamp(540px, 85vh, 565px);
  }

  .form-stat-card {
    padding: clamp(24px, 1.5vw, 12px) clamp(18px, 2vw, 16px);
  }
  .badge-pill-form {
    text-align: left;
    display: flex-start;
  }
}

/* FULL RESPONSIVE POLISH */
img,
svg,
iframe {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.comparison-wrapper {
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
}

.comp-header,
.comp-row,
.section-divider {
  width: 100%;
}

.recommendation-box {
  min-width: auto;
  width: 100%;
}

.search-box input,
.uni-item-name,
.uni-item-meta,
.selected-uni-name,
.comp-uni-name,
.row-label,
.row-val {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .form-container {
    max-width: 960px;
    gap: 36px;
  }

  .form-stats {
    flex-wrap: wrap;
  }

  .form-stat-card {
    min-width: 150px;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 16px);
  }

  .nav-logo-img {
    width: clamp(140px, 28vw, 155px);
  }

  .btn-primary-sm {
    padding: clamp(6px, 1vw, 8px) clamp(10px, 2vw, 14px);
    font-size: clamp(0.75rem, 1.8vw, 0.8rem);
    white-space: nowrap;
  }

  .form-section {
    padding: clamp(36px, 8vw, 44px) clamp(12px, 2vw, 16px);
  }

  .form-title {
    font-size: clamp(1.7rem, 3vw, 1.8rem);
  }

  .selector-section {
    padding: clamp(20px, 5vw, 28px) clamp(12px, 2vw, 16px) 0;
  }

  .comparison-section {
    padding: clamp(16px, 4vw, 24px) clamp(12px, 2vw, 16px)
      clamp(40px, 8vw, 56px);
  }
}

@media (max-width: 640px) {
  .nav-inner {
    gap: clamp(8px, 1.5vw, 12px);
  }

  .nav-logo-img {
    width: clamp(120px, 25vw, 138px);
  }

  .form-section {
    padding: clamp(28px, 5vw, 34px) clamp(10px, 2vw, 14px);
  }

  .form-left-content {
    gap: clamp(14px, 2vw, 18px);
  }

  .badge-pill-form {
    max-width: 100%;
    border-radius: var(--radius-sm);
    line-height: 1.4;
    white-space: normal;
  }

  .form-title {
    font-size: clamp(2.1rem, 2.5vw, 1.55rem);
    line-height: 2.5rem;
  }

  .form-subtitle {
    font-size: clamp(1.2rem, 2vw, 0.9rem);
  }

  .form-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(8px, 2vw, 10px);
  }

  .form-stat-card {
    min-width: clamp(90px, 18vw, 100px);
    padding: 14px 12px;
  }

  .form-right-iframe {
    height: clamp(560px, 590px);
    padding: 0px;
    border-radius: var(--radius-md);
  }

  .selector-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(10px, 2vw, 12px);
  }

  .vs-badge {
    justify-self: center;
    width: clamp(32px, 7vw, 36px);
    height: clamp(32px, 7vw, 36px);
  }

  .selector-inner {
    padding: clamp(14px, 2vw, 18px);
  }

  .selected-uni {
    min-height: clamp(70px, 12vh, 82px);
    gap: clamp(10px, 2vw, 12px);
  }

  .selected-uni-name {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
  }

  .change-btn {
    flex: initial;
    min-width: clamp(80px, 15vw, 96px);
  }

  .comparison-wrapper {
    border-radius: var(--radius-md);
  }

  .recommendation-box {
    margin: 0 clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px);
    padding: clamp(12px, 2vw, 16px);
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .search-modal-box {
    max-width: none;
    max-height: 88vh;
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm)
      var(--radius-sm);
    overflow: hidden;
  }

  .modal-header {
    padding: clamp(14px, 2vw, 16px) clamp(14px, 2vw, 18px)
      clamp(10px, 1.5vw, 12px);
  }

  .search-box {
    padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
  }

  .university-list {
    max-height: 58vh;
  }

  .uni-item {
    padding: clamp(11px, 2vw, 13px) clamp(14px, 2vw, 18px);
  }

  .floating-help {
    left: clamp(10px, 3vw, 12px);
    right: clamp(10px, 3vw, 12px);
    bottom: clamp(10px, 2vw, 12px);
    justify-content: center;
    padding: clamp(11px, 1.5vw, 13px) clamp(12px, 2vw, 16px);
    border-radius: var(--radius-md);
    font-size: small;
  }
}

@media (max-width: 380px) {
  html {
    font-size: clamp(11px, 2.5vw, 12px);
  }

  .nav-logo-img {
    width: clamp(100px, 22vw, 120px);
  }

  .btn-primary-sm {
    padding: clamp(5px, 1vw, 7px) clamp(8px, 2vw, 10px);
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  }

  .form-title {
    font-size: clamp(2.1rem, 2.5vw, 1.38rem);
    line-height: normal;
  }

  .form-right-iframe {
    height: clamp(450px, 85vh, 530px);
    padding: 0;
  }

  .comp-header,
  .comp-row,
  .section-divider {
    width: 100%;
    min-width: auto;
  }

  .recommendation-box {
    min-width: auto;
    width: 100%;
  }
}
