@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&display=swap');

/* Golden Brand Lockup (NABIOTA HEALTH GROUP GERMANY) */
.brand-text-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  justify-content: center;
  direction: ltr;
  text-align: left;
}
.brand-title-gold {
  font-family: 'Cinzel', 'Playfair Display', 'Times New Roman', Georgia, serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1.8px;
  background: linear-gradient(135deg, #fff3b3 0%, #e8c170 30%, #c69c3a 60%, #f7e68a 85%, #b88d28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e8c170;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  white-space: nowrap;
}
.brand-sub-gold {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff3b3 0%, #e8c170 45%, #c69c3a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c69c3a;
  white-space: nowrap;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .brand-title-gold {
    font-size: 1.45rem !important;
    letter-spacing: 1.2px !important;
    white-space: nowrap !important;
  }
  .brand-sub-gold {
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
    white-space: nowrap !important;
  }
  .footer-brand .brand-title-gold {
    font-size: 1.65rem !important;
    letter-spacing: 1.5px !important;
  }
  .footer-brand .brand-sub-gold {
    font-size: 0.78rem !important;
    letter-spacing: 0.18em !important;
  }
}
@media (max-width: 480px) {
  .navbar a img {
    height: 48px !important;
  }
  .brand-title-gold {
    font-size: 1.35rem !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
  }
  .brand-sub-gold {
    font-size: 0.65rem !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap !important;
  }
  .footer-brand .brand-title-gold {
    font-size: 1.5rem !important;
    letter-spacing: 1.2px !important;
  }
  .footer-brand .brand-sub-gold {
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
  }
}
@media (max-width: 380px) {
  .navbar a img {
    height: 44px !important;
  }
  .brand-title-gold {
    font-size: 1.22rem !important;
    letter-spacing: 0.8px !important;
    white-space: nowrap !important;
  }
  .brand-sub-gold {
    font-size: 0.58rem !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
  }
  .footer-brand .brand-title-gold {
    font-size: 1.38rem !important;
  }
  .footer-brand .brand-sub-gold {
    font-size: 0.66rem !important;
  }
}

:root {
      --primary: #1cc2b2;
  --primary-dark: #128277;
      --primary-hover: #17a99b;
      --bg-dark: #0f1618;
      --bg-light: #f8fafc;
      --text-dark: #1e293b;
      --text-light: #64748b;
      --white: #ffffff;
      --radius-xl: 40px;
      --radius-lg: 24px;
      --radius-md: 16px;
      --radius-sm: 8px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--white);
      color: var(--text-dark);
      padding: 0;
      overflow-wrap: break-word;
      word-wrap: break-word;
      hyphens: auto;
      overflow-x: hidden;
    }

    html { overflow-x: hidden; }

    h1, h2, h3, h4, h5, h6 {
      overflow-wrap: break-word;
      word-wrap: break-word;
      hyphens: auto;
    }

    .container {
      max-width: 1440px;
      margin: 0 auto;
      padding-left: 40px;
      padding-right: 40px;
      box-sizing: border-box;
      width: 100%;
    }

    .page-wrapper {
      background: var(--white);
      width: 100%;
      margin: 0;
      overflow-x: hidden;
    }

    /* Animation Classes */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* Hero content must be immediately visible for LCP metric */
    .hero-main {
      opacity: 1 !important;
      transform: none !important;
      visibility: visible !important;
    }

    /* Hero Section */
    .hero-container {
      width: 100%;
    }
    .hero-inner {
      position: relative;
      background-color: #091f22;
      background-size: cover;
      background-position: center 20%;
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      color: white;
      padding: 32px 0 120px 0;
      width: 100%;
    }
    @media (max-width: 768px) {
      .hero-inner { padding: 110px 0 50px 0; }
    }

    /* Navigation */
    .navbar {
      display: flex;
      gap: clamp(8px, 1vw, 16px);
      justify-content: space-between;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 22px max(24px, calc(50vw - 720px));
      z-index: 1000;
      background: transparent;
      color: white;
      transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
      box-sizing: border-box;
      border-bottom: 1px solid transparent;
    }
    .navbar.scrolled {
      padding: 16px max(24px, calc(50vw - 720px));
      background: rgba(9, 31, 34, 0.96) !important;
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(28, 194, 178, 0.2) !important;
      box-shadow: 0 4px 28px rgba(0, 0, 0, 0.25) !important;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo {
      font-weight: 800;
      flex-shrink: 0;
      white-space: nowrap;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      gap: 12px;
      letter-spacing: 1px;
    }
    .logo-icon {
      width: 24px; height: 24px;
      background: white; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--bg-dark); font-size: 14px;
    }
    .nav-links {
      display: flex;
      gap: clamp(4px, 0.8vw, 14px);
      font-size: clamp(0.91rem, 0.95vw, 0.96rem);
      font-weight: 600;
      align-items: center;
    }
    .nav-links a {
      color: rgba(255, 255, 255, 0.92);
      text-decoration: none;
      transition: all 0.25s ease;
      white-space: nowrap;
      padding: 7px clamp(6px, 0.65vw, 11px);
      border-radius: 99px;
      font-weight: 600;
    }
    .nav-links a:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.15);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: clamp(8px, 0.9vw, 14px);
      flex-shrink: 0;
    }
    .navbar > .lang-switcher {
      margin-left: auto;
    }
    .btn-book {
      background: linear-gradient(135deg, #1cc2b2 0%, #128277 100%);
      flex-shrink: 0;
      white-space: nowrap;
      color: #fff !important;
      padding: 10px clamp(13px, 1.1vw, 20px);
      border-radius: 99px;
      font-weight: 700;
      font-size: 0.92rem;
      text-decoration: none !important;
      transition: all 0.25s ease;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .btn-book svg,
    .btn-book .btn-arrow,
    .btn-book > span:last-child:not(:first-child) {
      display: inline-block;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .btn-book:hover {
      background: linear-gradient(135deg, #128277 0%, #0d5d55 100%);
      transform: none;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
      text-decoration: none !important;
    }
    .btn-book:hover svg,
    .btn-book:hover .btn-arrow,
    .btn-book:hover > span:last-child:not(:first-child) {
      transform: translateX(4px);
    }
    .btn-download { display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; }
    .btn-download:hover { background: var(--primary-hover); transform: none; }
    .btn-download:active { transform: translateY(2px) scale(0.97); }

    /* Hero Content */
    .hero-main { max-width: 850px; margin-top: clamp(200px, 24vh, 250px); }
    .tag-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 8px 16px;
      border-radius: 99px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      margin-bottom: 32px;
    }
    .tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
    .hero-title {
      font-size: 5rem;
      font-weight: 800;
      line-height: 1.05;
      margin-bottom: 24px;
      letter-spacing: -1px;
    }
    .hero-title span { color: var(--primary); }
    .hero-desc {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.7);
      line-height: 1.6;
      margin-bottom: 48px;
      max-width: 650px;
    }
    .hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
    .btn-primary {
      background: var(--primary);
      color: #081a2c;
      padding: 16px 32px;
      border-radius: 99px;
      font-weight: 700;
      font-family: inherit;
      text-decoration: none !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 10px;
      line-height: 1.2;
      transition: 0.25s ease;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    }
    .btn-primary svg,
    .btn-primary .btn-arrow,
    .btn-primary > span:last-child:not(:first-child) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .btn-primary:hover {
      background: #128277;
      color: #ffffff;
      transform: none;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
      text-decoration: none !important;
    }
    .btn-primary:hover svg,
    .btn-primary:hover .btn-arrow,
    .btn-primary:hover > span:last-child:not(:first-child) {
      transform: translateX(5px);
    }
    .phone-link { color: white; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
    
    .btn-outline {
      background: transparent;
      color: white;
      padding: 16px 32px;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 99px;
      font-weight: 600;
      font-family: inherit;
      text-decoration: none !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 10px;
      line-height: 1.2;
      transition: 0.3s;
    }
    .btn-outline svg,
    .btn-outline .btn-arrow,
    .btn-outline > span:last-child:not(:first-child) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: white; }
    .btn-outline:hover svg,
    .btn-outline:hover .btn-arrow,
    .btn-outline:hover > span:last-child:not(:first-child) {
      transform: translateX(5px);
    }
    
    .hero-overline, .trusted-overline {
      text-transform: uppercase;
      letter-spacing: 2px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .hero-overline { color: var(--primary); }
    .trusted-overline { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
    
    .trusted-expertise { margin-top: 60px; }
    .trusted-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
    .trusted-stat { display: flex; align-items: center; gap: 16px; }
    .trusted-stat-icon { color: var(--primary); display: flex; align-items: center; justify-content: center; }
    .trusted-stat-text { display: flex; flex-direction: column; }
    .trusted-stat-number { font-size: 2rem; font-weight: 800; line-height: 1.1; color: white; }
    .trusted-stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
    .trusted-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

    .hero-services { margin-top: 80px; display: flex; gap: 12px; flex-wrap: wrap; }
    .service-pill {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 12px 24px;
      border-radius: 99px;
      
      backdrop-filter: blur(5px);
      cursor: pointer;
      transition: 0.3s;
    }
    .service-pill:hover { background: var(--primary); border-color: var(--primary); }

    /* Hero Bottom Steps */
    .hero-steps {
      display: flex;
      padding: 40px 0;
      border-bottom: 1px solid #f1f5f9;
      gap: 40px;
    }
    .step-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
      color: var(--text-light);
      font-weight: 600;
      font-size: 0.9rem;
    }
    .step-item.active { color: var(--primary-dark); font-weight: 700; }
    .step-line { height: 3px; background: #f1f5f9; width: 100%; border-radius: 3px; }
    .step-item.active .step-line { background: var(--primary-dark); }

    /* Section Global */
    .section-wrapper {
      width: 100%;
    }
    .section {
      padding-top: 100px;
      padding-bottom: 100px;
    }
    .section-tag {
      color: var(--primary);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    /* Feature Treatment Section */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: -30px;
      margin-bottom: 32px;
    }
    .section-title { font-size: 3.5rem; font-weight: 800; max-width: 600px; line-height: 1.1; letter-spacing: -1px; }
    .btn-dark {
      background: var(--bg-dark); color: white; padding: 16px 32px; border-radius: 99px;
      font-weight: 600; font-size: 0.95rem; text-decoration: none !important; transition: 0.3s; display: inline-flex; gap: 10px; align-items: center; justify-content: center;
      flex-shrink: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }
    .btn-dark svg,
    .btn-dark .btn-arrow,
    .btn-dark > span:last-child:not(:first-child) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .btn-dark:hover {
      background: var(--primary);
      color: #081a2c;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
      transform: none;
      text-decoration: none !important;
    }
    .btn-dark:hover svg,
    .btn-dark:hover .btn-arrow,
    .btn-dark:hover > span:last-child:not(:first-child) {
      transform: translateX(5px);
    }
    
    .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .service-card {
      background: white; border-radius: var(--radius-lg); padding: 24px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; transition: 0.3s;
    }
    .service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
    .service-img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 24px; }
    .service-price { color: var(--primary); font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
    .service-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 16px; }
    .service-desc { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
    .service-link {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.92rem;
      text-decoration: none !important;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.25s ease;
    }
    .service-link svg,
    .service-link .btn-arrow,
    .service-link > span:last-child:not(:first-child) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .service-link:hover {
      color: var(--primary-dark);
      text-decoration: none !important;
    }
    .service-link:hover svg,
    .service-link:hover .btn-arrow,
    .service-link:hover > span:last-child:not(:first-child) {
      transform: translateX(5px);
    }

    /* About Us Section */
    .about-section { padding-top: 40px; padding-bottom: 120px; position: relative; }
    .about-title { font-size: 3.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 80px; max-width: 900px; letter-spacing: -0.5px; }
    .about-title span { color: var(--primary); }
    .about-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
    .about-stats { display: flex; gap: 80px; align-items: center; }
    .stat-item { display: flex; flex-direction: column; gap: 8px; }
    .stat-value { font-size: 3rem; font-weight: 800; display: flex; align-items: center; gap: 4px; }
    .stat-value.star { color: var(--text-dark); }
    .stat-value .icon { color: var(--primary); font-size: 2rem; }
    .stat-label { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
    
    .doctor-profile { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
    .doc-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
    .doc-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
    .doc-info p {  color: var(--text-light); }
    
    .about-img-small { width: 300px; height: 200px; object-fit: cover; border-radius: var(--radius-lg); margin-top: -100px; }

    /* How It Works Section */
    .how-it-works-wrapper { 
      background: var(--bg-dark); 
      width: 100%;
    }
    .how-it-works {
      color: white; 
      padding-top: 80px; padding-bottom: 90px;
      text-align: center;
    }
    .how-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 0; letter-spacing: -1px; }
    .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
    .step-card {
      background: rgba(255,255,255,0.02); border-radius: var(--radius-lg); padding: 32px 24px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
    }
    .step-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-8px); }
    .step-num { font-size: 2rem; font-weight: 300; color: rgba(255,255,255,0.1); margin-bottom: 32px; font-family: serif; }
    .step-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 32px; }
    .step-card-title { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
    .step-icon {
      width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
      display: flex; align-items: center; justify-content: center;  color: var(--bg-dark); font-weight: 800;
    }
    .step-card-desc { color: rgba(255,255,255,0.5); font-size: 0.95rem; line-height: 1.6; }

    
.burger-menu {
  display: none !important;
}

@media (max-width: 1080px) {
  .nav-links, .btn-book.hidden-mobile { display: none !important; }
  .burger-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0 !important;
    margin: 0;
    border: none;
    outline: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    line-height: 0;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .burger-menu:hover,
  .burger-menu:focus-visible {
    background: rgba(255, 255, 255, 0.18);
  }
  .burger-menu svg {
    display: block;
    margin: 0;
    padding: 0;
    pointer-events: none;
    flex-shrink: 0;
  }
  .burger-menu .burger-icon {
    display: block;
  }
  .burger-menu .close-icon {
    display: none;
  }
  .burger-menu.open .burger-icon {
    display: none !important;
  }
  .burger-menu.open .close-icon {
    display: block !important;
  }
      .mobile-menu {
        display: none; /* toggled via js */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(9, 31, 34, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; height: 100dvh; min-height: 100%; bottom: 0;
        padding: 60px 24px 60px 24px;
        z-index: 99;
      }
      .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
      }
      .mobile-menu a:last-child { border-bottom: none; }
      .navbar { padding: 16px 20px !important; }
      .logo { max-width: 220px; line-height: 1.1; white-space: normal; }
    }

    @media (max-width: 768px) {
      .container { padding-left: 16px !important; padding-right: 16px !important; }
      .logo { font-size: 1.1rem; }
      .hero-inner { padding-top: 110px !important; padding-bottom: 40px !important; background-position: 25% 20% !important; min-height: 100vh !important; min-height: 100svh !important; justify-content: flex-start; }
      .section-title { font-size: min(2.5rem, 8vw) !important; word-break: break-word; }
      .hero-main { margin-top: 48px !important; }
      .hero-overline, .trusted-overline { font-size: 0.75rem !important; }
      .hero-inner .hero-title { font-size: min(2.25rem, 9vw) !important; word-break: break-word; hyphens: auto; line-height: 1.1; margin-bottom: 8px; }
      .hero-inner-sub .hero-title { font-size: min(2.5rem, 10vw) !important; word-break: break-word; hyphens: auto; line-height: 1.1; margin-bottom: 12px; }
      .hero-desc { font-size: 0.85rem !important; margin-bottom: 16px !important; line-height: 1.4; }
      .hero-actions { flex-direction: column; align-items: stretch !important; gap: 12px !important; margin-top: 16px !important; }
      .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; padding: 14px; font-size: 1.05rem !important; }
      .hero-actions .phone-link { width: 100%; text-align: center; font-size: 1.1rem !important; }
      .trusted-stats { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between; gap: 12px !important; width: 100%; }
      .trusted-stat { gap: 8px !important; }
      .trusted-stat-icon svg { width: 22px; height: 22px; }
      .trusted-stat-number { font-size: 1.25rem !important; }
      .trusted-stat-label { display: none !important; }
      .trusted-divider { height: 24px !important; display: block !important; margin: 0 4px; }
      .hero-services { margin-top: 16px !important; gap: 6px !important; justify-content: flex-start; }
      .service-pill { padding: 6px 12px !important; font-size: 0.85rem !important; }
      .hero-steps { flex-direction: column; }
      .section { padding-top: 60px; padding-bottom: 0; }
      .section-header { flex-direction: column; align-items: flex-start; gap: 24px; }
      .services-grid { grid-template-columns: 1fr !important; }
      .about-stats { flex-direction: column; align-items: flex-start; gap: 32px; }
      .about-bottom { flex-direction: column; align-items: flex-start; gap: 40px; }
      .about-img-small { margin-top: 0; width: 100%; }
      .about-stats-row { flex-wrap: nowrap !important; gap: 8px !important; justify-content: space-between !important; width: 100%; margin-bottom: 32px !important; }
      .about-stats-row .stat-value { font-size: 1.8rem !important; }
      .about-stats-row .stat-value span { font-size: 1.1rem !important; margin-left: 2px !important; }
      .about-stats-row .stat-label { font-size: 0.75rem !important; line-height: 1.2; }
      .about-praxis-img { width: 100% !important; height: 240px !important; margin-top: 32px !important; margin-bottom: 32px !important; }
      .steps-grid { grid-template-columns: 1fr !important; }
      .team-grid { grid-template-columns: 1fr !important; }
      .how-it-works { padding-top: 60px; padding-bottom: 60px; }
      .how-it-works form { margin-bottom: 0 !important; }
      
      .service-card, .treatment-card, .step-card, .process-timeline, .contact-card, .testimonial-card, .service-card-new { padding: 20px !important; }
      .cta-card { padding: 40px 20px !important; }
      
      .btn-dark, .btn-primary, .btn-white, .btn-outline-white { width: 100% !important; display: block !important; text-align: center !important; box-sizing: border-box; }
      .contact-grid, .services-grid, .steps-grid, .treatment-grid, .team-grid { gap: 12px !important; }
      .hero-inner-sub { padding-bottom: 32px !important; }
      .hero-bottom-bar { position: static !important; margin-top: 32px !important; margin-bottom: -80px !important; }
      .hero-bottom-grid { grid-template-columns: 1fr !important; gap: 16px !important; padding: 24px 16px !important; }
    } /* Closing the max-width: 768px media query */

    /* General Helpers */
    .bg-dark-section { background-color: var(--bg-dark); }
    .pb-40 { padding-bottom: 40px; }
    .text-center { text-align: center; }

    /* Testimonials */
    .testimonials-section { background-color: white; }
    .testimonials-section .section-title { color: var(--text-dark); }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
    .testimonial-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; display: flex; flex-direction: column; }
    .rating-summary { font-size: 0.95rem; font-weight: 500; color: var(--text-light); margin-bottom: 0; }
    .stars { color: #fbbf24; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 16px; display: block; }
    .testimonial-text { font-size: 1.05rem; line-height: 1.7; color: var(--text-dark); margin-bottom: 32px; font-style: italic; flex-grow: 1; }
    .testimonial-author { display: flex; align-items: center; gap: 16px; }
    .author-avatar { width: 40px; height: 40px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-dark); }
    .author-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }

    /* FAQ */
    .faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
    .faq-question { font-size: 1.15rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: rgba(255,255,255,0.9); }
    .faq-icon { color: var(--primary); font-size: 1.2rem; font-weight: 800; }
    .faq-answer { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-top: 16px; display: block; }
    .faq-item:not(:first-child) .faq-answer { display: none; }

    /* CTA Card */
    .cta-card { background: var(--primary); border-radius: var(--radius-xl); padding: 80px 40px; text-align: center; color: white; margin-bottom: 40px; position: relative; z-index: 10; box-shadow: 0 10px 40px rgba(28, 194, 178, 0.2); }
    .cta-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
    .cta-highlight { background: #082531; color: white; padding: 4px 16px; border-radius: 12px; display: inline-block; margin-top: 8px; }
    .cta-desc { font-size: 1.15rem; max-width: 600px; margin: 0 auto 40px; line-height: 1.6; color: rgba(255,255,255,0.9); }
    .cta-actions { display: flex; justify-content: center; gap: 24px; margin-bottom: 40px; }
    .btn-white {
      background: white;
      color: #0d4d46;
      padding: 16px 34px;
      border-radius: 99px;
      font-weight: 700;
      text-decoration: none !important;
      transition: 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }
    .btn-white svg,
    .btn-white .btn-arrow,
    .btn-white > span:last-child:not(:first-child) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    .btn-white:hover {
      background: #f0fdfa;
      color: #082d29;
      transform: none;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
      text-decoration: none !important;
    }
    .btn-white:hover svg,
    .btn-white:hover .btn-arrow,
    .btn-white:hover > span:last-child:not(:first-child) {
      transform: translateX(5px);
    }
    .btn-outline-white {
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.4);
      color: white;
      padding: 14px 34px;
      border-radius: 99px;
      font-weight: 700;
      text-decoration: none !important;
      transition: 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-outline-white:hover {
      border-color: white;
      background: rgba(255, 255, 255, 0.12);
      transform: none;
      text-decoration: none !important;
    }
    .cta-benefits { display: flex; justify-content: center; gap: 32px; font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.9); }

    /* Footer */
    .footer-wrapper { background: var(--bg-dark); color: white; padding: 80px 0 40px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo { margin-bottom: 24px; }
    .footer-phone { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
    .footer-email { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: 0.3s; display: inline-block; }
    .footer-email:hover { color: white; }
    .footer-heading {  font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 1.5px; margin-bottom: 24px; margin-top: 0; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a, .footer-links p { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.95rem; transition: 0.3s; margin: 0; }
    .footer-links a:hover { color: white; }

    /* Additional Responsive Updates */
    @media (max-width: 1024px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .testimonials-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
      .cta-title { font-size: 2.5rem; }
      .cta-actions { flex-direction: column; }
      .cta-benefits { flex-direction: column; gap: 16px; align-items: center; }
      .footer-grid { grid-template-columns: 1fr !important; gap: 40px; }
    }

/* Treatment Page New Styles */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.treatment-card {
  display: flex;
  gap: 24px;
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.treatment-icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
}
.treatment-content {
  display: flex;
  flex-direction: column;
}
.treatment-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.treatment-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.treatment-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.treatment-link:hover {
  opacity: 0.8;
}

/* Treatment Process Section */
.treatment-process-section {
  display: flex;
  gap: 40px;
  margin-top: 80px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.process-timeline {
  flex: 1;
  min-width: 0;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.process-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.process-step {
  flex: 1;
  min-width: 150px;
}
.step-icon {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  
  margin-bottom: 16px;
}
.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}
.process-arrow {
  color: rgba(0,0,0,0.2);
  margin-top: 8px;
  font-size: 1.25rem;
}
.process-cta {
  width: 300px;
  background: var(--primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.btn-white-full {
  background: white;
  color: var(--primary);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}
.btn-white-full:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}
@media (max-width: 992px) {
  .treatment-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 24px; }
  .process-arrow { display: none; }
  .process-cta { width: 100%; }
}

/* --- Redesign Components --- */

/* Hero Redesigns */
.hero-split {
  background-color: var(--bg-dark);
  padding: 140px 0 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-split-text {
  flex: 1;
  max-width: 600px;
}
.hero-split-image {
  flex: 1;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-inner-sub {
  position: relative;
  min-height: 560px !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  color: white !important;
  background-size: cover !important;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-inner-sub {
    min-height: 500px !important;
    padding-bottom: 32px !important;
  }
  .hero-inner-sub .container { display: flex; flex-direction: column; flex-grow: 1; }
  .hero-inner-sub .container > div:last-child { margin-top: auto !important; width: 100%; padding-bottom: 0 !important; }
  .hero-inner-sub > .container:nth-of-type(2) {
    margin-top: 0 !important;
  }
}

.hero-bottom-bar {
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0 !important;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(28, 194, 178, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-right: 16px;
}
.hero-feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: white;
}
.hero-feature-desc {
  
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Feature Rows (4 cols) */
.feature-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon-light {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}
.feature-title-light {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.feature-desc-light {
  
  color: var(--text-light);
  line-height: 1.4;
}

/* Team Card */

/* Team Slider (Splide) */
.team-card-new {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid #f1f5f9;
  height: 100%;
}




.team-img-new {
  justify-content: center;
}
.cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.btn-white-full {
  background: white;
  color: var(--primary);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}
.btn-white-full:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}
@media (max-width: 992px) {
  .treatment-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 24px; }
  .process-arrow { display: none; }
  .process-cta { width: 100%; }
}

/* --- Redesign Components --- */

/* Hero Redesigns */
.hero-split {
  background-color: var(--bg-dark);
  padding: 140px 0 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-split-text {
  flex: 1;
  max-width: 600px;
}
.hero-split-image {
  flex: 1;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-inner-sub {
  position: relative;
  min-height: 560px !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  color: white !important;
  background-size: cover !important;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-inner-sub {
    min-height: 500px !important;
    padding-bottom: 32px !important;
  }
  .hero-inner-sub .container { display: flex; flex-direction: column; flex-grow: 1; }
  .hero-inner-sub .container > div:last-child { margin-top: auto !important; width: 100%; padding-bottom: 0 !important; }
  .hero-inner-sub > .container:nth-of-type(2) {
    margin-top: 0 !important;
  }
}

.hero-bottom-bar {
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0 !important;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(28, 194, 178, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-right: 16px;
}
.hero-feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: white;
}
.hero-feature-desc {
  
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Feature Rows (4 cols) */
.feature-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon-light {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}
.feature-title-light {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.feature-desc-light {
  
  color: var(--text-light);
  line-height: 1.4;
}

/* Team Card */

/* Team Slider (Splide) */
.team-card-new {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid #f1f5f9;
  height: 100%;
}




.team-img-new {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 12%;
}
  .team-info-new {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
.team-name-new {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.team-role-pill {
  display: inline-block;
  background: rgba(28, 194, 178, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.team-desc-new {
  
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.team-social {
  color: var(--text-light);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  margin-top: auto;
}
.team-social:hover {
  color: #0a66c2; /* linkedin blue */
}

/* CTA Block */
.cta-block {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: left;
  gap: 40px;
  margin-top: 60px;
}
.cta-text-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.cta-block .cta-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cta-block .cta-title {
  font-weight: 700;
  font-size: 1.6rem !important;
  line-height: 1.3;
  margin-bottom: 4px;
}
.cta-block .cta-desc {
  color: var(--text-light);
  font-size: 1.05rem !important;
  line-height: 1.4;
  margin-bottom: 0 !important;
}

/* Services Grid 2 Col */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card-new {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.service-icon-new {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.service-title-new {
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-desc-new {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hero-split .container { flex-direction: column; }
  .feature-row-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-bottom-grid { grid-template-columns: repeat(1, 1fr); }
  .cta-block {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px 20px;
  }
  .cta-text-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-row-4, .services-grid-new { grid-template-columns: 1fr; }
  .services-grid-new { max-width: 100%; }
  .service-card-new { min-width: 0; word-break: break-word; }
  div[style*="min-width: 300px"] { min-width: 100% !important; }
}

/* --- Contact Page Styles --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

/* Opening Hours */
.hours-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}
.hours-day {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-dark);
}
.hours-day svg {
  color: var(--primary);
}
.hours-time {
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: right;
}

/* Appointment CTA Box */
.appointment-box {
  background: rgba(28, 194, 178, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
}
.appointment-icon-wrapper {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.appointment-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.appointment-text p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Contact Info Cards */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(28, 194, 178, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-content h4 {
  
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info-content p {
  font-weight: 700;
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: white;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Press Page Styles --- */
.press-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.press-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.press-card-horizontal {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 160px;
  height: 100%;
}
.press-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.press-card-img-wrapper {
  width: 120px;
  flex-shrink: 0;
  background: var(--bg-light);
}
.press-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.press-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.press-card-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.press-card-source {
  font-weight: 700;
}
.press-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.press-card-desc {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .press-grid-horizontal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .press-grid-horizontal { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .appointment-box { flex-direction: column; text-align: center; align-items: center; }
}


/* CTA Banner Fixes */
.cta-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}
.cta-highlight {
  display: inline-block;
  background: #091f22;
  color: white;
  padding: 8px 24px;
  border-radius: 99px;
  margin-top: 16px;
}
.cta-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 16px auto 32px;
  max-width: 600px;
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 992px) {
  .feature-row-4 { grid-template-columns: 1fr 1fr; }
  
  .steps-grid { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; padding-bottom: 32px !important; }
  .about-stats-container { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .feature-row-4 { grid-template-columns: 1fr; }
  
  .hero-services { justify-content: center; }
  .cta-title { font-size: 2rem !important; }
  .process-steps { flex-direction: column; align-items: flex-start; }
  .process-arrow { display: none; }
}


/* Extra Comprehensive Mobile Fixes */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: 1fr !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  
  .about-title { font-size: 2.2rem !important; }
  .stat-item .stat-value { font-size: 2.5rem !important; }
  
  .custom-progress-bar { 
    overflow-x: auto; 
    white-space: nowrap; 
    padding-bottom: 12px;
    justify-content: flex-start !important;
    padding-left: 24px;
    padding-right: 24px;
  }
  .step-item { flex: 0 0 auto; margin-right: 16px; }
}

@media (max-width: 768px) {
  /* Fix huge text overflowing */
  .section-title { font-size: 2rem !important; word-wrap: break-word; hyphens: auto; }
  
  /* Fix hero services pills */
  .hero-services { 
    flex-wrap: wrap !important; 
    gap: 8px; 
    justify-content: flex-start; 
  }
  
  /* Feature items */
  .feature-item { align-items: flex-start; }
    /* CTA Banner text */
    .cta-title { font-size: 1.8rem !important; word-wrap: break-word; }
    
    /* Mobile Header Fixes */
    .navbar > a > span { display: none !important; }
    
    /* Contact Form Fixes */
    .contact-form { padding: 0 !important; }
    .contact-form-container { padding: 24px 16px !important; }
    .form-input, .form-textarea { padding: 12px 16px !important; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem !important; }
  .hero-desc { font-size: 1rem !important; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions a { width: 100%; text-align: center; }
  
  .about-title { font-size: 1.8rem !important; }
}

/* Language Switcher */
.lang-switcher { position: relative; display: inline-block; margin-left: 16px; }
.lang-switcher::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-current {
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  background: rgba(9, 31, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lang-current:hover {
  background: rgba(9, 31, 34, 0.98);
  border-color: rgba(28, 194, 178, 0.6);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: rgba(9, 31, 34, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4) !important;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
  padding: 6px;
  gap: 2px;
}
.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.lang-switcher:hover .lang-dropdown {
  display: flex;
}
.lang-dropdown a {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.90rem;
  border-radius: 8px;
  transition: all 0.15s ease;
  border-bottom: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lang-dropdown a:last-child {
  border-bottom: none !important;
}
.lang-dropdown a:hover {
  background: rgba(28, 194, 178, 0.15) !important;
  color: var(--primary) !important;
  padding-left: 14px;
}
.lang-dropdown a .lang-code {
  font-size: 0.78rem;
  opacity: 0.65;
  font-weight: 500;
}

/* Mobile Language Switcher */
.mobile-lang-switcher { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.mobile-lang-switcher a { padding: 8px 16px !important; background: rgba(255,255,255,0.1); border-radius: 99px; border: none !important; font-size: 0.9rem !important; display: inline-block; }
.mobile-lang-switcher a.active { background: var(--primary); color: white !important; }

/* RTL Support */
[dir="rtl"] .hero-inner, [dir="rtl"] .hero-inner-sub { background-position: right center !important; }
[dir="rtl"] .navbar { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 16px; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-feature-icon { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .btn-primary:hover svg,
[dir="rtl"] .btn-primary:hover .btn-arrow,
[dir="rtl"] .btn-primary:hover > span:last-child:not(:first-child),
[dir="rtl"] .btn-outline:hover svg,
[dir="rtl"] .btn-outline:hover .btn-arrow,
[dir="rtl"] .btn-outline:hover > span:last-child:not(:first-child),
[dir="rtl"] .btn-dark:hover svg,
[dir="rtl"] .btn-dark:hover .btn-arrow,
[dir="rtl"] .btn-dark:hover > span:last-child:not(:first-child),
[dir="rtl"] .btn-white:hover svg,
[dir="rtl"] .btn-white:hover .btn-arrow,
[dir="rtl"] .btn-white:hover > span:last-child:not(:first-child),
[dir="rtl"] .service-link:hover svg,
[dir="rtl"] .service-link:hover .btn-arrow,
[dir="rtl"] .service-link:hover > span:last-child:not(:first-child),
[dir="rtl"] .btn-book:hover .btn-arrow {
  transform: translateX(-5px);
}
[dir="rtl"] .expertise-arrow-btn svg {
  transform: rotate(180deg);
}



@media (max-width: 1080px) {

  .lang-switcher.hidden-mobile, .lang-switcher { display: none !important; }
}

/* Added for praxis-schwerpunkte */
.hero-title-sub {
  font-size: 3.5rem !important;
}
@media (max-width: 1200px) {
  .hero-title-sub {
    font-size: 2.8rem !important;
  }
}
@media (max-width: 768px) {
  .hero-title-sub {
    font-size: 2.2rem !important;
  }
}

.hero-bottom-grid.container {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Floating Doctolib Widget */
@keyframes doctolib-bounce {
  0%, 100% { transform: translateY(0); }
  5% { transform: translateY(-12px); }
  10% { transform: translateY(0); }
  15% { transform: translateY(-6px); }
  20% { transform: translateY(0); }
}

.floating-doctolib {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: rgba(9, 31, 34, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  padding: 24px;
  width: 340px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(28, 194, 178, 0.5);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: doctolib-bounce 7s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}
.floating-doctolib:hover {
  animation: none;
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(28, 194, 178, 0.2);
}
.fd-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fd-icon {
  background: rgba(28, 194, 178, 0.1);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(28, 194, 178, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fd-icon svg {
  width: 24px;
  height: 24px;
}
.fd-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
}
[dir="rtl"] .fd-text {
  padding-right: 0;
  padding-left: 16px;
}
.fd-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.fd-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  font-weight: 400;
}
.fd-btn {
  background: var(--primary);
  color: var(--bg-dark);
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fd-btn:hover {
  background: #fff;
  color: var(--bg-dark);
}
.fd-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}
.fd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.fd-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.fd-secure svg {
  color: var(--primary);
  width: 14px;
  height: 14px;
}
[dir="rtl"] .floating-doctolib {
  right: auto;
  left: 30px;
}

@media (max-width: 768px) {
  .floating-doctolib {
    right: 20px;
    bottom: 20px;
    width: auto;
    padding: 0;
    border-radius: 50px;
    flex-direction: row;
    align-items: center;
  }
  [dir="rtl"] .floating-doctolib {
    left: 20px;
    right: auto;
  }
  .fd-content, .fd-secure { display: none; }
  .fd-btn {
    border-radius: 50px;
    padding: 14px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
}

.fd-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  border-radius: 50%;
  background: #0f1618;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  line-height: 1;
  z-index: 100;
}
.fd-close svg {
  width: 16px;
  height: 16px;
}
.fd-close:hover {
  background: rgba(28, 194, 178, 1);
}
[dir="rtl"] .fd-close {
  right: auto;
  left: -12px;
}

@media (max-width: 768px) {
  .fd-close {
    width: 24px;
    height: 24px;
    top: -8px;
    right: -8px;
  }
  .fd-close svg {
    width: 12px;
    height: 12px;
  }
}


/* Hero Slideshow CSS */
.hero-bg-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
}
/* Slide 1 starts immediately visible without delay for rock-solid LCP */
.hero-bg-slide:nth-child(1) {
  opacity: 1;
  animation: bg-crossfade-first 18s infinite;
}
.hero-bg-slide:nth-child(2) {
  animation: bg-crossfade 18s infinite 6s;
}
.hero-bg-slide:nth-child(3) {
  animation: bg-crossfade 18s infinite 12s;
}

@keyframes bg-crossfade-first {
  0% { opacity: 1; transform: scale(1.05); }
  33% { opacity: 1; transform: scale(1.01); }
  43% { opacity: 0; transform: scale(1); }
  90% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes bg-crossfade {
  0% { opacity: 0; transform: scale(1.05); }
  10% { opacity: 1; transform: scale(1.03); }
  33% { opacity: 1; transform: scale(1.01); }
  43% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(to right, rgba(9, 31, 34, 0.9) 0%, rgba(9, 31, 34, 0.4) 100%);
  z-index: 1;
}

.hero-inner .container {
    position: relative;
    z-index: 20;
  }


/* Video Modal */
.video-modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgba(0,0,0,0.85); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.show {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  /* aspect-ratio: 16/9; removed for text modal */
}

.video-modal.show .video-modal-content {
  transform: scale(1);
}

.close-video {
  position: absolute;
  top: 16px;
  right: 24px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.close-video:hover {
  opacity: 1;
}

.btn-play-video {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(45, 203, 168, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-play-video:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-play-video svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* ==========================================================================
   Areas of Expertise (Fachgebiete Transition Cards & Snap Slider)
   ========================================================================== */
.expertise-wrapper {
  width: 100%;
  position: static;
  margin-top: 50px;
  z-index: 10;
  padding: 0;
}
.expertise-container {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 1560px;
  margin: 0 auto;
  box-shadow: none;
  position: relative;
}
.expertise-title {
  display: none !important;
}

/* Slider Wrap (relative container for floating next arrow & track) */
.expertise-slider-wrap {
  position: relative;
  width: 100%;
}

/* Grid on desktop, Snap Track on mobile */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

/* Card: No circle around icon, clean icon + title + bottom arrow */
.expertise-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none !important;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(28, 194, 178, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.expertise-icon {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  margin: 0 auto 12px auto !important;
  align-self: center !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expertise-icon svg {
  width: 40px !important;
  height: 40px !important;
  color: #128277 !important;
  filter: none !important;
  transition: transform 0.35s ease, color 0.35s ease;
}

.expertise-card:hover .expertise-icon {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
  transform: scale(1.08) translateY(-2px);
}

.expertise-card:hover .expertise-icon svg {
  transform: scale(1.1);
  color: #0b5952 !important;
}

.expertise-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  text-align: center;
  width: 100%;
}

.expertise-card-title {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 0;
  text-align: center;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: normal !important;
  white-space: normal;
  transition: color 0.25s ease;
  width: 100%;
}

.expertise-card:hover .expertise-card-title {
  color: #ffffff;
}

.expertise-card-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.80rem;
  line-height: 1.45;
  margin-bottom: 0;
  text-align: center;
  padding-right: 0;
  word-break: normal;
  width: 100%;
}

.expertise-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1cc2b2;
  margin: 10px auto 0 auto;
  align-self: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  flex-shrink: 0;
}

.expertise-card:hover .expertise-arrow-btn {
  background: #1cc2b2;
  border-color: #1cc2b2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.expertise-card::after {
  display: none !important;
}

[dir='rtl'] .expertise-card {
  align-items: center;
}
[dir='rtl'] .expertise-icon {
  justify-content: center;
}
[dir='rtl'] .expertise-text {
  text-align: center;
}
[dir='rtl'] .expertise-card-title,
[dir='rtl'] .expertise-card-desc {
  text-align: center;
}
[dir='rtl'] .expertise-arrow-btn svg {
  transform: scaleX(-1);
}
[dir='rtl'] .expertise-card:hover .expertise-arrow-btn {
  transform: translateY(-2px);
}

/* Floating Next Arrow on Slider (Mobile only) */
.expertise-slider-next {
  display: none;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b2516;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.expertise-slider-next:active {
  transform: translateY(-50%) scale(0.92);
}

[dir='rtl'] .expertise-slider-next {
  right: auto;
  left: -10px;
  transform: translateY(-50%) rotate(180deg);
}

[dir='rtl'] .expertise-slider-next:active {
  transform: translateY(-50%) rotate(180deg) scale(0.92);
}

/* Pagination Dots (Mobile only) */
.expertise-slider-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.expertise-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.expertise-slider-dot.active {
  background: #1cc2b2;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(28, 194, 178, 0.6);
}

/* Media Queries */
@media (max-width: 1350px) {
  .expertise-grid {
    gap: 14px;
  }
  .expertise-card {
    padding: 18px 10px 16px !important;
  }
  .expertise-icon {
    width: 58px !important;
    height: 58px !important;
    margin: 0 auto 10px auto !important;
  }
  .expertise-icon svg {
    width: 36px !important;
    height: 36px !important;
  }
  .expertise-card-title {
    font-size: 0.95rem;
  }
  .expertise-card-desc {
    font-size: 0.78rem;
  }
}

/* Switch to Snap Slider at <= 1050px (mobile & tablet) */
@media (max-width: 1050px) {
  .expertise-wrapper {
    margin-top: 28px !important;
    width: 100%;
  }
  .expertise-container {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .expertise-title {
    display: none !important;
  }
  .expertise-slider-wrap {
    position: relative;
    width: 100%;
    padding: 0;
  }
  .expertise-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 10px !important;
    padding: 4px 2px 6px 2px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .expertise-grid::-webkit-scrollbar {
    display: none !important;
  }
  .expertise-card {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
    min-width: calc((100% - 24px) / 3) !important;
    max-width: calc((100% - 24px) / 3) !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    padding: 16px 10px 14px !important;
    border-radius: 18px !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .expertise-icon {
    width: 54px !important;
    height: 54px !important;
    margin: 0 auto 10px auto !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .expertise-icon svg {
    width: 36px !important;
    height: 36px !important;
    color: #128277 !important;
    filter: none !important;
  }
  .expertise-text {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .expertise-card-title {
    display: block !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 3px !important;
    color: #ffffff !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
  .expertise-card-desc {
    display: none !important;
  }
  .expertise-arrow-btn {
    display: none !important;
  }
  .expertise-slider-next {
    display: flex !important;
  }
  .expertise-slider-dots {
    display: flex !important;
  }
}

/* Mobile: exactly 1:1 from MVZ home.css (<= 768px) */
@media (max-width: 768px) {
  .expertise-grid {
    gap: 10px !important;
  }
  .expertise-card {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    width: calc((100% - 20px) / 3) !important;
    min-width: calc((100% - 20px) / 3) !important;
    max-width: calc((100% - 20px) / 3) !important;
    padding: 14px 6px 12px !important;
    border-radius: 16px !important;
    justify-content: flex-start !important;
    min-height: auto !important;
  }
  .expertise-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 8px auto !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .expertise-icon svg {
    width: 32px !important;
    height: 32px !important;
    color: #128277 !important;
    filter: none !important;
  }
  .expertise-card-title {
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    margin-bottom: 3px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
  .expertise-card-desc {
    display: none !important;
  }
  .expertise-arrow-btn {
    display: none !important;
  }
}

/* Compact Mobile: exactly 1:1 from MVZ home.css (<= 420px) */
@media (max-width: 420px) {
  .expertise-grid {
    gap: 8px !important;
  }
  .expertise-card {
    flex: 0 0 calc((100% - 16px) / 3) !important;
    width: calc((100% - 16px) / 3) !important;
    min-width: calc((100% - 16px) / 3) !important;
    max-width: calc((100% - 16px) / 3) !important;
    padding: 10px 4px 10px !important;
    border-radius: 14px !important;
    min-height: auto !important;
  }
  .expertise-icon {
    width: 42px !important;
    height: 42px !important;
    margin: 0 auto 6px auto !important;
  }
  .expertise-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  .expertise-card-title {
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
  }
  .expertise-card-desc {
    display: none !important;
  }
  .expertise-arrow-btn {
    display: none !important;
  }
  .expertise-slider-next {
    width: 32px;
    height: 32px;
    right: -6px;
  }
  .expertise-slider-next svg {
    width: 15px;
    height: 15px;
  }
  [dir='rtl'] .expertise-slider-next {
    right: auto;
    left: -6px;
  }
}

/* Home Branches Transition Cards (adapted from NabiOta) */
.home-branches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.home-branch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 22, 24, 0.08);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 4px 18px rgba(15, 22, 24, 0.04);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-branch-card:hover {
  transform: translateY(-2px);
  border-color: #1cc2b2;
  box-shadow: 0 10px 26px rgba(28, 194, 178, 0.16);
}
.home-branch-chevron-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0fdfa;
  color: #128277;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.home-branch-card:hover .home-branch-chevron-btn {
  background: #1cc2b2;
  color: #ffffff;
  transform: translateX(3px);
}
  

@media (max-width: 768px) {
  .hero-benefits-list {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-bottom: 4px;
  }
  .hero-benefits-list > div {
    flex-shrink: 0;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    text-align: left;
    gap: 8px !important;
    padding: 10px 14px !important;
  }
  .hero-benefits-list > div span {
    font-size: 0.75rem !important;
  }
}

/* Doctor Showcase Styles */
.doctor-showcase {
  display: flex;
  gap: 60px;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.doctor-showcase-img {
  width: 40%;
  max-width: 400px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.doctor-showcase-info {
  width: 60%;
}
.doctor-bio-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.doctor-bio-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.doctor-bio-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
@media (max-width: 900px) {
  .doctor-showcase {
    flex-direction: column;
    padding: 30px 20px;
  }
  .doctor-showcase-img {
    width: 100%;
    max-width: 100%;
  }
  .doctor-showcase-info {
    width: 100%;
  }
}
.hero-inner-sub > .container:nth-of-type(2) { margin-top: auto !important; margin-bottom: auto !important; }

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .hero-actions .btn-primary, 
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: min(2.1rem, 8.5vw) !important;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .trusted-expertise {
    margin-top: 24px !important;
  }
}

@media (min-width: 992px) {
  .how-it-works.container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: 
      "title title"
      "form cards" !important;
    column-gap: 40px !important;
    row-gap: 60px !important;
    align-items: stretch !important;
  }
  .how-title {
    grid-area: title;
    margin-bottom: 0 !important;
  }
  .how-it-works.container > form {
    grid-area: form;
    margin: 0 !important;
    max-width: 100% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .how-it-works.container .steps-grid {
    grid-area: cards;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    height: 100%;
    justify-content: space-between;
  }
  .how-it-works.container .step-card {
    padding: 24px !important;
    margin-bottom: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .how-it-works.container .step-num {
    margin-bottom: 12px !important;
  }
}

/* Google Maps 2-Click Solution */
.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-radius: 24px;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.map-placeholder:hover {
    background-color: #f1f3f5;
}
.map-placeholder-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #1a2a3a;
}
.map-placeholder-content p {
    font-size: 0.9rem;
    color: #6b7c8f;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.map-placeholder-content .btn-primary {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* --- Dropdown Navigation --- */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-wrapper > a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px clamp(6px, 0.65vw, 11px);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: clamp(0.91rem, 0.95vw, 0.96rem);
  transition: all 0.25s ease;
}

.nav-dropdown-wrapper > a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.nav-dropdown-wrapper > a::after {
  content: '▼';
  font-size: 0.62em;
  opacity: 0.7;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(9, 31, 34, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4) !important;
  z-index: 1000;
  margin-top: 6px;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 9px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.90rem;
  font-weight: 600;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(28, 194, 178, 0.15) !important;
  color: var(--primary) !important;
  transform: none;
}

/* Mobile Dropdown Adjustments */
.mobile-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
  margin-left: 8px;
  gap: 8px;
}

.mobile-dropdown-menu.active {
  display: flex;
}

.mobile-dropdown-menu a {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* (Legacy dropdown rules superseded by Mobile Burger Menu section) */




/* Splide Overrides for Team Slider */
  .team-splide { padding: 0 60px 50px !important; }
  .team-splide .splide__arrow { height: 3.5em; width: 3.5em; background: rgba(0,0,0,0.05); }
  .team-splide .splide__arrow svg { height: 1.5em; width: 1.5em; fill: var(--primary); }
  .team-splide .splide__arrow:hover { background: rgba(0,0,0,0.1); }
  .team-splide .splide__arrow--prev { left: 0; }
  .team-splide .splide__arrow--next { right: 0; }
  .team-splide .splide__pagination { bottom: 0; }
  .team-splide .splide__pagination__page { background: rgba(0,0,0,0.3); width: 10px; height: 10px; }
  .team-splide .splide__pagination__page.is-active { background: var(--primary); transform: scale(1.4); }
  @media (max-width: 768px) { .team-splide { padding: 0 10px 40px !important; } .team-splide .splide__arrow { display: none; } }












/* 1. Base Desktop / 1080p Screens (Default for min-width 769px) */
@media (min-width: 769px) {
    .hero-actions .btn-primary, .hero-actions .btn-outline {
        padding: 12px 24px !important;
        font-size: 0.92rem !important;
    }
    .trusted-stat-number {
        font-size: 1.6rem !important;
    }
}

/* 2. Large 2560 Desktop Screens (Tall screens > 1200px height) */
@media (min-height: 1200px) and (min-width: 769px) {
    .hero-main { margin-top: 225px !important; }
    .hero-title { font-size: 4.2rem !important; }
    
    .hero-actions .btn-primary, .hero-actions .btn-outline {
        padding: 16px 32px !important;
        font-size: 1rem !important;
    }
    .trusted-stat-number {
        font-size: 2.2rem !important;
    }
}

/* ===== Safe Proportional Scaling for MacBook / Laptops ===== */
@media (max-height: 980px) and (min-width: 769px) {
  .hero-inner { padding: 30px 0 60px 0 !important; }
  .hero-main { margin-top: clamp(185px, 20vh, 225px) !important; }
  
  .tag-pill { margin-bottom: 16px !important; }
  .hero-title { font-size: clamp(2.4rem, 3.5vw, 3.5rem) !important; margin-bottom: 16px !important; line-height: 1.1 !important; }
  .hero-desc { font-size: 0.95rem !important; margin-bottom: 26px !important; max-width: 650px !important; }
  
  .trusted-expertise { margin-top: 36px !important; }
  .trusted-stats { gap: 24px !important; }
  .trusted-stat-number { font-size: 1.7rem !important; }
  
  .expertise-wrapper { margin-top: 40px !important; }
  .expertise-container { padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
  .expertise-grid { gap: 16px !important; }
  
  .expertise-card {
    padding: 18px 12px 16px !important;
    min-height: auto !important;
    align-items: center !important;
    text-align: center !important;
  }
  .expertise-icon {
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 10px auto !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .expertise-icon svg {
    width: 35px !important;
    height: 35px !important;
    color: #128277 !important;
    filter: none !important;
  }
  .expertise-card-title {
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal !important;
    text-align: center !important;
  }
  .expertise-card-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  .expertise-arrow-btn {
    margin: 8px auto 0 auto !important;
    align-self: center !important;
  }
}

@media (max-height: 850px) and (min-width: 769px) {
  .hero-main { margin-top: 175px !important; }
  .hero-title { font-size: 2.4rem !important; }
  .hero-desc { margin-bottom: 22px !important; font-size: 0.9rem !important; }
  .trusted-expertise { margin-top: 30px !important; }
  .expertise-wrapper { margin-top: 34px !important; }
  .expertise-card {
    padding: 16px 10px 14px !important;
    min-height: auto !important;
    align-items: center !important;
    text-align: center !important;
  }
  .expertise-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 8px auto !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .expertise-icon svg {
    width: 33px !important;
    height: 33px !important;
    color: #128277 !important;
    filter: none !important;
  }
  .expertise-arrow-btn {
    margin: 6px auto 0 auto !important;
    align-self: center !important;
  }
}

/* ── Utility Classes ─────────────────────────────────────── */
.mb-6        { margin-bottom: 24px; }
.text-primary { color: var(--primary); }
.cursor-ptr  { cursor: pointer; }
.d-none      { display: none; }
.reset-mp    { margin: 0; padding: 0; }



/* ── Mobile Stability & Layout Optimization ───────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .mobile-menu {
    justify-content: flex-start !important;
    padding: 80px 24px 40px !important;
  }
}

@media (max-width: 768px) {
  .hero-inner-sub .navbar {
    margin-bottom: 24px !important;
  }
  .floating-doctolib {
    right: 16px !important;
    bottom: 16px !important;
    max-width: calc(100vw - 32px) !important;
  }
  [dir="rtl"] .floating-doctolib {
    left: 16px !important;
    right: auto !important;
  }
  .fd-btn {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .press-card-horizontal {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .press-card-img-wrapper {
    width: 100% !important;
    height: 150px !important;
  }
  .press-card-content {
    padding: 16px 14px !important;
  }
  .press-card-title {
    font-size: 1rem !important;
  }
  .press-filters {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .filter-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .floating-doctolib {
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
  [dir="rtl"] .floating-doctolib {
    left: 12px !important;
    right: auto !important;
  }
  .fd-btn {
    padding: 10px 16px !important;
    font-size: 0.84rem !important;
  }
}


/* ── Mobile Spacing & Reviews Redesign ─────────────────────── */
.testimonials-section {
  background-color: #f8fafc;
  padding-top: 80px;
  padding-bottom: 80px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 36px auto 0;
}
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(9, 31, 34, 0.04);
  border: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(28, 194, 178, 0.12);
  border-color: rgba(28, 194, 178, 0.3);
}
.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar-badge {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.author-avatar-badge .local-guide-star {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.author-details {
  display: flex;
  flex-direction: column;
}
.author-name-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
.author-meta-sub {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
.google-icon-badge {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.testimonial-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.testimonial-stars-gold {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}
.testimonial-date-text {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}
.testimonial-text-content {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #334155;
  margin: 0;
  flex: 1;
}
.testimonial-text-content p {
  margin: 0 0 10px 0;
}
.testimonial-text-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-top: 24px !important;
  }
  .testimonial-card {
    padding: 22px 18px !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .section-header {
    margin-bottom: 24px !important;
    gap: 16px !important;
  }
  .hero-steps {
    padding: 24px 0 !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }
  .about-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .about-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }
  .about-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 28px !important;
  }
  .about-stats-row .stat-item {
    text-align: center;
  }
  .about-stats-row .stat-value {
    font-size: 1.7rem !important;
    margin-bottom: 4px !important;
  }
  .about-stats-row .stat-label {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }
  .about-praxis-img {
    width: 100% !important;
    height: 220px !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .how-it-works {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .faq-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .services-grid {
    gap: 16px !important;
    margin-top: 0 !important;
  }
}


/* ==========================================================================
   Mobile Fixes: Hero Stats, Steps, About, Form, FAQ
   ========================================================================== */

/* 1. FAQ Styling (Desktop & Mobile) */
.faq-question {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  color: rgba(255, 255, 255, 0.95) !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: normal !important;
  gap: 16px !important;
  user-select: none !important;
  padding: 8px 0 !important;
  line-height: 1.4 !important;
}
.faq-question:hover {
  color: #fff !important;
}
.faq-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: rgba(28, 194, 178, 0.14) !important;
  color: var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, color 0.3s ease !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
.faq-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  stroke-width: 2.5 !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}
.faq-question:hover .faq-icon {
  background: rgba(28, 194, 178, 0.25) !important;
}
.faq-item.active .faq-icon,
.faq-question.active .faq-icon {
  transform: rotate(180deg) !important;
  background: var(--primary) !important;
  color: #fff !important;
}
.faq-item.active .faq-icon svg,
.faq-question.active .faq-icon svg {
  stroke: #fff !important;
}
.faq-answer {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: normal !important;
}

/* 2. Direct Message Form */
#contact-form,
.direct-message-form {
  box-sizing: border-box !important;
  width: 100% !important;
}
#contact-form input,
#contact-form textarea,
.direct-message-form input,
.direct-message-form textarea {
  box-sizing: border-box !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  /* Photo 1: Hero Stats closer together, centered, bigger icons */
  .trusted-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }
  .trusted-stat {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .trusted-stat-icon svg {
    width: 26px !important;
    height: 26px !important;
  }
  .trusted-stat-number {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
  .trusted-divider {
    height: 26px !important;
    display: block !important;
    margin: 0 !important;
    opacity: 0.25 !important;
  }

  /* Photo 2: Hero steps padding and section margins */
  .hero-steps {
    flex-direction: column !important;
    padding: 24px 20px !important;
    gap: 18px !important;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .step-item {
    font-size: 1.05rem !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  .step-line {
    margin-top: 6px !important;
  }
  .section {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  .section.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .section-header {
    margin-bottom: 24px !important;
    padding: 0 !important;
  }
  .section-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }

  /* Photo 3: About section & Doctor bio cleanly wrapped without awkward hyphens */
  .about-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .about-section p,
  .about-title,
  .doc-info h3,
  .doc-info h4,
  .doc-info p {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal !important;
  }
  .about-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
  }
  .about-stats-row .stat-item {
    text-align: center !important;
  }
  .about-stats-row .stat-value {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
  }
  .about-stats-row .stat-label {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }
  .doctor-profile {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .doc-info {
    width: 100% !important;
  }
  .doc-info h3, .doc-info h4 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
  }
  .doc-info p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: var(--text-light) !important;
    max-width: 100% !important;
  }

  /* Photo 4: Form fields wider */
  #contact-form,
  .direct-message-form {
    padding: 24px 16px !important;
    margin: 24px auto 44px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #contact-form input,
  #contact-form textarea,
  .direct-message-form input,
  .direct-message-form textarea {
    padding: 14px 14px !important;
    font-size: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Photo 5: FAQ mobile sizing */
  .faq-question {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    gap: 12px !important;
  }
  .faq-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .faq-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .faq-answer {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }
}


/* (Legacy centered menu block superseded by Mobile Burger Menu section) */

/* Photo 1: Stats Alignment & Symmetry */
@media (max-width: 768px) {
  .about-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
  }
  .about-stats-row .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    width: 100% !important;
  }
  .about-stats-row .stat-value {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 3px !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .about-stats-row .stat-value span {
    font-size: 1.2rem !important;
    margin-left: 2px !important;
  }
  .about-stats-row .stat-label {
    font-size: clamp(0.68rem, 2.3vw, 0.78rem) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    width: 100% !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal !important;
  }
}

/* Photo 2: Responsive How It Works Title */
@media (max-width: 768px) {
  .how-title {
    font-size: 1.85rem !important;
    margin-bottom: 24px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }
}
@media (max-width: 480px) {
  .how-title {
    font-size: 1.65rem !important;
    margin-bottom: 20px !important;
  }
}

/* Photo 3: MRT Section Responsive Padding */
.mrt-section-wrapper {
  padding: 60px 0;
  width: 100%;
}
@media (max-width: 768px) {
  .mrt-section-wrapper {
    padding: 36px 0 !important;
  }
}

/* About Section Paragraph Spacing */
.about-text-content p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 14px;
  max-width: 860px;
}
.about-text-content p:last-child {
  margin-bottom: 40px;
}


/* ═════════════════════════════════════════════════════════════════
   MOBILE BURGER MENU (Photo Reference Design)
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .mobile-menu {
    display: none; /* toggled via js (display: flex) */
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    text-align: left !important;
    background: radial-gradient(circle at 50% 0%, rgba(13, 38, 41, 0.98) 0%, rgba(6, 20, 22, 0.99) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100% !important;
    bottom: 0 !important;
    padding: 75px 20px 24px 20px !important;
    z-index: 99 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-inner {
    width: 100%;
    max-width: 440px;
    margin: auto auto !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    padding: 8px 0 !important;
  }

  /* Link rows */
  .mobile-menu a.mobile-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: none !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border: 1px solid transparent !important;
    border-left: 3.5px solid transparent !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu a.mobile-link:hover,
  .mobile-menu a.mobile-link:active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
  }

  /* Active page link (card with green left indicator) */
  .mobile-menu a.mobile-link.active {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 3.5px solid var(--primary, #1cc2b2) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }

  .mobile-menu a.mobile-link .link-chevron {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .mobile-menu a.mobile-link.active .link-chevron {
    color: var(--primary, #1cc2b2) !important;
  }

  /* Dropdown Wrapper */
  .mobile-dropdown-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 16px !important;
    border: 1px solid transparent !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
  }

  /* Expanded Dropdown Card */
  .mobile-dropdown-wrapper.open {
    background: rgba(10, 32, 35, 0.75) !important;
    border: 1px solid rgba(28, 194, 178, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    margin: 4px 0 !important;
    overflow: hidden !important;
  }

  /* Dropdown Toggle Header */
  .mobile-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    border: 1px solid transparent !important;
    border-left: 3.5px solid transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    user-select: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
  }

  .mobile-dropdown-wrapper.open .mobile-dropdown-toggle {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 15px 15px 0 0 !important;
    border-left: 3.5px solid var(--primary, #1cc2b2) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }

  .mobile-dropdown-toggle .dropdown-chevron {
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .mobile-dropdown-wrapper.open .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary, #1cc2b2) !important;
  }

  /* Submenu Container: Full width stretch, no gaps */
  .mobile-menu .mobile-dropdown-menu,
  .mobile-dropdown-menu {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
  }

  .mobile-dropdown-wrapper.open .mobile-dropdown-menu {
    display: flex !important;
  }

  /* No vertical gold line */
  .mobile-dropdown-menu::before {
    display: none !important;
    content: none !important;
  }

  /* Sublink item: 100% edge-to-edge stretch, text flush left, arrow flush right */
  .mobile-menu .mobile-dropdown-menu a.mobile-sublink,
  .mobile-menu a.mobile-sublink,
  a.mobile-sublink,
  .mobile-sublink {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    box-sizing: border-box !important;
    text-align: left !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sublink:last-child {
    border-bottom: none !important;
  }

  .mobile-sublink:hover,
  .mobile-sublink:active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
  }

  .mobile-sublink .sublink-left {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .mobile-sublink .sublink-text {
    text-align: left !important;
  }

  .mobile-sublink .sublink-dot {
    display: none !important;
  }

  .mobile-sublink .sublink-chevron {
    color: rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .mobile-sublink:hover .sublink-chevron {
    color: var(--primary, #1cc2b2) !important;
    transform: translateX(2px) !important;
  }

  .mobile-sublink.active {
    color: var(--primary, #1cc2b2) !important;
    font-weight: 600 !important;
  }
  .mobile-sublink.active .sublink-chevron {
    color: var(--primary, #1cc2b2) !important;
  }

  /* RTL Support for Arabic */
  [dir=rtl] .mobile-menu {
    text-align: right !important;
  }
  [dir=rtl] .mobile-menu a.mobile-link {
    border-left: 1px solid transparent !important;
    border-right: 3.5px solid transparent !important;
  }
  [dir=rtl] .mobile-menu a.mobile-link.active {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 3.5px solid var(--primary, #1cc2b2) !important;
  }
  [dir=rtl] .mobile-dropdown-wrapper.open .mobile-dropdown-toggle {
    border-left: 1px solid transparent !important;
    border-right: 3.5px solid var(--primary, #1cc2b2) !important;
  }
  [dir=rtl] .mobile-dropdown-menu::before {
    display: none !important;
    content: none !important;
  }
  [dir=rtl] .mobile-sublink {
    padding: 13px 18px !important;
    text-align: right !important;
  }
  [dir=rtl] .mobile-sublink .sublink-left,
  [dir=rtl] .mobile-sublink .sublink-text {
    text-align: right !important;
  }
  [dir=rtl] .mobile-sublink .sublink-chevron {
    margin-left: 0 !important;
    margin-right: auto !important;
    transform: rotate(180deg) !important;
  }
  [dir=rtl] .link-chevron {
    transform: rotate(180deg) !important;
  }
  [dir=rtl] .mobile-sublink:hover .sublink-chevron {
    transform: rotate(180deg) translateX(2px) !important;
  }

  /* ── Language Switcher (Pill Container) ───────────────── */
  .mobile-lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 9999px !important;
    padding: 4px !important;
    margin: 20px 0 14px 0 !important;
    box-sizing: border-box !important;
  }

  .mobile-lang-switcher a {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    border-radius: 9999px !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-lang-switcher a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .mobile-lang-switcher a.active {
    background: var(--primary, #1cc2b2) !important;
    color: #07191b !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(28, 194, 178, 0.35) !important;
  }

  /* ── Doctolib CTA Button (Removed per request) ───────────────────────── */
  .mobile-menu-cta {
    display: none !important;
  }
}



/* ═════════════════════════════════════════════════════════════════
   FLOATING DOCTOLIB WIDGET (Adapted from MVZ: Desktop Card + Mobile Pill)
   ═════════════════════════════════════════════════════════════════ */
.fd-desktop-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.fd-mobile-pill {
  display: none;
}

.fd-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-dark, #07191b);
  flex-shrink: 0;
}

.fd-pill-text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .fd-desktop-card {
    display: none !important;
  }
  .fd-mobile-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    padding: 0 !important;
  }
  .floating-doctolib {
    right: 16px !important;
    bottom: 18px !important;
    width: auto !important;
    max-width: none !important;
    padding: 7px 9px 7px 14px !important;
    border-radius: 999px !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(9, 31, 34, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.18s ease !important;
    animation: none !important;
  }
  .floating-doctolib:active {
    transform: scale(0.97) !important;
  }
  [dir=rtl] .floating-doctolib {
    left: 16px !important;
    right: auto !important;
    flex-direction: row !important;
    padding: 7px 14px 7px 9px !important;
  }
  .fd-pill-icon {
    width: 34px !important;
    height: 34px !important;
    background: var(--primary) !important;
    color: var(--bg-dark, #07191b) !important;
  }
  .fd-close {
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    line-height: 1 !important;
  }
  .fd-close:active {
    background: rgba(255, 255, 255, 0.25) !important;
  }
}

@media (max-width: 480px) {
  .floating-doctolib {
    right: 14px !important;
    bottom: 16px !important;
  }
  [dir=rtl] .floating-doctolib {
    left: 14px !important;
    right: auto !important;
  }
  .fd-mobile-pill {
    font-size: 0.95rem !important;
  }
}


/* ═════════════════════════════════════════════════════════════════
   FLOATING APPOINTMENT WIDGET (Desktop Card + Mobile Sliding Menu)
   Matches Photo 1 (Desktop) & Photo 2 (Mobile)
   ═════════════════════════════════════════════════════════════════ */
.floating-doctolib {
  position: fixed !important;
  right: 30px !important;
  bottom: 30px !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  font-family: inherit !important;
  display: block;
  width: auto !important;
  max-width: none !important;
}

.floating-doctolib.fd-hidden,
.floating-doctolib.is-hidden,
.floating-doctolib[style*="display: none"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.fd-close-btn svg,
.fd-pill-close svg {
  pointer-events: none !important;
}

[dir="rtl"] .floating-doctolib {
  right: auto !important;
  left: 30px !important;
}

/* ── Desktop Card (Photo 1) ── */
.fd-desktop-card {
  position: relative !important;
  width: 365px !important;
  background: rgba(9, 30, 34, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(28, 194, 178, 0.35) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55) !important;
  padding: 20px 20px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  box-sizing: border-box !important;
}

.fd-desktop-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65) !important;
}

.fd-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding-right: 36px !important; /* Leaves room for close button in top-right corner */
  box-sizing: border-box !important;
}

[dir="rtl"] .fd-header {
  padding-right: 0 !important;
  padding-left: 36px !important;
}

.fd-badge {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #062325 !important;
  border: 1.5px solid #00e5bf !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00e5bf !important;
  flex-shrink: 0 !important;
}

.fd-badge svg {
  stroke: #00e5bf !important;
}

.fd-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  flex: 1 !important;
  letter-spacing: -0.01em !important;
  font-family: inherit !important;
  line-height: 1.25 !important;
  white-space: nowrap !important; /* Stretches on one line without wrapping */
}

/* Close button placed in top right corner */
.fd-close-btn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  z-index: 10 !important;
}

.fd-close-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.06) !important;
}

[dir="rtl"] .fd-close-btn {
  right: auto !important;
  left: 18px !important;
}

.fd-btn-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.fd-btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  border-radius: 9999px !important;
  background: #00e5bf !important;
  color: #061c1e !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.fd-btn-primary:hover {
  background: #1affd3 !important;
  color: #061c1e !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

.fd-btn-primary svg {
  flex-shrink: 0 !important;
  stroke: #061c1e !important;
}

.fd-btn-secondary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.fd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.fd-btn-secondary svg {
  flex-shrink: 0 !important;
  stroke: #ffffff !important;
}

.fd-secure {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.4 !important;
  margin-top: 2px !important;
}

.fd-secure svg {
  color: #00e5bf !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  stroke: #00e5bf !important;
}

/* ── Mobile Wrapper & Pill (Photo 2) ── */
.fd-mobile-wrapper {
  display: none;
  position: relative;
}

@media (max-width: 768px) {
  .fd-desktop-card {
    display: none !important;
  }
  .fd-mobile-wrapper {
    display: block !important;
  }
  .floating-doctolib {
    right: 16px !important;
    bottom: 18px !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  [dir="rtl"] .floating-doctolib {
    right: auto !important;
    left: 16px !important;
  }

  .fd-mobile-pill {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(9, 31, 34, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(28, 194, 178, 0.35) !important;
    border-radius: 999px !important;
    padding: 7px 10px 7px 8px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: transform 0.18s, border-color 0.18s !important;
  }
  .fd-mobile-pill:active {
    transform: scale(0.97) !important;
  }
  [dir="rtl"] .fd-mobile-pill {
    padding: 7px 8px 7px 10px !important;
  }

  .fd-pill-badge {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #00e5bf !important;
    color: #072023 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .fd-pill-badge svg {
    stroke: #072023 !important;
  }

  .fd-pill-text {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    white-space: nowrap !important;
  }

  .fd-pill-close {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    transition: background 0.2s !important;
  }
  .fd-pill-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  /* ── Mobile Sliding Popup (Appears ABOVE the pill) ── */
  .fd-mobile-popup {
    position: absolute !important;
    bottom: calc(100% + 14px) !important;
    right: 0 !important;
    width: min(315px, calc(100vw - 32px)) !important;
    background: rgba(9, 31, 34, 0.98) !important;
    border: 1.5px solid rgba(28, 194, 178, 0.35) !important;
    border-radius: 20px !important;
    padding: 16px 14px 14px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) scale(0.96) !important;
    pointer-events: none !important;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
    z-index: 1001 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .floating-doctolib.fd-open .fd-mobile-popup {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }

  /* Pointer notch pointing down to the pill */
  .fd-mobile-popup::after {
    content: '' !important;
    position: absolute !important;
    bottom: -7px !important;
    right: 48px !important;
    width: 12px !important;
    height: 12px !important;
    background: #091e22 !important;
    border-right: 1.5px solid rgba(28, 194, 178, 0.35) !important;
    border-bottom: 1.5px solid rgba(28, 194, 178, 0.35) !important;
    transform: rotate(45deg) !important;
  }

  [dir="rtl"] .fd-mobile-popup {
    right: auto !important;
    left: 0 !important;
  }
  [dir="rtl"] .fd-mobile-popup::after {
    right: auto !important;
    left: 48px !important;
  }
}

@media (max-width: 480px) {
  .floating-doctolib {
    right: 12px !important;
    bottom: 14px !important;
  }
  [dir="rtl"] .floating-doctolib {
    left: 12px !important;
    right: auto !important;
  }
  .fd-pill-text {
    font-size: 0.95rem !important;
  }
}