/* addon front end css */

/* =========================================================
   Right-side Sidebar (Layout Four)
   Uses transform instead of animating `right` so the
   slide is GPU-accelerated and stays perfectly in sync.
   ========================================================= */

/* Hamburger toggler button — hidden on desktop, visible on mobile */
.main-header--five__toggler {
  display: none; /* hidden by default; shown via media query below */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 16px;
  line-height: 1;
}

.main-header--five__toggler span {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: background 0.3s ease;
}

/* Show hamburger only on mobile (below 1200px where desktop nav hides) */
@media (max-width: 1199px) {
  .main-header--five__toggler {
    display: flex;
  }
}

/* Sidebar panel — starts fully off-screen to the right */
.sidebar-one {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 99999;
  overflow-y: auto;
  transform: translateX(100%); /* hidden: shifted right */
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
}

/* When active: slides in from the right */
.sidebar-one.active {
  transform: translateX(0);
}

/* Inner padding */
.sidebar-one__inner {
  padding: 30px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 100%;
  position: relative;
}

/* Header row: logo and close on same line at the top */
.sidebar-one__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-one__logo {
  display: flex;
  align-items: center;
}

.sidebar-one__logo img {
  max-height: 36px;
  width: auto;
}

/* Close button: same row as logo, pushed to the right */
.sidebar-one__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  z-index: 1;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: -14px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.sidebar-one__close:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Nav menu inside sidebar */
.sidebar-one__menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-one__menu__list li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 16px;
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.2s ease;
}

.sidebar-one__menu__list li a:hover {
  padding-left: 8px;
}

/* Contact list */
.sidebar-one__contact {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.sidebar-one__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Social icons row */
.sidebar-one__social {
  display: flex;
  gap: 12px;
  font-size: 16px;
}

/* Backdrop overlay */
.sidebar-one__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  cursor: pointer;
}

/* Show overlay when body is locked (JS adds this class) */
body.locked .sidebar-one__overlay {
  opacity: 1;
  visibility: visible;
}

/* Prevent page scroll while sidebar is open */
body.locked {
  overflow: hidden;
}

/* Main Slider Three — mobile fixes */
@media (max-width: 767px) {
  /* Dark bg to fill the area below the slide where dots sit */
  .hero-three {
    background-color: #241f21;
  }

  /* Content: inline-block in theme prevents centering — override to block */
  .hero-three__content {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    position: relative !important;
    overflow: visible !important;
  }

  /* Title: allow wrapping, hide overlay spans (they show as artifacts) */
  .hero-three__title {
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .hero-three__title__overlay-group {
    display: none !important;
  }

  /* Button: centered */
  .hero-three__btn {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .hero-three__btn .voldor-btn {
    display: inline-flex !important;
    width: auto !important;
  }

  /* Dots: theme sets width:140px + left:10% + translateX(50%) — all override needed.
     width:auto lets the flex container shrink to content, then left:50%/translateX(-50%) centers it. */
  .hero-three .owl-dots {
    width: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 20px !important;
  }
}

/* About Six - Tablet image fix */
@media (max-width: 991px) {
  .why-choose-three__thumb__item--two {
    display: none !important;
  }
  .why-choose-three__right__funfact__item {
    display: none !important;
  }
  .why-choose-three__thumb {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    transform: none !important;
  }
  .why-choose-three__thumb__item--one {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }
  .why-choose-three__thumb__item--one img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: cover !important;
  }
  .why-choose-three__right {
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
  }
}

/* About Six - Center button on mobile */
@media (max-width: 767px) {
  .why-choose-three__link {
    display: flex !important;
    justify-content: center !important;
  }
}

/* FAQ Accordion - Full Width Text */
.faq-page__accordion .accrodion-content {
  width: 100%;
}

.faq-page__accordion .accrodion-content .inner {
  width: 100%;
}

.faq-page__accordion .accrodion-content .inner__text {
  width: 100%;
  max-width: none;
}

.main-menu__list {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-menu__list > li > a {
  padding: 0 12px;
  letter-spacing: -0.3px;
}

@media (max-width: 1400px) {
  .main-menu__list > li > a {
    font-size: 14px;
    padding: 0 10px;
  }
}

@media (max-width: 1200px) {
  .main-menu__list > li > a {
    font-size: 13px;
    padding: 0 8px;
  }
}

/* =========================================================
   Hero — white outline button (second CTA)
   ========================================================= */
.voldor-btn--white {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.voldor-btn--white:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6,
  p,
  .sec-title,
  .sec-title__tagline,
  .sec-title__title,
  .sec-title__text {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .testimonials-three h1,
  .testimonials-three h2,
  .testimonials-three h3,
  .testimonials-three h4,
  .testimonials-three h5,
  .testimonials-three h6,
  .testimonials-three p {
    text-align: inherit !important;
  }
}


