/* Basic Reset & Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}

body {
    font-family: 'Arial', sans-serif; /* Choose a professional font */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky; /* Makes header stick on scroll */
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2a7ab0; /* Professional blue color */
}

header ul {
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #2a7ab0;
}

/* Hero Section */
.hero-section {
    background-color: #2a7ab0; /* Primary brand color */
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #2a7ab0;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0;
    color: #1a5a8a;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

.content-section.alt-bg {
    background-color: #ffffff;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

.service-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: #2a7ab0;
    margin-bottom: 1rem;
}

/* Contact Section */
#contact .container {
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
    font-size: 1.1rem;
}
.contact-info p {
    margin-bottom: 0.5rem;
}
.contact-info a {
    color: #2a7ab0;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    background-color: #333;
    color: #eee;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: center;
    }
    header ul {
        margin-top: 1rem;
        padding-left: 0; /* Reset padding */
        justify-content: center; /* Center nav links */
    }
    header ul li {
        margin: 0 10px; /* Adjust spacing */
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .content-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo {
       margin-bottom: 0.5rem;
    }
    header ul {
       flex-wrap: wrap; /* Allow nav items to wrap */
       justify-content: center;
    }
     header ul li {
       margin-bottom: 5px; /* Spacing when wrapped */
    }
     .services-grid {
        grid-template-columns: 1fr; /* Stack services on smallest screens */
    }
}