@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

section {
    scroll-margin-top: 2rem;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom shadow for cards */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* Modern animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Section animations */
section {
    animation: fadeInSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }

/* Floating elements */
.floating {
    animation: float 3s ease-in-out infinite;
}

/* Gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #667eea, #764ba2, #6B46C1);
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite;
}

/* Pulse animation */
.pulse:hover {
    animation: pulse 1s ease;
}

/* 3D card effect */
.card-3d {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(10deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Glow effect */
.glow {
    box-shadow: 0 0 10px rgba(103, 78, 234, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 20px rgba(103, 78, 234, 0.8);
}

/* Animated underline */
.animated-underline {
    position: relative;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.5s ease;
}

.animated-underline:hover::after {
    width: 100%;
}
