/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Light background for better readability */
}

/* Header and Footer */
header, footer {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

.logo {
    max-width: 300px;
}

footer p {
    font-size: 14px;
    color: #555;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    margin: 20px;
}

h1, h2 {
    color: #333;
}

/* Service Cards */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    flex: 1 1 calc(50% - 20px);
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff; /* White background for cards */
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #444;
}

.service-card p {
    margin: 5px 0;
}

.button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: #444;
}

.button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Location Section */
.location-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.google-map {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.location-details {
    font-size: 16px;
    line-height: 1.6;
}

.location-image {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.location-caption {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 10px;
    color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .services-container, .location-container {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .google-map {
        height: 200px;
    }
}

main {
    max-width: 1100px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0 20px; /* Optional: Adds a little padding inside the edges */
    background-color: #fff; /* Keeps the main content on a white background */
}

header, footer {
    max-width: 1100px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Space between the items */
    margin-top: 20px;
}

.service-card {
    background-color: #fff; /* Optional: White background for each service card */
    border: 1px solid #ddd; /* Border for separation */
    border-radius: 10px; /* Rounded corners */
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for effect */
    text-align: left; /* Align content to the left */
}

.service-card h3 {
    font-size: 18px; /* Adjust title font size */
    margin-bottom: 10px; /* Space below the title */
}

.service-card p {
    font-size: 14px; /* Adjust paragraph font size */
    margin-bottom: 10px; /* Space below each paragraph */
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr; /* Switch to a single-column layout for smaller screens */
    }

    .service-card {
        margin-bottom: 15px; /* Add spacing between cards */
    }
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}
.location-hours {
    padding: 20px;
}

.location-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.location-container .map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

.location-container .details {
    flex: 1;
}

.maps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.maps img {
    width: 45%; /* Adjust to make images smaller on mobile */
    height: auto;
}

@media (max-width: 768px) {
    .location-container {
        flex-direction: column;
        align-items: center;
    }

    .maps img {
        width: 100%;
    }
}



/* Adjust Google Map and Address/Text Section on Mobile */
@media (max-width: 768px) {
    .location-hours-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .google-map, .address-section {
        width: 100%;
    }

    .google-map iframe {
        width: 100%;
        height: 250px;
    }

    .map-image-container img {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Ensure Parking and Building Layout Maps are responsive */
.map-image-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.map-image-container img {
    max-width: 45%;
    height: auto;
}


/* Ensuring proper spacing and alignment for service cards on both mobile and desktop */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.service-card {
    flex: 1 1 calc(33.333% - 40px); /* Ensure 3 cards per row for desktop */
    max-width: calc(33.333% - 40px);
    box-sizing: border-box;
    padding: 15px;
    margin: 10px 0;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    text-align: center;
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; /* Full width for mobile view */
        max-width: 100%;
    }

    .services-container {
        padding: 10px;
    }
}

/* Enhancing the appearance of the maps section */
.map-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.map-container iframe, .map-container img {
    flex: 1 1 calc(50% - 10px); /* Two columns for maps */
    max-width: calc(50% - 10px);
    border-radius: 5px;
    border: 1px solid #eaeaea;
}

@media (max-width: 768px) {
    .map-container iframe, .map-container img {
        flex: 1 1 100%; /* Stacked layout for mobile */
        max-width: 100%;
    }
}

/* Mobile-Friendly Location & Hours */
.location-hours-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.google-map iframe {
    width: 100%;
    height: 250px;
    max-width: 600px;
    border-radius: 5px;
}

.location-details {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.map-image-container img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.location-caption {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: -10px; /* Reduce space below images */
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .location-hours-container {
        padding: 10px;
    }

    .map-image-container img {
        width: 90%; /* Scale maps slightly smaller on mobile */
    }

    .google-map iframe {
        height: 200px; /* Adjust map height for small screens */
    }
}
/* Adjust alignment for map captions */
.map-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center; /* Ensure all content aligns centrally */
}

.map-image-container img {
    width: 90%; /* Adjust size for consistent scaling */
    max-width: 300px;
    margin-bottom: 5px; /* Add slight space below the image */
}

.location-caption {
    font-size: 14px;
    color: #555;
    margin: 0; /* Ensure no extra margin is added around the caption */
}

/* Distinctive Styling for Map Descriptions */
.location-caption {
    font-size: 14px;
    color: #333; /* Darker text for better readability */
    background-color: #f8f9fa; /* Light background to create contrast */
    padding: 10px; /* Add some padding for a boxed appearance */
    border-radius: 5px; /* Round the corners of the description box */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for a floating effect */
    margin-top: 5px; /* Add space above the description */
    width: 90%; /* Ensure it aligns well with the maps */
    text-align: center; /* Center-align the text */
}

/* Therapist Profile Section */
#therapist-profile {
    background: linear-gradient(#ffffff, #f8f4f0);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Heading Style */
#therapist-profile h2 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: #8B4513;
    text-align: center;
    margin-bottom: 20px;
}

/* Content Styling */
.therapist-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* Profile Image Styling */
.therapist-content img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Paragraph Text Styling */
.therapist-content p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #444444;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Call-to-Action Styling */
.therapist-content p.cta {
    font-style: italic;
    color: #B35900;
    margin-top: 10px;
}

/* Book Button Styling */
.book-button {
    text-align: center;
    margin-top: 20px;
}

.book-button .button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    background-color: #8B4513;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.book-button .button:hover {
    background-color: #B35900;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
    .therapist-content {
        flex-direction: column;
        text-align: center;
    }

    .therapist-content img {
        margin-bottom: 15px;
    }

    .therapist-content p {
        text-align: center;
    }
}
