/* --- 1. Global & Variables --- */
:root {
    --primary-color: #004a99;  /* A strong, professional blue */
    --secondary-color: #007bff; /* A brighter accent blue */
    --dark-grey: #333333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth; /* Smooth scrolling for nav links */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--dark-grey);
    background-color: var(--white);
}

/* --- 2. Header & Navigation --- */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky; /* Makes the nav bar stick to the top */
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}
/* --- New Logo Styling --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between image and text */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 40px; /* Keeps the logo icon small and neat */
    width: auto;
}

/* --- New Service Card Image Styling --- */
.service-card {
    /* keep your existing service-card styles, but ensure padding is there */
    padding: 2rem; 
    overflow: hidden; /* keeps image inside rounded corners */
}

.service-img {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures image doesn't stretch/warp */
    border-radius: 6px;
    margin-bottom: 1rem;
}
/* --- 3. Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 74, 153, 0.8), rgba(0, 74, 153, 0.8)), url('https://images.unsplash.com/photo-1517077726333-c28b25555596?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzNjAzN3wwfDF8c2VhcmNofDEwfHxlbGVjdHJpY2FsJTIwJTIwYm9hcmR8ZW58MHx8fHwxNzMyMjEyMjg5fDA&ixlib=rb-4.0.3&q=80&w=1920');
    background-size: cover;
    background-position: center;
    color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- 4. Services Section --- */
.services-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- 5. About Section --- */
.about-section {
    background-color: var(--light-grey);
    padding: 5rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- 6. Contact Section --- */
.contact-section {
    padding: 5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #555;
}

/* --- 7. Footer --- */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* --- 8. Responsive Design --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
