/* Custom styles for Advant landing page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth animations */
.transition {
  transition: all 0.3s ease;
}

/* Hover effects for cards */
.hover\:shadow-xl:hover {
  transform: translateY(-4px);
}

/* Button hover effects */
button:hover,
a.bg-primary:hover,
a.bg-white:hover {
  transform: scale(1.02);
}

/* Gradient text animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 3px solid #5B4B8A;
  outline-offset: 2px;
}

/* Loading animation for images */
img {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Logo styling - white background for logo with dark background */
img[alt="Advant Logo"] {
  background-color: white;
  padding: 4px;
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .no-print {
    display: none;
  }
}
