body {
    font-family: "Asta Sans", "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}

h2 {
    font-size: 1.5em;
    margin-top: 10px;
}

.language-switch {
    margin: 20px 0;
}

.language-switch button {
    background-color: #fff;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.language-switch button:hover {
    background-color: #007bff;
    color: white;
}

.asn-members {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.asn-members h3 {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wave animation */
.wave-animation {
    animation: float 6s ease-in-out infinite;
}

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

/* Loading bar animation */
.loading-bar {
    animation: loadingProgress 3s ease-out forwards;
}

@keyframes loadingProgress {
    from {
        width: 0%;
    }
    to {
        width: 75%;
    }
}

/* Navbar blur effect */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

/* Custom gradient backgrounds */
.bg-gradient-wave {
    background: linear-gradient(135deg, #0066cc 0%, #4da6ff 100%);
}

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

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .wave-animation {
        animation: none; /* Disable animation on very small screens for performance */
    }
}

/* Enhanced responsive text sizing */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    .text-6xl {
        font-size: 3rem;
    }
    
    /* Mobile-specific spacing adjustments */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .text-3xl {
        font-size: 1.75rem;
    }
    .text-4xl {
        font-size: 2rem;
    }
    .text-5xl {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .text-3xl {
        font-size: 1.5rem;
    }
    .text-4xl {
        font-size: 1.75rem;
    }
    .text-5xl {
        font-size: 2rem;
    }
}

/* Touch-friendly button sizing */
@media (max-width: 768px) {
    button {
        min-height: 44px; /* iOS recommended touch target size */
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #003d80;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Better focus states for accessibility */
button:focus, 
a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}