/* --- Basic Reset & Defaults --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif; /* Choose a better font */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Light background */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* --- Header & Navigation --- */
header {
    background-color: #ffffff; /* White header background */
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky; /* Optional: make header stick */
    top: 0;
    z-index: 10;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0056b3; /* Example primary color */
    text-decoration: none;
}
/* Placeholder for actual logo image styling if you use one */
/* .logo img { max-height: 50px; } */

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #0056b3; /* Primary color on hover/active */
    font-weight: bold;
}

/* --- Main Content --- */
main {
    flex-grow: 1; /* Ensures main content takes available space */
    padding: 40px 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #1a1a1a; /* Darker headings */
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; color: #0056b3; } /* Service titles */

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    margin-left: 20px; /* Indent bullet points */
}

ul li {
    margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: #007bff; /* Primary button color */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    margin-right: 10px; /* Space between buttons */
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.cta-button-secondary {
    background-color: #6c757d; /* Secondary button color */
}

.cta-button-secondary:hover {
    background-color: #5a6268;
}

/* --- Sections --- */
.section {
    padding: 40px 0;
    border-bottom: 1px solid #eee; /* Separator */
}
.section:last-of-type {
    border-bottom: none;
}

.hero {
    text-align: center;
    padding: 60px 0;
    background-color: #e9ecef; /* Light grey hero background */
}

.hero h1 {
    color: #0056b3;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
}

/* --- Services Overview (Homepage) --- */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between grid items */
    margin-top: 2rem;
    text-align: center;
}

.service-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.service-item .icon { /* Style the icon placeholder */
    font-size: 2.5rem; /* Adjust size as needed */
    color: #007bff; /* Icon color */
    margin-bottom: 1rem;
    /* Replace text with actual icon element styling */
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-item p {
    font-size: 0.95rem;
    color: #555;
}

/* --- Service Details (Services Page) --- */
.service-detail {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.service-detail h3 {
    margin-top: 0; /* Reset top margin for heading inside detail box */
}

/* --- Contact Form --- */
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
    background-color: #333; /* Dark footer */
    color: #ccc;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto; /* Pushes footer to bottom */
    font-size: 0.9rem;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero {
        padding: 40px 0;
    }

    /* Adjust grid/flex layouts if needed */
    .contact-section {
        /* Example: Stack form and info */
        display: flex;
        flex-direction: column;
    }
}