@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



html {
  scroll-behavior: smooth;
}

.dmserif {
  font-family: "DM Serif Display", serif;
}

.dmsans {
  font-family: "DM Sans", sans-serif;
}

.allura {
  font-family: "Allura", cursive;
}

.nunito {
  font-family: "Nunito Sans", sans-serif;

}

.playfair {
  font-family: "Playfair Display", serif;
}

/* <-- Common Color Start --> */

.text-blue {
  color: #1E2A3D;
}

.bg-orange {
  background-color: #1E2A3D;
}

/* <-- Common Color End --> */

/* Simple spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader {
  border-width: 4px;
  border-color: #ccc transparent #ccc transparent;
  animation: spin 1s linear infinite;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 33px;
  height: 33px;
}


/* Custom styles for Owl Carousel navigation, if needed, though Tailwind handles most layout */
.owl-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Ensures images cover the area without distortion */
}

/* Ensure rounded corners apply to the carousel items */
.owl-carousel .owl-item.active .item {
  border-radius: 0.375rem;
  /* rounded-md in Tailwind */
  overflow: hidden;
  /* Ensures content respects border-radius */
}

.owl-nav {
  display: none !important;
}

.owl-carousel .owl-item {
  transition: opacity 0.8s ease-in-out;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  display: none;
}

.item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.group:hover path {
  fill: #EFA969;
}

.groups:hover path {
  fill: #fff;
}


@media (max-width: 575px) {
  .random-padding {
    padding-bottom: 1.5rem !important;
  }
}

@media (max-width: 360px) {
  .pad-pro {
    padding-top: 5.5rem !important;
  }
}

@media (max-width: 320px) {
  .pad-pro {
    padding-top: 7.5rem !important;
  }
}

#header-carousel .item {
  background: transparent !important;
  perspective: 1000px;
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 0.5s ease;
}

#header-carousel .item img {
  background: transparent !important;
  display: block;
}

.owl-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item {
  background: transparent !important;
}


#header-carousel,
#header-carousel .item,
#header-carousel .owl-item,
#header-carousel .owl-stage,
#header-carousel .owl-stage-outer {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}


.owl-carousel,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage,
.owl-carousel .owl-item {
  box-shadow: none !important;
}


.ml6 {
  position: relative;
  font-weight: 900;
  font-size: 3.5rem;
  /* adjust to your needs */
}

.ml6 .text-wrapper {
  position: relative;
  display: inline-block;
  padding: 0.2em 0.05em;
  overflow: hidden;
}

.ml6 .letter {
  display: inline-block;
  line-height: 1em;
  transform-origin: 0 100%;
}

.img-comparison {
  position: relative;
  width: 100%;
  max-width: 1000px;
  /* max-width: 1200px; */
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9;
  --position: 50%;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-before {
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
  z-index: 2;
}

.image-after {
  z-index: 1;
}

.slider-line {
  position: absolute;
  top: 0;
  left: var(--position);
  width: 4px;
  height: 100%;
  background: white;
  z-index: 3;
  transform: translateX(-1px);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-47%, -50%);
  /* transform: translate(-50%, -50%); */
  background: white;
  border-radius: 100%;
  z-index: 4;
  cursor: ew-resize;
  padding: .15rem;
}

.slider-button svg {
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.slider {
  display: none;
  /* Hide default range slider */
}