html {
  scroll-behavior: smooth;
}
/*was problem here*/
html,
body {
  overflow-x: clip;
}
/* ---------- Glass card ---------- */
.glass {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* ---------- Buttons with a text arrow (no icons) ---------- */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-arrow::after {
  content: "\2192";
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

.arrow-dot {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #eaf2ff;
  color: #1f45c9;
  font-size: 0.7rem;
}
.arrow-dot::after {
  content: "\2192";
}

.round-btn {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  color: #071b63;
  font-size: 1.3rem;
  line-height: 1;
  transition:
    background 0.2s,
    color 0.2s;
}
.round-btn:hover {
  background: #f26b1d;
  color: #fff;
}

/* ---------- Pure CSS shapes ---------- */
.chev {
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.play-btn {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #071b63;
  transition: transform 0.25s;
}
.play-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
a:hover > .play-btn {
  transform: scale(1.1);
}

.title-line::before,
.title-line::after {
  content: "";
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f26b1d);
}
.title-line::after {
  transform: scaleX(-1);
}

/* ---------- Hero slider ---------- */
.hero-slide .slide-bg {
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-slide.swiper-slide-active .slide-bg {
  transform: scale(1);
}

.hero-slide .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.hero-slide.swiper-slide-active .reveal {
  opacity: 1;
  transform: none;
}
.hero-slide.swiper-slide-active .reveal:nth-child(2) {
  transition-delay: 0.15s;
}
.hero-slide.swiper-slide-active .reveal:nth-child(3) {
  transition-delay: 0.3s;
}
.hero-slide.swiper-slide-active .reveal:nth-child(4) {
  transition-delay: 0.45s;
}

/* ---------- Pagination dots ---------- */
.dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: #1f45c9;
  opacity: 0.35;
  transition: all 0.3s;
}
.dots .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 99px;
  background: #f26b1d;
  opacity: 1;
}
.dots-light .swiper-pagination-bullet {
  background: #fff;
}

/* ---------- Misc ---------- */
.product-card img {
  transition: transform 0.4s ease;
}
.product-card:hover img {
  transform: translateY(-6px) scale(1.05);
}

.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .about-image {
    margin-left: calc(max(100vw - 1440px, 0px) / -2);
    width: calc(100% + max(100vw - 1440px, 0px) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide .slide-bg,
  .hero-slide .reveal {
    transition: none;
  }
}

/* ---------- Responsive header ---------- */
.site-header {
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(7, 27, 99, 0.5);
}

.burger {
  display: grid;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  place-content: center;
  border-radius: 9999px;
  background: #071b63;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.is-open {
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-link {
  display: block;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid #e3ebff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #071b63;
}
.mobile-link:hover {
  color: #f26b1d;
  background: #f4f8ff;
}
@keyframes teamIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .team-in > * {
    animation: teamIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .team-in > *:nth-child(2) {
    animation-delay: 0.06s;
  }

  .team-in > *:nth-child(3) {
    animation-delay: 0.12s;
  }

  .team-in > *:nth-child(4) {
    animation-delay: 0.18s;
  }

  .team-in > *:nth-child(5) {
    animation-delay: 0.24s;
  }

  .team-in > *:nth-child(6) {
    animation-delay: 0.3s;
  }
}
.brands-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.brands-mask {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
/* ---------- Brands slider ---------- */
.script-font {
  font-family: "Dancing Script", cursive;
}

.brands-swiper {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
}
.brands-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}
.brands-swiper .swiper-slide {
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  .brands-swiper .swiper-slide {
    width: 190px;
  }
}

.brands-mask {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
/* accordion: smooth open + rotating chevron (no JS) */
.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-chev {
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chev {
  transform: rotate(90deg);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.faq-item[open] .faq-body {
  animation: faqIn 0.35s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-body {
    animation: none;
  }
}

/* ---------- AOS compatibility ---------- */
.faq-item[data-aos] {
  transition-property: opacity, transform, background-color, box-shadow;
}
