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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Card hover effects */
.group {
    overflow: hidden;
}

/* Tailwind hover utilities work via classes */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Sticky nav shadow */
nav {
    backdrop-filter: blur(10px);
}

/* Gradient text (optional) */
.gradient-text {
    background: linear-gradient(135deg, #0066ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image fallback gradient */
img {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

/* Input focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button base styles */
button {
    cursor: pointer;
    user-select: none;
}

/* Mobile menu transitions */
#mobileMenuPanel {
    transition: all 0.3s ease;
}

#mobileMenuPanel.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

#mobileMenuPanel:not(.hidden) {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Section padding consistency */
section {
    position: relative;
}

/* Smooth scrolling anchor links */
html {
    scroll-padding-top: 80px;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
}

