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

    a[href^="tel"] {
      color: inherit;
      text-decoration: none;
    }

    :root {
      --teal: #1a6eb4;
      --teal-dark: #135a96;
      --teal-light: #dbeafe;
      --amber: #FFE01B;
      --slate: #1a3a5c;
      --body: #2d3748;
      --muted: #718096;
      --border: #e2e8f0;
      --white: #ffffff;
      --offwhite: #eef5fc;
      --radius: 12px;
      --topbar-height: 4.5rem;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background-color: #dbeafe !important;
      line-height: 1.6;
      font-size: 16px;
    }

/* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--border);
      padding: 0 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }

    .nav-logo img {
      height: 40px;
      width: auto;
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--body);
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--teal);
    }

    .nav-cta {
      background: var(--teal);
      color: white !important;
      padding: 10px 22px;
      border-radius: 8px;
      font-weight: 600 !important;
      transition: background 0.2s !important;
    }

    .nav-cta:hover {
      background: var(--teal-dark) !important;
    }

    /* ── PAGE HEADER ── */
    .page-header {
      background: none;
      color: white;
      text-align: center;
      padding: 1rem 1rem 64px;
      position: relative;
      z-index: 5;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .page-header h1 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(1.7rem, 3vw, 2.4rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 12px;
    }

    .page-header h1 em {
      font-style: normal;
      color: #FFE01B;
    }

    .page-header p {
      font-size: 1rem;
      opacity: 0.85;
      max-width: 420px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* ── QUIZ WRAPPER ── */
    .quiz-section {
      padding: 120px 0px 30px 10px;
      margin-top: 0px;
      position: relative;
      z-index: 5;
      opacity: 0;
      transition: opacity 0.5s ease;
      box-sizing: border-box;
    }

    .quiz-card {
      background: white;
      border-radius: 20px;
      padding: 40px 44px;
      max-width: 560px;
      margin: 0 auto;
      margin-bottom: 100px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }

    /* ── PROGRESS BAR ── */
    .progress-bottom-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: white;
      border-top: 1px solid var(--border);
      z-index: 500;
      padding: 14px 24px 18px;
    }

    .progress-bottom-inner {
      max-width: 560px;
      margin: 0 auto;
    }

    .progress-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .progress-step-label {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--teal);
    }

    .progress-pct {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--muted);
    }

    .progress-track {
      width: 100%;
      height: 6px;
      background: var(--border);
      border-radius: 100px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: #1a3a5c;
      border-radius: 100px;
      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ── STEPS ── */
    .step {
      display: none;
    }

    .step.active {
      display: block;
      animation: stepIn 0.28s ease;
    }

    @keyframes stepIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .step-question {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--slate);
      line-height: 1.2;
      margin-bottom: 14px;
    }

    .step-hint {
      font-size: 0.88rem;
      color: var(--muted);
      margin-bottom: 0.8rem !important;
      line-height: 1.5;
    }

    /* ── ADDRESS INPUT ── */
    .address-wrap {
      position: relative;
      margin-bottom: 4px;
    }

    .address-input {
      width: 100%;
      padding: 13px 14px 13px 40px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 16px;
      color: var(--slate);
      background: white;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .address-input:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(26, 122, 110, 0.1);
    }

    .address-input::placeholder {
      color: var(--muted);
    }

    .address-icon {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      pointer-events: none;
      width: 16px;
      height: 16px;
    }

    .address-dropdown {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: white;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      z-index: 200;
      overflow: hidden;
      display: none;
    }

    .address-dropdown.open {
      display: block;
    }

    .address-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 14px;
      cursor: pointer;
      transition: background 0.12s;
      border-bottom: 1px solid var(--border);
    }

    .address-option:last-child {
      border-bottom: none;
    }

    .address-option:hover,
    .address-option.highlighted {
      background: var(--teal-light);
    }

    .address-option-icon {
      color: var(--teal);
      flex-shrink: 0;
      width: 14px;
      height: 14px;
    }

    .address-option-main {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--slate);
    }

    .address-loading {
      padding: 12px 14px;
      font-size: 0.875rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .address-spinner {
      width: 14px;
      height: 14px;
      border: 2px solid var(--border);
      border-top-color: var(--teal);
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
      flex-shrink: 0;
    }

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

    /* ── SERVICES CHECKLIST ── */
    .services-list {
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin-bottom: 28px;
    }

    .services-list label {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      cursor: pointer;
      font-size: 0.875rem;
      color: var(--slate);
      line-height: 1.4;
      padding: 10px 12px;
      border-radius: 8px;
      border: 1.5px solid var(--border);
      transition: border-color 0.15s, background 0.15s;
      touch-action: manipulation;
    }

    .services-list label:hover {
      border-color: var(--teal);
      background: var(--teal-light);
    }

    .services-list input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      min-width: 18px;
      border: 2px solid var(--border);
      border-radius: 5px;
      background: white;
      cursor: pointer;
      position: relative;
      margin-top: 2px;
      transition: border-color 0.15s, background 0.15s;
      flex-shrink: 0;
    }

    .services-list input[type="checkbox"]:checked {
      background: var(--teal);
      border-color: var(--teal);
    }

    .services-list input[type="checkbox"]:checked::after {
      content: '';
      position: absolute;
      left: 4px;
      top: 1px;
      width: 6px;
      height: 10px;
      border: 2px solid white;
      border-top: none;
      border-left: none;
      transform: rotate(45deg);
    }

    .services-list label:has(input:checked) {
      border-color: var(--teal);
      background: var(--teal-light);
    }

    .check-label strong {
      display: block;
      font-weight: 600;
      margin-bottom: 1px;
    }

    .check-label span {
      color: var(--muted);
      font-size: 0.775rem;
    }

    /* ── RADIO OPTION CARDS ── */
    .options-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 14px;
    }

    .option-card {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
      touch-action: manipulation;
    }

    @media (hover: hover) {
      .option-card:hover {
        border-color: var(--teal);
        background: var(--teal-light);
      }
      .option-card:hover .option-radio {
        border-color: var(--teal);
      }
    }

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

    .option-radio {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid var(--border);
      flex-shrink: 0;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .option-card:has(input:checked) {
      border-color: var(--teal);
      background: var(--teal-light);
      box-shadow: 0 0 0 3px rgba(26, 122, 110, 0.1);
    }

    .option-card:has(input:checked) .option-radio {
      border-color: var(--teal);
      box-shadow: inset 0 0 0 5px white, inset 0 0 0 10px var(--teal);
    }

    .option-icon {
      font-size: 1.3rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .option-text {
      font-size: 0.925rem;
      font-weight: 600;
      color: var(--slate);
      text-align: left;
    }

    /* ── NAVIGATION BUTTONS ── */
    .step-actions {
      display: flex;
      gap: 12px;
      margin-top: 4px;
    }

    .step-actions.right {
      justify-content: flex-end;
    }

    .btn-next {
      flex: 1;
      background: var(--teal);
      color: white;
      border: none;
      padding: 14px 24px;
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s, opacity 0.2s;
    }

    .btn-next:hover:not(:disabled) {
      background: var(--teal-dark);
      transform: translateY(-1px);
    }

    .btn-next:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    .btn-back {
      background: none;
      border: 1.5px solid var(--border);
      color: var(--muted);
      padding: 13px 20px;
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
      white-space: nowrap;
    }

    .btn-back:hover {
      border-color: var(--slate);
      color: var(--slate);
    }

    /* ── FINAL SCREEN ── */
    .final-screen {
      text-align: center;
      padding: 8px 0 4px;
    }

    .final-check {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: #dbeafe;
      color: #1a6eb4;
      font-size: 1.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      font-weight: 700;
    }

    .final-screen .step-question {
      margin-bottom: 10px;
    }

    .final-screen .step-hint {
      max-width: 380px;
      margin: 0 auto 28px;
      font-size: 0.92rem;
    }

    .submit-btn {
      width: 100%;
      background: var(--teal);
      color: white;
      border: none;
      padding: 16px;
      border-radius: 10px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      margin-bottom: 20px;
    }

    .submit-btn:hover {
      background: var(--teal-dark);
      transform: translateY(-1px);
    }

    .trust-row {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .trust-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--teal-light);
      border-radius: 100px;
      padding: 6px 14px;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--teal-dark);
    }

    .trust-pill svg {
      width: 13px;
      height: 13px;
    }

    /* ── PACKAGE SELECT & DATE INPUT ── */
    .pkg-select {
      width: 100%;
      padding: 13px 16px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.95rem;
      color: var(--slate);
      background: white;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      cursor: pointer;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .pkg-select:focus {
      outline: none;
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(26, 110, 180, 0.12);
    }

    .date-selects {
      display: flex;
      gap: 8px;
    }

    .date-select {
      flex: 1;
      min-width: 0;
      padding: 13px 8px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.875rem;
      color: var(--slate);
      background: white;
      box-sizing: border-box;
      cursor: pointer;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .date-select:focus {
      outline: none;
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(26, 110, 180, 0.12);
    }

    .approval-date-input {
      width: 100%;
      padding: 13px 14px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 16px;
      color: var(--slate);
      background: white;
      box-sizing: border-box;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .approval-date-input:focus {
      outline: none;
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(26, 122, 110, 0.1);
    }

    /* ── CONTACT POPUP ── */
    .contact-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      background: none;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 600;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 20px 40px;
      overflow-y: auto;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }

    .contact-overlay.visible {
      opacity: 1;
      pointer-events: auto;
    }

    .contact-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      max-width: 520px;
      width: 100%;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
      animation: none;
      margin: 0 auto 0;
    }

    .contact-card-header {
      background: #1a3a5c;
      padding: 32px 44px 28px;
    }

    .contact-card-header h2 {
      font-size: 1.2rem;
      font-weight: 700;
      color: white;
      line-height: 1.35;
      margin-bottom: 8px;
    }

    .contact-card-header .contact-sub {
      font-size: 0.88rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.55;
    }

    .contact-card-body {
      padding: 28px 44px 40px;
    }

    .contact-field {
      margin-bottom: 16px;
    }

    .contact-field label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--slate);
      margin-bottom: 6px;
    }

    .contact-field input {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.95rem;
      color: var(--slate);
      box-sizing: border-box;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .contact-field input:focus {
      outline: none;
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(26, 110, 180, 0.12);
    }

    .contact-field input::placeholder {
      color: var(--muted);
    }

    /* ── CONTACT TRUST ROW ── */
    .contact-trust-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }

    .contact-trust-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--muted);
      cursor: default;
    }

    .contact-why-btn {
      cursor: pointer;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
      position: relative;
      transition: color 0.15s;
    }

    .contact-why-btn:hover,
    .contact-why-btn:focus-visible {
      color: var(--primary, #2563eb);
      outline: none;
    }

    .why-popup {
      display: none;
      position: absolute;
      bottom: calc(100% + 10px);
      left: 0;
      width: 240px;
      background: #fff;
      border: 1px solid var(--border, #e5e7eb);
      border-radius: 10px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
      padding: 14px 14px 12px;
      z-index: 100;
    }

    .why-popup.is-open {
      display: block;
    }

    .why-popup-close {
      position: absolute;
      top: 8px;
      right: 10px;
      background: none;
      border: none;
      font-size: 1.1rem;
      line-height: 1;
      color: var(--muted, #6b7280);
      cursor: pointer;
      padding: 0;
    }

    .why-popup-close:hover {
      color: #111;
    }

    .why-popup-title {
      font-size: 0.8rem;
      font-weight: 700;
      color: #111;
      margin: 0 0 6px;
      padding-right: 16px;
    }

    .why-popup-body {
      font-size: 0.75rem;
      color: var(--muted, #6b7280);
      line-height: 1.5;
      margin: 0;
    }

    /* ensure the trust-row item wrapping the popup is positioned */
    .contact-trust-row {
      position: relative;
    }

    .contact-trust-item svg {
      flex-shrink: 0;
      opacity: 0.7;
    }

    .contact-trust-secure {
      color: #2d7a4f;
    }

    .contact-trust-secure svg {
      opacity: 1;
    }

    .contact-legal {
      margin-top: 12px;
      font-size: 0.72rem;
      color: var(--muted);
      text-align: center;
      line-height: 1.6;
    }

    .contact-legal a {
      color: var(--teal);
      text-decoration: none;
      font-weight: 600;
    }

    .contact-legal a:hover {
      text-decoration: underline;
    }

    /* ── FOOTER ── */
    footer {
      background: #1a202c;
      color: rgba(255, 255, 255, 0.6);
      padding: 56px 5% 32px;
      position: relative;
      z-index: 5;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-brand-text {
      font-size: 1.1rem;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .footer-desc {
      font-size: 0.85rem;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .footer-accreditation {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .accred-badge {
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 0.72rem;
      color: rgba(255, 255, 255, 0.5);
    }

    .footer-col h4 {
      color: white;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col ul li {
      margin-bottom: 10px;
    }

    .footer-col ul li a {
      text-decoration: none;
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.85rem;
      transition: color 0.2s;
    }

    .footer-col ul li a:hover {
      color: white;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.8rem;
    }

    .footer-links {
      display: flex;
      gap: 20px;
    }

    .footer-links a {
      text-decoration: none;
      color: rgba(255, 255, 255, 0.45);
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: white;
    }


    .provider-backdrop {
      position: absolute;
      inset: 0;
      padding-top: var(--topbar-height);
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      transition: filter 0.5s ease, opacity 0.5s ease;
    }

    .backdrop-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 11px;
      padding: 14px 18px 18px;
      background: var(--offwhite);
      transition: filter 0.5s ease, opacity 0.5s ease;
    }

    .quiz-pink-overlay {
      position: fixed;
      inset: 0;
      background: #dbeafeb1;
      z-index: 4;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .backdrop-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: rgba(228, 245, 241, 0.54);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .bcard {
      background: white;
      border-radius: 12px;
      padding: 15px;
      border: 1px solid var(--border);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      position: relative;
      overflow: hidden;
    }

    .bcard.skeleton>* {
      opacity: 0;
    }

    .bcard.skeleton::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #eef5fc 25%, #EDE9E1 50%, #eef5fc 75%);
      background-size: 300% 100%;
      animation: shimmer 1.4s ease-in-out infinite;
      border-radius: 12px;
    }

    @keyframes shimmer {
      0% {
        background-position: 100% 0;
      }

      100% {
        background-position: -100% 0;
      }
    }

    .bcard.card-hidden {
      display: none;
    }

    .bcard.card-reveal {
      animation: cardReveal 0.35s ease both;
    }

    @keyframes cardReveal {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .bcard-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 9px;
    }

    .bcard-photo {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 2px solid var(--teal-light);
    }

    .bcard-name {
      font-size: 0.84rem;
      font-weight: 700;
      color: var(--slate);
      display: flex;
      align-items: center;
      gap: 4px;
      line-height: 1.2;
    }

    .bcard-tick {
      width: 14px;
      height: 14px;
      background: #1a6eb4;
      color: white;
      border-radius: 50%;
      font-size: 0.55rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .bcard-location {
      font-size: 0.71rem;
      color: var(--muted);
      margin-top: 2px;
    }

    .bcard-qual {
      display: inline-block;
      font-size: 0.69rem;
      font-weight: 600;
      color: var(--teal-dark);
      background: var(--teal-light);
      padding: 2px 7px;
      border-radius: 100px;
      margin-bottom: 7px;
    }

    .bcard-stars {
      font-size: 0.72rem;
      color: var(--amber);
      margin-bottom: 7px;
    }

    .bcard-stars span {
      color: var(--muted);
      margin-left: 2px;
    }

    .bcard-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 8px;
    }

    .bcard-tags span {
      background: var(--teal-light);
      color: var(--teal-dark);
      font-size: 0.64rem;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 100px;
    }

    .bcard-avail {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 0.69rem;
      font-weight: 600;
      color: #1a6eb4;
    }

    .bcard-avail::before {
      content: '';
      width: 6px;
      height: 6px;
      background: #4caf50;
      border-radius: 50%;
      display: inline-block;
      flex-shrink: 0;
    }

    /* ── LOADING SCREEN ── */
    #loader {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: white;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 22px;
      transition: opacity 0.3s ease;
    }

    #loader.inactive {
      opacity: 0;
      pointer-events: none;
    }

    .loader-logo {
      height: 52px;
      width: auto;
    }

    .loader-spinner {
      width: 26px;
      height: 26px;
      border: 3px solid var(--border);
      border-top-color: var(--teal);
      border-radius: 50%;
      animation: spin 0.75s linear infinite;
      
    }

    /* ── DATABASE UI ── */
    .db-header {
      background: linear-gradient(135deg, #1a6eb4 0%, #1a6eb4 55%, #1a6eb4 100%);
      padding: 36px 28px 28px;
      color: white;
    }

    .db-eyebrow {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255, 255, 255, 0.55);
      margin-bottom: 10px;
    }

    .db-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 700;
      color: white;
      line-height: 1.2;
      margin-bottom: 6px;
    }

    .db-subtitle {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 22px;
    }

    .db-header-stats {
      display: flex;
      gap: 28px;
    }

    .db-header-stat-num {
      font-size: 1.25rem;
      font-weight: 700;
      color: #FFE01B;
      line-height: 1;
      margin-bottom: 3px;
    }

    .db-header-stat-label {
      font-size: 0.65rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: rgba(255, 255, 255, 0.5);
    }

    .db-filters {
      background: white;
      padding: 12px 28px 10px;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .db-filter-row {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-bottom: 9px;
      flex-wrap: wrap;
    }

    .db-search-box {
      flex: 1;
      min-width: 180px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1.5px solid var(--border);
      border-radius: 7px;
      font-size: 0.83rem;
      color: var(--muted);
      background: var(--offwhite);
    }

    .db-search-box svg {
      flex-shrink: 0;
      color: var(--muted);
    }

    .db-select {
      padding: 8px 28px 8px 11px;
      border: 1.5px solid var(--border);
      border-radius: 7px;
      font-size: 0.81rem;
      color: var(--slate);
      background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;
      font-family: 'Plus Jakarta Sans', sans-serif;
      appearance: none;
      -webkit-appearance: none;
      white-space: nowrap;
      cursor: default;
    }

    .db-search-btn {
      padding: 8px 18px;
      background: var(--teal);
      color: white;
      border: none;
      border-radius: 7px;
      font-size: 0.83rem;
      font-weight: 700;
      font-family: 'Plus Jakarta Sans', sans-serif;
      white-space: nowrap;
      cursor: default;
    }

    .db-meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .db-result-count {
      font-size: 0.77rem;
      color: var(--muted);
    }

    .db-result-count strong {
      color: var(--slate);
      font-weight: 600;
    }

    .db-filter-tags {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
    }

    .db-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 9px;
      border-radius: 100px;
      font-size: 0.7rem;
      font-weight: 600;
    }

    .db-tag.on {
      background: var(--teal);
      color: white;
    }

    .db-tag.off {
      background: var(--border);
      color: var(--muted);
    }

    .db-view-toggle {
      display: flex;
      gap: 3px;
      margin-left: auto;
    }

    .db-view-btn {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      border: 1.5px solid var(--border);
      color: var(--muted);
    }

    .db-view-btn.on {
      background: var(--teal-light);
      border-color: var(--teal);
      color: var(--teal);
    }

    .db-grid-label {
      padding: 10px 28px 4px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      background: var(--offwhite);
      border-bottom: 1px solid var(--border);
    }




 

 


 




    /* ── IPAD RESPONSIVE SETTINGS BELOW ── */
    @media (max-width: 900px) {
      .nav-links {
        display: none;
      }

      .quiz-section {
        padding-top: 100px;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
/* MOBILE PHONE RESPONSIVE SETTINGS BELOW*/

    @media (max-width: 600px) {
      nav {
        padding: 0 4%;
      }

      .page-header {
        padding: 1rem 4% 72px;
      }


      .quiz-section {
        padding: 20px 4% 56px;
  
      }

      .quiz-card {
        padding: 28px 20px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .bubble-tag {
      display: inline-block;
      background-color: var(--slate);
      color: white;
      padding: 5px 14px;
      border-radius: 50px;
      font-weight: 700;
    }

    .info-row {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0;
    }

    /* ── Static provider preview cards ── */
    .pv-section {
      width: 100%;
      float: left;
      background-color: var(--teal-light);
      padding: 1rem;
    }
    .pv-header {
      width: 100%;
      float: left;
      margin-bottom: 1rem;
    }
    .pv-logo {
      width: fit-content;
      float: left;
    }
    .pv-logo img { width: 12rem; }
    .pv-phone {
      float: right;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--slate);
      color: white;
      padding: 0.45rem 1rem;
      border-radius: 2rem;
      font-weight: 700;
      font-size: 0.85rem;
    }
    .pv-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1rem;
      width: 100%;
    }
    .pv-card {
      background-color: white;
      border-radius: 1rem;
      padding: 1rem;
      position: relative;
      overflow: hidden;
    }

    .pv-card.shimmer > * {
      opacity: 0;
    }

    .pv-card.shimmer::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #eef5fc 25%, #dbeafe 50%, #eef5fc 75%);
      background-size: 300% 100%;
      animation: pv-shimmer 1.4s ease-in-out infinite;
      border-radius: 1rem;
    }



  

    @keyframes pv-shimmer {
      0%   { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }
    .pv-photo {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto 1rem;
      border-radius: 100%;
      max-width: 8rem;
    }
    .pv-stitle {
      width: 100%;
      float: left;
    }
    .pv-stitle h3 { text-align: center; }
    .pv-body {
      width: 100%;
      float: left;
      font-size: 0.8rem;

    }
    .pv-hr { margin: 1rem 0 1.5rem; }

#pv-searching,
#pv-found { display: none; }
body.providers-found #pv-searching { display: none; }
body.providers-found #pv-found { display: block; }

@keyframes dot-blink {
  0%, 20%   { opacity: 0; }
  40%        { opacity: 1; }
  100%       { opacity: 0; }
}
.loading-dots span {
  opacity: 0;
  animation: dot-blink 1.4s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes success-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.success-pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background: #22c55e;
  border-radius: 50%;
  color: #ffffff;
  animation: success-pulse 1.6s ease-out infinite;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}
.success-pulse-icon svg {
  width: 55%;
  height: 55%;
}

.loading-spin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background: #1a6eb4;
  border-radius: 50%;
  color: #ffffff;
  animation: spin 0.75s linear infinite;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}
.loading-spin-icon svg {
  width: 55%;
  height: 55%;
}

@keyframes search-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26, 110, 180, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(26, 110, 180, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 110, 180, 0); }
}
.search-pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background: #1a6eb4;
  border-radius: 50%;
  color: #ffffff;
  animation: search-pulse 1.6s ease-out infinite;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}
.search-pulse-icon svg {
  width: 55%;
  height: 55%;
}

.animated-dots span {
  opacity: 0;
  animation: dot-fade 1.4s infinite;
}
.animated-dots span:nth-child(1) { animation-delay: 0s; }
.animated-dots span:nth-child(2) { animation-delay: 0.3s; }
.animated-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes dot-fade {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@media (max-width: 600px) {
  .disable-on-mobile { display: none !important; }
}

@media (min-width: 601px) {
  .disable-on-desktop { display: none !important; }
}

/* ── Mobile provider cards ── */
.pv-card-mobile {
  width: 100%;
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 0.9rem;
  background: white;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
}

.pv-mobile-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pv-mobile-photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pv-mobile-title {
  flex: 1;
  min-width: 0;
}

.pv-mobile-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-mobile-location {
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pv-mobile-certified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 50px;
  padding: 0.2rem 0.55rem;
  margin-top: 0.3rem;
}

.pv-mobile-rows {
  border-top: 1px solid #f0f4f8;
  padding-top: 0.6rem;
}

.pv-mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  color: #4a5568;
}

.pv-mobile-row span:first-child {
  color: #64748b;
}

.pv-mobile-meeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f0fdf4;
  color: #15803d;
  border-radius: 50px;
  padding: 0.25rem 0.65rem;
}

.collapsible {
  overflow: hidden;           /* important */
  transition: 
    max-height 0.4s ease-out,
    opacity 0.3s ease-out;
  opacity: 1;
  max-height: 500px;          /* must be larger than the actual content height */
}

.collapsible.hidden {
  max-height: 0;
  opacity: 0;
}

.status-message {
  overflow: hidden;
  max-height: 120px;
  opacity: 1;
  padding: 1rem 1rem 1rem 0.5rem;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.status-message.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

#searching-success-message {
  transition: none;
}

#searching-database-message {
  transition: max-height 1s ease, opacity 1s ease, padding 1s ease;
}

#database-message-container {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  transition: max-height 1s ease, opacity 1s ease, margin 1s ease;
}