/* Base styles */
html {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes organicMove {
    0% {
        transform: translate(-15%, -10%) rotate(25deg) scale(1);
    }
    12.5% {
        transform: translate(-5%, -20%) rotate(35deg) scale(1.1);
    }
    25% {
        transform: translate(10%, -15%) rotate(45deg) scale(0.9);
    }
    37.5% {
        transform: translate(20%, -5%) rotate(30deg) scale(1.2);
    }
    50% {
        transform: translate(15%, 10%) rotate(40deg) scale(0.8);
    }
    62.5% {
        transform: translate(5%, 20%) rotate(20deg) scale(1.15);
    }
    75% {
        transform: translate(-10%, 15%) rotate(50deg) scale(0.95);
    }
    87.5% {
        transform: translate(-20%, 5%) rotate(25deg) scale(1.05);
    }
    100% {
        transform: translate(-15%, -10%) rotate(25deg) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-triggered animations - start hidden */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s ease-in-out infinite;
}

.animate-organic-move {
    animation: organicMove 12s ease-in-out infinite;
}

.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.animate-slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.animate-slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations for multiple elements */
.animate-stagger-1 { transition-delay: 0.1s; }
.animate-stagger-2 { transition-delay: 0.2s; }
.animate-stagger-3 { transition-delay: 0.3s; }
.animate-stagger-4 { transition-delay: 0.4s; }

/* Hover effects */
.hover-scale {
    transition: transform 0.2s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Focus styles */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

/* Font weights */
.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Navigation transitions */
#main-nav {
    transition: all 0.3s ease-in-out;
}

#main-nav img {
    transition: all 0.3s ease-in-out;
}

/* FAQ accordion transitions */
button[aria-controls^="faq-"] svg {
    transition: transform 0.3s ease-in-out;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease-in-out;
}

img:hover {
    transform: scale(1.02);
}

/* Button hover effects */
.btn-hover {
    transition: all 0.2s ease-in-out;
}

.btn-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.1), 0 2px 4px -1px rgba(30, 58, 138, 0.06);
}

/* Link hover effects */
a {
    transition: color 0.2s ease-in-out;
}

/* Section transitions */
section {
    transition: opacity 0.3s ease-in-out;
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-counter {
    animation: countUp 0.5s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .text-4xl {
        font-size: 1.875rem;
    }
    
    .text-6xl {
        font-size: 2.25rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
} 