/* Endolift nav — moving gradient color */
.nav-link-endolift,
.nav-link-endolift.mobile {
  position: relative;
}
.nav-link-endolift .endolift-text,
a.nav-link-endolift .endolift-text {
  display: inline-block;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #2d4639 0%, #3a5647 25%, #b79248 50%, #d4b896 75%, #2d4639 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: endoliftColorMove 3.2s linear infinite;
}
.nav-link-endolift::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #b79248, #d4b896, #b79248, transparent);
  background-size: 200% 100%;
  animation: endoliftColorMove 3.2s linear infinite;
  opacity: 0.9;
}
.mobile-menu-main .nav-link-endolift::after {
  left: 0;
  right: auto;
  width: 64px;
  bottom: 2px;
}
@keyframes endoliftColorMove {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* Home header is not absolute over breadcrumb */
.header-3.is-home-page:not(.sticky-menu) {
  position: absolute;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand-logo img {
  width: auto;
  height: 74px;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.header-3 .header-main {
  padding-top: 10px;
  padding-bottom: 10px;
}
.header-3.sticky-menu .brand-logo img {
  height: 72px;
  max-width: 170px;
}
.mobile-topbar .brand-logo img {
  height: 58px;
  max-width: 140px;
}
.mobile-menu-main .brand-logo img,
.offcanvas-menu .brand-logo img {
  height: 70px;
  max-width: 160px;
  filter: none;
}

/* Inner pages: header always fixed & solid */
.header-3.is-inner-page {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
}

@media (max-width: 1399.98px) {
  .header-3 {
    background: transparent;
  }
  .header-3 .header-main,
  .header-3 .header-desktop-nav {
    display: none !important;
  }
  .header-3 .mobile-menu-area,
  .header-3 .header-mobile-nav {
    display: block !important;
    background: transparent;
    box-shadow: none;
    border: none;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    top: 0;
    padding: 14px 16px 0;
    overflow: visible !important;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  }
  .header-3 .mobile-menu-area > .container {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    padding: 10px 18px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    transition: background 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
  }
  .header-3 .mobile-menu-area .mobile-topbar .brand-logo img {
    height: 48px;
    max-width: 130px;
    filter: none;
  }
  .header-3 .mobile-menu-area .mobile-topbar .bars {
    z-index: 5;
    position: relative;
  }
  .header-3 .mobile-menu-area .mobile-topbar .bars span {
    background-color: #fff;
  }
  .header-3 .mobile-menu-area .mobile-menu-overlay {
    position: fixed !important;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999998;
  }
  .header-3 .mobile-menu-area .mobile-menu-main {
    position: fixed !important;
    top: 15px !important;
    left: -110% !important;
    height: calc(100vh - 30px) !important;
    max-height: calc(100vh - 30px);
    width: min(390px, calc(100vw - 30px)) !important;
    z-index: 999999 !important;
    border-radius: 12px;
    margin: 0;
    transform: none !important;
  }
  .header-3 .mobile-menu-area .mobile-menu-main.active {
    left: 15px !important;
    top: 15px !important;
    height: calc(100vh - 30px) !important;
  }
  .header-3.sticky-menu {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    animation: none;
  }
  .header-3.sticky-menu .mobile-menu-area {
    background: #b79248;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
  .header-3.sticky-menu .mobile-menu-area > .container {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: none;
  }
  .header-3.sticky-menu .mobile-menu-area .mobile-topbar .brand-logo img {
    height: 52px;
    max-width: 140px;
  }
}

@media (max-width: 575px) {
  .header-3 .mobile-menu-area {
    padding: 10px 12px 0;
  }
  .header-3 .mobile-menu-area > .container {
    padding: 8px 14px;
    border-radius: 40px;
  }
  .header-3 .mobile-menu-area .mobile-topbar .brand-logo img {
    height: 60px;
    max-width: 110px;
  }
  .header-3 .mobile-menu-area .mobile-menu-main.active {
    left: 12px !important;
  }
}

@media (min-width: 1400px) {
  .header-3 .mobile-menu-area,
  .header-3 .header-mobile-nav {
    display: none !important;
  }
  .header-3 .header-main {
    display: block !important;
  }
  .header-3 .header-desktop-nav {
    display: flex !important;
    width: 100%;
    align-items: center;
  }
  .header-3 .header-main .navbar,
  .header-3 .header-main .navbar .navbar-collapse,
  .header-3 .header-main .navbar .navbar-nav {
    flex-wrap: nowrap !important;
  }
  .header-3 .header-main .navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
  }
  .header-3 .header-main .navbar .navbar-nav {
    align-items: center;
    margin-left: auto;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item {
    flex-shrink: 0;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item .nav-link {
    white-space: nowrap !important;
    line-height: 1.2;
    font-weight: 700;
  }
  .header-3 .menu-right-info {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    gap: 12px;
  }
  .header-3 .menu-right-info .number-info .number,
  .header-3 .menu-right-info .appo-btn {
    white-space: nowrap !important;
  }
}

@media (min-width: 1400px) and (max-width: 1899.98px) {
  .header-3 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-3 .header-main {
    padding: 8px 12px;
  }
  .header-3 .header-main .navbar {
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap !important;
  }
  .header-3 .header-main .navbar .navbar-collapse {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .header-3 .brand-logo {
    flex-shrink: 0;
  }
  .header-3 .brand-logo img {
    height: 54px;
    max-width: 115px;
  }
  .header-3 .header-main .navbar .navbar-nav {
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0;
    flex-wrap: nowrap !important;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item {
    margin-inline-end: 8px !important;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item .nav-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .header-3 .menu-right-info {
    gap: 8px !important;
  }
  .header-3 .menu-right-info .number-info {
    display: none;
  }
  .header-3 .menu-right-info .appo-btn {
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }
  .header-3 .menu-right-info .appo-btn img {
    width: 14px;
    margin-right: 4px;
  }
}

@media (min-width: 1400px) and (max-width: 1650px) {
  .header-3 .brand-logo img {
    height: 55px;
    max-width: 105px;
    padding: 10px;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item {
    margin-inline-end: 6px !important;
  }
  .header-3 .header-main .navbar .navbar-nav .nav-item .nav-link {
    font-size: 15px !important;
  }
}

.offcanvas-menu .offcanvas-ai-btn {
  display: inline-flex;
  margin-top: 12px;
}
.offcanvas-menu .offcanvas-ai-btn .text {
  height: auto;
  min-height: 22px;
}
.offcanvas-menu .offcanvas-ai-btn img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
  filter: brightness(0) invert(1);
}
.offcanvas-menu .offcanvas-ai-btn:hover img {
  filter: none;
}
.mobile-menu-area .mobile-menu-action-btn {
  padding: 10px 20px 24px;
}
.mobile-menu-area .mobile-ai-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #967a38;
  color: #fff !important;
  height: 52px;
  border-radius: 64px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}
.mobile-menu-area .mobile-ai-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.mobile-menu-area .mobile-ai-btn:hover {
  background-color: #000 !important;
  color: #fff !important;
}

/* Footer organized */
.footer-organized {
  padding-bottom: 0;
}
.footer-organized .footer-widget-wrapper {
  padding-top: 80px;
  padding-bottom: 40px;
}
.footer-organized .footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px 30px;
  align-items: start;
}
.footer-organized .footer-brand .footer-logo img {
  max-height: 70px;
  width: auto;
  margin-bottom: 18px;
}
.footer-organized .footer-brand .brand-name {
  color: #2d4639;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-organized .footer-brand .brand-desc {
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-organized .footer-brand .brand-address {
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-organized .footer-brand .brand-address a {
  color: rgba(0, 0, 0, 0.85);
}
.footer-organized .footer-brand .brand-address a:hover {
  color: #b79248;
}
.footer-organized .footer-col-title {
  color: #2d4639;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-organized .footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: #b79248;
  border-radius: 2px;
}
.footer-organized .footer-contact-list,
.footer-organized .footer-link-list,
.footer-organized .footer-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-organized .footer-contact-list li,
.footer-organized .footer-link-list li,
.footer-organized .footer-hours-list li {
  color: rgba(0, 0, 0, 0.8);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-organized .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-organized .footer-contact-list li i {
  color: #b79248;
  margin-top: 4px;
  width: 16px;
  text-align: center;
}
.footer-organized .footer-contact-list a,
.footer-organized .footer-link-list a,
.footer-organized .footer-hours-list a {
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
}
.footer-organized .footer-contact-list a:hover,
.footer-organized .footer-link-list a:hover,
.footer-organized .footer-hours-list a:hover {
  color: #b79248;
}
.footer-organized .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-organized .footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  color: #000;
  transition: all 0.3s ease;
}
.footer-organized .footer-social a:hover {
  background: #b79248;
  color: #fff;
}
.footer-organized .footer-newsletter {
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-organized .footer-newsletter h3 {
  color: #000;
  font-size: 22px;
  margin-bottom: 6px;
}
.footer-organized .footer-newsletter p {
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  font-size: 14px;
}
.footer-organized .footer-newsletter form {
  display: flex;
  align-items: center;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.footer-organized .footer-newsletter form input {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 50px;
  padding: 0 70px 0 22px;
  background: rgba(255, 255, 255, 0.65);
  color: #000;
}
.footer-organized .footer-newsletter form input::placeholder {
  color: rgba(0, 0, 0, 0.55);
}
.footer-organized .footer-newsletter form .email-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #b79248;
  color: #fff;
}
.footer-organized .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}
.footer-organized .footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
}
.footer-organized .footer-bottom-wrapper p,
.footer-organized .footer-bottom-wrapper a,
.footer-organized .footer-list li,
.footer-organized .footer-list a {
  color: rgba(0, 0, 0, 0.75);
}
.footer-organized .footer-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .footer-organized .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .footer-organized .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-organized .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-organized .footer-bottom-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Fixed language dropdown — top right */
.lang-fixed {
  position: fixed;
    top: 141px;
    right: 16px;
    z-index: 1000050;
    font-family: Quicksand, "Noto Sans Arabic", sans-serif;
}
html[dir="rtl"] .lang-fixed {
  right: auto;
  left: 16px;
}
.lang-fixed__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(45, 70, 57, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.94);
  box-shadow: 0 8px 24px rgba(45, 70, 57, 0.14);
  color: #2d4639;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lang-fixed__toggle:hover,
.lang-fixed.is-open .lang-fixed__toggle {
  border-color: #b79248;
  box-shadow: 0 10px 28px rgba(183, 146, 72, 0.22);
}
.lang-fixed__flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.lang-fixed__code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.lang-fixed__chevron {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.lang-fixed.is-open .lang-fixed__chevron {
  transform: rotate(180deg);
}
.lang-fixed__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(45, 70, 57, 0.12);
  border-radius: 14px;
  background: #fff8f3;
  box-shadow: 0 16px 40px rgba(45, 70, 57, 0.18);
}
html[dir="rtl"] .lang-fixed__menu {
  right: auto;
  left: 0;
}
.lang-fixed__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #2d4639;
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-fixed__option:hover {
  background: rgba(183, 146, 72, 0.14);
}
.lang-fixed__option.is-active {
  background: rgba(45, 70, 57, 0.1);
}
.lang-fixed__name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.lang-fixed__option .lang-fixed__code {
  opacity: 0.55;
  font-size: 11px;
}
@media (max-width: 575.98px) {
  .lang-fixed {
    top: 114px;
    right: 10px;
  }
  #sticky-header > div.mobile-menu-area.header-mobile-nav > div.mobile-menu-main.active > div.menu-body > div.menu-list > ul > li:nth-child(9),#sticky-header > div.mobile-menu-area.header-mobile-nav > div.mobile-menu-main.active > div.menu-body > div.menu-list > ul > li:nth-child(10){
      display: none !important;
  }
  html[dir="rtl"] .lang-fixed {
    left: 10px;
  }
  .lang-fixed__toggle {
    min-height: 36px;
    padding: 5px 10px 5px 7px;
  }
}

.menu-right-info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
html[dir="rtl"] .navbar-nav {
  margin-right: 0;
}
html[dir="rtl"] .header-3 .navbar-nav .nav-link {
  text-align: right;
}
html[dir="rtl"] .mobile-menu-main .menu-list a {
  text-align: right;
}
