body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080;
    padding: 10px;
    color: white;
    flex-wrap: wrap;
}

.social-icon img,
.consult-button img {
    height: 25px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.contact-info-mobile {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social-media {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.consult-button {
    background-color: red;
    border: none;
    cursor: pointer;
    padding: 0;
}

.consult-button:hover {
    background-color: darkred;
}

.book-appointment-btn {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 10px;
    cursor: pointer;
}

.book-appointment-btn:hover {
    background-color: darkred;
}

.navbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background-color: white;
    padding: 0px;
    flex-wrap: wrap;
}

.navbar .logo {
    margin-right: auto;
}

.navbar .logo img {
    width: 40%;
}
.navbar .logo_mobile {
    margin-right: auto;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.navbar .logo_mobile img {
    width: 100%;
    max-width: 200px; /* Adjust as needed */
    height: auto;
}
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-self: flex-end;
    flex-wrap: wrap;
}

.navbar li {
    display: inline;
}

.navbar a {
    text-decoration: none;
    color: #004080;
    padding: 10px 20px;
    display: block;
}

.navbar a:hover {
    background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
    }

    .contact-info {
        justify-content: center;
    }

    .social-media {
        justify-content: center;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive navigation bar */
@media (max-width: 800px) {
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar li {
        display: block;
    }
}

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.banner {
    position: relative;
    height: 100%;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner img.active {
    opacity: 1;
}

.image-buttons-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background-color: #f8f8f8;
}

.image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: center;
}

.image-button img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-button img:hover {
    transform: scale(1.1);
}

.image-title {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}
.doctor-profile img {
    display: none;
}

/* Show only desktop content on larger screens */
.desktop-content {
    display: block;
}

.mobile-content {
    display: none;
}

/* Show only mobile content on smaller screens */
@media (max-width: 768px) {
    .desktop-content {
        display: none;
    }
    .mobile-content {
        display: block;
    }

    .image-buttons-table img {
        width: 180px;
        height: 140px;
        padding: 5px;
        align-items: center;
    }

    .image-title {
        font-size: 12px;
        text-align: center;
    }
}
