/* Doctor's Introduction Section */
.doctor-introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.doctor-info {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.doctor-details {
    max-width: 800px;
}

.doctor-details h2 {
    font-size: 2.5em;
    color: #ff6f3c;
    margin-bottom: 10px;
}

.doctor-details h3 {
    font-size: 1.5em;
    font-weight: normal;
    color: #555;
    margin-bottom: 15px;
}

.doctor-details p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .doctor-info {
        flex-direction: column;
        text-align: center;
    }

    .doctor-photo {
        margin-bottom: 20px;
    }
}

/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background-color: #ff6f3c; /* Orange Color from Logo */
    color: white;
    padding: 20px 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo img {
    max-width: 250px;  /* Increased logo size */
    height: auto;
    margin-bottom: 0;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-left: 15px;
}

button.consultation-btn {
    padding: 10px 25px;
    font-size: 1.1em;
    background-color: #ffffff;
    color: #ff6f3c;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
}

button.consultation-btn:hover {
    background-color: #ff6f3c;
    color: white;
}


main {
    padding: 40px 20px;
    background-color: white;
}

.sections {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Toggling Button Styling */
.section-toggle {
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px 20px;
    background-color: #ff6f3c;
    color: white;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.section-toggle:hover {
    background-color: #e65a2f;
}

/* Service Section Styling */
.service {
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #ff6f3c;
    display: none;
}

section.service h2 {
    font-size: 2em;
    color: #ff6f3c;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

section.service p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Image Gallery Styling (Grid Layout) */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 3 images per row */
    gap: 20px;
    margin-top: 20px;
}

/* Ensure consistent size for all images */
.image-gallery img {
    width: 100%;
    height: 300px; /* Fixed height for images */
    object-fit: cover; /* Crop the image to fit the container without distorting it */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea, form button {
    margin-bottom: 15px;
    padding: 12px;
    font-size: 1.2em;
    border-radius: 5px;
    border: 1px solid #ddd;
}

form button {
    background-color: #ff6f3c;
    color: white;
    cursor: pointer;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #e65a2f;
}

/* Footer Styling */
footer {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    color: #333;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    width: 50%;
    text-align: left;
}

.footer-info h3 {
    font-size: 1.8em;
    color: #ff6f3c;
    margin-bottom: 15px;
    /* text-transform: uppercase; */
}

.footer-info p {
    font-size: 1.2em;
    line-height: 1.6;
}

.footer-map {
    width: 40%;
    text-align: right;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2em;
        text-align: center;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 2 images per row on small screens */
    }

    footer {
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-info, .footer-map {
        width: 100%;
        margin-bottom: 20px;
    }
}
