/* Basic Setup */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #536078;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Header & Navigation */
header {
    background-color: #1f243d; /* Dark blue */
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 25px;
}

nav a,
.login-btn {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #283593; /* Slightly lighter blue */
}

.login-btn {
    background-color: #c62828; /* Red */
    border: none;
    font-size: 1em;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #d32f2f; /* Lighter red */
}

/* Page Content */
h1 {
    color: #1a237e;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

p {
    line-height: 1.6;
}

/* Hero Section (Homepage) */
.hero {
    background-color: #e8eaf6; /* Light blue/purple */
    text-align: center;
    padding: 60px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5em;
    border: none;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    color: #455a64;
}

/* Login Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

#login-form input {
    width: 90%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

#login-form button {
    width: 95%;
    padding: 12px;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
}

#login-error {
    color: #c62828; /* Red */
    font-weight: bold;
    margin-top: 15px;
    display: none; /* Hidden by default */
}