:root {
    --primary-color: #003366;
    --secondary-color: #b8860b;
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../images/hero-bg.jpg'); /* Fallback or use a color if image missing */
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #a07206;
}

.features {
    padding: 60px 0;
    background-color: var(--white);
}

.features .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
    margin: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #ddd; /* Placeholder color */
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.news {
    padding: 60px 0;
    text-align: center;
}

.news h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.news article {
    background: var(--white);
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}

.small {
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 40px;
    border: 1px solid #888;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal button {
    width: 100%;
}
