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

html {
    scroll-behavior: smooth;
}

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

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

/* Header & Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

header .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50; /* Dark Blue/Grey */
}

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

header ul li {
    margin-left: 25px;
}

header ul li a {
    text-decoration: none;
    color: #34495e; /* Slightly lighter blue/grey */
    font-weight: 400;
    transition: color 0.3s ease;
}

header ul li a:hover,
header ul li a:focus {
    color: #3498db; /* Primary Blue */
}

/* Menu Toggle Button (Hidden by default) */
.menu-toggle {
    display: none; /* Hidden on larger screens */
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #2c3e50;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('placeholder-hero-bg.jpg'); /* Add a placeholder or real background image */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: #3498db; /* Primary Blue */
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #2980b9; /* Darker Blue */
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50; /* Dark Blue/Grey */
}

.content-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #555;
}

.bg-light {
    background-color: #f8f9fa; /* Light grey background */
}

/* Service Grid */
.service-grid, .expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item, .expertise-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item h3, .expertise-item h4 {
    color: #3498db; /* Primary Blue */
    margin-bottom: 15px;
    font-size: 1.4em;
}

.expertise-item h4 {
     font-size: 1.2em;
}

/* About Section */
#about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
    color: #555;
}

/* Contact Form */
#contact-form {
    max-width: 600px;
    margin: 30px auto 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #34495e;
}

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

.form-group textarea {
    resize: vertical;
}

#contact-form button {
    width: 100%;
    padding: 15px;
}

#form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark Blue/Grey */
    color: #ecf0f1; /* Light Grey/White */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Slightly reduce side padding */
    }

    header nav {
        /* Keep flex row but justify space-between on mobile too */
        /* flex-direction: column; */
        /* align-items: flex-start; */
        position: relative; /* Needed for absolute positioning of the nav list */
    }

    header .logo {
        font-size: 1.3em; /* Further adjust logo size if needed */
        /* margin-bottom: 10px; */ /* Remove margin if toggle is beside it */
    }

    /* Show Menu Toggle Button on mobile */
    .menu-toggle {
        display: block;
    }

    /* Style Mobile Nav List */
    #main-nav {
        display: none; /* Hide by default */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 10px 0; /* Add some vertical padding */
        z-index: 999; /* Ensure it's above other content */
        margin-top: 0; /* Reset margin */
        flex-direction: column; /* Stack items vertically */
    }

    /* Style for when mobile nav is open */
    #main-nav.mobile-nav-open {
        display: flex; /* Show the nav */
    }


    #main-nav li {
        margin: 0; /* Reset margin */
        text-align: left; /* Align text left */
        width: 100%;
        border-bottom: 1px solid #eee; /* Separator lines */
    }
     #main-nav li:last-child {
        border-bottom: none; /* Remove border from last item */
     }


     #main-nav li a {
        display: block;
        padding: 12px 20px; /* Adjust padding for better touch targets */
        background-color: transparent; /* Remove background */
        border-radius: 0; /* Remove border-radius */
        border: none; /* Remove border */
        color: #34495e; /* Use standard link color */
        transition: background-color 0.2s ease;
     }
     #main-nav li a:hover,
     #main-nav li a:focus {
        background-color: #f8f9fa; /* Add hover background */
        color: #3498db; /* Keep hover color */
     }


    .hero {
        padding: 60px 15px; /* Reduce hero padding */
        min-height: auto; /* Adjust min-height if needed */
    }

    .hero h1 {
        font-size: 2.2em; /* Reduce heading size */
    }

    .hero .subtitle {
        font-size: 1.0em; /* Reduce subtitle size */
    }

    .cta-button {
        padding: 10px 20px; /* Adjust button padding */
        font-size: 1em; /* Adjust button font size */
    }

    .content-section {
        padding: 40px 0; /* Reduce section padding */
    }

    .content-section h2 {
        font-size: 1.8em; /* Reduce section title size */
        margin-bottom: 30px; /* Adjust margin */
    }

    .service-grid, .expertise-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
        gap: 20px; /* Reduce gap between items */
    }

    .service-item, .expertise-item {
        padding: 20px; /* Reduce padding inside items */
    }

    .service-item h3, .expertise-item h4 {
        font-size: 1.2em; /* Adjust item heading size */
    }

    #contact-form {
        padding: 20px; /* Reduce form padding */
    }

    footer {
        margin-top: 30px; /* Adjust footer margin */
    }
}
