body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
}

.main-header {
    position: absolute;
    width: 97.5%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-weight: bold;
    font-size: 1.5em;
    color: #0056b3;
    text-decoration: none;
}

.nav-links a, .nav-auth a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-auth a:hover {
    color: #007bff;
}

.nav-auth {
    display: flex;
    align-items: center;
}

.nav-button {
    background-color: #007bff;
    color: white !important;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #0056b3;
}

.main-content {
    /* This will be overridden by the hero section on the index page */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px); /* Full height minus header */
    padding-top: 60px; /* Offset for the fixed header */
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    color: white;
    background: linear-gradient(rgba(20, 30, 48, 0.85), rgba(36, 59, 85, 0.85)), url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg') no-repeat center center;
    background-size: cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #fff;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2em;
    color: rgba(255, 255, 255, 0.9);
}

.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px;
    text-align: center;
}

.container h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

.container p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.register-button {
    background-color: #007bff;
    color: white;
    width: 100%;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.register-button:hover {
    background-color: #0056b3;
}

/* Authentication Form Styles */
.auth-form {
    width: 100%;
    max-width: 420px;
    padding: 30px;
    margin: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.auth-form h1 {
    color: #333;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #007bff;
}
