* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 60px; /* Adjust based on nav height to prevent overlap */
}

header {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header .motto {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

nav {
    background: #1e3a8a;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #93c5fd;
}

.language-selector {
    color: white;
}

.language-selector select {
    padding: 0.5rem;
    border-radius: 4px;
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
}

.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    header h1 {
        font-size: 1.8rem;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    body {
        padding-top: 120px; /* Increased padding for stacked nav on smaller screens */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    .feature-card {
        padding: 1rem;
    }
    header .motto {
        font-size: 0.9rem;
    }
}