/* Hide loading screen by default */
#loading { display: none; }

/* Base styles */
body { 
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hero pattern */
.hero-pattern {
    background: #013467;
    background-image: 
        radial-gradient(#ffffff10 1px, transparent 1px),
        linear-gradient(45deg, transparent 45%, #ffffff05 45%, #ffffff05 55%, transparent 55%);
    background-size: 20px 20px, 40px 40px;
    position: relative;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(1, 52, 103, 0.8), rgba(1, 52, 103, 0.95));
}

/* Particles container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Typed.js cursor */
.typed-cursor {
    color: #feac01;
    font-weight: 300;
}

/* Statistics cards */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-title { 
        font-size: 2.5rem !important; 
    }
    .hero-text { 
        font-size: 1.25rem !important; 
    }
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #feac01;
    color: #013467;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Profile images */
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

/* AOS custom animations */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth transitions */
.transition {
    transition: all 0.3s ease;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #013467;
}
