/* ========= Base Reset ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sidebar-w: 280px; /* keep in sync with .sidebar width */
}

html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;

    /* Push entire page to the right of fixed sidebar */
    padding-left: var(--sidebar-w);
}

/* ========= Header ========= */
.header {
    background-color: #2c2c2c;
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.contact-info {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-item i {
    color: #4CAF50;
    font-size: 1rem;
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* ========= Layout Container ========= */
.layout-container {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: none;  /* start immediately to the right of sidebar */
    margin: 0;
    background: white;
    box-shadow: none; /* best fix: remove outer "border" shadow */
}

/* ========= Sidebar (Fixed Full-Height) ========= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;

    background-color: white;
    padding: 2rem 1.5rem;
    border-right: 2px solid #e9ecef;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-header h2 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.sidebar-nav {
    margin-bottom: 3rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav-item:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #e9ecef;
}

.nav-item.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.nav-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.cta-button {
    margin-top: 2.5rem;
}

.schedule-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #ff5722;
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.2);
    border: none;
    width: 100%;
    text-align: left;
}

.schedule-btn:hover {
    background-color: #e64a19;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(255, 87, 34, 0.3);
}

.schedule-btn i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.schedule-btn div {
    line-height: 1.2;
}

/* ========= Main Container ========= */
.main-container {
    flex: 1;
    background-color: white;
    width: 100%;
}

/* ========= Main Content ========= */
.main-content {
    padding: 2.5rem 3rem;
    overflow-x: hidden;
    background-color: white;
    height: 100%;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 100%;
}

.text-content h1 {
    font-size: 2.25rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.3;
    font-weight: 700;
}

.description {
    margin-bottom: 1.5rem;
}

.description p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.map-embed {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========= Content Sections ========= */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* ========= Services Section ========= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.service-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #333;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    justify-items: start;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.features-list i {
    margin-right: 8px;
    color: #16a34a;
}

/* ========= Contact Section ========= */
.contact-layout {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100%;
}

.contact-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list i {
    color: #007bff;
    width: 20px;
}

.contact-list a {
    color: #333;
    text-decoration: none;
}

.contact-list a:hover {
    color: #007bff;
}

.inline-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-dark {
    background-color: #333;
    color: white;
}

.btn-dark:hover {
    background-color: #222;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
}

.map-wrap {
    margin-top: 1.5rem;
}

/* ========= Footer ========= */
.footer {
    background-color: #e9ecef;
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: #666;
    font-size: 0.9rem;
}

.footer-center {
    display: flex;
    gap: 2rem;
}

.footer-center a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-center a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #007bff;
}

/* ========= Responsive Design ========= */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-embed {
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* Revert fixed sidebar on mobile and remove body padding */
    body {
        padding-left: 0;
    }

    .layout-container {
        flex-direction: column;
        min-height: auto;
        max-width: 1400px;
        margin: 0 auto;
        box-shadow: none;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        z-index: auto;
        box-shadow: none;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .map-embed {
        height: 300px;
    }
    
    .inline-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sidebar-header h2 {
        font-size: 1.25rem;
    }

    .text-content h1 {
        font-size: 1.6rem;
    }

    .schedule-btn {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }
}