/* Doccure home-15 overrides — must load after /style/css/style.css and doccure-home-14-overrides.css */

.theme-15 {
  --primary: #AAD440;
  --secondary: #103A36;
  --secondary-100: #2266601a;
  --secondary-200: #1f6f5f;
  --light: #ffffdd;
  --primary-100: #ffffff1a;
  --primary-200: #02505640;
  --primary-300: #8cb52559;
  --primary-400: #8cb52533;
  --dark-100: #0d322e;
  --dark-200: #0d2f2c;
  --black: #043833;
}

/* Persistent shell: header is outside hero markup — keep it fixed over the banner. */
header.fixed.header-fifteen,
.header.header-fifteen.fixed {
  transition: none !important;
  animation: none !important;
}

.home-fifteen-home-route {
  position: relative;
}

.home-fifteen-home-route .header-fifteen {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.home-fifteen-home-route .header-fifteen.header-fifteen--pinned,
.home-fifteen-home-route .header-fifteen.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 111;
}

.home-fifteen-home-route .header-fifteen .header-nav {
  background: transparent !important;
}

.home15-header-scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 72px;
  pointer-events: none;
  visibility: hidden;
}

.home-fifteen-home-route .header-fifteen.header-fifteen--over-hero:not(.fixed) .header-nav .main-nav > li > a {
  color: #fff !important;
}

.home-fifteen-home-route .header-fifteen.fixed .header-nav .main-nav > li > a,
.home-fifteen-inner-shell .header-fifteen .header-nav .main-nav > li > a {
  color: var(--secondary) !important;
}

.home-fifteen-home-route .header-fifteen .navbar-brand .white-logo {
  display: block;
}

.home-fifteen-home-route .header-fifteen .navbar-brand .normal-logo {
  display: none;
}

.home-fifteen-home-route .header-fifteen.fixed .navbar-brand .white-logo,
.home-fifteen-inner-shell .header-fifteen .navbar-brand .white-logo {
  display: none;
}

.home-fifteen-home-route .header-fifteen.fixed .navbar-brand .normal-logo,
.home-fifteen-inner-shell .header-fifteen .navbar-brand .normal-logo {
  display: block;
}

/* React hero slider (replaces slick-carousel) */
.home15-hero-slider {
  position: relative;
}

.home15-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.home15-hero-slide--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.home15-hero-slider .home15-hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.home15-hero-slider .home15-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.home15-hero-slider .home15-hero-dots .slick-active button {
  background: #fff;
}

.home-fifteen-inner-main {
  padding-top: 88px;
}

.home-fifteen-inner-shell .support-section {
  padding-top: 2.5rem;
}

@media (min-width: 992px) {
  .home-fifteen-inner-shell .support-section {
    padding-top: 3rem;
  }
}

/* Header layout — logo outer edge, centered nav, booking CTA on the opposite side. */
.header-fifteen .header-nav {
  align-items: center;
  justify-content: flex-start !important;
}

.header-fifteen .header-nav .navbar-header,
.header-fifteen .header-nav .main-menu-wrapper,
.header-fifteen .header-nav .header-navbar-rht {
  align-self: center;
}

.header-fifteen .header-nav .navbar-header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .header-fifteen .header-nav .main-menu-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
  }
}

.header-fifteen .header-nav .header-navbar-rht {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: unset;
  gap: 8px;
}

html[dir="rtl"] .header-fifteen .header-nav .header-navbar-rht {
  margin-left: unset;
  margin-right: auto;
}

html[dir="rtl"] .header-fifteen .header-nav .header-navbar-rht li {
  padding-right: 0;
  padding-left: 6px;
}

.header-fifteen .header-nav .header-navbar-rht li:last-child {
  padding-right: 0;
  padding-left: 0;
}

/* Login/account — separate from booking CTA (matches Suncare / Elis header). */
.home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  padding: 0 20px !important;
  border-radius: 44px;
  gap: 8px;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--secondary) !important;
}

.home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn > span {
  color: var(--secondary) !important;
}

.home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn i {
  margin: 0 !important;
}

.home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #fff !important;
}

.home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn:hover > span {
  color: #fff !important;
}

html[dir="rtl"] .home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn {
  flex-direction: row !important;
}

@media (max-width: 1199.98px) {
  .home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn {
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0 !important;
    border-radius: 50%;
  }

  .home-fifteen .header-fifteen .header-nav .header-navbar-rht .home15-login-btn > span {
    display: none;
  }
}

/* Inner pages: standard Bootstrap buttons must not inherit home-15 CTA pseudo-layers */
.home-fifteen.theme-15 .btn:not(.theme-15-btn)::before,
.home-fifteen.theme-15 .btn:not(.theme-15-btn)::after {
  display: none !important;
  content: none !important;
}

.home-fifteen.theme-15 .btn:not(.theme-15-btn):not(.btn-white) {
  overflow: visible;
  justify-content: center;
}

/* RTL: globals.css row-reverses all .btn — keep text then icon circle (vendor layout). */
html[dir="rtl"] .home-fifteen .theme-15-btn,
html[dir="rtl"] .home-fifteen .theme-15 .btn:has(.icon) {
  flex-direction: row !important;
  padding: 0 24px 0 0 !important;
  gap: 10px !important;
}

html[dir="rtl"] .home-fifteen .theme-15-btn .icon,
html[dir="rtl"] .home-fifteen .theme-15 .btn:has(.icon) .icon {
  order: 0;
}

/* Header booking CTA — tighter pill + hover fill mirrored for RTL. */
html[dir="rtl"] .home-fifteen .header-fifteen .header-nav .header-navbar-rht .theme-15-btn {
  justify-content: flex-start !important;
  padding: 0 12px 0 0 !important;
}

html[dir="rtl"] .home-fifteen .header-fifteen .header-nav .header-navbar-rht .theme-15-btn::before,
html[dir="rtl"] .home-fifteen .header-fifteen .header-nav .header-navbar-rht .theme-15-btn::after {
  right: auto;
  left: 0;
}

@media (max-width: 1199.98px) {
  html[dir="rtl"] .home-fifteen .header-fifteen .header-nav .header-navbar-rht .theme-15-btn {
    padding: 0 8px 0 0 !important;
  }
}

html[dir="rtl"] .home-fifteen .theme-15-btn .isax-arrow-right-1,
html[dir="rtl"] .home-fifteen .theme-15 .btn .isax-arrow-right-1,
html[dir="rtl"] .home-fifteen .offers-item-fifteen .btn-icon .isax-arrow-right-1,
html[dir="rtl"] .home-fifteen .footer-fifteen .footer-subscribe .btn-icon .isax-arrow-right-1 {
  transform: scaleX(-1);
  display: inline-block;
}

html[dir="rtl"] .home-fifteen .footer-fifteen .footer-subscribe .subscribe-input form {
  flex-direction: row !important;
}

html[dir="rtl"] .home-fifteen .footer-fifteen .footer-subscribe .subscribe-input .btn-icon {
  flex-direction: row !important;
}

/* Hero highlight words — keep accent color, no demo underline bar. */
.home-fifteen .banner-section-fifteen .banner-content-fifteen .title .line::after {
  display: none !important;
}

/* RTL: vendor slides leave copy space on the left; mirror so subjects face away from FA text. */
html[dir="rtl"] .home-fifteen .hero-section-fifteen .hero-slider-fifteen .slide-item .slide-img {
  transform: scaleX(-1);
}

html[dir="rtl"] .home-fifteen .hero-section-fifteen .overlay-img {
  transform: scaleX(-1);
}

/* RTL: booking-process cards — move step spine labels to the right edge. */
html[dir="rtl"] .home-fifteen .how-item-fifteen .how-inner-title {
  padding-left: 0;
  padding-right: 44px;
}

html[dir="rtl"] .home-fifteen .how-item-fifteen .how-subtitle {
  left: auto;
  right: 35px;
  transform: rotate(90deg);
}

@media (max-width: 1399.98px) {
  html[dir="rtl"] .home-fifteen .how-item-fifteen .how-subtitle {
    right: 44px;
  }
}

@media (max-width: 575.98px) {
  html[dir="rtl"] .home-fifteen .how-item-fifteen .how-inner-title {
    padding-right: 0;
  }
}

/* RTL: mirror feature photos (vendor subjects face away from FA copy). */
html[dir="rtl"] .home-fifteen .why-choose-img .img-1,
html[dir="rtl"] .home-fifteen .how-img-fifteen .img-1 {
  transform: scaleX(-1);
}

/* FAQ section — mirror original asset once (same as hero slides). Never rtl.jpg + transform (double flip). */
.home-fifteen .faq-section-fifteen {
  background: none !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
}

.home-fifteen .faq-section-fifteen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url(/assets/img/bg/faq-bg-1.jpg) no-repeat center center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
  transform: scaleX(-1);
  transform-origin: center center;
}

html[dir="rtl"] .home-fifteen .faq-section-fifteen .faq-section-fifteen-row {
  flex-direction: row-reverse;
}

.home-fifteen .faq-section-fifteen > .container {
  position: relative;
  z-index: 1;
}

/* Reserve height for accordion items + one expanded body (demo data-bs-parent behavior). */
.home-fifteen .faq-info.faq-info-fifteen {
  min-height: 600px;
}

@media (max-width: 575.98px) {
  .home-fifteen .faq-info.faq-info-fifteen {
    min-height: 700px;
  }
}

/* FAQ accordion — visible immediately; no wow/opacity parent (delayed glass + broke backdrop-filter). */
.home-fifteen .faq-info.faq-info-fifteen {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Bootstrap-style accordion height transition (React widget). */
.home-fifteen .faq-info.faq-info-fifteen .accordion-collapse.collapsing {
  overflow: hidden;
  transition: height 0.7s ease !important;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-collapse.collapse {
  display: block !important;
  transition: height 0.7s ease;
}

/*
 * FAQ accordion — match index-15 demo exactly:
 * - All items: frosted primary-100 card (never solid green on the whole card)
 * - Expanded: green bottom accent via button ::before; minus icon in primary circle
 * - Collapsed: plus icon in white circle
 */
.home-fifteen .faq-info.faq-info-fifteen .accordion-item {
  background: transparent !important;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
}

/* Frosted glass on ::before — survives reload; backdrop-filter on parent during zoomIn transform was dropping blur. */
.home-fifteen .faq-info.faq-info-fifteen .accordion-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(200px) saturate(180%);
  -webkit-backdrop-filter: blur(200px) saturate(180%);
  z-index: 0;
  pointer-events: none;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item > * {
  position: relative;
  z-index: 1;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-header {
  position: unset;
  margin: 0;
  padding: 0;
}

/* Collapsed card: header fills entire item so every pixel toggles. */
.home-fifteen .faq-info.faq-info-fifteen .accordion-item:not(:has(.accordion-collapse.show)) .accordion-header {
  margin: -30px;
  padding: 30px;
  min-height: calc(100% + 60px);
  display: flex;
  align-items: center;
}

@media (max-width: 1399.98px) {
  .home-fifteen .faq-info.faq-info-fifteen .accordion-item:not(:has(.accordion-collapse.show)) .accordion-header {
    margin: -20px;
    padding: 20px;
    min-height: calc(100% + 40px);
  }
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-collapse {
  cursor: default;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 100%;
  box-shadow: none !important;
  padding: 0;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: transparent !important;
  position: unset;
  pointer-events: none;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 1399.98px) {
  .home-fifteen .faq-info.faq-info-fifteen .accordion-item {
    padding: 20px;
  }
}

/* Widget must not paint expanded cards solid green — demo keeps frosted glass. */
.home-fifteen .faq-info.faq-info-fifteen .accordion-item.active::before {
  background: rgba(255, 255, 255, 0.08);
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-body {
  margin-top: 0;
  padding: 15px 0 0;
  border-top: 0 !important;
  background: transparent !important;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-collapse.show .accordion-body,
.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-collapse.collapsing .accordion-body {
  min-height: 112px;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-body .accordion-content p {
  color: #fff;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button::before {
  content: "";
  border-bottom: 7px solid var(--primary);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: all 0.4s;
  pointer-events: none;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button:not(.collapsed)::before {
  opacity: 1;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button::after {
  content: "\e9b1";
  font-family: "feather" !important;
  background-image: none !important;
  flex-shrink: 0;
  margin: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--white);
  font-size: 14px;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: none !important;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button:not(.collapsed)::after {
  content: "\e996";
  color: var(--gray-900);
  background-color: var(--primary);
  transform: none !important;
}

@media (max-width: 575.98px) {
  .home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button {
    font-size: 18px;
  }
}

html[dir="rtl"] .home-fifteen .faq-info.faq-info-fifteen .accordion-item .accordion-button {
  flex-direction: row-reverse;
  text-align: right;
}

/* RTL blog cards — light: image right, text left; dark: image left, text right. */
html[dir="rtl"] .home-fifteen .blog-item-fifteen:not(.dark-blog) {
  flex-direction: row;
}

html[dir="rtl"] .home-fifteen .blog-item-fifteen:not(.dark-blog) .blog-content {
  padding: 20px 40px 20px 20px;
  text-align: right;
}

html[dir="rtl"] .home-fifteen .blog-item-fifteen.dark-blog {
  direction: ltr;
  justify-content: space-between;
  align-items: center;
}

html[dir="rtl"] .home-fifteen .blog-item-fifteen.dark-blog .blog-img {
  order: -1;
  flex-shrink: 0;
}

html[dir="rtl"] .home-fifteen .blog-item-fifteen.dark-blog .blog-content {
  direction: rtl;
  text-align: right;
  padding: 20px 40px 20px 0;
}

html[dir="rtl"] .home-fifteen .blog-item-fifteen:hover .blog-img img {
  transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 991.98px) {
  html[dir="rtl"] .home-fifteen .blog-item-fifteen:not(.dark-blog) {
    flex-direction: column;
  }

  html[dir="rtl"] .home-fifteen .blog-item-fifteen .blog-content,
  html[dir="rtl"] .home-fifteen .blog-item-fifteen.dark-blog .blog-content {
    padding: 20px 0 0 0;
  }
}

/* Footer floating CTA — two-line Persian label needs breathing room. */
.home-fifteen .footer-fifteen .start-booking p {
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .home-fifteen .footer-fifteen .start-booking p {
    line-height: 1.35;
  }
}

/* Footer logo — half width of column. */
.home-fifteen .footer-fifteen .footer-about .footer-logo .tenant-inline-svg-logo {
  display: inline-block;
  width: 50%;
  max-width: 50%;
}

.home-fifteen .footer-fifteen .footer-about .footer-logo .tenant-inline-svg-logo svg {
  width: 100%;
  height: auto;
  display: block;
}
