/* From Uiverse.io by MijailVillegas */
.card {
  max-width: fit-content;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 1rem;
  /* backdrop-filter: blur(15px); */
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.192),
    inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
  transition: 0.5s;
}

.card:hover {
  animation: ease-out 5s;
  background: rgba(173, 173, 173, 0.05);
}

.card ul {
  padding: 1rem;
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.card ul li {
  cursor: pointer;
}

.svg {
  transition: all 0.3s;
  /* if you find some problems change w - h : 30px*/
  padding: 1rem;
  height: 60px;
  width: 60px;
  border-radius: 100%;
  color: rgb(255, 255, 255);
  fill: currentColor;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
}

.text {
  opacity: 0;
  border-radius: 5px;
  padding: 5px;
  transition: all 0.3s;
  color: rgb(0, 0, 0);
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  z-index: 9999;
  box-shadow: -5px 0 1px rgba(153, 153, 153, 0.2),
    -10px 0 1px rgba(153, 153, 153, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.082);
}

/*isometric prooyection*/
.iso-pro {
  transition: 0.5s;
}
.iso-pro:hover a > .svg {
  transform: translate(15px, -15px);
  border-radius: 100%;
}

.iso-pro:hover .text {
  opacity: 1;
  transform: translate(25px, -2px) skew(-5deg);
}

.iso-pro:hover .svg {
  transform: translate(5px, -5px);
}

.iso-pro span {
  opacity: 0;
  position: absolute;
  color: #1877f2;
  border-color: #1877f2;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
  border-radius: 50%;
  transition: all 0.3s;
  height: 60px;
  width: 60px;
}

.iso-pro:hover span {
  opacity: 1;
}

.iso-pro:hover span:nth-child(1) {
  opacity: 0.2;
}

.iso-pro:hover span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.iso-pro:hover span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}

/* From Uiverse.io by jeremyssocial */
/* From Uiverse.io by kennyotsu */
/* From Uiverse.io by MijailVillegas */
.card {
  max-width: fit-content;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 1rem;
  /* backdrop-filter: blur(15px); */
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.192),
    inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
  transition: 0.5s;
}

.card:hover {
  animation: ease-out 5s;
  background: rgba(173, 173, 173, 0.05);
}

.card ul {
  padding: 1rem;
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.card ul li {
  cursor: pointer;
}

.svg {
  transition: all 0.3s;
  /* if you find some problems change w - h : 30px*/
  padding: 1rem;
  height: 60px;
  width: 60px;
  border-radius: 100%;
  color: rgb(255, 255, 255);
  fill: currentColor;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
}

.text {
  opacity: 0;
  border-radius: 5px;
  padding: 5px;
  transition: all 0.3s;
  color: rgb(26, 19, 112);
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  z-index: 9999;
  box-shadow: -5px 0 1px rgba(153, 153, 153, 0.2),
    -10px 0 1px rgba(153, 153, 153, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.082);
}

/*isometric prooyection*/
.iso-pro {
  transition: 0.5s;
}
.iso-pro:hover a > .svg {
  transform: translate(15px, -15px);
  border-radius: 100%;
}

.iso-pro:hover .text {
  opacity: 1;
  transform: translate(25px, -2px) skew(-5deg);
}

.iso-pro:hover .svg {
  transform: translate(5px, -5px);
}

.iso-pro span {
  opacity: 0;
  position: absolute;
  color: #1877f2;
  border-color: #1877f2;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.5), 0 5px 5px rgba(0, 0, 0, 0.164);
  border-radius: 50%;
  transition: all 0.3s;
  height: 60px;
  width: 60px;
}

.iso-pro:hover span {
  opacity: 1;
}

.iso-pro:hover span:nth-child(1) {
  opacity: 0.2;
}

.iso-pro:hover span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.iso-pro:hover span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}
.loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #1e3a8a;
  border-radius: 50%;
  animation: spin 1800m linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth exit */
#pageLoader.hide {
  opacity: 80;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* HERO */
@media (max-width: 768px) {
  main h1 {
    font-size: 2.4rem !important;
    line-height: 1.2;
  }
  main h2 {
    font-size: 1.4rem !important;
  }
  main p {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 640px) {
  main .flex.gap-4 {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .fixed.right-4.top-1\/2 {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #why-arayz .grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .numbers-section h3 {
    font-size: 2rem !important;
  }
}

@media (max-width: 1024px) {
  #projects > div > .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  #projects > div > .grid {
    grid-template-columns: 1fr !important;
  }
  #projects img {
    height: 300px !important;
  }
}

@media (max-width: 768px) {
  footer .grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  footer img {
    margin: auto;
  }
}

@media (max-width: 768px) {
  #cookieBar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #topBtn {
    left: 1rem;
    bottom: 1rem;
  }
}
/* Partners Slider */
/* .partners-slider {
  width: max-content;
  animation: partnersMove 30s linear infinite;
}

.partner-card {
  background: rgba(31, 41, 55, 0.6);
  padding: 24px;
  border-radius: 20px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.partner-card img {
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.partner-card:hover {
  transform: scale(1.08);
  background: rgba(31, 41, 55, 0.9);
}

.partner-card:hover img {
  filter: grayscale(0%);
} */

/* Animation */
/* Partners Slider */
.partners-slider {
  width: max-content;
  animation: partnersMove 30s linear infinite;
}

.partner-card {
  background: rgb(255, 255, 255);
  padding: 24px;
  border-radius: 20px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.partner-card img {
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.partner-card:hover {
  transform: scale(1.08);
  background: rgba(31, 41, 55, 0.9);
}

.partner-card:hover img {
  filter: grayscale(0%);
}

/* Animation */
@keyframes partnersMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(80%);
  }
}
