/* ===== Site Layout & Sections ===== */

header {
    background: linear-gradient(90deg, #001f5f, #003087);
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo h1 {
    margin: 0; font-family: 'Montserrat'; font-size: 30px;
    font-weight: 600; letter-spacing: 1.5px;
}
.logo-icon { height: 40px; width: 40px; border-radius: 50%; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 35px; }
nav ul li a {
    color: white; text-decoration: none;
    font-size: 17px; font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}
nav ul li a:hover { color: #c0c0c0; transform: scale(1.1); }

.hero {
    background: linear-gradient(rgba(0, 31, 95, 0.85), rgba(0, 48, 135, 0.85)), url('/static/images/background2.avif');
    background-size: cover; background-position: center; background-attachment: fixed;
    text-align: center; padding: 120px 20px; color: white;
}
.hero h1 {
    font-family: 'Montserrat'; font-size: 52px; margin: 0 0 25px;
    font-weight: 600; text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}
.hero p { font-size: 20px; margin: 0 auto 30px; max-width: 700px; line-height: 1.8; }

.services, .about, .contact {
    padding: 70px 20px; max-width: 1200px; margin: 0 auto;
}
.services h2, .about h2, .contact h2 {
    font-family: 'Montserrat'; font-size: 34px; margin-bottom: 35px;
    font-weight: 600; color: #001f5f;
}

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 35px; }
.service-item, a.service-item {
    background: #fff; border-radius: 12px; border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
    padding: 0; text-decoration: none; color: inherit;
}
.service-item:hover { transform: translateY(-20px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.service-item img { width: 100%; height: 180px; object-fit: cover; }
.service-item h3 { font-family: 'Montserrat'; font-size: 24px; font-weight: 600; padding: 20px 25px; margin: 0; color: #001f5f !important; }
.service-item p { font-size: 16px; color: #555; padding: 0 25px 20px; margin: 0; }

.about, .contact {
    background: #fff; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); padding: 50px;
}
.about p { font-size: 18px; max-width: 800px; margin: 0 auto; line-height: 1.8; }
.about p:not(:last-child) { margin-bottom: 25px; }
.contact p { font-size: 18px; margin: 10px 0; }

footer {
    background: linear-gradient(90deg, #001f5f, #003087);
    color: white; text-align: center; padding: 25px 0; margin-top: 50px;
}
footer p { margin: 0; font-size: 15px; }

@media (max-width: 768px) {
    .hero { padding: 80px 20px; background-attachment: scroll; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    nav ul { flex-direction: column; gap: 15px; }
    .service-grid { grid-template-columns: 1fr; }
    .about, .contact { padding: 30px; }
}
@media (min-width: 1024px) {
    .service-grid { grid-template-columns: repeat(4,1fr); }
}

