@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #ffffff;
  --foreground: #171717;
  --my-filter: "grayscale(100%)";
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  color: #fff;
  /* color: var(--foreground); */
  /* background: var(--background); */
  font-family: Arial, Helvetica, sans-serif;
}

.dir-ltr {
  direction: ltr;
}
.dir-rtl {
  direction: rtl;
}

/* --------------------------------------------------------- */

/* //////////////////////////////////////////////////////////////// */

.hidden-scrollbar::-webkit-scrollbar {
  display: none;
  scrollbar-width: none;
}

.hidden-scrollbar {
  scrollbar-width: none;
}

/* hide scrollbar */
.hidden-scrollbar::-webkit-scrollbar {
  display: none;
  scrollbar-width: none;
}

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;
    /* --primary: 0 0% 9%; */
    /* --primary-foreground: 0 0% 98%; */
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 0 0% 3.9%;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.5rem;
  }
  .dark {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 3.9%;
    --popover-foreground: 0 0% 98%;
    /* --primary: 0 0% 98%; */
    /* --primary-foreground: 0 0% 9%; */
    --secondary: 0 0% 14.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 0 0% 14.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 0% 83.1%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/* --------------------------------- */

.last-project .swiper {
  width: 100%;
  height: 100%;
}

/* .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: red;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.last-project .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .swiper-pagination-bullet {
  background-color: #5a081670 !important;
  border-radius: 99999px !important;
  width: 18px !important;
  height: 4px !important;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background-color: #5a0816 !important;
  width: 51px !important;
  height: 4px !important;
}
.swiper-pagination {
  bottom: 0px !important;
  left: 650px !important;
} */

.last-project .swiper-pagination {
  /* background-color: yellow; */
  width: 50% !important;
  bottom: 0px !important;
  /* left: 1000px !important; */
  text-align: end !important;
}

@media (max-width: 2440px) {
  .last-project .swiper-pagination {
    /* background-color: brown; */
    left: 630px !important;
  }
  :dir(rtl) .last-project .swiper-pagination {
    left: 0px !important;
  }
}

@media (max-width: 1540px) {
  .last-project .swiper-pagination {
    /* background-color: rosybrown; */  
    left: 630px !important;
  }
  :dir(rtl) .last-project .swiper-pagination {
    left: 0px !important;
  }
}

@media (max-width: 1280px) {
  .last-project .swiper-pagination {
    /* background-color: orange; */
    left: 500px !important;
  }
  :dir(rtl) .last-project .swiper-pagination {
    left: 0px !important;
  }
}

@media (max-width: 1024px) {
  .last-project .swiper-pagination {
    /* background-color: red; */
    left: 450px !important;
  }
  :dir(rtl) .last-project .swiper-pagination {
    left: 0px !important;
  }
}

@media (max-width: 768px) {
  .last-project .swiper-pagination {
    /* background-color: green; */
    /* left: 384px !important; 
  transform: translate(-50%, -50%) !important;
  text-align: center !important; */
    display: none !important;
  }
}
@media (max-width: 640px) {
  .last-project .swiper-pagination {
    /* background-color: blue;
  
    bottom:-35px !important;
    left: 160px !important;
    position: absolute !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important; */
    display: none !important;
  }
}

.last-project .swiper-pagination-bullet {
  background-color: #5a081670 !important;
  border-radius: 99999px !important;
  width: 18px !important;
  height: 4px !important;
}
.last-project .swiper-pagination-bullet-active {
  background-color: #5a0816 !important;
  width: 51px !important;
  height: 4px !important;
}

.gallaryG {
  /* display: none;  */
  height :500px ;
  width: 1000px;
}
.gallaryG .swiper {
  width: 100%;
  height: 100%;
}

.gallaryG .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallaryG .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.gallaryG .swiper {
  margin-left: auto;
  margin-right: auto;
}
.gallaryG .swiper-button-next,
.gallaryG .swiper-button-prev{
  color: white !important;
  width: 30px;
  height: 30px;
  border-radius: 50%;
 
}

.gallaryG .swiper-button-next::after,
.gallaryG .swiper-button-prev::after {
  font-size: 30px;
  /* background-color: #5a081670 !important;  */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  opacity: 1;
   text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


.gallaryG .swiper-pagination-bullet{
  background-color: #5a081670 !important;
  
}
.gallaryG .swiper-pagination-bullet-active {
  background-color: #5a0816 !important;
}



/* ------------------------------ */
@keyframes ldio-yzaezf3dcmj {
  0% {
      transform: rotate(0);
  }
  100% {
      transform: rotate(360deg);
  }
}
.ldio-yzaezf3dcmj div {
  box-sizing: border-box !important;
}
.ldio-yzaezf3dcmj > div {
  position: absolute;
  width: 144px;
  height: 144px;
  top: 28px;
  left: 28px;
  border-radius: 50%;
  border: 16px solid #000;
  border-color: #5a0816 transparent #5a0816 transparent;
  animation: ldio-yzaezf3dcmj 1s linear infinite;
}
.ldio-yzaezf3dcmj > div:nth-child(2) {
  border-color: transparent;
}
.ldio-yzaezf3dcmj > div:nth-child(2) div {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
}
.ldio-yzaezf3dcmj > div:nth-child(2) div:before,
.ldio-yzaezf3dcmj > div:nth-child(2) div:after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: -16px;
  left: 48px;
  background: #5a0816;
  border-radius: 50%;
  box-shadow: 0 128px 0 0 #5a0816;
}
.ldio-yzaezf3dcmj > div:nth-child(2) div:after {
  left: -16px;
  top: 48px;
  box-shadow: 128px 0 0 0 #5a0816;
}
.loadingio-spinner-dual-ring-2by998twmg8 {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: #ffffff;
}
.ldio-yzaezf3dcmj {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-yzaezf3dcmj div {
  box-sizing: content-box;
}

/* Md swiper */
.MD .swiper {
  width: 100%;
  height: 100%;
}

.MD .swiper-slide {
  text-align: center;
  font-size: 18px;
  height: 222px !important;
  /* background-color: red !important; */

 


  /* Center slide text vertically */
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .MD .swiper-slide {
    height: 500px !important;
    /* background-color: blue !important; */
  }
}



.MD .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.MD .swiper-pagination-bullet{
  background-color: grey !important;
  
}
.MD .swiper-pagination-bullet-active {
  background-color: white !important;
}
