/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-popup.show {
  bottom: 30px;
}

.cookie-content {
  padding: 32px;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Form Focus States */
input:focus,
textarea:focus {
  outline: none;
  border-color: #facc15 !important;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.15);
}

/* Button Hover Effects */
button,
a {
  transition: all 0.3s ease;
}

/* Image Loading */
img {
  max-width: 100%;
  height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  border-radius: 7px;
  border: 2px solid #111;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #facc15 100%);
}

/* Mobile Menu Transition */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

/* Card Hover Effects */
.bg-white {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Sticky Header Enhancement */
header {
  transition: box-shadow 0.3s ease;
}

/* Responsive Images */
@media (max-width: 768px) {
  .cookie-popup {
    width: 95%;
    bottom: -250px;
  }

  .cookie-popup.show {
    bottom: 10px;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .cookie-popup {
    display: none;
  }
}

/* Added service card flip animation */
.service-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.service-card-front,
.service-card-back {
  backface-visibility: hidden;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Added gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced hover effects for cards */
.bg-gray-900:hover,
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.25);
}

/* Added glass morphism effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .cookie-popup {
    width: 95%;
    bottom: -350px;
  }

  .cookie-popup.show {
    bottom: 15px;
  }

  .cookie-content {
    padding: 24px;
  }
}
