/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PGPath â€“ Landing Page Styles
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

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

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
  background: #fff;
  color: #1a3a6e;
  overflow-x: hidden;
  width: 100%;
}

/* â”€â”€ SCROLLBAR â”€â”€ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f4ff; }
::-webkit-scrollbar-thumb { background: #1a3a6e; border-radius: 3px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5eaf5;
  height: 70px;
  box-shadow: 0 2px 8px rgba(26,58,110,0.07);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 28px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a3a6e;
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #3a5a9e;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
  color: #1a3a6e;
  border-bottom-color: #1a3a6e;
}

.nav-link.active {
  color: #1a3a6e;
  font-weight: 600;
  border-bottom-color: #1a3a6e;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  border-left: 1px solid #dde4f5;
  padding-left: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: #1a3a6e;
  font-weight: 500;
  max-width: 260px;
  line-height: 1.4;
}

.contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 70px);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blurred background image layer â€” only this is blurred, NOT the text */
.hero::before {
  content: '';
  position: absolute;
  inset: -20px; /* overshoot to hide blurred soft edges */
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(3.5px);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 30, 80, 0.10) 0%,
    rgba(10, 30, 80, 0.28) 30%,
    rgba(10, 30, 80, 0.48) 55%,
    rgba(10, 30, 80, 0.52) 75%,
    rgba(10, 30, 80, 0.46) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered slide-up for each hero element */
.hero-title {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-subtitle {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.btn-register {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.register-features span:nth-child(1) {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.register-features div:nth-child(2) {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.register-features span:nth-child(3) {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.register-features div:nth-child(4) {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}

.register-features span:nth-child(5) {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}


.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-title-sub {
  font-size: calc(clamp(1.6rem, 3.5vw, 2.6rem) + 2px);
  font-weight: 800;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #F4C95D;
  margin-bottom: 38px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
  display: block;
  width: fit-content;
  margin-inline: auto;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

.hero-subtitle:hover {
  transform: scale(1.07) translateY(-2px);
  text-shadow: 0 4px 8px rgba(244, 201, 93, 0.6);
}

/* Register Now button */
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a3a8f;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(26,58,143,0.35);
}

.btn-register:hover {
  background: #122e75;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,58,143,0.45);
}

.btn-register:active {
  transform: translateY(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 0;
  width: 100%;
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  min-height: 48px;
}

/* Left column */
.footer-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
  padding-right: 32px;
}

/* Right column */
.footer-right {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  justify-content: flex-end;
  padding-left: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #173B73;
}

/* Address link */
a.footer-right,
.footer-address-link {
  text-decoration: none;
  cursor: pointer;
  color: #173B73;
  transition: color 0.2s ease;
}

a.footer-right:hover,
.footer-address-link:hover {
  color: #0f2654;
}

a.footer-right:hover .footer-address-text,
.footer-address-link:hover .footer-address-text,
.footer-address-text:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.footer-right:hover .footer-icon path,
a.footer-right:hover .footer-icon circle {
  stroke: #0f2654;
}

/* Terms link */
.footer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #173B73;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  white-space: nowrap;
}

.footer-link:hover {
  color: #0f2654;
  gap: 12px;
}

/* Vertical divider */
.footer-divider {
  width: 1px;
  height: 32px;
  background: #d0d9ea;
  flex-shrink: 0;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* â”€â”€ Responsive: mobile stack â”€â”€ */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 14px;
    padding: 0 24px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    flex: unset;
    justify-content: center;
    padding: 0;
  }

  .footer-divider {
    width: 60px;
    height: 1px;
  }
}

/* ════════════════
   REGISTER PAGE
   ════════════════ */
.bg-light {
  background-color: #f7f9fc;
}

/* Register Hero */
.register-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(3.5px);
  z-index: 0;
}

.register-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 30, 80, 0.10) 0%,
    rgba(10, 30, 80, 0.28) 30%,
    rgba(10, 30, 80, 0.48) 55%,
    rgba(10, 30, 80, 0.52) 75%,
    rgba(10, 30, 80, 0.46) 100%
  );
  pointer-events: none;
}

.register-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  margin-top: -60px; /* pull up slightly */
  color: white;
}

.register-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.register-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.register-hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
}

/* Main Content Area */
.register-main {
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
  margin: -120px auto 60px;
  padding: 0 28px;
  position: relative;
  z-index: 10;
}

.register-card {
  background: white;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  overflow: hidden;
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* Left Form Area */
.register-form-area {
  flex: 2;
  padding: 40px;
}

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

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-header h2 {
  font-size: 1.4rem;
  color: #1a3a6e;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-header p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Form Styles */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  flex: none;
}

.domicile-section {
  display: flex;
  background: #f4f7fc;
  border-radius: 8px;
  border: 1px solid #eef0f5;
  margin: 12px 0;
  overflow: hidden;
}

.domicile-sidebar {
  flex: 0 0 220px;
  background: #eef2fb;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #eef0f5;
}

.domicile-sidebar h4 {
  font-size: 0.95rem;
  color: #1a3a6e;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.domicile-sidebar p {
  font-size: 0.8rem;
  color: #1a3a6e;
  opacity: 0.8;
  line-height: 1.4;
}

.domicile-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3a6e;
}

.required {
  color: #e63946;
}

.form-group input, 
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dce1e8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  background: #fdfdfd;
  transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group select:focus {
  outline: none;
  border-color: #1a3a6e;
  background: #fff;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #1a3a6e;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image: none;
}

.form-group select::-ms-expand {
  display: none;
}

.form-group select option,
.form-group select optgroup {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  padding: 10px 14px;
  color: #1a3a6e;
  background-color: #ffffff;
  line-height: 1.4;
}

.btn-submit {
  background: #1a3a8f;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #122e75;
}

/* Right Sidebar Area */
.register-sidebar {
  flex: 1;
  background: #f5f8fc;
  padding: 40px 30px;
  border-left: 1px solid #eef0f5;
}

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

.sidebar-header h3 {
  font-size: 1.15rem;
  color: #1a3a6e;
  font-weight: 700;
}

.icon-circle-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar-text h4 {
  font-size: 0.95rem;
  color: #1a3a6e;
  font-weight: 600;
  margin-bottom: 4px;
}

.sidebar-text p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .register-card {
    flex-direction: column;
  }
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  .register-form-area, .register-sidebar {
    padding: 24px;
  }
}

/* Input with Icon */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
  padding-left: 38px !important;
  padding-right: 12px !important;
}

.form-divider {
  border-top: 1px solid #eef0f5;
  margin: 10px 0;
}

/* Form Section Header */
.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: -5px;
}

.form-section-header h3 {
  font-size: 1.1rem;
  color: #1a3a6e;
  font-weight: 700;
}

.icon-circle-small.blue-bg {
  background: #eef2fb;
}

/* Radio Cards */
.radio-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.radio-card.active {
  background: #eef2fb;
  border-color: #7ba3eb;
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #aebac9;
  position: relative;
}

.radio-card input[type="radio"]:checked + .radio-custom {
  border-color: #1a3a8f;
}

.radio-card input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #1a3a8f;
  border-radius: 50%;
}

.radio-text {
  display: flex;
  flex-direction: column;
}

.radio-text strong {
  font-size: 0.95rem;
  color: #1a3a6e;
}

.radio-text span {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Quota Grid */
.quota-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quota-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  border-radius: 8px;
  gap: 10px;
}

.quota-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 4px;
}

.quota-card small {
  font-weight: 400;
  font-size: 0.8rem;
}

.quota-price {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: auto;
}

.blue-quota { background: #f0f7ff; color: #1a3a8f; }
.green-quota { background: #effaee; color: #1b8e4e; }
.yellow-quota { background: #fff8e8; color: #d68f18; }
.red-quota { background: #ffeaec; color: #c92a3f; }

/* Footer Checkbox */
.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  align-self: flex-start;
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid #aebac9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkbox-container input:checked + .checkmark {
  background: #1a3a8f;
  border-color: #1a3a8f;
}

.checkbox-container input:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
}

.checkbox-container a {
  color: #1a3a8f;
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  max-width: 400px;
  padding: 16px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .quota-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* New Register Layout Styles */
.register-card.full-width-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.register-card.full-width-card .register-form-area {
  padding: 40px 48px;
}

.form-row.three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-section-header.no-icon {
  margin-top: 20px;
  margin-bottom: 15px;
}

.form-section-header.no-icon h3 {
  font-size: 1.15rem;
  color: #1a3a6e;
  font-weight: 700;
}

.form-footer {
  display: block;
  margin-top: 20px;
}

.checkbox-container {
  margin-bottom: 30px;
}

.submit-wrapper {
  display: flex;
  justify-content: center;
}

.btn-block {
  width: 100%;
  max-width: 320px;
}

@media (max-width: 900px) {
  .form-row.three-cols, .form-row.two-cols {
    grid-template-columns: 1fr;
  }
}

/* Remove arrows/spinners from number inputs */
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}
/* Add extra space at bottom to encourage dropdowns to open downwards */
.register-main {
  margin-bottom: 120px !important;
}



/* � � � � � � � � � � � � � � � � 
   WHY CHOOSE US / PROCESS
   � � � � � � � � � � � � � � � �  */
.process-section {
  padding: 60px 20px;
  background: #e6f0fc;
  width: 100%;
}

.process-header,
.process-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.process-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-header::before,
.process-header::after {
  content: "";
  height: 2px;
  background: #c3d2e6;
  width: 100px;
  margin: 0 20px;
}

.process-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a3a6e;
  text-transform: uppercase;
}

.process-title span {
  color: #1e5ab3;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(9, 74, 129, 0.3);
}

.process-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  background: #094a81;
  border-radius: 0;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(9, 74, 129, 0.15);
}



.process-number {
  background: #ffffff;
  color: #094a81;
  font-size: 1rem;
  font-weight: 800;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.process-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.process-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}





.process-item ul li {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0.9;
}

.process-item ul li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ════════════════
   MODAL
   ════════════════ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 34, 57, 0.7);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: #e3ebfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 36px;
  height: 36px;
}

.modal-title {
  color: #072a6b;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-message {
  color: #2b3a55;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 500;
}

.btn-explore {
  display: inline-block;
  background: #0d3880;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  width: 250px;
  margin-bottom: 16px;
  transition: background 0.2s, transform 0.18s;
}

.btn-explore:hover {
  background: #082559;
  transform: translateY(-2px);
}

.btn-close {
  display: inline-block;
  background: none;
  border: none;
  color: #0d3880;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-close:hover {
  text-decoration: underline;
}

/* ════════════════
   COLLEGES PAGE
   ════════════════ */
.colleges-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colleges-hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(3.5px);
  z-index: 0;
}

.colleges-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 30, 80, 0.10) 0%,
    rgba(10, 30, 80, 0.28) 30%,
    rgba(10, 30, 80, 0.48) 55%,
    rgba(10, 30, 80, 0.52) 75%,
    rgba(10, 30, 80, 0.46) 100%
  );
  pointer-events: none;
}

.colleges-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

.colleges-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.colleges-subtitle {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.colleges-note {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 10px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.colleges-note strong {
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   SMOOTH BANNER TRANSITIONS (Home, Register, Colleges)
   Duration: 550ms | Easing: cubic-bezier(0.4, 0, 0.2, 1) ease-in-out
   ========================================================================== */

/* Enable cross-document view transitions for supporting browsers */
@view-transition {
  navigation: auto;
}

/* Base Keyframes (1440px Reference Desktop) */

/* 1. Home -> Register: Collapse upward from full height to 400px */
@keyframes bannerCollapseHomeToRegister {
  from {
    height: calc(100vh - 70px);
  }
  to {
    height: 400px;
  }
}

/* 2. Register -> Home: Expand downward from 400px to full height */
@keyframes bannerExpandRegisterToHome {
  from {
    height: 400px;
  }
  to {
    height: calc(100vh - 70px);
  }
}

/* 3A. Register -> Colleges: Transition cropped from 400px to 220px */
@keyframes bannerCropRegisterToColleges {
  from {
    height: 400px;
  }
  to {
    height: 220px;
  }
}

/* 3B. Colleges -> Register: Transition cropped from 220px to 400px */
@keyframes bannerCropCollegesToRegister {
  from {
    height: 220px;
  }
  to {
    height: 400px;
  }
}

/* 4. Colleges -> Home: Expand downward from 220px to full height */
@keyframes bannerExpandCollegesToHome {
  from {
    height: 220px;
  }
  to {
    height: calc(100vh - 70px);
  }
}

/* 5. Home -> Colleges: Collapse upward from full height to 220px */
@keyframes bannerCollapseHomeToColleges {
  from {
    height: calc(100vh - 70px);
  }
  to {
    height: 220px;
  }
}

/* Base Transition Classes (550ms ease-in-out) */
html.banner-trans-home-to-register .register-hero {
  animation: bannerCollapseHomeToRegister 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.banner-trans-register-to-home .hero {
  animation: bannerExpandRegisterToHome 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.banner-trans-register-to-colleges .colleges-hero {
  animation: bannerCropRegisterToColleges 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.banner-trans-colleges-to-register .register-hero {
  animation: bannerCropCollegesToRegister 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.banner-trans-colleges-to-home .hero {
  animation: bannerExpandCollegesToHome 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.banner-trans-home-to-colleges .colleges-hero {
  animation: bannerCollapseHomeToColleges 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Smooth content fade-in during banner transition to prevent jumps or flickering */
html.banner-trans-home-to-register .register-hero-content,
html.banner-trans-register-to-home .hero-content,
html.banner-trans-register-to-colleges .colleges-hero-content,
html.banner-trans-colleges-to-register .register-hero-content,
html.banner-trans-colleges-to-home .hero-content,
html.banner-trans-home-to-colleges .colleges-hero-content {
  animation: bannerContentFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes bannerContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.colleges-main {
  background: #fff;
  min-height: 500px;
  padding-bottom: 80px;
}

/* Filters */
.filters-section {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid #eef0f5;
}

.filters-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a3a6e;
}

.filter-select-wrapper {
  position: relative;
  width: 100%;
}

.filter-select-wrapper::after {
  display: none !important;
  content: none !important;
}

.filter-group select {
  width: 100%;
  padding: 12px 36px 12px 16px;
  border: 1px solid #dce1e8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #6c757d;
  background-color: #fff;
  background-image: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.filter-group select::-ms-expand {
  display: none;
}

.filter-group select:focus {
  outline: none;
  border-color: #1a3a6e;
}

.btn-search-colleges {
  background: #1a3a8f;
  color: #fff;
  border: none;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  height: 44px;
}

.btn-search-colleges:hover {
  background: #122b6e;
}

.results-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
  width: 100%;
}

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

.results-count {
  font-size: 1.15rem;
  color: #0d3880;
  font-weight: 700;
  margin: 0;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3a6e;
  white-space: nowrap;
}

.sort-select-wrapper {
  position: relative;
  min-width: 160px;
}

.sort-select-wrapper::after {
  display: none !important;
  content: none !important;
}

.sort-select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 36px 8px 12px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  color: #1a3a6e;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #fff;
  background-image: none;
  cursor: pointer;
  outline: none;
  width: 100%;
  font-family: inherit;
  box-sizing: border-box;
}

.sort-select-input::-ms-expand {
  display: none;
}

.sort-select-input:focus {
  border-color: #1a3a6e;
}

.sort-arrow-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Pagination Styles */
.pagination-wrapper,
.desktop-pagination-wrapper,
.mobile-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 36px;
  padding-bottom: 12px;
}

.pagination-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  background: #f4f5f7;
  color: #2b3648;
  border: 1px solid #e2e5ec;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  box-sizing: border-box;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  background: #e8ebf0;
  color: #173b73;
  border-color: #cbd2dc;
}

.pagination-btn.active {
  background: #1a42b8;
  color: #ffffff;
  border-color: #1a42b8;
  font-weight: 700;
  cursor: default;
  box-shadow: 0 2px 6px rgba(26, 66, 184, 0.25);
}

.pagination-prev,
.pagination-next {
  background: #ffffff;
  border: 1px solid #e2e5ec;
  color: #4a5568;
}

.pagination-prev:hover:not(.disabled),
.pagination-next:hover:not(.disabled) {
  background: #f7fafc;
  border-color: #cbd2dc;
  color: #1a42b8;
}

.pagination-btn.disabled,
.pagination-btn:disabled {
  color: #cbd5e0;
  border-color: #edf2f7;
  background: #fafbfc;
  cursor: not-allowed;
  opacity: 0.7;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: #718096;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}

.college-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.college-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 8px;
  display: flex;
  padding: 16px;
  gap: 24px;
  transition: box-shadow 0.2s;
}

.college-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.college-img {
  width: 220px;
  height: 130px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.college-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.college-name {
  font-size: 1.25rem;
  color: #0d3880;
  font-weight: 700;
  margin-bottom: 6px;
}

.college-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.college-location svg {
  width: 16px;
  height: 16px;
}

.college-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0d3880;
  font-size: 0.85rem;
  font-weight: 600;
}

.detail-item svg {
  width: 16px;
  height: 16px;
  color: #6c757d;
}

.detail-divider {
  color: #dce1e8;
}

.college-actions {
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.btn-view-courses,
.btn-view-college {
  background: #1a3a8f;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(26, 58, 143, 0.2);
}

.btn-view-courses:hover,
.btn-view-college:hover {
  background: #122e75;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 58, 143, 0.35);
  transform: translateY(-1px);
}

/* Colleges Empty State Base */
.colleges-empty-state {
  padding: 60px 40px;
  text-align: center;
  color: #1a3a6e;
  width: 100%;
  border: 1px dashed #dce4ef;
  border-radius: 12px;
  background: #f8fafc;
  box-sizing: border-box;
}

.colleges-empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.colleges-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a3a6e;
}

.colleges-empty-desc {
  color: #6b8fc4;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

/* Colleges Filter Select Options Base */
.filter-group select option,
.sort-select-input option {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #1a3a6e;
  background-color: #ffffff;
  padding: 8px 12px;
}


/* ── Navbar Actions ── */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Consultant dropdown wrapper */
.consultant-dropdown-wrapper {
  position: relative;
}

/* Consultant trigger button */
.consultant-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid #e8f0fe;
  border-radius: 50px;
  background: #e8f0fe;
  color: #1a56db;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.consultant-btn:hover {
  border-color: #1a56db;
  background: #e0e8f5;
}
.consultant-btn .chevron-icon {
  transition: transform 0.25s ease;
}
.consultant-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown card base */
.consultant-card {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 640px;
  background: #fff;
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26,58,110,0.13);
  padding: 24px;
  z-index: 9999;
  animation: dropdownFadeIn 0.2s ease;
}

/* Arrow pointing up */
.consultant-card::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 40px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-top: 1px solid #e0e8f5;
  border-left: 1px solid #e0e8f5;
  transform: rotate(45deg);
}

.consultant-card.open {
  display: block;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card header */
.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}
.card-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-info strong {
  font-size: 1.05rem;
  color: #1a3a6e;
  font-weight: 700;
}
.card-info span {
  font-size: 0.82rem;
  color: #6c82a8;
  font-weight: 500;
}
.card-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 4px;
}

/* Card text */
.card-text p {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-align: left;
}
.card-text {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}
.card-divider {
  height: 1px;
  background: #e8eef8;
  margin-bottom: 20px;
}

/* Feature badges */
.feature-badges {
  display: flex;
  gap: 12px;
  background: #f8faff;
  padding: 12px;
  border-radius: 8px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #1a3a6e;
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}
.badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Phone CTA button */
.navbar-phone-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #1a56db;
  color: #fff;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.navbar-phone-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}
.navbar-divider {
  width: 1px;
  height: 24px;
  background: #e0e8f5;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .consultant-card {
    width: 320px;
    right: -50px;
  }
  .consultant-card::before {
    right: 90px;
  }
  .feature-badges {
    flex-direction: column;
  }
}

/* WhatsApp Float */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 16px;
}

.whatsapp-tooltip {
  background: #ffffff;
  color: #111827;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
  border: 1px solid #e0e8f5;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

.whatsapp-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -7.5px;
  transform: translateY(-50%);
  border-width: 7px 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent transparent #e0e8f5;
  z-index: -1;
}

.whatsapp-float-btn {
  width: 64px;
  height: 64px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  background-color: #1ebd5c;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn:focus {
  outline: 3px solid #1a56db;
  outline-offset: 4px;
}

.whatsapp-float-container:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float-container {
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float-btn {
    width: 56px;
    height: 56px;
  }
  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .consultant-btn span {
    display: none;
  }
  .navbar-phone-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .logo-text .logo-name {
    font-size: 1.2rem;
  }
  .logo-text .logo-tagline { display: block !important; font-size: 0.45rem !important; }
}



/* --- New Process Card UI --- */
.process-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 16px;
}

.process-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.process-step-number {
  width: 36px;
  height: 36px;
  background-color: #3b82f6; /* bright blue */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.process-item-icon {
  width: 24px;
  height: 24px;
  background-color: #8da4c4; /* grayish blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.process-item-icon svg {
  width: 14px;
  height: 14px;
}

.process-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.process-item-text p {
  font-size: 0.85rem;
  margin: 0;
  color: #e2e8f0;
  line-height: 1.4;
}

/* --- Mobile Navbar UI --- */
@media (max-width: 768px) {
  .navbar-actions {
    position: absolute;
    visibility: hidden;
  }
  .hamburger-menu {
    display: flex !important;
  }
  .navbar-inner {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .process-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    white-space: nowrap;
  }
}



/* --- Desktop overrides for new nav structure --- */
@media (min-width: 769px) {
  .nav-icon { display: none !important; }
  .mobile-extras { display: none !important; }
  .nav-links-inner {
    display: flex;
    align-items: center;
    gap: 36px;
  }
}


/* --- Mobile Dropdown Menu --- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: auto;
    width: 280px;
    background: #ffffff;
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    border: none;
    display: none !important;
    z-index: 999;
  }
  .nav-links::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #e0e8f5;
    border-left: 1px solid #e0e8f5;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links-inner {
    display: flex;
    flex-direction: column;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 8px 24px;
    border-bottom: 1px solid #f0f4f8;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    color: #444;
    font-weight: 500;
  }
  .nav-icon {
    display: block;
    color: #444;
  }
  .nav-link.active {
    background: transparent;
    border-left: none;
    padding-left: 24px;
    color: #1a3a6e;
    font-weight: 600;
    border-bottom: 2.5px solid #1a3a6e;
  }
  .nav-link.active .nav-icon {
    color: #1a3a6e;
  }
  .nav-link:last-child {
    border-bottom: none;
    padding-bottom: 8px;
  }
  .mobile-extras {
    display: flex;
    flex-direction: column;
    padding: 0 16px 16px 16px;
    gap: 12px;
  }
  .mobile-consultant {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eef2ff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
  }
  .mobile-consultant-info {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .mobile-consultant-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a3a6e;
  }
  .mobile-consultant-role {
    font-size: 0.7rem;
    color: #4a6a9e;
  }
  .mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a56db;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
  .logo-text .logo-tagline {
    display: block !important;
    font-size: 0.45rem !important;
  }
}



/* --- Mobile Bottom Sheet Consultant Card --- */
@media (max-width: 768px) {
  body.modal-open {
    overflow: hidden;
  }
  body.modal-open::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }
  
  /* Elevate navbar above backdrop so modal (which is inside navbar) is clickable and visible */
  body.modal-open .navbar {
    z-index: 1001 !important;
  }

  /* Hide whatsapp while modal is open */
  body.modal-open .whatsapp-float-container {
    display: none !important;
  }
  
  .consultant-card {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 90dvh !important;
    height: auto !important;
    border-radius: 24px 24px 0 0 !important;
    z-index: 1000 !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column;
    visibility: hidden;
  }
  .consultant-card.open {
    transform: translateY(0);
    visibility: visible;
  }
  
  /* Remove the top pointer arrow for bottom sheet */
  .consultant-card::before {
    display: none !important;
  }
  
  /* Add drag handle */
  .consultant-card::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #dde4f5;
    border-radius: 4px;
    z-index: 100;
  }

  .card-header {
    position: sticky !important;
    top: 0 !important;
    background: #fff !important;
    z-index: 10 !important;
    padding: 32px 20px 16px 20px !important;
    margin-bottom: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .card-divider {
    display: none !important;
  }

  .consultant-card-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .consultant-card-body::-webkit-scrollbar {
    display: none;
  }

  .card-text p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    color: #444 !important;
    margin-bottom: 16px !important;
  }

  .feature-badges {
    flex-direction: column !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 16px 0 !important;
    gap: 12px !important;
  }
  
  .badge-item {
    background: #f0f4f8 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 600 !important;
    color: #1a3a6e !important;
    font-size: 14px !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .badge-icon {
    width: 32px !important;
    height: 32px !important;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .card-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
    padding: 16px 20px 24px 20px;
  }

  .consultant-call-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1a56db;
    color: #fff;
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    width: 100%;
  }


  /* --- REGISTER PAGE MOBILE FIXES --- */
  .register-hero {
    height: auto !important;
    min-height: 350px !important;
    padding: 100px 0 60px 0 !important;
  }
  .register-hero-content {
    margin-top: 0 !important;
    padding: 0 16px !important;
  }
  .register-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    margin-bottom: 12px !important;
  }
  .register-subtitle {
    font-size: 1rem !important;
    margin-bottom: 24px !important;
  }
  .register-features {
    gap: 12px !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 16px !important;
  }
  .register-features span {
    font-size: 1rem !important;
  }
  .register-features div {
    display: none !important;
  }

  /* Form Container */
  .register-main {
    margin: -40px 16px 28px 16px !important;
    padding: 0 !important;
    max-width: none !important;
  }
  .register-card {
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
  }
  .register-form-area {
    padding: 24px 16px !important;
  }
  
  /* Stack form fields in 1 column */
  .form-row, 
  .form-row.two-cols, 
  .form-row.three-cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .input-with-icon input, 
  .input-with-icon select, 
  textarea {
    height: 48px !important;
  }
  textarea {
    height: 100px !important;
  }

  /* Appointment Type (Radio) */
  .radio-group-boxes {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .radio-box {
    width: 100% !important;
    flex: none !important;
    padding: 16px !important;
    height: auto !important;
  }

  /* Consultation Options (2 Column Grid) */
  .checkbox-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .checkbox-item {
    padding: 12px !important;
    height: 100% !important;
    align-items: flex-start !important;
  }
  .checkbox-item span {
    font-size: 13px !important;
  }
  @media (max-width: 380px) {
    .checkbox-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* Terms and Submit */
  .terms-box {
    align-items: flex-start !important;
    padding: 16px !important;
    border-radius: 12px !important;
  }
  .terms-box input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
  }
  .terms-box label {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .submit-wrapper {
    margin-top: 24px !important;
  }
  .submit-btn {
    width: 100% !important;
    height: 52px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
  }

  /* Footer Adjustments */
  .footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 24px 20px !important;
    text-align: left !important;
  }
  .footer-left {
    justify-content: flex-start !important;
    padding-right: 0 !important;
  }
  .footer-right {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  .footer-link {
    white-space: normal !important;
    align-items: flex-start !important;
  }
  .footer-link .footer-icon {
    margin-top: 2px;
  }
  .footer-divider {
    display: none !important;
  }

}
@media (min-width: 769px) {
  .consultant-call-btn { display: none; }
}


/* --- RESPONSIVE TYPOGRAPHY OVERRIDES --- */
/* These scaling overrides ensure smooth typography on mobile screens while preserving desktop sizes. */
@media (max-width: 768px) {
  /* Page Titles */
  .register-title {
    font-size: clamp(1.75rem, 5vw, 3.2rem) !important;
    line-height: 1.25 !important;
  }
  
  
  /* Subtitles */
  .register-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem) !important;
    line-height: 1.5 !important;
  }

  /* Section Headings */
  h2, .form-header h2 {
    font-size: clamp(1.25rem, 4vw, 1.4rem) !important;
    line-height: 1.3 !important;
  }

  /* Card Titles & h3 */
  h3 {
    font-size: clamp(1.05rem, 3.5vw, 1.15rem) !important;
    line-height: 1.4 !important;
  }
  .quota-price {
    font-size: clamp(1.1rem, 3vw, 1.2rem) !important;
  }

  /* Body Text & h4 */
  h4 {
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
  }
  p, .card-text p, .description {
    font-size: clamp(0.875rem, 1.5vw, 0.95rem) !important;
    line-height: 1.6 !important;
  }

  /* Labels, Inputs, & Buttons */
  label, .checkbox-container {
    font-size: clamp(0.875rem, 1.5vw, 0.9rem) !important;
  }
  input, select, textarea, .input-with-icon input, .input-with-icon select {
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
  }
  .btn-submit, .btn-register, .consultant-call-btn, .mobile-phone-btn {
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
  }

  /* Secondary Text & Small */
  small, .card-info span, .mobile-consultant-role {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem) !important;
  }
  
  /* Footer */
  .footer-right, .footer-link {
    font-size: clamp(0.875rem, 1.5vw, 0.9rem) !important;
  }
  .logo-name {
    font-size: clamp(1.25rem, 3vw, 1.45rem) !important;
  }
  .logo-tagline {
    font-size: clamp(0.5rem, 1vw, 0.55rem) !important;
  }
  
  /* Navigation */
  .nav-link {
    font-size: clamp(1rem, 2vw, 1.05rem) !important;
  }
}

/* ==========================================================================
   TARGETED PROPORTIONAL SCALING: 1024px TABLET / SMALL DESKTOP (769px - 1100px)
   Prevents oversized elements, wrapping, overlap, clipping, and horizontal scroll.
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  /* Header & Navigation */
  .navbar {
    height: 66px !important;
  }
  .navbar-inner {
    max-width: 1024px !important;
    padding: 0 16px !important;
    gap: 12px !important;
    justify-content: space-between !important;
  }
  .logo {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .logo-icon svg {
    width: 36px !important;
    height: 36px !important;
  }
  .logo-name {
    font-size: 1.2rem !important;
  }
  .logo-tagline {
    font-size: 0.46rem !important;
    letter-spacing: 0.12em !important;
  }
  .nav-links {
    gap: 14px !important;
    flex: unset !important;
    justify-content: center !important;
  }
  .nav-links-inner {
    gap: 14px !important;
  }
  .nav-link {
    font-size: 0.85rem !important;
    padding-bottom: 2px !important;
    white-space: nowrap !important;
  }
  .navbar-actions {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .navbar-divider {
    margin: 0 4px !important;
    height: 20px !important;
  }
  .consultant-btn {
    padding: 6px 11px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
  }
  .consultant-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .consultant-btn .chevron-icon {
    width: 12px !important;
    height: 12px !important;
  }
  .navbar-phone-btn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }
  .navbar-phone-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .consultant-card {
    width: min(520px, 92vw) !important;
    right: 0 !important;
    padding: 18px !important;
  }

  /* Home Banner / Hero (Proportionally scaled 1024px vs 1440px) */
  .hero {
    height: calc(100vh - 66px) !important;
    min-height: 440px !important;
    padding: 0 16px !important;
  }
  .hero::before {
    background-size: cover !important;
    background-position: center top !important;
    inset: -15px !important;
    transform: scale(1.02);
    transform-origin: center top;
  }
  .hero-content {
    padding: 0 16px !important;
  }
  .hero-title {
    font-size: 2.45rem !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
  }
  .hero-title-sub {
    font-size: 1.85rem !important;
  }
  .hero-subtitle {
    font-size: 1.05rem !important;
    margin-bottom: 28px !important;
    letter-spacing: 0.03em !important;
  }
  .btn-register {
    padding: 11px 26px !important;
    font-size: 0.85rem !important;
    gap: 5px !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 14px rgba(26,58,143,0.3) !important;
  }

  /* Process Section (Proportionally scaled 1024px vs 1440px) */
  .process-section {
    padding: 44px 16px !important;
  }
  .process-header,
  .process-grid {
    max-width: 960px !important;
  }
  .process-header {
    margin-bottom: 28px !important;
  }
  .process-header::before,
  .process-header::after {
    width: 70px !important;
    margin: 0 14px !important;
    height: 2px !important;
  }
  .process-title {
    font-size: 1.55rem !important;
  }
  .process-grid {
    gap: 10px !important;
  }
  .process-card {
    padding: 18px 14px !important;
  }
  .process-card-header {
    gap: 10px !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
  }
  .process-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }
  .process-card-header h3 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
  .process-card-content {
    gap: 10px !important;
  }
  .process-item h4 {
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
  }
  .process-item ul li {
    font-size: 0.75rem !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
  }
  .process-item ul li svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Register Page (Proportionally scaled 1024px vs 1440px) */
  .register-hero {
    height: 310px !important;
  }
  .register-hero::before {
    background-size: cover !important;
    background-position: center 25% !important;
    inset: -15px !important;
    transform: scale(1.02);
    transform-origin: center top;
  }
  .register-hero-content {
    margin-top: -45px !important;
    padding: 0 16px !important;
  }
  .register-title {
    font-size: 2.35rem !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
  }
  .register-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }
  .register-hero-features {
    gap: 22px !important;
  }
  .feature-item {
    font-size: 0.82rem !important;
    gap: 6px !important;
  }
  .feature-item svg {
    width: 16px !important;
    height: 16px !important;
  }
  .register-main {
    max-width: 940px !important;
    margin: -90px auto 40px !important;
    padding: 0 16px !important;
  }
  .register-card {
    border-radius: 8px !important;
  }
  .register-card.full-width-card .register-form-area,
  .register-form-area {
    padding: 30px 24px !important;
  }
  .form-header {
    gap: 12px !important;
    margin-bottom: 22px !important;
  }
  .icon-circle {
    width: 40px !important;
    height: 40px !important;
  }
  .icon-circle svg {
    width: 20px !important;
    height: 20px !important;
  }
  .form-header h2 {
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }
  .form-header p {
    font-size: 0.8rem !important;
  }
  .register-form {
    gap: 10px !important;
  }
  .form-row {
    gap: 10px !important;
  }
  .form-row.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .form-row.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .form-group {
    gap: 6px !important;
  }
  .form-group label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
  }
  .form-group input,
  .form-group select {
    font-size: 0.82rem !important;
    padding: 8px 12px !important;
    height: 38px !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
  }
  .form-group select {
    padding-right: 32px !important;
  }
  .select-wrapper::after {
    right: 11px !important;
    width: 14px !important;
    height: 14px !important;
  }
  .form-group select option,
  .form-group select optgroup {
    font-size: 0.82rem !important;
    padding: 7px 10px !important;
    line-height: 1.35 !important;
    background-color: #ffffff !important;
    color: #1a3a6e !important;
  }
  .input-with-icon svg {
    left: 11px !important;
    width: 16px !important;
    height: 16px !important;
  }
  .input-with-icon input,
  .input-with-icon select {
    padding-left: 34px !important;
  }
  .domicile-section {
    margin: 8px 0 !important;
    border-radius: 7px !important;
  }
  .domicile-sidebar {
    flex: 0 0 175px !important;
    padding: 16px !important;
  }
  .domicile-sidebar h4 {
    font-size: 0.82rem !important;
    margin-bottom: 4px !important;
  }
  .domicile-sidebar p {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }
  .domicile-content {
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  .form-section-header {
    margin-top: 14px !important;
    margin-bottom: 6px !important;
  }
  .form-section-header.no-icon h3,
  .form-section-header h3 {
    font-size: 0.98rem !important;
  }
  .radio-card {
    padding: 11px 13px !important;
    gap: 9px !important;
    border-radius: 7px !important;
  }
  .radio-custom {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
  }
  .radio-card input[type="radio"]:checked + .radio-custom::after {
    width: 8px !important;
    height: 8px !important;
  }
  .radio-text strong {
    font-size: 0.82rem !important;
  }
  .radio-text span {
    font-size: 0.74rem !important;
  }
  .quota-grid {
    gap: 10px !important;
  }
  .quota-card {
    padding: 14px 8px !important;
    gap: 6px !important;
    border-radius: 7px !important;
  }
  .quota-card h4 {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }
  .quota-card small {
    font-size: 0.7rem !important;
  }
  .quota-price {
    font-size: 1rem !important;
  }
  .form-footer {
    margin-top: 16px !important;
  }
  .checkbox-container {
    font-size: 0.78rem !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .checkmark {
    width: 16px !important;
    height: 16px !important;
    border-radius: 3px !important;
  }
  .btn-block {
    padding: 11px 24px !important;
    font-size: 0.88rem !important;
    max-width: 260px !important;
    border-radius: 6px !important;
  }

  /* Colleges Page */
  .colleges-hero {
    height: 190px !important;
  }
  .colleges-title {
    font-size: 2.3rem !important;
  }
  .colleges-subtitle {
    font-size: 1rem !important;
  }
  .colleges-note {
    font-size: 0.85rem !important;
  }
  .filters-section {
    padding: 18px 0 !important;
  }
  .filters-container {
    max-width: 980px !important;
    padding: 0 16px !important;
    gap: 12px !important;
  }
  .filter-group label {
    font-size: 0.82rem !important;
  }
  .filter-group select {
    font-size: 0.86rem !important;
    padding: 10px 32px 10px 12px !important;
  }
  .btn-search-colleges {
    font-size: 0.86rem !important;
    padding: 0 18px !important;
    height: 40px !important;
  }
  .results-section {
    max-width: 980px !important;
    padding: 24px 16px !important;
  }
  .results-count {
    font-size: 1.05rem !important;
  }
  .sort-label {
    font-size: 0.85rem !important;
  }
  .sort-select-input {
    font-size: 0.85rem !important;
    padding: 7px 28px 7px 10px !important;
  }
  .college-cards {
    gap: 14px !important;
  }
  .college-card {
    padding: 14px !important;
    gap: 16px !important;
  }
  .college-img {
    width: 190px !important;
    height: 115px !important;
  }
  .college-name {
    font-size: 1.12rem !important;
    margin-bottom: 4px !important;
  }
  .college-location {
    font-size: 0.82rem !important;
    margin-bottom: 12px !important;
  }
  .college-details {
    gap: 12px !important;
  }
  .detail-item {
    font-size: 0.8rem !important;
  }
  .college-actions {
    padding-left: 14px !important;
  }
  .btn-view-courses,
  .btn-view-college {
    font-size: 0.82rem !important;
    padding: 8px 16px !important;
  }

  /* Seat Matrix Dashboard (Proportionally scaled 1024px vs 1440px) */
  .dashboard-container {
    max-width: 960px !important;
    padding: 0 16px !important;
    margin: 28px auto !important;
  }
  .dashboard-title-row {
    margin-bottom: 18px !important;
    gap: 16px !important;
  }
  .db-title-left h4 {
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 3px !important;
  }
  .db-title-left h1 {
    font-size: 1.45rem !important;
    margin-bottom: 4px !important;
  }
  .db-title-left .db-huge-number {
    font-size: 3rem !important;
    padding: 3px 16px !important;
    border-radius: 9px !important;
    margin-bottom: 6px !important;
  }
  .db-title-left p {
    font-size: 0.82rem !important;
  }
  .db-top-cards {
    gap: 12px !important;
  }
  .db-card {
    padding: 16px 14px !important;
    gap: 12px !important;
    min-width: 190px !important;
    border-radius: 10px !important;
  }
  .db-card-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
  .db-card-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .db-card-content h5 {
    font-size: 0.78rem !important;
    margin-bottom: 3px !important;
  }
  .db-card.gov-card .db-card-content h2,
  .db-card.priv-card .db-card-content h2 {
    font-size: 1.7rem !important;
    margin-bottom: 2px !important;
  }
  .db-card-content p {
    font-size: 0.74rem !important;
  }
  .db-section {
    padding: 18px !important;
    border-radius: 10px !important;
    margin-bottom: 18px !important;
  }
  .db-section-header {
    gap: 8px !important;
    margin-bottom: 14px !important;
  }
  .db-section-header svg {
    width: 20px !important;
    height: 20px !important;
  }
  .db-section-header h3 {
    font-size: 1rem !important;
  }
  .top-states-row {
    gap: 10px !important;
  }
  .state-card {
    padding: 12px 10px !important;
    min-width: 120px !important;
    border-radius: 8px !important;
  }
  .rank-circle {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.72rem !important;
    margin-right: 6px !important;
  }
  .state-card-name {
    font-size: 0.82rem !important;
  }
  .state-card-seats {
    font-size: 1.25rem !important;
    margin-bottom: 2px !important;
  }
  .state-card-label {
    font-size: 0.72rem !important;
  }
  .db-main-grid {
    gap: 16px !important;
  }
  .db-table-wrapper,
  .db-map-wrapper {
    padding: 18px !important;
    border-radius: 10px !important;
  }
  .db-table-wrapper {
    height: 720px !important;
  }
  .db-table-header-inner {
    margin-bottom: 12px !important;
  }
  .db-table-header-inner h3 {
    font-size: 0.95rem !important;
    gap: 6px !important;
  }
  .db-table-search input {
    padding: 7px 10px !important;
    font-size: 0.78rem !important;
    width: 170px !important;
    border-radius: 5px !important;
  }
  .db-table th {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
  }
  .db-table td {
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }
  .map-container {
    min-height: 480px !important;
    margin-top: 12px !important;
  }
  .footer-insights {
    gap: 12px !important;
    margin-top: 18px !important;
  }
  .insight-card {
    padding: 13px 15px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }
  .insight-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }
  .insight-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .insight-card p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  /* Footer */
  .footer {
    padding: 14px 0 !important;
  }
  .footer-inner {
    max-width: 980px !important;
    padding: 0 16px !important;
    min-height: 44px !important;
  }
  .footer-left {
    font-size: 0.84rem !important;
    padding-right: 16px !important;
  }
  .footer-link {
    font-size: 0.84rem !important;
    gap: 7px !important;
  }
  .footer-divider {
    height: 24px !important;
  }
  .footer-right {
    font-size: 0.84rem !important;
    padding-left: 16px !important;
    gap: 7px !important;
  }
  .footer-icon {
    width: 15px !important;
    height: 15px !important;
  }

  /* 1024px Proportional Banner Transition Keyframes */
  @keyframes bannerCollapseHomeToRegister1024 {
    from { height: calc(100vh - 66px); }
    to { height: 310px; }
  }
  @keyframes bannerExpandRegisterToHome1024 {
    from { height: 310px; }
    to { height: calc(100vh - 66px); }
  }
  @keyframes bannerCropRegisterToColleges1024 {
    from { height: 310px; }
    to { height: 190px; }
  }
  @keyframes bannerCropCollegesToRegister1024 {
    from { height: 190px; }
    to { height: 310px; }
  }
  @keyframes bannerExpandCollegesToHome1024 {
    from { height: 190px; }
    to { height: calc(100vh - 66px); }
  }
  @keyframes bannerCollapseHomeToColleges1024 {
    from { height: calc(100vh - 66px); }
    to { height: 190px; }
  }

  html.banner-trans-home-to-register .register-hero {
    animation-name: bannerCollapseHomeToRegister1024 !important;
  }
  html.banner-trans-register-to-home .hero {
    animation-name: bannerExpandRegisterToHome1024 !important;
  }
  html.banner-trans-register-to-colleges .colleges-hero {
    animation-name: bannerCropRegisterToColleges1024 !important;
  }
  html.banner-trans-colleges-to-register .register-hero {
    animation-name: bannerCropCollegesToRegister1024 !important;
  }
  html.banner-trans-colleges-to-home .hero {
    animation-name: bannerExpandCollegesToHome1024 !important;
  }
  html.banner-trans-home-to-colleges .colleges-hero {
    animation-name: bannerCollapseHomeToColleges1024 !important;
  }
}

/* ==========================================================================
   TARGETED PROPORTIONAL SCALING: 1280px DESKTOP (1101px - 1350px)
   Smooth transition to 1440px without any edge cramping.
   ========================================================================== */
@media (min-width: 1101px) and (max-width: 1350px) {
  .navbar-inner {
    padding: 0 20px !important;
    gap: 20px !important;
  }
  .nav-links-inner {
    gap: 26px !important;
  }
  .consultant-card {
    width: 580px !important;
    right: 0 !important;
  }
  .register-main {
    max-width: 1280px !important;
    padding: 0 20px !important;
  }
  .filters-container,
  .results-section {
    padding: 0 28px !important;
  }
  .results-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .dashboard-container {
    padding: 0 28px !important;
  }
}

/* ==========================================================================
   TARGETED PROPORTIONAL SCALING: 1920px FULL HD DESKTOP (1601px - 2199px)
   Balanced layout between 1440px and 4K, centering content comfortably.
   ========================================================================== */
@media (min-width: 1601px) and (max-width: 2199px) {
  .navbar-inner,
  .process-header,
  .process-grid,
  .footer-inner,
  .filters-container,
  .results-section,
  .dashboard-container {
    max-width: 1600px !important;
  }
  .register-main {
    max-width: 1600px !important;
    padding: 0 36px !important;
  }
  .navbar-inner {
    padding: 0 36px !important;
    gap: 36px !important;
  }
  .nav-links-inner {
    gap: 40px !important;
  }
  .nav-link {
    font-size: 1.05rem !important;
  }
  .consultant-btn {
    padding: 10px 18px !important;
    font-size: 0.95rem !important;
  }
  .navbar-phone-btn {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
  }
  .hero-title {
    font-size: 3.8rem !important;
  }
  .hero-title-sub {
    font-size: 2.8rem !important;
  }
  .hero-subtitle {
    font-size: 1.6rem !important;
  }
  .btn-register {
    padding: 17px 40px !important;
    font-size: 1.1rem !important;
  }

  /* Colleges Page 1920px */
  .colleges-hero {
    height: 260px !important;
  }
  .colleges-title {
    font-size: 3.8rem !important;
  }
  .colleges-subtitle {
    font-size: 1.35rem !important;
  }
  .colleges-note {
    font-size: 1.1rem !important;
    margin-top: 12px !important;
  }
  .filters-section {
    padding: 28px 0 !important;
  }
  .filters-container {
    max-width: 1600px !important;
    padding: 0 40px !important;
    gap: 22px !important;
  }
  .filter-group {
    gap: 10px !important;
  }
  .filter-group:nth-child(1) {
    flex: 1.1 !important;
    min-width: 220px !important;
  }
  .filter-group:nth-child(2) {
    flex: 1.8 !important;
    min-width: 320px !important;
  }
  .filter-group:nth-child(3) {
    flex: 1.2 !important;
    min-width: 240px !important;
  }
  .filter-group label {
    font-size: 1.05rem !important;
  }
  .filter-group select {
    font-size: 1.05rem !important;
    padding: 13px 42px 13px 18px !important;
    height: 52px !important;
    border-radius: 8px !important;
    border: 1.5px solid #dce1e8 !important;
  }
  .filter-group select option,
  .sort-select-input option {
    font-size: 1.05rem !important;
    padding: 10px 14px !important;
  }
  .filter-select-wrapper .sort-arrow-icon {
    width: 20px !important;
    height: 20px !important;
    right: 14px !important;
  }
  .btn-search-colleges {
    font-size: 1.08rem !important;
    padding: 0 32px !important;
    height: 52px !important;
    border-radius: 8px !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  .btn-search-colleges svg {
    width: 20px !important;
    height: 20px !important;
  }
  .results-section {
    max-width: 1600px !important;
    padding: 40px !important;
  }
  .colleges-empty-state {
    padding: 80px 48px !important;
    border-radius: 16px !important;
  }
  .colleges-empty-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 20px !important;
  }
  .colleges-empty-title {
    font-size: 1.55rem !important;
    margin-bottom: 10px !important;
  }
  .colleges-empty-desc {
    font-size: 1.15rem !important;
  }
  .college-cards {
    gap: 20px !important;
  }
  .college-card {
    padding: 22px 26px !important;
    gap: 26px !important;
    border-radius: 10px !important;
  }
  .college-name {
    font-size: 1.45rem !important;
  }
  .college-location {
    font-size: 1.05rem !important;
  }
  .detail-item {
    font-size: 1rem !important;
  }
  .btn-view-courses,
  .btn-view-college {
    font-size: 1.05rem !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
  }
  .footer {
    padding: 24px 0 !important;
  }
  .footer-inner {
    max-width: 1600px !important;
    padding: 0 40px !important;
    min-height: 58px !important;
  }
  .footer-left,
  .footer-right,
  .footer-link {
    font-size: 1.05rem !important;
  }
  .footer-icon {
    width: 20px !important;
    height: 20px !important;
  }

  /* 1920px Proportional Banner Transition Keyframes */
  @keyframes bannerCollapseHomeToRegister1920 {
    from { height: calc(100vh - 78px); }
    to { height: 460px; }
  }
  @keyframes bannerExpandRegisterToHome1920 {
    from { height: 460px; }
    to { height: calc(100vh - 78px); }
  }
  @keyframes bannerCropRegisterToColleges1920 {
    from { height: 460px; }
    to { height: 260px; }
  }
  @keyframes bannerCropCollegesToRegister1920 {
    from { height: 260px; }
    to { height: 460px; }
  }
  @keyframes bannerExpandCollegesToHome1920 {
    from { height: 260px; }
    to { height: calc(100vh - 78px); }
  }
  @keyframes bannerCollapseHomeToColleges1920 {
    from { height: calc(100vh - 78px); }
    to { height: 260px; }
  }

  html.banner-trans-home-to-register .register-hero {
    animation-name: bannerCollapseHomeToRegister1920 !important;
  }
  html.banner-trans-register-to-home .hero {
    animation-name: bannerExpandRegisterToHome1920 !important;
  }
  html.banner-trans-register-to-colleges .colleges-hero {
    animation-name: bannerCropRegisterToColleges1920 !important;
  }
  html.banner-trans-colleges-to-register .register-hero {
    animation-name: bannerCropCollegesToRegister1920 !important;
  }
  html.banner-trans-colleges-to-home .hero {
    animation-name: bannerExpandCollegesToHome1920 !important;
  }
  html.banner-trans-home-to-colleges .colleges-hero {
    animation-name: bannerCollapseHomeToColleges1920 !important;
  }
}


/* ==========================================================================
   TARGETED PROPORTIONAL SCALING: 4K DESKTOP (2200px+)
   Centered container (max-width: 2000px) with proportionally scaled
   typography, spacing, icons, forms, cards, maps, and tables.
   ========================================================================== */
@media (min-width: 2200px) {
  /* Centred Appropriate Max-Width Containers */
  .navbar-inner,
  .process-header,
  .process-grid,
  .footer-inner,
  .filters-container,
  .results-section,
  .dashboard-container {
    max-width: 2000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .register-main {
    max-width: 2000px !important;
    padding: 0 48px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header */
  .navbar {
    height: 92px !important;
  }
  .navbar-inner {
    padding: 0 48px !important;
    gap: 48px !important;
  }
  .logo {
    gap: 14px !important;
  }
  .logo-icon svg {
    width: 58px !important;
    height: 58px !important;
  }
  .logo-name {
    font-size: 1.85rem !important;
  }
  .logo-tagline {
    font-size: 0.72rem !important;
    letter-spacing: 0.2em !important;
  }
  .nav-links {
    gap: 48px !important;
  }
  .nav-links-inner {
    gap: 48px !important;
  }
  .nav-link {
    font-size: 1.25rem !important;
  }
  .navbar-actions {
    gap: 16px !important;
  }
  .navbar-divider {
    height: 32px !important;
    margin: 0 14px !important;
  }
  .consultant-btn {
    padding: 12px 24px !important;
    font-size: 1.15rem !important;
    gap: 10px !important;
    border-radius: 60px !important;
  }
  .consultant-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
  .consultant-btn .chevron-icon {
    width: 18px !important;
    height: 18px !important;
  }
  .navbar-phone-btn {
    padding: 13px 26px !important;
    font-size: 1.15rem !important;
    gap: 10px !important;
    border-radius: 60px !important;
  }
  .navbar-phone-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
  .consultant-card {
    width: 780px !important;
    padding: 32px !important;
    font-size: 1.15rem !important;
    border-radius: 16px !important;
  }
  .card-icon-bg {
    width: 64px !important;
    height: 64px !important;
  }
  .card-info strong {
    font-size: 1.35rem !important;
  }
  .card-info span {
    font-size: 1rem !important;
  }
  .card-text p,
  .card-text {
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
  }
  .feature-badges {
    padding: 16px !important;
    gap: 16px !important;
  }
  .badge-item {
    font-size: 1rem !important;
    gap: 10px !important;
  }
  .badge-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .badge-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Home Banner / Hero */
  .hero {
    height: min(calc(100vh - 92px), 880px) !important;
    min-height: 720px !important;
    padding: 60px 40px !important;
  }
  .hero::before {
    background-position: center 25% !important;
  }
  .hero-title {
    font-size: 4.6rem !important;
    line-height: 1.16 !important;
    margin-bottom: 24px !important;
  }
  .hero-title-sub {
    font-size: 3.5rem !important;
  }
  .hero-subtitle {
    font-size: 1.95rem !important;
    margin-bottom: 48px !important;
  }
  .btn-register {
    padding: 22px 52px !important;
    font-size: 1.35rem !important;
    border-radius: 8px !important;
    gap: 10px !important;
  }

  /* Process Section */
  .process-section {
    padding: 96px 40px !important;
  }
  .process-header {
    margin-bottom: 60px !important;
  }
  .process-header::before,
  .process-header::after {
    height: 3px !important;
    width: 140px !important;
    margin: 0 30px !important;
  }
  .process-title {
    font-size: 2.8rem !important;
  }
  .process-grid {
    gap: 24px !important;
  }
  .process-card {
    padding: 38px 32px !important;
    border-radius: 8px !important;
  }
  .process-number {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.4rem !important;
  }
  .process-card-header h3 {
    font-size: 1.55rem !important;
  }
  .process-item ul li {
    font-size: 1.15rem !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }
  .process-item ul li svg {
    width: 18px !important;
    height: 18px !important;
    margin-top: 4px !important;
  }

  /* Register Page */
  .register-hero {
    height: 520px !important;
  }
  .register-title {
    font-size: 4.5rem !important;
    margin-bottom: 12px !important;
  }
  .register-subtitle {
    font-size: 1.6rem !important;
    margin-bottom: 30px !important;
  }
  .register-hero-features {
    gap: 44px !important;
  }
  .feature-item {
    font-size: 1.3rem !important;
    gap: 12px !important;
  }
  .feature-item svg {
    width: 24px !important;
    height: 24px !important;
  }
  .register-main {
    margin: -140px auto 80px !important;
    padding: 0 40px !important;
  }
  .register-card {
    border-radius: 12px !important;
  }
  .register-card.full-width-card .register-form-area,
  .register-form-area {
    padding: 60px 50px !important;
  }
  .form-header {
    gap: 22px !important;
    margin-bottom: 40px !important;
  }
  .icon-circle {
    width: 64px !important;
    height: 64px !important;
  }
  .icon-circle svg {
    width: 32px !important;
    height: 32px !important;
  }
  .form-header h2 {
    font-size: 1.95rem !important;
  }
  .form-header p {
    font-size: 1.25rem !important;
  }
  .form-row {
    gap: 20px !important;
  }
  .form-row.three-cols,
  .form-row.two-cols {
    gap: 20px !important;
  }
  .form-group {
    gap: 10px !important;
  }
  .form-group label {
    font-size: 1.2rem !important;
  }
  .form-group input,
  .form-group select {
    font-size: 1.2rem !important;
    padding: 16px 20px !important;
    height: 60px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .form-group select {
    padding-right: 48px !important;
  }
  .select-wrapper::after {
    right: 18px !important;
    width: 20px !important;
    height: 20px !important;
  }
  .form-group select option,
  .form-group select optgroup {
    font-size: 1.15rem !important;
    padding: 14px 18px !important;
    line-height: 1.4 !important;
    background-color: #ffffff !important;
    color: #1a3a6e !important;
  }
  .input-with-icon svg {
    left: 18px !important;
    width: 24px !important;
    height: 24px !important;
  }
  .input-with-icon input,
  .input-with-icon select {
    padding-left: 54px !important;
  }
  .domicile-section {
    margin: 20px 0 !important;
    border-radius: 12px !important;
  }
  .domicile-sidebar {
    flex: 0 0 300px !important;
    padding: 32px !important;
  }
  .domicile-sidebar h4 {
    font-size: 1.3rem !important;
  }
  .domicile-sidebar p {
    font-size: 1.05rem !important;
  }
  .domicile-content {
    padding: 28px !important;
    gap: 18px !important;
  }
  .form-section-header.no-icon h3,
  .form-section-header h3 {
    font-size: 1.55rem !important;
  }
  .radio-card {
    padding: 22px !important;
    gap: 16px !important;
    border-radius: 10px !important;
  }
  .radio-custom {
    width: 26px !important;
    height: 26px !important;
  }
  .radio-text strong {
    font-size: 1.25rem !important;
  }
  .radio-text span {
    font-size: 1.1rem !important;
  }
  .quota-grid {
    gap: 22px !important;
  }
  .quota-card {
    padding: 28px 16px !important;
    gap: 14px !important;
    border-radius: 10px !important;
  }
  .quota-card h4 {
    font-size: 1.2rem !important;
  }
  .quota-price {
    font-size: 1.65rem !important;
  }
  .checkbox-container {
    font-size: 1.2rem !important;
    margin-bottom: 36px !important;
  }
  .checkmark {
    width: 24px !important;
    height: 24px !important;
  }
  .btn-submit,
  .btn-block {
    padding: 18px 44px !important;
    font-size: 1.35rem !important;
    max-width: 420px !important;
    border-radius: 8px !important;
  }

  /* Colleges Page 4K */
  .colleges-hero {
    height: 320px !important;
  }
  .colleges-title {
    font-size: 4.5rem !important;
  }
  .colleges-subtitle {
    font-size: 1.6rem !important;
  }
  .colleges-note {
    font-size: 1.3rem !important;
    margin-top: 14px !important;
  }
  .filters-section {
    padding: 36px 0 !important;
  }
  .filters-container {
    max-width: 1950px !important;
    padding: 0 48px !important;
    gap: 28px !important;
  }
  .filter-group {
    gap: 12px !important;
  }
  .filter-group:nth-child(1) {
    flex: 1.1 !important;
    min-width: 260px !important;
  }
  .filter-group:nth-child(2) {
    flex: 1.9 !important;
    min-width: 380px !important;
  }
  .filter-group:nth-child(3) {
    flex: 1.2 !important;
    min-width: 280px !important;
  }
  .filter-group label {
    font-size: 1.25rem !important;
    margin-bottom: 2px !important;
  }
  .filter-group select {
    font-size: 1.2rem !important;
    padding: 16px 48px 16px 20px !important;
    height: 60px !important;
    border-radius: 10px !important;
    border: 1.5px solid #dce1e8 !important;
    line-height: normal !important;
  }
  .filter-group select option,
  .sort-select-input option {
    font-size: 1.15rem !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 12px 18px !important;
    color: #1a3a6e !important;
    background-color: #ffffff !important;
    line-height: 1.4 !important;
  }
  .filter-select-wrapper .sort-arrow-icon {
    width: 24px !important;
    height: 24px !important;
    right: 16px !important;
  }
  .btn-search-colleges {
    font-size: 1.25rem !important;
    padding: 0 38px !important;
    height: 60px !important;
    border-radius: 10px !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
  }
  .btn-search-colleges svg {
    width: 22px !important;
    height: 22px !important;
  }
  .results-section {
    max-width: 1950px !important;
    padding: 48px !important;
  }
  .colleges-empty-state {
    padding: 100px 60px !important;
    border-radius: 20px !important;
  }
  .colleges-empty-icon {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 24px !important;
  }
  .colleges-empty-title {
    font-size: 2rem !important;
    margin-bottom: 14px !important;
  }
  .colleges-empty-desc {
    font-size: 1.35rem !important;
  }
  .results-header {
    margin-bottom: 32px !important;
  }
  .results-count {
    font-size: 1.6rem !important;
  }
  .sort-label {
    font-size: 1.25rem !important;
  }
  .sort-select-wrapper {
    min-width: 220px !important;
  }
  .sort-select-input {
    font-size: 1.15rem !important;
    padding: 12px 42px 12px 18px !important;
    height: 52px !important;
    border-radius: 8px !important;
  }
  .sort-select-wrapper .sort-arrow-icon {
    width: 20px !important;
    height: 20px !important;
    right: 14px !important;
  }
  .college-cards {
    gap: 24px !important;
  }
  .college-card {
    padding: 28px 32px !important;
    gap: 32px !important;
    border-radius: 14px !important;
  }
  .college-img {
    width: 320px !important;
    height: 190px !important;
    border-radius: 8px !important;
  }
  .college-name {
    font-size: 1.7rem !important;
    margin-bottom: 10px !important;
  }
  .college-location {
    font-size: 1.2rem !important;
    margin-bottom: 22px !important;
  }
  .college-location svg {
    width: 22px !important;
    height: 22px !important;
  }
  .college-details {
    gap: 24px !important;
  }
  .detail-item {
    font-size: 1.15rem !important;
    gap: 10px !important;
  }
  .detail-item svg {
    width: 22px !important;
    height: 22px !important;
  }
  .college-actions {
    padding-left: 32px !important;
  }
  .btn-view-courses,
  .btn-view-college {
    font-size: 1.2rem !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
  }
  .pagination-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
    border-radius: 10px !important;
  }

  /* Seat Matrix Dashboard */
  .dashboard-container {
    max-width: 2048px !important;
    margin: 50px auto !important;
    padding: 0 48px !important;
  }
  .db-title-left h4 {
    font-size: 1.15rem !important;
  }
  .db-title-left h1 {
    font-size: 2.5rem !important;
  }
  .db-title-left .db-huge-number {
    font-size: 5.5rem !important;
    padding: 6px 28px !important;
    border-radius: 16px !important;
  }
  .db-title-left p {
    font-size: 1.3rem !important;
  }
  .db-top-cards {
    gap: 24px !important;
  }
  .db-card {
    padding: 32px 28px !important;
    gap: 22px !important;
    min-width: 320px !important;
    border-radius: 16px !important;
  }
  .db-card-icon {
    width: 72px !important;
    height: 72px !important;
  }
  .db-card-icon svg {
    width: 36px !important;
    height: 36px !important;
  }
  .db-card-content h5 {
    font-size: 1.2rem !important;
  }
  .db-card.gov-card .db-card-content h2,
  .db-card.priv-card .db-card-content h2 {
    font-size: 3rem !important;
  }
  .db-card-content p {
    font-size: 1.15rem !important;
  }
  .db-section {
    padding: 32px !important;
    border-radius: 16px !important;
    margin-bottom: 32px !important;
  }
  .db-section-header h3 {
    font-size: 1.65rem !important;
  }
  .db-section-header svg {
    width: 32px !important;
    height: 32px !important;
  }
  .top-states-row {
    gap: 22px !important;
  }
  .state-card {
    padding: 22px !important;
    border-radius: 14px !important;
  }
  .rank-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.05rem !important;
  }
  .state-card-name {
    font-size: 1.3rem !important;
  }
  .state-card-seats {
    font-size: 2.1rem !important;
  }
  .state-card-label {
    font-size: 1.1rem !important;
  }
  .db-main-grid {
    gap: 32px !important;
  }
  .db-table-wrapper,
  .db-map-wrapper {
    padding: 32px !important;
    border-radius: 16px !important;
    height: 980px !important;
  }
  .db-table-header-inner h3 {
    font-size: 1.55rem !important;
  }
  .db-table-search input {
    font-size: 1.15rem !important;
    padding: 12px 16px !important;
    width: 280px !important;
    border-radius: 8px !important;
  }
  .db-table th {
    font-size: 1.15rem !important;
    padding: 16px 20px !important;
  }
  .db-table td {
    font-size: 1.15rem !important;
    padding: 14px 20px !important;
  }
  .map-container {
    min-height: 600px !important;
  }
  .footer-insights {
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .insight-card {
    padding: 24px 28px !important;
    border-radius: 16px !important;
    gap: 20px !important;
  }
  .insight-icon {
    width: 54px !important;
    height: 54px !important;
  }
  .insight-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  .insight-card p {
    font-size: 1.25rem !important;
  }

  /* Footer */
  .footer {
    padding: 28px 0 !important;
  }
  .footer-inner {
    max-width: 2000px !important;
    padding: 0 48px !important;
    min-height: 68px !important;
  }
  .footer-left {
    font-size: 1.25rem !important;
    padding-right: 48px !important;
  }
  .footer-link {
    font-size: 1.25rem !important;
    gap: 14px !important;
  }
  .footer-divider {
    height: 40px !important;
  }
  .footer-right {
    font-size: 1.25rem !important;
    padding-left: 48px !important;
    gap: 14px !important;
  }
  .footer-icon {
    width: 24px !important;
    height: 24px !important;
  }

  /* Modals & Popups */
  .pg-auth-dialog {
    max-width: 620px !important;
    padding: 48px 40px !important;
    border-radius: 24px !important;
  }
  .pg-auth-title {
    font-size: 1.95rem !important;
  }
  .pg-auth-subtitle {
    font-size: 1.2rem !important;
  }
  .pg-auth-label {
    font-size: 1.15rem !important;
  }
  .pg-auth-prefix {
    font-size: 1.25rem !important;
    padding: 16px 18px !important;
  }
  .pg-auth-input {
    font-size: 1.35rem !important;
    padding: 16px 18px !important;
  }
  .pg-auth-submit-btn {
    font-size: 1.3rem !important;
    padding: 18px 24px !important;
    border-radius: 14px !important;
  }
  .pg-terms-dialog {
    max-width: 780px !important;
    padding: 44px 40px !important;
    border-radius: 24px !important;
  }
  .pg-terms-title {
    font-size: 1.85rem !important;
  }
  .pg-terms-text {
    font-size: 1.25rem !important;
  }
  .pg-terms-confirm-btn {
    font-size: 1.25rem !important;
    padding: 16px 36px !important;
    border-radius: 12px !important;
  }
  .whatsapp-float-container {
    bottom: 36px !important;
    right: 36px !important;
  }
  .whatsapp-float-btn {
    width: 68px !important;
    height: 68px !important;
  }
  .whatsapp-icon {
    width: 40px !important;
    height: 40px !important;
  }

  /* 4K Proportional Banner Transition Keyframes */
  @keyframes bannerCollapseHomeToRegister4K {
    from { height: min(calc(100vh - 92px), 880px); }
    to { height: 520px; }
  }
  @keyframes bannerExpandRegisterToHome4K {
    from { height: 520px; }
    to { height: min(calc(100vh - 92px), 880px); }
  }
  @keyframes bannerCropRegisterToColleges4K {
    from { height: 520px; }
    to { height: 320px; }
  }
  @keyframes bannerCropCollegesToRegister4K {
    from { height: 320px; }
    to { height: 520px; }
  }
  @keyframes bannerExpandCollegesToHome4K {
    from { height: 320px; }
    to { height: min(calc(100vh - 92px), 880px); }
  }
  @keyframes bannerCollapseHomeToColleges4K {
    from { height: min(calc(100vh - 92px), 880px); }
    to { height: 320px; }
  }

  html.banner-trans-home-to-register .register-hero {
    animation-name: bannerCollapseHomeToRegister4K !important;
  }
  html.banner-trans-register-to-home .hero {
    animation-name: bannerExpandRegisterToHome4K !important;
  }
  html.banner-trans-register-to-colleges .colleges-hero {
    animation-name: bannerCropRegisterToColleges4K !important;
  }
  html.banner-trans-colleges-to-register .register-hero {
    animation-name: bannerCropCollegesToRegister4K !important;
  }
  html.banner-trans-colleges-to-home .hero {
    animation-name: bannerExpandCollegesToHome4K !important;
  }
  html.banner-trans-home-to-colleges .colleges-hero {
    animation-name: bannerCollapseHomeToColleges4K !important;
  }
}




/* Extremely narrow mobile (320px) scaling for Home Page Hero */
@media (max-width: 360px) {
  .hero-title, h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }
  .hero-subtitle, .hero-title-sub {
    font-size: clamp(1rem, 4.5vw, 1.25rem) !important;
    line-height: 1.5 !important;
  }
}


/* Scale Home Page Hero Image Proportionally on Mobile */
@media (max-width: 768px) {
  .hero {
    height: auto !important;
    min-height: 60vh !important;
    padding: 80px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Colleges Page Mobile Fixes */
  .colleges-title {
    font-size: clamp(1.75rem, 7vw, 3.2rem) !important;
    line-height: 1.2 !important;
  }
  .colleges-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem) !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
  }
  .colleges-note {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.4 !important;
    margin-top: 8px !important;
  }
  .filters-section {
    padding: 16px 0 !important;
  }
  .filters-container {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 16px !important;
    gap: 12px !important;
  }
  .filter-group {
    width: 100% !important;
  }
  .btn-search-colleges {
    width: 100% !important;
    margin-top: 8px !important;
    height: 48px !important;
  }

  /* Colleges Results & Cards Mobile Responsiveness */
  .colleges-main {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    min-height: auto !important;
    padding-bottom: 24px !important;
  }

  .results-section {
    padding: 20px 16px 8px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .results-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .results-count {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }

  .sort-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .sort-label {
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
  }

  .sort-select-wrapper {
    flex: 1 !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .sort-select-input {
    width: 100% !important;
    font-size: 0.85rem !important;
    padding: 8px 32px 8px 10px !important;
  }

  .college-cards {
    gap: 14px !important;
    width: 100% !important;
  }

  .college-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px 16px !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .college-info {
    width: 100% !important;
    min-width: 0 !important;
  }

  .college-name {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .college-location {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  .college-details {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
  }

  .detail-item {
    font-size: 0.82rem !important;
  }

  .college-actions {
    padding-left: 0 !important;
    margin-top: 4px !important;
    width: 100% !important;
  }

  .btn-view-courses,
  .btn-view-college {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Mobile Pagination Placement & Appearance */
  .pagination-wrapper,
  .mobile-pagination-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 24px !important;
    padding-bottom: 8px !important;
  }

  .pagination-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pagination-pages {
    gap: 6px !important;
  }

  .pagination-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
  }

  .pagination-prev,
  .pagination-next {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 6px !important;
    padding: 0 !important;
  }

  /* Mobile Banner Transitions */
  @keyframes bannerCollapseHomeToRegisterMobile {
    from { min-height: 60vh; }
    to { min-height: 350px; }
  }
  @keyframes bannerExpandRegisterToHomeMobile {
    from { min-height: 350px; }
    to { min-height: 60vh; }
  }
  @keyframes bannerCropRegisterToCollegesMobile {
    from { min-height: 350px; }
    to { min-height: 220px; }
  }
  @keyframes bannerCropCollegesToRegisterMobile {
    from { min-height: 220px; }
    to { min-height: 350px; }
  }
  @keyframes bannerExpandCollegesToHomeMobile {
    from { min-height: 220px; }
    to { min-height: 60vh; }
  }
  @keyframes bannerCollapseHomeToCollegesMobile {
    from { min-height: 60vh; }
    to { min-height: 220px; }
  }

  html.banner-trans-home-to-register .register-hero {
    animation-name: bannerCollapseHomeToRegisterMobile !important;
  }
  html.banner-trans-register-to-home .hero {
    animation-name: bannerExpandRegisterToHomeMobile !important;
  }
  html.banner-trans-register-to-colleges .colleges-hero {
    animation-name: bannerCropRegisterToCollegesMobile !important;
  }
  html.banner-trans-colleges-to-register .register-hero {
    animation-name: bannerCropCollegesToRegisterMobile !important;
  }
  html.banner-trans-colleges-to-home .hero {
    animation-name: bannerExpandCollegesToHomeMobile !important;
  }
  html.banner-trans-home-to-colleges .colleges-hero {
    animation-name: bannerCollapseHomeToCollegesMobile !important;
  }
}

/* Extra adjustments for very small screens (<= 360px) */
@media (max-width: 360px) {
  .pagination-nav {
    gap: 4px !important;
    padding: 0 !important;
  }
  .pagination-pages {
    gap: 4px !important;
  }
  .pagination-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 5px !important;
    font-size: 0.78rem !important;
  }
  .pagination-prev,
  .pagination-next {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 5px !important;
    padding: 0 !important;
  }
  .results-section {
    padding: 16px 12px 8px 12px !important;
  }
  .college-card {
    padding: 14px 12px !important;
  }
  .college-name {
    font-size: 1.02rem !important;
  }
  .sort-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
}

/* ==========================================================================
   MOBILE-ONLY SCROLL SLIDE-UP ANIMATIONS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-animate-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), 
                transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .mobile-animate-card.mobile-in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Fallback: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-animate-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html[class*="banner-trans-"] .hero,
  html[class*="banner-trans-"] .register-hero,
  html[class*="banner-trans-"] .colleges-hero,
  html[class*="banner-trans-"] .hero-content,
  html[class*="banner-trans-"] .register-hero-content,
  html[class*="banner-trans-"] .colleges-hero-content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   MOBILE NUMBER ACCESS VERIFICATION MODAL & PAGE LOCK
   ========================================================================== */

/* Locked state on protected pages before verification */
html.pg-locked-loading .search-section,
html.pg-locked-loading .results-section,
html.pg-locked-loading .dashboard-container,
body.pg-page-locked .search-section,
body.pg-page-locked .results-section,
body.pg-page-locked .dashboard-container {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  opacity: 0.35;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.pg-auth-open {
  overflow: hidden !important;
}

/* Modal Overlay */
.pg-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.pg-auth-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pgAuthFadeIn 0.25s ease-out;
}

/* Modal Dialog */
.pg-auth-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px -12px rgba(10, 37, 64, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  z-index: 1;
  animation: pgAuthSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes pgAuthFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pgAuthSlideUp {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close Button */
.pg-auth-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pg-auth-close-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: scale(1.05);
}

/* Badge Icons */
.pg-auth-badge-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: #eef4ff;
  border: 1px solid #dce8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-badge-warning {
  background: #fef6ee;
  border-color: #fce4cf;
}

.pg-badge-error {
  background: #fef2f2;
  border-color: #fee2e2;
}

.pg-badge-success {
  background: #f0fdf4;
  border-color: #dcfce7;
}

/* Typography */
.pg-auth-title {
  color: #1a3a6e;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.pg-auth-subtitle {
  color: #556987;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 24px;
  font-weight: 500;
}

/* Input Group */
.pg-auth-input-group {
  text-align: left;
  margin-bottom: 20px;
}

.pg-auth-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.pg-auth-field-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid #dce4ef;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.pg-auth-field-wrapper:focus-within {
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.pg-auth-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #f8fafc;
  border-right: 1.5px solid #dce4ef;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  user-select: none;
}

.pg-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.pg-code {
  letter-spacing: 0.5px;
}

.pg-auth-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.5px;
  width: 100%;
}

.pg-auth-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.92rem;
}

.pg-auth-inline-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

/* Submit Button */
.pg-auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a56db, #123d82);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}

.pg-auth-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1648bc, #0d306b);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.35);
}

.pg-auth-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.pg-auth-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.pg-btn-register {
  background: linear-gradient(135deg, #1a56db, #123d82);
  margin-top: 10px;
}

.pg-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: pgSpinner 0.7s linear infinite;
  display: inline-block;
}

@keyframes pgSpinner {
  to { transform: rotate(360deg); }
}

/* Action Stacks for View B & C */
.pg-auth-action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-auth-text-btn {
  background: none;
  border: none;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}

.pg-auth-text-btn:hover {
  color: #1a56db;
  text-decoration: underline;
}

/* Mobile Responsiveness (<= 480px) */
@media (max-width: 480px) {
  .pg-auth-dialog {
    padding: 28px 20px;
    border-radius: 18px;
    max-width: 100%;
  }

  .pg-auth-title {
    font-size: 1.3rem;
  }

  .pg-auth-subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .pg-auth-prefix {
    padding: 10px 10px;
    font-size: 0.88rem;
  }

  .pg-auth-input {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .pg-auth-submit-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   TERMS AND CONDITIONS (IMPORTANT DISCLAIMER) POPUP MODAL
   ========================================================================== */

.pg-terms-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.pg-terms-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: pgAuthFadeIn 0.2s ease-out;
}

.pg-terms-dialog {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 30px 28px;
  box-shadow: 0 20px 50px -10px rgba(10, 37, 64, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.85);
  font-family: 'Montserrat', sans-serif;
  z-index: 1;
  animation: pgAuthSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
}

.pg-terms-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pg-terms-close-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: scale(1.05);
}

.pg-terms-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 36px;
}

.pg-terms-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef4ff;
  border: 1px solid #dce8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1a56db;
}

.pg-terms-title {
  color: #1a3a6e;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.pg-terms-body {
  margin-bottom: 24px;
}

.pg-terms-text {
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}

.pg-mentor-highlight {
  color: #1a56db;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26, 86, 219, 0.4);
  transition: all 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  display: inline;
}

.pg-mentor-highlight:hover {
  color: #123d82;
  text-decoration-color: #123d82;
}

.pg-mentor-highlight:focus {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
  border-radius: 2px;
}

.pg-terms-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.pg-terms-confirm-btn {
  background: linear-gradient(135deg, #1a56db, #123d82);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

.pg-terms-confirm-btn:hover {
  background: linear-gradient(135deg, #1648bc, #0d306b);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26, 86, 219, 0.35);
}

.pg-terms-confirm-btn:active {
  transform: translateY(0);
}

@media (max-width: 580px) {
  .pg-terms-dialog {
    padding: 24px 20px 20px;
    border-radius: 16px;
  }

  .pg-terms-title {
    font-size: 1.2rem;
  }

  .pg-terms-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .pg-terms-confirm-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
  }
}
