:root {
      --bg: #ffffff;
      --surface: #fff5ec;
      --surface-2: #faf7f2;
      --ink: #0e1430;
      --ink-soft: #4b5575;
      --muted: #5d667e;
      --line: #ece6db;
      --brand: #1d4ed8;
      --brand-dark: #1e40af;
      --accent: #c44100;
      --accent-soft: #ff8e4f;
      --cta: #c44100;
      --cta-dark: #a33300;
      --success: #1f9d6e;
      --shadow-sm: 0 1px 2px rgba(14, 20, 48, .04), 0 1px 3px rgba(14, 20, 48, .05);
      --shadow-md: 0 8px 24px rgba(14, 20, 48, .06), 0 2px 6px rgba(14, 20, 48, .04);
      --shadow-lg: 0 20px 50px rgba(14, 20, 48, .12);
      --radius: 14px;
      --radius-lg: 22px;
      --container: 1180px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0 }
    html { scroll-behavior: smooth }
    body {
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      color: var(--ink-soft);
      background: var(--bg);
      line-height: 1.55;
    }
    a { color: inherit; text-decoration: none }
    h1, h2, h3, h4 {
      font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
      line-height: 1.2;
      color: var(--ink);
    }
    .container { max-width: var(--container); margin: 0 auto; padding: 0 20px }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 24px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 15px;
      border: 0;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .btn-primary {
      background: var(--cta);
      color: #fff;
      box-shadow: 0 10px 24px rgba(255, 106, 26, .30)
    }
    .btn-primary:hover {
      background: var(--cta-dark);
      transform: translateY(-1px);
      box-shadow: 0 12px 28px rgba(229, 90, 16, .38)
    }
    .btn-secondary {
      background: #fff;
      color: var(--brand);
      border: 1.5px solid var(--brand)
    }
    .btn-secondary:hover {
      background: var(--brand);
      color: #fff
    }
    .btn-block { width: 100% }
    .btn-sm { padding: 10px 18px; font-size: 14px }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .92);
      backdrop-filter: saturate(140%) blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px }
    .logo img { height: 35px; width: auto }
    .nav-links { display: flex; align-items: center; gap: 26px }
    .nav-links a { font-weight: 600; color: var(--ink-soft); font-size: 15px }
    .nav-links a:hover { color: var(--brand) }

    /* Breadcrumb */
    .breadcrumb {
      background: var(--surface-2);
      padding: 12px 0;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      border-bottom: 1px solid var(--line);
    }
    .breadcrumb a { color: var(--brand) }
    .breadcrumb span { margin: 0 8px }

    /* Hero */
    .hero {
      position: relative;
      background: linear-gradient(180deg, #fff5ec 0%, #ffffff 100%);
      color: var(--ink);
      padding: 50px 0 60px;
    }
    .hero h1 {
      font-size: clamp(24px, 3vw, 36px);
      font-weight: 800;
      text-align: center;
      margin-bottom: 12px;
    }
    .hero p.subtitle {
      text-align: center;
      font-size: 16px;
      color: var(--ink-soft);
      max-width: 700px;
      margin: 0 auto 30px;
    }

    /* Comparison Head */
    .comparison-vs-header {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      align-items: center;
      gap: 20px;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }
    .compare-college-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      transition: all 0.2s ease;
    }
    .compare-college-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
      border-color: var(--accent);
    }
    .compare-logo {
      height: 70px;
      width: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      margin-bottom: 4px;
    }
    .compare-logo img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
    }
    .compare-college-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
    .compare-vs-badge {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--cta);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 16px;
      box-shadow: 0 4px 10px rgba(255, 106, 26, 0.3);
      margin: 0 auto;
    }

    /* Main Grid */
    .main-content { padding: 40px 0 80px }
    .content-grid {
      display: grid;
      grid-template-columns: 1.3fr .7fr;
      gap: 40px;
      align-items: flex-start;
    }

    /* Comparison Table */
    .comparison-table-wrapper {
      background: #fff;
      border: 1.5px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      margin-bottom: 40px;
    }
    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 14px;
    }
    .comparison-table tr {
      border-bottom: 1px solid var(--line);
    }
    .comparison-table tr:last-child {
      border-bottom: 0;
    }
    .comparison-table th {
      padding: 16px;
      font-weight: 700;
      background: var(--surface-2);
      color: var(--ink);
      text-transform: uppercase;
      font-size: 12px;
      letter-spacing: .5px;
    }
    .comparison-table td {
      padding: 16px 20px;
      vertical-align: middle;
      color: var(--ink-soft);
    }
    .comparison-table td.parameter {
      font-weight: 700;
      color: var(--ink);
      background: var(--surface-2);
      width: 25%;
    }
    .comparison-table td.value {
      width: 37.5%;
    }
    .comparison-table td.value strong {
      color: var(--ink);
    }

    /* Form Card */
    .hero-card {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 28px;
      color: var(--ink);
      position: sticky;
      top: 100px;
      border: 1px solid var(--line);
    }
    .hero-card h3 { font-size: 20px; margin-bottom: 6px }
    .hero-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
    .field { margin-bottom: 12px }
    .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft) }
    .field input, .field select {
      width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
    }
    .field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29, 78, 216, .15) }

    /* Footer */
    footer {
      background: var(--surface-2);
      color: var(--ink-soft);
      padding: 50px 0 24px;
      border-top: 1px solid var(--line);
      margin-top: 80px;
    }
    .foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr 1fr; gap: 30px; margin-bottom: 30px }
    footer h4 { color: var(--ink); font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px }
    footer a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-soft) }
    footer a:hover { color: var(--cta) }
    .copyright { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; font-size: 13px; color: var(--muted) }

    .toast {
      position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
      background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-lg);
      font-weight: 600; font-size: 14px; z-index: 200; opacity: 0; pointer-events: none; transition: all .3s;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }
    .alert-success { background: #e6f6ec; border: 1px solid #b2ebd4; color: #0d5a3a; padding: 16px; border-radius: 12px; margin-top: 15px; font-size: 14px; display: flex; align-items: center; gap: 10px; }

    @media (max-width: 960px) {
      .content-grid { grid-template-columns: 1fr; gap: 30px; }
      .hero-card { position: relative; top: 0; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .comparison-vs-header { grid-template-columns: 1fr; gap: 12px; }
      .compare-vs-badge { margin: 8px auto; }
      .foot-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
    }
  
/* Navigation header fix for laptops and smaller desktops to prevent wrapping and alignment issues */
.nav-links a {
  white-space: nowrap !important;
}
@media (min-width: 961px) and (max-width: 1280px) {
  .nav {
    padding: 10px 16px !important;
    gap: 10px !important;
  }
  .nav-links {
    gap: 12px !important;
  }
  .nav-links a {
    font-size: 13.5px !important;
  }
  .nav-cta {
    gap: 6px !important;
  }
  .nav-cta .btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
  .logo img {
    height: 28px !important;
  }
}

/* ============ MERGED DROPDOWN & FOOTER LAYOUT STYLES ============ */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: 14px;
  padding: 24px;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: block;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  gap: 24px;
}

.dropdown-col {
  text-align: left;
}

.dropdown-col h4 {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 6px;
}

.dropdown-col a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft) !important;
  padding: 6px 0;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.dropdown-col a:hover {
  color: var(--brand) !important;
  transform: translateX(3px);
}

/* Responsive adjustments for dropdown on mobile */
@media (max-width: 960px) {
  .dropdown-container {
    display: block;
    width: 100%;
    text-align: center;
  }
  .dropdown-trigger {
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 10px 0 0 10px !important;
    min-width: 100% !important;
    background: transparent !important;
  }
  .dropdown-menu-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .dropdown-col h4 {
    border-bottom: 1px solid rgba(14,20,48,0.08) !important;
    color: var(--brand) !important;
    text-align: center;
  }
  .dropdown-col a {
    text-align: center;
    padding: 8px 0 !important;
    font-size: 14.5px !important;
  }
  .dropdown-col a:hover {
    transform: none !important;
  }
}





/* ============ Footer Dark SEO Megagrid ============ */
.footer-seo-megagrid {
  background: #0f172a;
  color: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid #1e293b;
  text-align: left;
}
.seo-grid-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
}
.seo-grid-col {
  text-align: left;
}
.seo-grid-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #334155;
  padding-bottom: 6px;
}
.seo-grid-col a {
  display: block !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  padding: 4px 0 !important;
  font-weight: 500;
  transition: color 0.15s;
  white-space: normal;
  line-height: 1.4;
}
.seo-grid-col a:hover {
  color: #f97316 !important;
}

/* ============ Main Footer 5-Column Grid ============ */
footer {
  background: #fffcf8;
  color: var(--ink-soft);
  padding: 50px 0 24px;
  border-top: 1px solid var(--line);
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
}
footer h4 {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer a {
  display: block !important;
  padding: 5px 0 !important;
  font-size: 14px !important;
  color: var(--ink-soft) !important;
}
footer a:hover {
  color: var(--brand) !important;
}

@media (max-width: 1024px) {
  .seo-grid-container {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  footer .foot-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .seo-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 480px) {
  .seo-grid-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .seo-grid-col {
    text-align: center !important;
  }
  .seo-grid-col a {
    text-align: center !important;
  }
  footer .foot-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  footer .foot-grid div {
    text-align: center !important;
  }
  footer .foot-grid a {
    text-align: center !important;
  }
}
