/* Updated cookie popup styles for new design */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: 24px;
  z-index: 9999;
  transition: bottom 0.5s ease;
  border-top: 4px solid #a3e635;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Added bold typography system matching Muse Group */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  letter-spacing: -0.05em;
}

/* Enhanced transition effects */
a,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service card transitions */
.service-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team member card transitions */
.team-member-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reason card transitions */
.reason-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Photo card floating animation */
.photo-card {
  transition: transform 0.1s ease-out;
}

/* Image transitions */
img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar with lime accent */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #a3e635;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #84cc16;
}

/* Loading Animation for Images */
img {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Updated focus styles for lime theme */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid #a3e635;
  outline-offset: 2px;
}

/* Added pulsing animation for call-to-action buttons */
@keyframes pulse-lime {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(163, 230, 53, 0);
  }
}

.bg-lime-400:hover {
  animation: pulse-lime 2s infinite;
}

/* Card hover shadows */
.service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Text shadow for hero heading */
h1 {
  text-rendering: optimizeLegibility;
}

/* Bold border styles */
.border-4 {
  border-width: 4px;
}

/* Print Styles */
@media print {
  .cookie-popup,
  header,
  footer {
    display: none;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .photo-card {
    width: 100px !important;
  }

  h1 {
    font-size: 3rem !important;
  }

  h2 {
    font-size: 2.5rem !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .bg-lime-400 {
    background-color: #84cc16;
  }

  .text-lime-500 {
    color: #65a30d;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .photo-card {
    transform: none !important;
  }
}
