:root {
    --primary-color: #2c3e50;
    --secondary-color: #27ae60;
    --text-color: #333;
    --light-background: #f4f4f4;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Body state when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Grid and Flexbox */
.services-grid, .team-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Header and Navigation Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    z-index: 1100;
}

.logo img {
    max-height: 75px;
}

/* Mobile Navigation */
nav {
    position: fixed;
    top: 0;
    left: -100%; /* Initially off-screen */
    width: 250px;
    height: 100%;
    background-color: var(--primary-color);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 60px;
}

nav.active {
    left: 0; /* Slide in from the left */
}

nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    width: 100%;
}

nav ul li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    cursor: pointer;
    z-index: 1200;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Tablet and Desktop Styles */
@media screen and (min-width: 768px) {
    nav {
        position: static;
        background-color: transparent;
        height: auto;
        width: auto;
        padding-top: 0;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        gap: 20px;
        background-color: transparent;
    }

    nav ul li {
        border-bottom: none;
        padding: 0;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .footer-logo img {
        max-width: 25%;
        margin: auto;
        display: block;
    }
}

/* Section and Component Styles */
.hero, #services, #about, #contact {
    padding: 2rem;
    text-align: center;
}

.service-card, .contact-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

/* SEO and Accessibility Enhancements */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}