/* Complete redesign with dark theme and interactive effects */

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-popup-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Form Error State */
.border-red-500 {
  border-color: #ef4444 !important;
}

/* Smooth Transitions */
* {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Service Card Flip Effect */
.service-card {
  perspective: 1000px;
  height: 600px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-back {
  transform: rotateY(180deg);
}

/* Case Card Expand Effect */
.case-card {
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.case-card.expanded .case-details {
  max-height: 500px;
}

/* Team Carousel */
.team-carousel {
  position: relative;
}

.team-carousel-track {
  display: flex;
}

@media (max-width: 768px) {
  .team-member {
    width: 100% !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .team-member {
    width: 50% !important;
  }
}

.team-nav-btn.active {
  background-color: white;
}

/* Hover Effects */
.service-card-front:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .service-card {
    height: auto;
    min-height: 600px;
  }
}

@media (max-width: 768px) {
  .service-card {
    height: auto;
    min-height: 550px;
  }
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
