/* Custom styles to complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;

}

/* Preloader styles */
#preloader {
    transition: opacity 0.5s ease;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation classes */

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header scroll effect */
header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ toggle animation */
.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-toggle.active i {
    transform: rotate(180deg);
}

.faq-content {
    display: none;
}

.faq-content.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Form validation styles */
/* input:invalid, textarea:invalid {
    border-color: #ef4444;
} */

input:valid, textarea:valid {
    border-color: #10b981;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom shadow for cards */
.shadow-tech {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Pulse animation for CTA */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Custom transition for hover effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}


/* Team Section Styles */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-card-front {
    position: relative;
    transition: all 0.4s ease;
}

.team-card-back {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-card-back {
    transform: translateY(0);
}

.team-image-wrapper {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.team-image {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Skill tags animation */
.skill-tag {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-card:hover .skill-tag {
    opacity: 1;
    transform: translateY(0);
}

.skill-tag:nth-child(1) { transition-delay: 0.1s; }
.skill-tag:nth-child(2) { transition-delay: 0.2s; }
.skill-tag:nth-child(3) { transition-delay: 0.3s; }

/* Social links animation */
.social-links {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.team-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-card-back {
        position: relative;
        transform: none;
        background: white;
    }
    
    .team-card:hover .team-image {
        transform: none;
        filter: none;
    }
    
    .skill-tag,
    .social-links {
        opacity: 1;
        transform: none;
    }
}
    /* client card */
    .client-card {
        width: 300px;
        height: 400px;
        margin: 30px auto;
        perspective: none; /* no 3D effect */
      }
      
      .client-card-inner {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 1s ease-in-out;
        transform-origin: center center;
      }
      /* ....................................... */

/* Add this to your styles */
.swiper-pagination {
    margin-top: 8rem !important; /* Adjust the value as needed */
    position: relative;
  }
/* Top Header */
  .top-header {
    display: none;
    /* background-color: #2563eb; Tailwind's bg-primary */
    color: #f5f5f5;             /* Tailwind's text-tprimary */
    padding: 0.75rem 0;
  }
  
  @media (min-width: 640px) {
    .top-header {
      display: block;
    }
  }

  
  .header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  @media (min-width: 1024px) {
    .header-wrapper {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }
  
  .left-content,
  .right-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  @media (min-width: 640px) {
    .left-content,
    .right-content {
      flex-direction: row;
    }
  }
  
  .promo-text,
  .phone,
  .wishlist,
  .profile {
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
  }
  
  .icon {
    font-size: 0.9rem;
  }
  
 /*  .badge {
    position: absolute;
    top: -0.4rem;
    left: -0.6rem;
    background-color: #ef4444; //red-500
    color: white;
    font-size: 0.7rem;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
  }
   */

/* end Top Header */

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(45deg, #0a0f2e, #1a1b3c);
}

.bg-gradient-to-r {
    background-size: 100% 100%;
  }

  /* sifat css */


  .wave-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.06) 30%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.06) 70%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: wave-glow 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    filter: blur(3px); /* Softens the center + edges */
  }
  @keyframes wave-glow {
    0% {
      left: -60%;
    }
    100% {
      left: 120%;
    }
  }

/*   

.wave-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.2) 60%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: wave-glow 3s ease-in-out infinite;
    pointer-events: none;
  }
  
  @keyframes wave-glow {
    0% {
      left: -200%;
    }
    100% {
      left: 100%;
    }
  } */

.hidden-left, .hidden-right {
    opacity: 0;
    transform: translateX(0); /* no shift initially */
    transition: none;
}
