/* styles.css */
* {
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f7f9fb;
}

.container {
    width: 80%;
    margin: auto;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #2A6041;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.header-2 {
    text-align: center;
    padding: 20px 0;
    background-color: #f7f9fb; /* You can choose a different background color if needed */
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7CFEF0;
    border-radius: 10px;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.logo {
    /* width: 80%; old logo width*/
    max-height: 400px; 
    width: auto;
    max-width: 100%;
    height: auto;
}

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #28965A;
    border-radius: 0;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.main-nav li {
    margin-left: 20px;
    margin-right: 20px; /* Add this for more spacing between the links */
}

.main-nav a,
.main-nav a:focus,
.main-nav a:active,
.main-nav a:hover {
    //cursor: default;
    display: inline-block;
    padding: 10px 20px;
    background-color: #28965A;
    color: #fff !important; /* Add !important to make sure it overrides Bootstrap */
    text-decoration: none !important; /* Add !important to make sure it overrides Bootstrap */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #2CEAA3;
}

.hero {
    padding: 40px;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.hero .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28965A;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #2CEAA3;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
    
}

.features .feature {
    flex: 1;
    margin-right: 20px;
}

.features img {
    width: 100%; /* Make the image responsive, occupying the full width of its parent container */
    height: auto; /* Maintain the aspect ratio */
    max-width: 400px; /* Maximum width of the image */
    display: block; /* Prevent inline default and allow margin adjustments */
    margin: 0 auto 20px; /* Center the image and add some space below it */
}

.cta {
    padding: 40px;
    background-color: #2A6041;
    color: #fff;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.cta .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #7CFEF0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta .cta-button:hover {
    background-color: #fff;
}

footer {
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.services-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 1rem;
    padding-top: 20px; /* Adjust as needed */
    padding-bottom: 20px; /* Adjust as needed */
    padding-left: 20px;
    padding-right: 20px;
    background-color: #ffffff;
}

/* Normal state */
.service-card {
    position: relative;
    background-color: #f0f4f8;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease; /* Smooth transition */
}

.service-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5); /* Stronger shadow on hover */
}

/* Expanded state */
.service-card.expanded {
    background: linear-gradient(to right, #e6f7ff, #b3e0ff); /* Subtle gradient for expanded card */
    position: fixed;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    z-index: 1001;
    overflow-y: auto; /* Scroll if content overflows */
    background-color: #f0f0f0;
    padding: 20px;
    box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, 0.6); /* Increased shadow depth and opacity */
}

.service-image {
    display: none;
    max-width: calc(90% - 10px);
    max-height: 500px;
    padding: 5px; 
    box-sizing: border-box;
    height: auto;
    margin: auto; 
}

.service-card.expanded .service-image {
    display: block;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Fully transparent */
    z-index: 1000; /* Make sure it's on top of everything else but the card */
    display: none; /* Hidden by default */
}

.service-header {
    cursor: pointer;
}

.service-content {
    overflow: hidden;
    position: relative;
}

/* Our Office Section of the Services page */
#our-team {
    padding: 40px 0; /* Adjust as needed */
    background-color: #fff;

    display: flex;  /* Add flex display */
    flex-direction: column;  /* Stack children vertically */
    align-items: center;  /* Center children horizontally */
}

#our-team h2 {
    font-size: 32px; 
    text-align: center;
    margin-bottom: 30px;
}

.team-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem;
    width: 80%;  /* Adjust as necessary for your design preference */
    max-width: 1100px;  /* Adjust based on the desired max-width with margins and gaps in mind */
    margin: 0 auto;  /* This will center the grid */
}

.provider {
    border: 1px solid #e0e0e0; 
    border-radius: 5px;
    overflow: hidden; /* For image and border-radius interaction */
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease; 
    background-color: #2A6041;
    color: #fff; 
}

.provider:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.provider img {
    width: 100%; 
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.provider h3 {
    font-size: 20px;
    padding: 10px 15px;
    text-align: center;
}

.provider p {
    font-size: 16px;
    padding: 0 15px 15px 15px; 
    text-align: center;
}



/* styles.css -- Patient Info section */

/* New Patient Forms */
#new-patient-forms {
    padding: 20px;
    background-color: #f7f9fb;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.download-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28965A;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #2CEAA3;
}

.forms-content {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    background-color: #FFFFFF
}

/* FAQs */
#faqs {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.faq-button {
    position: relative;
    background-color: #f0f4f8;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* Smooth transition */
}

.faq-button:hover {
    background-color: #e0e4e8; /* Slightly darker background */
    border-color: #aaa; /* Darker border */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
    cursor: pointer; /* Change cursor to pointer */
}

/* Pre- and Post-Treatment Care */
#treatment-care {
    padding: 20px;
    background-color: #f7f9fb;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

/* Appointment Checklist */
#appointment-checklist {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

#appointment-checklist ul {
    margin: 20px 0;
}

#appointment-checklist li {
    margin-bottom: 10px;
}

/* Testimonials or Reviews */
#testimonials {
    padding: 20px;
    background-color: #f7f9fb;
    text-align: center;
}

#review-carousel {
    max-width: 800px;
    margin: auto;
}

.review {
  text-align: center;
  padding: 20px;
}


/* Media queries for Patient Info page */
@media (max-width: 640px) {
    #new-patient-forms, #faqs, #treatment-care, #appointment-checklist, #testimonials {
        padding: 20px 10px;
    }
}


.carousel-inner img {
    height: 600px; /* You can set this to whatever height you want */
    object-fit: cover; /* This will ensure that the images cover the space without stretching */
}


@media (max-width: 800px) {
    .features .feature {
        padding-left: 15px; /* Reduce padding */
        margin-right: 15px; /* Reduce right margin */
        margin-left: 15px; /* Add a left margin for consistency */
    }

    .features .feature:first-child {
        margin-left: 15px; /* Matching other margins */
    }

    /* Add your carousel styles here */
    .carousel .carousel-item img {
        height: 250px;
        object-fit: cover;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .features {
        flex-direction: column;
    }

    .features .feature {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Add some space between stacked items */
        padding-left: 10px; /* Adjust padding as needed */
    }

    .features .feature:last-child {
        margin-bottom: 0; /* Remove the bottom margin from the last feature if you want */
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        padding-left: 0;
        padding-right: 0;
    }
    .main-nav li {
        margin-left: 10px; /* Adjust as needed */
        margin-right: 10px; /* Adjust as needed */
    }
    .main-nav a {
        padding: 10px 10px; /* Adjust as needed */
    }
}

.contact-info {
    width: 70%;
    margin: 0 auto;
}

address{
    font-style: normal;
}

.office-hours-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to next row when necessary */
    gap: 10px; /* Spacing between each grid item */
    background-color: white;
    padding: 20px 0;
    margin: 20px 0; /* Margin at the top and bottom for separation */
}

.grid-item {
    flex: 1; /* Ensures equal width and growth amongst items */
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd; /* Slight border to differentiate days */
    min-width: 150px; /* Minimum width before wrapping */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Retaining your shadow for depth */
}

.grid-item strong {
    display: block; /* Makes the day of the week stand out on its line */
    margin-bottom: 5px; /* A bit of spacing between the day and the hours */
}

/* Breakpoint for smaller screens */
@media only screen and (max-width: 768px) {
    .office-hours-container {
        flex-direction: column; /* Stack items vertically */
    }
    .grid-item {
        min-width: 100%; /* Take up full width */
    }
}

.contact-map {
    display: block; 
    margin: 20px auto; 
    max-width: 100%; /* to ensure it doesn't stretch beyond its container on smaller screens */
    width: 70%;
    margin: 0 auto;
}

.contact-map iframe {
    display: block; 
    margin: 20px auto; 
    max-width: 100%; /* to ensure it doesn't stretch beyond its container on smaller screens */
}
