:root {
    --background-primary: #FFFFFF;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border-color: #d2d2d7;
    --accent-blue: #0071e3;
    --ultra-light-gray-bg: #fafafa; 
    --font-family: 'Inter', sans-serif;
    --container-width: 980px;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background-color: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.65;
}

main {
    min-height: calc(100vh - 200px);
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

nav .logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-blue);
}

/* Generic Hero Section (for About, Contact, etc.) */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 auto 1rem auto;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Split Hero Section (for Location Pages) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-top: 0;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.hero-benefits li {
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hero-benefits li::before {
    content: '\2713';
    color: var(--accent-blue);
    margin-right: 0.75rem;
    font-weight: 700;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-button {
    background-color: var(--accent-blue);
    color: var(--background-primary);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 980px;
    transition: opacity 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.cta-button.secondary {
    /* This button will now be blue by default like the primary CTA */
}

.cta-button.secondary:hover {
    background-color: #e5e5e5;
    color: var(--text-primary);
}

.cta-button:hover {
    opacity: 0.85;
}

.hero-form {
    background-color: #f5f5f7;
    padding: 1.5rem;
    border-radius: 16px;
}

.hero-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    text-align: center;
}

.form-styled label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-styled input,
.form-styled textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: var(--font-family);
    font-size: 16px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--ultra-light-gray-bg);
    text-align: center;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* General Section Styling */
.core-services, .why-choose-us {
    padding: 5rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
}

a.service-card {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Why Choose Us */
.why-choose-us {
    text-align: center; /* Center the main h2 */
}

.advantage-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.advantage-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.advantage-block p {
    color: var(--text-secondary);
    margin: 0;
}

/* Service Areas Section */
.service-areas {
    padding: 4rem 2rem;
    background-color: var(--ultra-light-gray-bg);
    text-align: center;
}

.area-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.area-links a {
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 980px;
    transition: all 0.3s ease;
}

.area-links a:hover {
    background-color: var(--accent-blue);
    color: var(--background-primary);
    border-color: var(--accent-blue);
}

/* Footer */
footer {
    background-color: #f5f5f7;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    font-size: 12px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.nap-section {
    margin-bottom: 2rem;
}

.nap-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.nap-section address {
    font-style: normal;
    line-height: 1.5;
}

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

.nap-section a:hover {
    text-decoration: underline;
}

.copyright, .license {
    font-size: 12px;
    margin: 0.25rem 0;
}

/* Page Content General */
.page-content {
    padding: 3rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-details address {
    font-style: normal;
    line-height: 1.8;
}

.form-styled label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-styled input,
.form-styled textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: var(--font-family);
    font-size: 16px;
}

.form-styled button {
    width: 100%;
    border: none;
}

/* Text Content Page (Privacy Policy, etc.) */
.text-content {
    max-width: 750px;
    margin: 0 auto;
}

.text-content h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-content p, .text-content ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Article List */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.article-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.article-card .excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.article-card .cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
}

/* Services Hub Page */
.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-hub-card {
    background-color: #f5f5f7;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.service-hub-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.service-hub-card p {
    color: var(--text-secondary);
    flex-grow: 1; /* Pushes the link to the bottom */
}

.service-hub-card a {
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.service-hub-card a:hover {
    opacity: 0.7;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Add this */
    object-fit: cover; /* Add this */
    display: block;
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-info h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.gallery-item-info p {
    font-size: 1rem;
    color: #666;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default */
    padding: 15px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Show Hamburger */
    .hamburger {
        display: inline-block;
    }

    /* Hide Desktop Nav */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-primary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    nav ul.nav-open {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        font-size: 16px;
    }

    /* Adjust Hero Sections */
    .hero h1, .hero-content h1 {
        font-size: 36px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    /* Adjust Grids */
    .services-grid, .advantage-blocks, .contact-grid, .services-hub-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust Section Padding */
    .core-services, .why-choose-us, .service-areas, .page-content {
        padding: 3rem 1rem;
    }

    /* Adjust Trust Bar */
    .trust-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Map Container */
.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-top: 3rem;
    border-radius: 16px; /* Added for aesthetics */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 750px;
    margin: 3rem auto 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}
