:root{
    --plum: #502b5b;
    --plum-deep: #3b2044;
    --lilac: #e6d8f0;
    --lilac-soft: #f4eef9;
    --white: #ffffff;
    --ink: #000000;
    --ink-soft: #3a333d;
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    font-family: 'Figtree', system-ui, sans-serif;
    color: var(--ink-soft);
    background: var(--white);
    line-height: 1.65;
  }

  h1, h2, h3, h4, .display-serif{
    font-family: 'Fraunces', Georgia, serif;
    color: var(--plum-deep);
    letter-spacing: -0.01em;
  }

  a{ color: var(--plum); }

  .container-narrow{
    max-width: 780px;
  }

  /* ---------- Navbar ---------- */
  .topbar {
      border-bottom: 1px solid #ddd;
      background: #502b5b;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 9;
      height: 44px;
  }
  .topbar .contact-details {
      background: #854292;
  }
  .topbar .contact-details a {
      color: #fff;
      font-weight: 400;
      font-size: 14px;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
      border-left: 1px solid #84848485;
      line-height: 45px;
      display: inline-block;
  }
  .topbar .top-social a {
      color: #fff;
      font-weight: 400;
      font-size: 20px;
      padding-left: 1rem;
      padding-right: 1rem;
      border-left: 1px solid #84848485;
      line-height: 45px;
      display: inline-block;
  }
  .bg-theme-header {
      background: #E6D8F0 !important;
  }
  nav.navbar{margin-top:43px!important;}
  .navbar .nav-item .btn-theme {
        margin-top: 20px;
        background-color: #502b5b;
        border: 2px solid #502b5b;
        color: #f5f1eb;
        border-radius: 25px;
  }
  .navbar .navbar-brand {
      max-width: 110px;
  }
  .navbar-dark .navbar-nav .nav-item {
      position: relative;
  }
  .navbar-dark .navbar-nav .nav-link {
      color: #555;
      font-size: 18px;
  }
  .navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
      color: #502b5b !important;
  }
  .navbar-nav .nav-item.dropdown.cdropdown {
      position: static;
  }
  .dropdown-menu.mega-dropdown {
      width: 100%;
      top: 98%;
      border-radius: 0px !important;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card {
      background: transparent;
      border: 0;
      border-radius: 50px;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card .card-body {
      padding: 0.5rem;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .list-icon{
    width: 45px;
    height: 45px;
    background: #eff2f5;
    color: #32404e;
    border-radius: 50%;
    font-size: 25px;
    text-align: center;
    line-height: 45px;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .list-name{
    color: #32404e;
    font-size: 14px;
    font-weight: 600;
    margin-left: .5rem !important;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card:hover .list-icon,
  .navbar-nav .mega-dropdown .mega-dropdown-list .card.active .list-icon{
    color: #502b5b!important;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card:hover .list-name,
  .navbar-nav .mega-dropdown .mega-dropdown-list .card.active .list-name{
    color: #e6d8f0!important;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card:hover,
  .navbar-nav .mega-dropdown .mega-dropdown-list .card.active{
    background: #502b5b;
  }
  .navbar-nav .mega-dropdown .mega-dropdown-list .card:hover .list-icon,
  .navbar-nav .mega-dropdown .mega-dropdown-list .card.active .list-icon{
    background: #fff;
  }
  @media (min-width: 768px) {
      .navbar-expand-md .navbar-nav .nav-link {
          padding-right: 0.8rem;
          padding-left: 0.8rem;
          line-height: 68px;
      }
      .navbar .dropdown-menu {
          left: 0;
          color: #502b5c;
          background-color: #e6d9f0;
      }
  }
  .btn-book{
    background: var(--plum);
    color: var(--white);
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
  }
  .btn-book:hover{ background: var(--plum-deep); color: var(--white); }

  .btn-outline-secondary{
    background: var(--white);
    color: var(--plum);
    border-color:1px solid var(--plum);
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
  }
  .btn-outline-secondary:hover{ background: var(--plum-deep); color: var(--white);border-color:1px solid var(--plum); }

  /* ---------- Hero ---------- */
  .hero{
    background: linear-gradient(180deg, var(--lilac-soft) 0%, var(--white) 78%);
    padding: 4.5rem 0 3.5rem;
    margin-top: 120px;
  }
  .credential-line{
    text-transform: none;
    color: var(--plum);
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: 0.9rem;
  }
  .hero h1{
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 1.1rem;
  }
  .hero p.lede{
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 46ch;
  }
  .hero-photo-wrap{
    position: relative;
  }
  .providerImage{
    width: 100%;
    background: var(--lilac);
    border: 1.5px dashed var(--plum);
    border-radius: 18px;
  }
  .hero-badge{
    position: absolute;
    bottom: -18px;
    left: 24px;
    background: var(--white);
    border: 1px solid var(--lilac);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    box-shadow: 0 10px 30px rgba(80,43,91,0.12);
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .hero-badge i{ color: var(--plum); font-size: 1.3rem; }
  .hero-badge .small-label{ font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #7a6a80; }
  .hero-badge .big-label{ font-weight: 700; color: var(--plum-deep); font-size: 0.95rem; }

  /* ---------- Section rhythm ---------- */
  section{ padding: 3.75rem 0; }
  .section-eyebrow{
    color: var(--plum);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }
  .section-title{
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    margin-bottom: 1.6rem;
  }
  .bg-lilac{ background: var(--lilac-soft); }

  /* ---------- Approach list ---------- */
  .approach-list{
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .approach-list li{
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--lilac);
  }
  .approach-list li:last-child{ border-bottom: none; }
  .approach-list i{
    color: var(--plum);
    font-size: 1.15rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
  }

  /* ---------- Conditions ---------- */
  .condition-card{
    background: var(--white);
    border: 1px solid var(--lilac);
    border-radius: 16px;
    padding: 1.6rem;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .condition-card:hover{
    border-color: var(--plum);
    box-shadow: 0 12px 28px rgba(80,43,91,0.10);
  }
  .condition-card .icon-wrap{
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--lilac);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding:7px;
  }
  .condition-card .icon-wrap i{
    color: var(--plum-deep);
    font-size: 1.3rem;
  }
  .condition-card h3{
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }
  .condition-card ul{
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.93rem;
    color: var(--ink-soft);
  }
  .condition-card ul li{ margin-bottom: 0.3rem; }

  /* ---------- Medication management ---------- */
  .med-panel{
    background: var(--plum);
    border-radius: 22px;
    padding: 2.6rem;
    color: var(--lilac-soft);
  }
  .med-panel h2{ color: var(--white); }
  .med-panel p{ color: var(--lilac); }
  .med-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.5rem;
  }
  .med-list li{
    display: flex;
    gap: 0.6rem;
    color: var(--white);
    font-size: 0.96rem;
  }
  .med-list i{ color: var(--lilac); margin-top: 0.2rem; }

  /* ---------- Telehealth ---------- */
  .tele-benefit{
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0;
  }
  .tele-benefit .num{
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--lilac);
    -webkit-text-stroke: 1.5px var(--plum);
    font-weight: 600;
    line-height: 1;
    width: 2.2rem;
  }

  /* ---------- States ---------- */
  .state-pill{
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--lilac);
    color: var(--plum-deep);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin: 0.25rem;
    min-width: 24%;
    justify-content: center;
  }
  .state-pill i{ color: var(--plum); font-size: 0.85rem; }

  /* ---------- Credentials ---------- */
  .credential-card{
    background: var(--white);
    border: 1px solid var(--lilac);
    border-radius: 20px;
    padding: 2rem;
  }
  .credential-item{
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--lilac-soft);
  }
  .credential-item:last-child{ border-bottom: none; }
  .credential-item i{ color: var(--plum); font-size: 1.2rem; margin-top: 0.15rem; }
  .credential-item .label{
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a7a90;
    margin-bottom: 0.1rem;
  }
  .credential-item .value{ font-weight: 600; color: var(--ink-soft); }

  /* ---------- Why choose ---------- */
  .why-photo .img-placeholder{ min-height: 300px; border-radius: 20px; }

  /* ---------- CTA ---------- */
  .cta-band{
    background: var(--plum-deep);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: var(--white);
    text-align: center;
  }
  .cta-band h2{ color: var(--white); }
  .cta-band p{ color: var(--lilac); }
  .btn-cta{
    background: var(--white);
    color: var(--plum-deep);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 2rem;
    border: none;
  }
  .btn-cta:hover{ background: var(--lilac); color: var(--plum-deep); }

  /* ---------- FAQ ---------- */
  .accordion-item{
    border: none;
    border-bottom: 1px solid var(--lilac);
    background: transparent;
  }
  .accordion-button{
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--plum-deep);
    background: transparent;
    padding: 1.15rem 0;
    box-shadow: none !important;
  }
  .accordion-button:not(.collapsed){
    color: var(--plum);
    background: transparent;
  }
  .accordion-button::after{
    filter: invert(19%) sepia(23%) saturate(1548%) hue-rotate(255deg) brightness(87%) contrast(90%);
  }
  .accordion-body{
    padding: 0 0 1.3rem;
    color: var(--ink-soft);
  }

  /* ---------- Footer ---------- */
  footer{
    background: var(--plum-deep);
    color: var(--lilac);
    padding: 2.5rem 0 1.5rem;
    font-size: 0.9rem;
  }
  footer a{ color: var(--white); text-decoration: none; }
  footer a:hover{ text-decoration: underline; }
  footer .brand{
    font-family: 'Fraunces', serif;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
  }
  footer .text-lpurple {
      color: #dd7ff8 !important;
  }
  footer .links ul li {
      margin-bottom: 1rem;
  }
  footer .credits {
      text-align: right;
  }
  .sticky-call {
      position: fixed;
      bottom: 50px;
      left: 10px;
  }
  .sticky-call a {
        background-color: #502b5b;
        color: #fff;
        width: 50px;
        display: block;
        height: 50px;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        font-size: 23px;
        box-shadow: 2px 2px 5px #353333;
        cursor: pointer;
    }
  .sticky-call.footer-active a {
      background-color: #fff;
      color: #502b5b;
      width: 50px;
      display: block;
      height: 50px;
      text-align: center;
      line-height: 50px;
      border-radius: 50%;
      font-size: 23px;
      box-shadow: 2px 2px 5px #353333;
      cursor: pointer;
  }
  .sticky-appointment {
      position: fixed;
      bottom: 40%;
      right: -49px;
  }
  .sticky-appointment a {
      background: #502b5c;
      color: #e5d9ef;
      padding: 5px 10px;
      border-top-left-radius: .5rem;
      border-top-right-radius: .5rem;
      transform: rotate(270deg);
      display: block;
      text-decoration: none;
      font-size: 12px;
      box-shadow: 2px 2px 5px #616161;
      border: 1px solid #e5d8ef;
  }
  #BookingForm button.close {
      position: absolute;
      top: 0;
      right: 0;
      background: #673ab8;
      opacity: 1;
      padding: 10px;
      border-bottom-left-radius: 1rem;
      border-top-right-radius: 15px;
  }
  .appointment_form {
      width: 100%;
      /*max-width: 1000px;*/
      min-height: 600px;
      display: flex;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      overflow: hidden;
  }
  .appointment_form .sidebar {
      width: 300px;
      background: #e7d7f0;
      padding: 40px 30px;
      position: relative;
  }
  .appointment_form .main-content {
      flex: 1;
      padding: 40px;
      background: white;
  }
  .appointment_form .progress-steps {
      display: flex;
      flex-direction: column;
      gap: 30px;
      margin-top: 60px;
  }
  .appointment_form .step-item {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 15px;
      border-radius: 12px;
      transition: all 0.3s ease;
      cursor: pointer;
  }
  .appointment_form .step-item.active {
      background: #d4bfdf;
  }
  .appointment_form .step-number {
      width: 35px;
      height: 35px;
      border-radius: 10px;
      background: #bdaac8;
      color: #502b5b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
  }
  .appointment_form .step-item.completed .step-number {
      background: #502b5b;
      color: white;
  }
  .appointment_form .step-text {
      font-weight: 500;
      color: #666;
  }
  .appointment_form .step-item.active .step-text {
      color: #502b5b;
      font-weight: 600;
  }
  .appointment_form .form-container {
      max-width: 500px;
      margin: 0 auto;
  }
  .appointment_form .form-step {
      display: none;
  }
  .appointment_form .form-step.active {
      display: block;
      animation: slideIn 0.4s ease;
  }
  @keyframes slideIn {
      from {
          opacity: 0;
          transform: translateX(20px);
      }
      to {
          opacity: 1;
          transform: translateX(0);
      }
  }
  .appointment_form .step-title {
      font-size: 28px;
      color: #2d3748;
      margin-bottom: 30px;
      font-weight: 600;
  }
  .appointment_form .form-group {
      margin-bottom: 15px;
  }
  .appointment_form .form-group label {
      display: block;
      margin-bottom: 0px;
      font-weight: 500;
      color: #4a5568;
      font-size: 15px;
  }
  .appointment_form .form-group input,
  .appointment_form .form-group select {
      width: 100%;
      padding: 14px;
      border: 2px solid #edf2f7;
      border-radius: 12px;
      font-size: 15px;
      transition: all 0.3s ease;
      background: #f8fafc;
  }
  .appointment_form .form-group input:focus,
  .appointment_form .form-group select:focus {
      border-color: #ffb6d3;
      background: white;
      outline: none;
  }
  .appointment_form .form-group input:hover,
  .appointment_form .form-group select:hover {
      border-color: #d5bfdf;
  }
  .appointment_form .buttons {
      display: flex;
      justify-content: flex-end;
      gap: 15px;
      margin-top: 15px;
  }
  .appointment_form button {
      padding: 14px 28px;
      border: none;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  .appointment_form button.prev {
      background: #f7fafc;
      color: #4a5568;
  }
  .appointment_form button.next,
  .appointment_form button.submit {
      background: #e7d7f0;
      color: #502b5b;
  }
  .appointment_form button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  .appointment_form button.prev:hover {
      background: #edf2f7;
  }
  .appointment_form button.next:hover,
  .appointment_form button.submit:hover {
      background: #bdaac8;
  }
  .appointment_form .success-message {
      display: none;
      text-align: center;
      padding: 100px 40px;
  }
  .appointment_form .success-message.active {
      display: block;
      animation: fadeIn 0.6s ease;
  }
  .appointment_form .success-message h2 {
      color: #502b5b;
      font-size: 32px;
      margin-bottom: 20px;
  }
  .appointment_form .success-message p {
      color: #666;
      line-height: 1.7;
      font-size: 16px;
  }
  .appointment_form .form-header {
      margin-bottom: 40px;
  }
  .appointment_form .form-header .h1 {
      font-size: 24px;
      color: #2d3748;
      margin-bottom: 10px;
  }
  .appointment_form .form-header p {
      color: #718096;
      line-height: 1.6;
  }
  .appointment_form .error {
      border-color: #ffb6c1 !important;
      background: #fff5f5 !important;
  }
  .appointment_form .error-message {
      color: #f44336;
      font-size: 13px;
      margin-top: 5px;
      display: none;
  }
  .appointment_form .error + .error-message {
      display: block;
  }
  .appointment_form .form-group input:focus::placeholder {
      color: #a0aec0;
  }
  .appointment_form .step-description {
      color: #718096;
      font-size: 14px;
      margin-top: 5px;
  }
  .appointment_form .custom-control-input:checked~.custom-control-label::before {
      color: #fff;
      border-color: #502b5b;
      background-color: #502b5b;
  }
  @media (max-width: 767.98px){
    .med-list{ grid-template-columns: 1fr; }
    .hero-badge{ position: static; margin-top: 1rem; display: inline-flex; }
  }