* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Service card detail styling */
.service-detail {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
}

.service-content {
  transition: opacity 0.3s ease;
}

/* Gradient text utilities */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* Image hover effects */
.group:hover img {
  filter: brightness(1.1);
}

/* Smooth transitions for all interactive elements */
a,
button {
  transition: all 0.3s ease;
}

/* Hero section text shadow for better readability */
section h1,
section h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
  .backdrop-blur-sm {
    backdrop-filter: blur(10px);
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup {
    display: none;
  }
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem !important;
  }

  h2 {
    font-size: 2.5rem !important;
  }
}
