@tailwind base;
@tailwind components;

@tailwind utilities;




:root {
  --background: #ffffff;
  --foreground: #171717;
  --primary-color:#39115B;
  --dark-color:#252525;
  --paragraph-color:#473954;
  --light-color:#F4F1F6;
}

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

body {
  color: #000;
  /* 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;
  }
}

/*---------------------------- hero image ------------------------------- */
@keyframes jumpTwice {
  0%, 100% { transform: translateY(0); }
  2% { transform: translateY(-30px); }
  4% { transform: translateY(0); }
  6% { transform: translateY(-30px); }
  8% { transform: translateY(0); }
  /* rest of the time it's idle */
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.floating-section {
  animation: float 5s ease-in-out infinite;
}
.floating-section:hover {
  animation-play-state: paused;
}

/* whatsapp icon */
@keyframes scaleBorder {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.scaling-border {
    position: relative;
}

.border-animation {
    position: absolute;
    width: 52px;  /* 52px + 30px (15px on each side) */
    height: 52px; /* 52px + 30px (15px on each side) */
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: scaleBorder 3s ease-in-out infinite;
    pointer-events: none;
    animation-delay: calc(1s * var(--i));
    z-index: -1; /* Put borders behind the button */
}
@media (min-width: 1024px) {
    .border-animation {
        display: none;
    }
}

.team-gradient-bg {
  background-image: linear-gradient(to top left, #640FAF 5%, #7530B0 50%, #8D4EC4 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0 bottom 200px;
  height: 723px;
}
/* RTL specific styles */
.ltr-gradient {
  background-position: left 0 bottom 200px;
}

@media (min-width: 768px) {
  .team-gradient-bg {
    background-position: right 120px top;
    height: 90%;
  }
  .ltr-gradient {
    background-position: left 120px top;
  }
}

@media (min-width: 1024px) {
  .team-gradient-bg {
    background-position: right 296px top;
    height: 100%;
  }
  .ltr-gradient {
    background-position: left 269px top;
  }
}
.purple-filter {
  filter: invert(20%) sepia(80%) saturate(500%) hue-rotate(240deg);
}
.bg-zoom-mask {
  background-size: cover;
  transition: background-size 0.5s ease;
}

.bg-zoom-mask:hover {
  background-size: cover;
}