@tailwind base;
@tailwind components;
@font-face {
    font-family: 'Poppins';
    src: local('Poppins'), url('../assets/fonts/Poppins.ttf') format('truetype'),
        
}
@font-face {
    font-family: 'Raleway';
    src: local('Raleway'), url('../assets/fonts/Raleway.ttf') format('truetype'),        
}
@tailwind utilities;

/* Hero Section Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fade-in 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fade-in 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fade-in 0.8s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.animate-pulse {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.delay-700 {
    animation-delay: 700ms;
}

/* Hero Background Elements */
.hero-bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

/* Scroll Down Animation */
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.animate-bounce-down {
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(.33); }
    80%, 100% { opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    border-radius: 100%;
    border: 2px solid currentColor;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* SVG Animations */
@keyframes draw {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.animate-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-out forwards;
}

/* Stagger animations for multiple paths */
.animate-draw:nth-child(1) {
    animation-delay: 0s;
}

.animate-draw:nth-child(2) {
    animation-delay: 0.5s;
}

.animate-draw:nth-child(3) {
    animation-delay: 1s;
}