
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 2s infinite;
}

.gradient-bg {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #1E90FF 100%);
}

.card-gradient {
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: 0 20px 25px -5px rgba(30, 144, 255, 0.15), 0 10px 10px -5px rgba(30, 144, 255, 0.1);
}

.field-card {
    background: linear-gradient(145deg, #f0f8ff 0%, #ffffff 100%);
    border: 1px solid #e6f3ff;
    transition: all 0.3s ease;
}

.field-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(30, 144, 255, 0.2);
    border-color: #87CEEB;
}

.icon-container {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    transition: all 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
}

.loading-spinner {
    border: 3px solid #e6f3ff;
    border-top: 3px solid #87CEEB;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(30, 144, 255, 0.2);
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(30, 144, 255, 0.1);
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 10px;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.nav-item:hover {
    color: #1e40af;
    transform: translateY(-2px);
}

.nav-item.active {
    color: #1e40af;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2) 0%, rgba(70, 130, 180, 0.2) 100%);
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-item span {
    font-size: 10px;
    line-height: 1;
}

/* Show mobile nav only on mobile devices */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: block !important;
    }
    
    /* Add padding bottom for mobile to avoid content being hidden behind nav */
    body {
        padding-bottom: 80px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section headers with IDs for navigation */
.section-header {
    scroll-margin-top: 20px;
}
