:root {
    --primary-color: #1e3a8a; /* Enterprise blue */
    --accent-color: #10b981; /* Gen-Z green accent */
    --text-color: #111827;
    --bg-color: #f9fafb;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-display: swap;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 600px;
    padding: 0 1rem;
}

.hero h1 {
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 1rem;
    font-weight: 500;
}

.cta-button:hover {
    transform: scale(1.05);
}

.about, .services, .pricing, .service-areas, .contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

h3 {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.resume-content, .services-list {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about h3 {
    text-align: left;
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.about-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.services-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.services-list li {
    background: white;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 5px 5px 0;
}

.pricing-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact label {
    font-weight: bold;
}

.contact input, .contact textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-family: inherit;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: white;
}

/* Pricing Table Styles */
.pricing-table {
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #d1d5db;
}

.pricing-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.pricing-table tr:nth-child(even) {
    background: #f9fafb;
}

.pricing-table tr:hover {
    background: #e5e7eb;
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto;
    width: 100%;
}

.faq-item {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.faq-toggle {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle:hover {
    background: #e5e7eb;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    background: white;
    line-height: 1.6;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-content.active {
    max-height: 500px;
    padding: 1rem;
}

/* Service Areas and Map Styles */
.service-areas {
    background: var(--bg-color);
}

.map-section {
    margin-top: 2rem;
    text-align: center;
    display: block; /* Ensure block flow for height inheritance */
    height: auto; /* Prevent collapse */
}

#mapid {
    height: 400px !important; /* Force height with !important */
    width: 100% !important;
    min-height: 400px !important; /* Backup */
    border: 1px solid #d1d5db;
    border-radius: 5px;
    margin-top: 1rem;
    background: #f0f0f0; /* Visible if blank */
    position: relative;
}

#mapid img { /* Hide fallback img once JS loads */
    display: block;
}

.leaflet-container {
    font-family: var(--font-body);
    height: 100% !important;
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.01em;
    }

    .about, .services, .pricing, .service-areas, .contact {
        padding: 2rem 1rem;
    }

    .pricing-table {
        max-width: none;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    #mapid {
        height: 300px !important;
        min-height: 300px !important;
    }

    .faq-toggle {
        font-size: 1rem;
    }

    .about-list {
        padding-left: 1rem;
    }

    .about-list li {
        font-size: 1rem;
    }
}

/* Accessibility: Focus styles */
a:focus, button:focus, input:focus, textarea:focus, .faq-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
/* Style for active navigation link */
.nav-menu a.active-link {
    color: var(--accent-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
}