/* General Layout */
body {
    background-color: #000;  /* Full black background */
    color: #fff;             /* White text */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  html, body {
    height: 100%;
  }
  
  /* Neon RGB Border Animation */
  .neon-border {
    border: 5px solid transparent;
    background-image: linear-gradient(
      45deg,
      rgb(255, 0, 0),
      rgb(255, 255, 0),
      rgb(0, 255, 0),
      rgb(0, 255, 255),
      rgb(0, 0, 255),
      rgb(255, 0, 255)
    );
    background-size: 400% 400%;
    animation: neonBorder 3s ease infinite;
    z-index: 10;
  }
  
  @keyframes neonBorder {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  /* Swiper container fix */
  .swiper-container {
    position: relative;
    z-index: 5;
  }
  

  @keyframes glowAnimation {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 0.8;
    }
  }

  /* Media Query for Mobile Devices */
  @media (max-width: 768px) {
    /* Adjust background size */
    div[style*="position: absolute;"] {
      width: 190vw;
      height: 190vw;
    }

    /* Adjust image size */
    img[alt="Services"] {
      width: 50vw;
      height: 50vw;
    }
  }

  /* Media Query for Small Mobile Devices */
  @media (max-width: 480px) {
    /* Adjust background size */
    div[style*="position: absolute;"] {
      width: 160vw;
      height: 160vw;
    }

    /* Adjust image size */
    img[alt="Services"] {
      width: 60vw;
      height: 60vw;
    }
  }



  .slider-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 40px 20px;
    scroll-snap-type: x mandatory;
    background: radial-gradient(circle at center, #6a0dad, transparent 70%);
    justify-content: center;
    flex-wrap: nowrap;
  }

  .slide {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: center;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid purple;
    box-shadow: 0 0 20px rgba(128, 0, 128, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
  }

  .slide:hover {
    transform: scale(1.05);
  }

  .slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 3px solid black;
  }

  @media (max-width: 768px) {
    .slide {
      width: 240px;
    }
  }

  @media (max-width: 480px) {
    .slide {
      width: 200px;
    }
  }

  @media (max-width: 768px) {
    .centered-text {
      font-size: 5vw;
      aspect-ratio: 1 / 1;
    }
  }



  .center-image-container {
  position: relative;
  width: 90vw;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 50px auto;
  overflow: hidden;
  border-radius: 12px;
}

.radial-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(128,0,128,0.4) 60%, rgba(0,0,0,1) 80%);
  filter: blur(100px);
  animation: glowAnimation 3s infinite ease-in-out;
  z-index: 0;
}

.center-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 12px;
  display: none;
  z-index: 1;
}

/* Show desktop image on screens wider than 768px */
.desktop-image {
  display: block;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .desktop-image {
    display: none;
  }
  .mobile-image {
    display: block;
  }
  .centered-text {
    display: none;
  }
}

/* Text Styling */
.centered-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 4vw, 28px);
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  padding: 10px;
  z-index: 2;
}

@keyframes glowAnimation {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

  
 
  /* Optional glow animation */
  @keyframes glowAnimation {
    0%, 100% {
      opacity: 0.8;
    }
    50% {
      opacity: 1;
    }
  }
  
.mobile-view {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 10vh;
        position: relative;
      }

      .mobile-view img {
        width: 70vw;
        height: 40vw;
        object-fit: cover;
        border: 4px solid white;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        z-index: 1;
      }

      .mobile-view {
    display: none;
  }

    /* Responsive Rules */
    @media (max-width: 767px) {
      .desktop-view {
        display: none;
      }
       .mobile-view {
        display: block;
      }
    }
   /* CSS for RGB Glow on Hover */


/* @keyframes glow {
  0% { border-color: red; box-shadow: 0 0 10px red; }
  25% { border-color: lime; box-shadow: 0 0 10px lime; }
  50% { border-color: blue; box-shadow: 0 0 10px blue; }
  75% { border-color: yellow; box-shadow: 0 0 10px yellow; }
  100% { border-color: red; box-shadow: 0 0 10px red; }
}

/* Default card look (no glow until hover) */
/* .glowing-border {
  border: 2px solid transparent;
  transition: all 0.4s ease-in-out;
} */

/* On hover, apply glowing animation */
/* .hover-glow:hover {
  animation: glow 3s linear infinite;
  transform: translateY(-6px);
  border-radius: 0.75rem;
} */


.glow-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #1f2937; /* Tailwind's bg-gray-800 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* Border animation container */
.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 0.75rem;
  padding: 2px;
  background: linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  animation: borderRGB 5s linear infinite;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  box-sizing: border-box;
}

.glow-card:hover::before {
  opacity: 1;
}

@keyframes borderRGB {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}




/* our clients */
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 60s linear infinite;
}
