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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    margin-bottom: 0.6rem;
    color: #003366;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
}

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

/* Header */
.site-header {
    background: #003366;
    color: #fff;
    padding: 1rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

/* Logo image styling */
.logo img {
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

/* Mobile menu close button - hidden on desktop */
.mobile-menu-close {
    display: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    font-weight: 500;
}
.main-nav a {
    color: #fff;
    transition: opacity 0.3s ease;
}
.main-nav a:hover {
    opacity: 0.8;
}
.main-nav a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('https://images.unsplash.com/photo-1565510667971-87f7237b576f?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.primary-btn {
    background: #0066cc;
    color: #fff;
}
.primary-btn:hover {
    background: #005bb5;
}
.secondary-btn {
    background: #fff;
    color: #003366;
    border: 2px solid #003366;
}
.secondary-btn:hover {
    background: #f0f4f8;
}

/* Why Section */
.why {
    padding: 80px 0;
    background-color: #fff;
}
.why h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background: #f5faff;
    text-align: center;
}
.cta.light {
    background: #f0f4f8;
}
.cta-container h2 {
    margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
.site-footer p {
    font-size: 0.9rem;
}

/* Inner hero for subpages */
.inner-hero {
    background: #e8eef4;
    padding: 60px 0 40px;
    text-align: center;
}
.inner-hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #003366;
}
.inner-hero p {
    font-size: 1.1rem;
    color: #444;
}

/* About Content */
.about-content {
    padding: 50px 0;
    background: #fff;
}
.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #003366;
}
.about-content p {
    max-width: 900px;
}

/* Services page */
.services-list {
    padding: 50px 0;
    background: #fff;
}
.service-item {
    margin-bottom: 2rem;
}
.service-item h3 {
    margin-bottom: 0.5rem;
}

/* Contact page */
.contact-section {
    padding: 50px 0;
    background: #fff;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.contact-info {
    flex: 1 1 300px;
}
.contact-form {
    flex: 1 1 300px;
}
.contact-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #003366;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}
.contact-form button {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        position: relative;
        z-index: 1001;
    }
    
    .header-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }
    
    .mobile-menu-toggle:hover {
        opacity: 0.8;
    }
    
    .mobile-menu-close {
        display: block; /* Show on mobile */
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1003;
    }
    
    .mobile-menu-close:hover {
        opacity: 0.8;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 51, 102, 0.95);
        padding: 5rem 1rem 1rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-top: 2rem;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1rem 0;
        text-align: center;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        display: block;
    }
    
    .hero {
        padding: 80px 0;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .contact-container {
        flex-direction: column;
    }
    
    /* Ensure logo doesn't get too small */
    .logo a {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
}