* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f1f5f9;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: min(190px, 56vw);
    height: auto;
    display: block;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(8, 47, 122, 0.22);
}

.header-container h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: #1e40af;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #0c2d5c;
}

nav ul li a.nav-login {
    background: #fbbf24;
    color: #1e40af;
    font-weight: bold;
}

nav ul li a.nav-admin {
    background: #667eea;
    color: white;
    font-weight: bold;
    padding: 15px 12px;
    font-size: 1.2em;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h3 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* CTA Button */
.cta-button {
    padding: 12px 30px;
    background: #fbbf24;
    color: #1e40af;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h4 {
    color: #2563eb;
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #1e40af;
}

/* Footer */
footer {
    background: #1e40af;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Input Styles */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container h1 {
        font-size: 1.8em;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li a {
        padding: 10px 15px;
    }
    
    .hero h2 {
        font-size: 1.5em;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}
