/* Custom styles that complement Tailwind */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Animation for sections when they come into view */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section height adjustment for mobile */
@media (max-width: 640px) {
    .hero-section {
        height: calc(100vh - 64px);
    }
}

/* Smooth transitions for interactive elements */
button, a {
    transition: all 0.3s ease;
}

/* Custom shadow for cards */
.custom-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Form input focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Add these to enhance animations */
.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 1s;
}

/* Hero section animations */
.hero-title {
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

/* Form input animations */
input, textarea {
    transition: all 0.3s ease, transform 0.3s ease;
}

input:focus, textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
}

/* Card hover effects */
.bg-white.rounded-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Read more button styles */
.read-more-btn {
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: background 0.25s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.read-more-btn:hover {
  background: #1e40af;
  color: #fff;
}