/* Dr. Aso Baban overrides on top of the Fertilys template */

/* Keep the six menu items on one line */
.main-menu .navigation { display: flex; flex-wrap: nowrap; white-space: nowrap; }
.main-menu .navigation > li { float: none; }

/* Social links are hidden until the clinic's real accounts are added */
.social-icon-list.one, .mobile-menu .social-links { display: none !important; }

/* Booking form */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: 15px; color: #fff; }
.form-status.is-success { color: #b8f0d8; }
.form-status.is-error { color: #ffd2cc; }
.booking-form button[disabled] { opacity: .6; cursor: wait; }

/* Booking form on the light contact page */
.booking-light .form-clt input,
.booking-light .form-clt textarea {
  width: 100%;
  border: 1px solid #dfe6e5;
  border-radius: 10px;
  background: #f6f8f8;
  padding: 16px 20px;
  margin-bottom: 16px;
  color: #1e1e1e;
}
.booking-light .form-clt textarea { min-height: 150px; }
.booking-light .form-status { color: #1e1e1e; }
.booking-light .form-status.is-success { color: #1f7a5a; }
.booking-light .form-status.is-error { color: #b3261e; }

/* Service details list */
.service-detail-item {
  height: 100%;
  padding: 32px;
  border-radius: 20px;
  background: #f4f7f6;
  scroll-margin-top: 120px;
}
.service-detail-item .icon { font-size: 44px; line-height: 1; color: var(--theme-color1, #477b72); margin-bottom: 16px; }
.service-detail-item .title { margin-bottom: 12px; }
.service-detail-item p { margin: 0; }
.service-note { margin: 32px auto 0; max-width: 760px; text-align: center; font-style: italic; }

/* Doctor profile focus list */
.doctor-focus { display: block !important; margin-top: 16px; }
.doctor-focus li { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 12px; }

/* Center remaining blocks when empty ones are hidden */
.cta-section .row, .banner-section .feature-box .row { justify-content: center; }

/* Floating WhatsApp button (bottom-left; back-to-top sits bottom-right) */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
@media (max-width: 575px) { .whatsapp-float { left: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* Language switcher (header + mobile menu) */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .14); margin-inline-end: 14px; }
.lang-switch a { font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 99px; color: inherit; text-decoration: none; white-space: nowrap; font-family: "Noto Kufi Arabic", system-ui, sans-serif; }
.lang-switch a:not([lang]) , .lang-switch a[lang="en"] { font-family: inherit; }
.lang-switch a.active { background: #fff; color: #1e2b29; }
.main-header .right-box { display: flex; align-items: center; }
.main-header .header-lower .lang-switch { color: #fff; }
.sticky-header .lang-switch, .mobile-menu .lang-switch { background: rgba(0, 0, 0, .06); }
.mobile-menu .upper-box .lang-switch { margin: 0 auto; color: #fff; background: rgba(255, 255, 255, .14); }
.lang-switch .short { display: none; }
.sticky-header .inner-container { display: flex; align-items: center; }
.sticky-header .sticky-switch { margin-inline-start: auto; margin-inline-end: 16px; color: #1e2b29; background: rgba(0, 0, 0, .06); }
.sticky-header .sticky-switch a.active { background: #477b72; color: #fff; }
@media (max-width: 575px) {
  .lang-switch .full { display: none; }
  .lang-switch .short { display: inline; }
  .lang-switch a { padding: 7px 9px; }
  .main-header .header-lower .lang-switch { margin-inline-end: 10px; }
  .mobile-menu .lang-switch .full { display: inline; }
  .mobile-menu .lang-switch .short { display: none; }
  .sticky-header .header-phone_box { display: none; }
}

/* Banner info boxes: keep "Name – Address" on one flowing line and let long text wrap */
.banner-section .feature-box .inner span span { display: inline !important; }
.banner-section .feature-box .inner span { white-space: normal; overflow-wrap: anywhere; }

/* Phones: make room for logo + language buttons + menu button in the top bar */
@media (max-width: 575px) {
  .main-header .header-lower .inner-container { padding-left: 14px; padding-right: 14px; }
  .main-header .header-lower .logo img, .sticky-header .logo img { max-width: 128px; height: auto; }
  .main-header .header-lower .mobile-nav-toggler { margin-left: 8px !important; }
  html[dir="rtl"] .main-header .header-lower .mobile-nav-toggler { margin-left: 0 !important; margin-right: 8px !important; }
}
