/* @tailwind base;
@tailwind components;
@tailwind utilities; */

*{
    padding: 0;
    margin: 0;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Ensure the container fits the content and hides overflow */
.logo-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Flex container for the scrolling logos */
.logo-slide {
    display: flex;
    width: max-content;
    gap: 1rem; /* Adjust gap as needed */
}

/* Animation for horizontal scrolling */
.animate-scroll {
    animation: scroll 30s linear infinite;
}

/* Keyframes for horizontal scrolling */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

#logoSlide:hover {
    animation-play-state: paused;
}



@keyframes navBg__animation_2 {
    0% {
        border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    }
    50% {
        border-radius: 35% 15% 30% 20% / 40% 20% 35% 25%;
    }
    100% {
        border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    }
}

@keyframes navBg__animation {
    0% {
        border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    }
    50% {
        border-radius: 30% 20% 35% 25% / 35% 25% 40% 30%;
    }
    100% {
        border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    }
}

@keyframes Mobile_ImgAnimation{
    0%{
        width: 32%;
        height: 70%;
        top: 24px;
    }
    25%{
        width: 33%;
        height: 71%;
        top: 26px;
    }
    50%{
        width: 34%;
        height: 72%;
        top: 28px;
    }
    75%{
        width: 33%;
        height: 71%;
        top: 26px;
    }
    100%{
        width: 32%;
        height: 70%;
        top: 24px;
    }
}


.centerNav {    
    top: -59px;
    left: 89%;
    transition: all 0.4s ease-in-out;
}
.animationCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%),
}
.tinyDiv {
    width: 35px;
    height: 35px;
    background-color: #498ef5; /* or any color */
    margin: 5px;
    cursor: pointer;
}

#blur_bg{
    transition: all 200ms ease-out !important;
    
}
#blur_bg{
    display: none;
    transition: all 300ms ease-in-out !important;
}
.NavUL{
    display: flex;
    transition: all 400ms ease-in-out !important;
}
.animation{
    backdrop-filter: 3px;
    order: 1;
    background-color: #498ef5;
    border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    animation:  navBg__animation 8s ease-in-out infinite 1s;
    transition: all 200ms ease-in-out;
}
.animation2{
    background-color: rgb(214, 215, 219);
    border-radius: 47% 6% 41% 14% / 50% 10% 42% 18%;
    animation:  navBg__animation_2 8s ease-in-out infinite 1s;
    transition: all 200ms ease-in-out;
}

#Header{
    transition: all 0.7s ease;
}

/* Transition setup for images */
.service-image {
    transition: all 0.3s ease, opacity 0.3s ease;
    opacity: 0.5; /* Default opacity */
    transform: scale(1); /* Default transform */
}

.service-image.active {
    transform: scale(1.4);
    opacity: 1; 
}

.service-image.fade {
    opacity: 0.5; /* Semi-transparent */
}

textarea {
    resize: none;
}


[data-scroll-container] {
    overflow: hidden;
}


@keyframes float {
    0% {
        filter: drop-shadow(0 5px 15px 0px rgba(0,0,0,0.6));
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        filter: drop-shadow(0 25px 15px 0px rgba(0,0,0,0.2));
        transform: translateY(-7px) rotate(3deg);
    }
    100% {
        filter: drop-shadow(0 5px 15px 0px rgba(0,0,0,0.6));
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float2 {
    0% {
        filter: drop-shadow(0 5px 15px 0px rgba(0,0,0,0.6));
        transform: translateY(0px) rotate(0deg);
    }
    30% {
        filter: drop-shadow(0 25px 15px 0px rgba(0,0,0,0.2));
        transform: translateY(-4px) rotate(1.5deg);
    }
    70% {
        filter: drop-shadow(0 25px 15px 0px rgba(0,0,0,0.2));
        transform: translateY(-7px) rotate(3deg);
    }
    100% {
        filter: drop-shadow(0 5px 15px 0px rgba(0,0,0,0.6));
        transform: translateY(0px) rotate(0deg);
    }
}
@keyframes large-float {
    0%, 100% {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
        transform: translateY(0) translateX(0);
    }
    25% {
        filter: drop-shadow(0 22px 22px rgba(0,0,0,0.25));
        transform: translateY(4px) translateX(4px); /* Reduced movement */
    }
    50% {
        filter: drop-shadow(0 28px 28px rgba(0,0,0,0.15));
        transform: translateY(-3px) translateX(5px); /* Reduced movement */
    }
    75% {
        filter: drop-shadow(0 22px 22px rgba(0,0,0,0.25));
        transform: translateY(0) translateX(-4px); /* Reduced movement */
    }
    100% {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
        transform: translateY(0) translateX(0);
    }
}

@keyframes large-float2 {
    0%, 100% {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
        transform: translateY(0) translateX(0);
    }
    25% {
        filter: drop-shadow(0 25px 25px rgba(0,0,0,0.2));
        transform: translateY(-5px) translateX(-5px); /* Reduced movement */
    }
    50% {
        filter: drop-shadow(0 30px 30px rgba(0,0,0,0.1));
        transform: translateY(3px) translateX(-7px); /* Reduced movement */
    }
    75% {
        filter: drop-shadow(0 25px 25px rgba(0,0,0,0.2));
        transform: translateY(0) translateX(5px); /* Reduced movement */
    }
    100% {
        filter: drop-shadow(0 25px 25px rgba(0,0,0,0.2));
        transform: translateY(0) translateX(0);
    }
}





.floating-element {
    animation: large-float 7s ease-in-out infinite, ease-in-out infinite;
}
.floating-element2 {
    animation: large-float2 7s ease-in-out infinite, ease-in-out infinite;
}
@keyframes blob-bounce {
    0% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  
    25% {
      transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }
  
    50% {
      transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }
  
    75% {
      transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }
  
    100% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  }
  
#imgFloat{
    animation: float 4s ease-in-out infinite;
}
#imgFloat2{
    animation: float 6s ease-in-out infinite;
} 
.images-container {
    display: flex;
    transition: all;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.service-image {
    width: 5rem;
    height: 5rem;
}

/* Medium and larger screens */
@media (min-width: 768px) {
    .service-image {
        width: 6rem;
        height: 6rem;
    }
}
.card-hover:hover {
    --tw-scale-x: 1.01;
    --tw-scale-y: 1.01;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cntBtn:hover{
    fill: white;
}
#Hero {
    background-image: url('./public/assets/bg1.png');
    background-size: cover;
    background-position: center;
    height: 90vh;
}



/* Adjustments for responsiveness */

  #ChildOfHero{
    transition: all 300ms ease-in;
  }

/* In your custom CSS file */
.nav-item {
    @apply relative text-gray-200 hover:text-white cursor-pointer transition-all ease-in-out my-2;
    /* Ensure that the element has a relative position for pseudo-elements */
  }
  
  .nav-item::before,
  .nav-item::after {
    content: ''; /* Pseudo-elements need content */
    position: absolute; /* They need to be positioned absolutely relative to .nav-item */
    height: 2px; /* Define the underline height */
    background-color: white; /* blue-300 color */
    transition: width 0.5s ease-in-out; /* Animate the width */
    width: 0; /* Initially, the underline is hidden */
    bottom: -4px; /* Place underline just below the text */
  }
  
  .nav-item::before {
    left: 50%; /* Start the underline from the middle */
    transform-origin: center; /* Animate the width from the center */
  }
  
  .nav-item::after {
    right: 50%; /* Start the underline from the middle */
    transform-origin: center;
  }
  
  .nav-item:hover::before,
  .nav-item:hover::after {
    width: 35%; /* On hover, expand the underline */
  }
  .mobile-nav-item {
    position: relative;
    cursor: pointer;
    transition: all ease-in-out;
    color: inherit; /* Use default text color */
    margin: 0.5rem 0; /* Equivalent to Tailwind's my-2 */
  }
  
  .mobile-nav-item:hover {
    color: #6f602a; /* Change text color on hover */
  }
  
  .mobile-nav-item::before,
  .mobile-nav-item::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #6f602a; /* Custom underline color */
    transition: width 0.5s ease-in-out;
    width: 0; /* Hidden by default */
    bottom: -4px; /* Position the underline 4px below the text */
  }
  
  .mobile-nav-item::before {
    left: 50%;
    transform-origin: center;
  }
  
  .mobile-nav-item::after {
    right: 50%;
    transform-origin: center;
  }
  
  .mobile-nav-item:hover::before,
  .mobile-nav-item:hover::after {
    width: 35%; /* Expand underline on hover */
  }
  
/* Responsive adjustments */
@media (max-width: 1024px) { /* For medium screens (md) */
    #Hero {
        height: 66vh;
    }
}

@media (max-width: 768px) { /* For small screens (sm) */
    #Hero {
        height: 50vh;
    }
}


.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.hover-btn {
    transition: opacity 0.3s ease, transform 0.1s ease;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover .hover-btn {
    pointer-events: auto;
}

.hover-btn:hover {
    background-color: #3b82f6;
    transform: translate(-50%, -50%) scale(1.1);
}
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  
  html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
  }