/* ===========================================
   ELIGIBILITY-CHECKER.CSS - Eligibility Checker Page Styles
   Matches I-Migrator design system (services.html pattern)
   =========================================== */

/* -----------------------------------------
   Hero Section
   ----------------------------------------- */
.eligibility-hero-wrapper {
  position: relative;
  padding: 2rem 1rem;
  padding-top: 6rem; /* Account for navbar */
  padding-bottom: 2rem; /* Reduced padding */
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

@media (min-width: 992px) {
  .eligibility-hero-wrapper {
    padding: 2rem 2rem;
    padding-top: 8rem;
    padding-bottom: 3rem; /* Reduced padding */
  }
}

.eligibility-hero-content {
  position: relative;
  z-index: 1;
}

.eligibility-hero-badge {
  display: inline-block;
  background: #00668c;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.eligibility-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1d1c1c;
}

.eligibility-hero-title .highlight {
  color: #00668c; /* Primary blue accent */
}

.eligibility-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #6c757d;
  margin-bottom: 2rem;
  max-width: 700px;
}

.eligibility-hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.eligibility-hero-features li {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: #313d44;
}

.eligibility-hero-features li i {
  margin-right: 0.5rem;
}

/* -----------------------------------------
   Visa Cards Section
   ----------------------------------------- */
.visa-cards-section {
  padding: 2rem 0 3rem 0;
  background: white;
}

/* Find My Visa Featured Card - Light version */
.visa-card--featured {
  display: block;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  text-decoration: none;
  color: #1d1c1c;
  transition: all 0.3s ease;
  box-shadow: inset 0 0.4375rem 1.25rem rgba(208, 208, 196, 0.32);
}

.visa-card--featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #00668c;
  color: #1d1c1c;
}

.visa-card--featured .visa-card-icon {
  background: rgba(0, 102, 140, 0.1);
  color: #00668c;
}

.visa-card--featured .visa-card-title {
  color: #1d1c1c;
}

.visa-card--featured .visa-card-description {
  color: #6c757d;
}

.visa-card--featured .btn {
  background: #00668c;
  color: white;
  border: none;
}

.visa-card--featured .btn:hover {
  background: #005270;
  transform: translateY(-2px);
}

/* Standard Visa Cards */
.visa-card {
  display: block;
  background: #f5f4f1; /* bg-bg-200 */
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  overflow: hidden;
}

.visa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border-color: #00668c;
  color: inherit;
}

.visa-card-image-container {
  background: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visa-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 102, 140, 0.1);
  color: #00668c;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visa-card-content {
  padding: 1.5rem 2rem 2rem 2rem;
}

.visa-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d1c1c;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.visa-card-type {
  display: inline-block;
  font-size: 0.8125rem;
  color: #6c757d;
  border: 1px solid #e9ecef;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.visa-card:hover .visa-card-title {
  color: #00668c;
}

/* -----------------------------------------
   How It Works Section
   ----------------------------------------- */
.how-it-works-section {
  padding: 4rem 0;
  background: #f8f9fa;
}


.step-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #00668c;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #00668c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
}

.step-card:hover .step-number {
  background: #448c74;
}

.step-icon {
  font-size: 2.5rem;
  color: #00668c;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d1c1c;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 0.9375rem;
  color: #6c757d;
  line-height: 1.6;
}

/* -----------------------------------------
   FAQ Section
   ----------------------------------------- */
.faq-section {
  padding: 4rem 0;
  background: white;
}

.faq-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}

/* -----------------------------------------
   CTA Section
   ----------------------------------------- */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #00668c 0%, #005270 100%);
  color: white;
}

.cta-section .section-title {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.cta-section .btn-light {
  background: white;
  color: #00668c;
  border: none;
  font-weight: 600;
}

.cta-section .btn-light:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #00668c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.cta-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}

/* -----------------------------------------
   Sidebar
   ----------------------------------------- */
.sidebar-card {
  background: #f5f4f1; /* bg-bg-200 */
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 0.4375rem 1.25rem rgba(208, 208, 196, 0.32);
}

.sidebar-social {
  background: transparent;
  padding: 1.5rem;
  border-radius: 12px;
}

/* -----------------------------------------
   Section Headers
   ----------------------------------------- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1d1c1c;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.125rem;
  margin-bottom: 0;
}


/* -----------------------------------------
   Responsive Mobile
   ----------------------------------------- */
@media (max-width: 768px) {
  .eligibility-hero-wrapper {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .eligibility-hero-features li {
    display: flex;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .visa-card,
  .visa-card--featured {
    margin-bottom: 1.5rem;
  }

  .visa-card-image-container {
    min-height: 140px;
    padding: 1.5rem;
  }

  .visa-card-content {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .faq-section {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-section .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .eligibility-hero-title {
    font-size: 1.75rem !important;
  }

  .eligibility-hero-subtitle {
    font-size: 0.9375rem !important;
  }

  .visa-card-title {
    font-size: 1rem;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-description {
    font-size: 0.875rem;
  }
}

/* -----------------------------------------
   Dark Mode Support
   ----------------------------------------- */
.dark-mode .eligibility-hero-title,
.dark-mode .section-title,
.dark-mode .visa-card-title,
.dark-mode .step-title {
  color: white;
}

.dark-mode .eligibility-hero-subtitle,
.dark-mode .section-subtitle,
.dark-mode .step-description {
  color: rgba(255, 255, 255, 0.7);
}

.dark-mode .visa-card,
.dark-mode .step-card,
.dark-mode .sidebar-card {
  background: #2a2b2c;
  border-color: #3a3b3c;
}

/* -----------------------------------------
   Reduced Motion Support
   ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .visa-card,
  .visa-card--featured,
  .step-card {
    transition: none;
  }

  .visa-card:hover,
  .visa-card--featured:hover,
  .step-card:hover {
    transform: none;
  }
}
