/* Complete redesign with purple theme and modern effects */

/* Glass morphism effect */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(147, 51, 234, 0.1);
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(147, 51, 234, 0.3);
  z-index: 9999;
  max-width: 600px;
  width: 90%;
  transition: bottom 0.5s ease;
  border-top: 4px solid #9333ea;
  border-radius: 24px;
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-content {
  text-align: center;
}

/* Mobile Menu Styles */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 400px;
}

/* Flip Card Animation */
.flip-card {
  perspective: 1000px;
  height: 400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Service Card Hover Effect */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Case Card Hover Effect */
.case-card {
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-8px);
}

.case-card img {
  transition: transform 0.3s ease;
}

.case-card:hover img {
  transform: scale(1.05);
}

/* Team Card Hover Effect */
.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* FAQ Accordion Styles */
.faq-item {
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Smooth transitions */
* {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 2px solid #9333ea;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9333ea 0%, #7c3aed 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
}

/* Animated gradient background */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Pulse animation for status indicator */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .flip-card {
    height: auto;
  }

  .flip-card:hover .flip-card-inner {
    transform: none;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    height: auto;
  }

  .flip-card-back {
    transform: none;
    margin-top: 20px;
  }
}

/* Loading animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Button hover effects */
button,
a {
  transition: all 0.3s ease;
}

/* Card entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Gradient text animation */
@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
