﻿body {
    background: #f7f7f7;
    font-family: Arial, sans-serif;
}
header {
  background: #0f3b6c;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* MOBILE FIX */
@media (max-width: 767px) {
  header {
    position: relative;     /* disable sticky */
    padding: 5px 0;         /* reduce height */
  }
}



.hero-section {
    background: url('https://d3q7porexqyyxj.cloudfront.net/sites/5005/welcome-bg.jpg') no-repeat center center / cover;
    position: relative;
    
  }
  
  .hero-overlay {
    background: rgba(0,0,0,0.8);
    padding: 60px 0; 
  }

/* Left Content */

.hero-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #444;
}
h1 {font-weight: 800; }
h2 {
  color: #000;
}
.blue {color: #fff;}
.dark-blue{background-color:#0f3b6c;}
/* Benefit Section (No Background, No Box) */
.benefit-box {
    margin-top: 0px;
    padding: 0;           /* removed padding */
    background: none;     /* removed white bg */
    box-shadow: none;     /* removed shadow */
}
.modern-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}
@media (max-width: 767px) {
  .modern-list li {
    border-bottom: none !important;
  }
}

/* icon style */
.modern-list li i {
  color: #4cd3ff;
  font-size: 1rem;
  flex-shrink: 0;
}

/* hover interaction (desktop & mobile) */
.modern-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  padding-left: 6px;
}

/* remove last border in each column */
.modern-list li:last-child {
  border-bottom: none;
}
.process-hover {
  transition: all 0.3s ease-in-out;
}
.process-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  border-color: #0d6efd;
}
.process-hover:hover i {
  filter: drop-shadow(0 0 6px rgba(13,110,253,0.5));
}

/* MOBILE ONLY */
@media (max-width: 767px) {

  /* remove column spacing */
  .conditions-box > div {
    padding-left: 0;
    padding-right: 0;
  }

  /* remove space between lists */
  .modern-list {
    margin-bottom: 0;
  }

  /* stronger divider on mobile */
  .modern-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding: 14px 0;
  }


}

@media (max-width: 767px) {

  /* Reduce left column vertical space */
  .col-lg-6 {
    margin-top: 10px;
  }

  /* Main headline */
  h1.display-3 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 10px !important;
  }

  /* Subtitle */
  .qualify-subtitle {
    font-size: 1.05rem;
    margin-bottom: 14px !important;
  }

  /* Benefit box tightening */
  .benefit-box {
    padding-top: 0;
  }

  .benefit-heading {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 12px !important;
  }

  /* Conditions box spacing */
  .conditions-box {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}
@media (max-width: 767px) {
  .conditions-box {
    margin-top: 4px;
  }

  .modern-list li {
    font-size: 0.95rem;
  }
}


/* Form Box */
.form-box {
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.form-box input,
   .form-box select,
   .form-box textarea {
       color: #000;
   }

   .form-box input::placeholder,
   .form-box textarea::placeholder {
       color: #000;
   }
.form-label, .form-check-label { font-weight: 400 !important; }
.form-section { margin-bottom: 8px; }

.cond-question { display: none; }

@media (max-width: 768px) {
    .headline { text-align: center; }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card {
    background: #f8f9fa;
  }

  .process-card:hover {
    transform: translateY(-6px);
    transition: 0.3s;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12) !important;
  }

  /* smaller subtitle */
.qualify-subtitle {
    font-size: 30px;
    line-height: 34px;
    color: #0099ff;
}

/* better readability for older users */
.benefit-heading {
    font-size: 22px;
    font-weight: 600;
}

/* new soft blue background for medical list */
.conditions-box {
    background:#003366;
    border-radius: 10px;
}

/* make process steps pop */
.step-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bg-purple {
    background: #6f42c1 !important;
}

.process-card-new:hover {
    transform: translateY(-6px);
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18) !important;
}

/* MOBILE ADJUSTMENTS (for above-the-fold stacking) */
@media (max-width: 768px) {
    .hero-overlay { padding: 25px 0 !important; }

    .benefit-heading {
        font-size: 20px;
        line-height: 28px;
    }

    .conditions-box {
        padding: 15px !important;
        margin-top: 10px;
    }

    .modern-list li {
        padding: 6px 0;
        font-size: 15px;
    }

    .form-box {
        margin-top: 20px;
    }
}
@media (max-width: 767px) {

  /* HERO padding reduced */
  .hero-overlay {
    padding: 18px 0 !important;
  }

  /* Main heading */
  h1.display-3 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 6px !important;
  }

  /* Subtitle */
  .qualify-subtitle {
    font-size: 0.95rem;
    margin-bottom: 6px !important;
  }

  /* Benefit paragraph */
  .benefit-heading {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 6px !important;
  }

  /* Conditions box tighter */
  .conditions-box {
    
    margin-top: 4px;
  }

  /* Medical list compact */
  .modern-list li {
    padding: 4px 0 !important;
    font-size: 0.82rem;
  }

  .modern-list li i {
    font-size: 0.75rem;
  }
}
@media (max-width: 767px) {

  /* Reduce gap between columns */
  .row.g-4 {
    row-gap: 10px !important;
  }

  /* Form wrapper closer to top */
  .form-box {
    margin-top: 4px !important;
  }

  /* Form heading slim */
  .form-box h2 {
    font-size: 0.95rem;
    padding: 6px 8px !important;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  /* Form body padding */
  #ssd-form .row.bg-white {
    padding: 8px !important;
  }

  /* Inputs height reduced */
  .form-control,
  .form-select {
    padding: 6px 8px;
    font-size: 0.88rem;
  }

  /* Reduce form field spacing */
  .form-section {
    margin-bottom: 6px !important;
  }
}
@media (max-width: 360px) {
  .conditions-box {
    display: none;
  }
}
/* ===== MEDICAL LIST MULTI-COLUMN ON MOBILE ===== */
@media (max-width: 767px) {

  /* Turn list into grid */
  .conditions-box .modern-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns by default */
    column-gap: 10px;
    row-gap: 4px;
  }

  /* Smaller devices can go 3 columns */
  @media (max-width: 420px) {
    .conditions-box .modern-list {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* Compact list items */
  .modern-list li {
    padding: 3px 0 !important;
    font-size: 0.8rem;
    border-bottom: none !important;
    white-space: nowrap;
  }

  /* Smaller icons */
  .modern-list li i {
    font-size: 0.7rem;
  }

/* MEDICAL LIST GRID – CLEAN & GAP FREE */
.medical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

@media (max-width: 420px) {
  .medical-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.medical-grid li {
  padding: 2px 0;
  border: none !important;
  white-space: normal;
}

/* Prevent horizontal scroll on mobile */
body, html {
  overflow-x: hidden;
}

/* Ensure images never overflow */
.info-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Adjust row spacing for small screens */
@media (max-width: 768px) {
  .info-section .row {
    margin-left: 0;
    margin-right: 0;
    gap: 1.5rem; /* adjust as needed */
  }

  .info-section .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

