/* ===== Basic Website Design ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f9f5;
    color: #222;
}

h1 {
    color: #1769aa;
    text-align: center;
}

h2 {
    color: #1769aa;
    text-align: center;
}

/* ===== Specialized Services ===== */

#specialized {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
}

#specialized h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

#specialized > p {
    color: #555;
    margin-bottom: 30px;
}

.specialized-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.specialized-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    padding-bottom: 20px;
    transition: 0.3s;
}

.specialized-card:hover {
    transform: translateY(-5px);
}

.specialized-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.specialized-card h3 {
    font-size: 22px;
    color: #1769aa;
    margin: 15px 10px 8px;
}

.specialized-card p {
    color: #555;
    margin: 0 10px;
}

/* ===== Mobile Screen ===== */

@media (max-width: 768px) {
    .specialized-container {
        grid-template-columns: 1fr;
    }

    #specialized h2 {
        font-size: 26px;
    }
}
/* ===== Specialized Services Cards ===== */

#specialized {
    padding: 50px 20px;
    background: #f7faf7;
    text-align: center;
}

#specialized h2 {
    color: #1769aa;
    font-size: 32px;
    margin-bottom: 10px;
}

.specialized-container {
    max-width: 1100px;
    margin: 30px auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.specialized-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    text-align: center;
}

.specialized-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.specialized-card h3 {
    color: #1769aa;
    font-size: 21px;
    margin: 15px 10px 5px;
}

.specialized-card p {
    color: #555;
    font-size: 16px;
    margin: 5px 10px 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .specialized-container {
        grid-template-columns: 1fr;
    }
}
/* ===== OPD & CONTACT ===== */

h2 {
    color: #1769aa;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h2 + p,
h2 ~ p {
    font-size: 17px;
    margin: 10px 0;
}

.doctor-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.doctor-buttons a {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: #1769aa;
    transition: 0.3s;
}

.doctor-buttons a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    h2 {
        font-size: 24px;
    }

    .doctor-buttons {
        justify-content: center;
    }

    .doctor-buttons a {
        width: 100%;
        text-align: center;
    }
}
/* ===== IMAGE SIZE FIX ===== */

.specialized-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* Doctor Photo */
.doctor-profile img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .specialized-card img {
        height: 160px;
    }

    .doctor-profile img {
        width: 220px;
        height: 220px;
    }
}
.doctor-profile {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.doctor-info img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

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

    .doctor-info img {
        width: 220px;
        height: 220px;
    }
}
/* ===== Contact Section ===== */

.contact-section {
    padding: 50px 20px;
    background: #f7fafc;
    text-align: center;
}

.contact-section h2 {
    color: #1769aa;
    font-size: 32px;
    margin-bottom: 25px;
}

.contact-card {
    max-width: 750px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.contact-card h3 {
    color: #1769aa;
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.contact-buttons a {
    text-decoration: none;
    color: white;
    padding: 12px 22px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
}

.call-btn {
    background: #1769aa;
}

.whatsapp-btn {
    background: #25D366;
}

.phone-number {
    margin: 8px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons a {
        width: 200px;
    }

    .contact-card {
        padding: 20px;
    }
}
/* ===== Navigation Bar ===== */

.navbar {
    background: #1769aa;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.1;
}

.logo small {
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 2px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* ===== Fix Doctor Profile Layout ===== */

.doctor-info {
    display: block;
    text-align: center;
}

.doctor-info img {
    display: block;
    width: 260px;
    height: 260px;
    object-fit: cover;
    margin: 0 auto 25px;
    border-radius: 15px;
}

.doctor-info h2 {
    margin: 10px 0 20px;
}

.doctor-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.doctor-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
html {
    scroll-behavior: smooth;
}
/* ===== Doctor Profile Design ===== */

.doctor-profile {
    padding: 50px 20px;
    background: #ffffff;
}

.doctor-info {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.doctor-info img {
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.doctor-info h1,
.doctor-info h2 {
    color: #1769aa;
    margin-bottom: 15px;
}

.doctor-info p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.doctor-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.doctor-buttons a {
    display: inline-block;
    padding: 12px 22px;
    background: #1769aa;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.doctor-buttons a:hover {
    background: #0d4f80;
}

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

    .doctor-info img {
        width: 280px;
        height: 320px;
    }

    .doctor-buttons {
        justify-content: center;
    }
}
.doctor-info img {
    width: 280px;
    height: 320px;
    object-fit: cover;
}
/* Doctor Profile Layout */
.doctor-profile {
    padding: 50px 20px;
}

.doctor-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.doctor-photo img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.doctor-info {
    text-align: center;
}

.doctor-info h1 {
    color: #1769aa;
    margin-bottom: 10px;
}

.doctor-info h2 {
    color: #1769aa;
    margin-bottom: 15px;
}

.doctor-info p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.doctor-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
/* ===== Final Doctor Profile Fix ===== */

.doctor-profile .doctor-info {
    display: block !important;
    text-align: center !important;
}

.doctor-profile .doctor-info p {
    display: block !important;
    margin: 10px auto !important;
    max-width: 600px;
}

.doctor-profile {
    text-align: center;
}

.doctor-photo {
    margin-bottom: 25px !important;
}

.doctor-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
}
/* OPD Timing Center */
#doctor ~ h2 {
    text-align: center;
    color: #1769aa;
    margin-top: 40px;
}

#doctor ~ p {
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
}
/* ===== Contact Section Final Design ===== */

#contact {
    padding: 50px 20px;
    text-align: center;
}

#contact h2 {
    color: #1769aa;
    font-size: 32px;
    margin-bottom: 25px;
}

#contact p {
    font-size: 17px;
    line-height: 1.8;
    margin: 8px auto;
    max-width: 800px;
}

#contact .contact-info {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 15px;
    background: #f7faff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
/* Contact Section */
.contact-section {
    padding: 60px 20px;
    text-align: center;
}

.contact-section h2 {
    color: #1769aa;
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-card {
    max-width: 900px;
    margin: auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
    color: #1769aa;
    font-size: 25px;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 17px;
    margin: 15px 0;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.call-btn,
.whatsapp-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.call-btn {
    background: #1769aa;
}

.whatsapp-btn {
    background: #25d366;
}

.phone-number {
    font-size: 18px;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-card {
        padding: 20px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* =========================
   Specialized Services
========================= */

#specialized {
    padding: 70px 20px;
    background: #f5faff;
    text-align: center;
}

#specialized h2 {
    color: #1769aa;
    font-size: 32px;
    margin-bottom: 15px;
}

#specialized > p {
    color: #555;
    font-size: 17px;
    margin-bottom: 40px;
}

.specialized-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.specialized-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: 0.3s;
    text-align: center;
}

.specialized-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.specialized-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.specialized-card h3 {
    color: #1769aa;
    font-size: 21px;
    margin: 15px 10px 5px;
}

.specialized-card p {
    color: #555;
    font-size: 16px;
    margin: 5px 15px 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .specialized-container {
        grid-template-columns: 1fr;
    }

    #specialized h2 {
        font-size: 27px;
    }
}
.map-container {
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
    display: block;
}
.direction-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 12px 25px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.direction-btn:hover {
    background: #125ca8;
}
.site-footer {
    background: #1976d2;
    color: white;
    text-align: center;
    padding: 30px 15px;
    margin-top: 40px;
}

.site-footer h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer .copyright {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
}
@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo {
        font-size: 22px;
    }

    .doctor-profile {
        padding: 30px 15px;
        flex-direction: column;
    gap: 25px;
    }

    .doctor-photo img {
        width: 180px;
        height: 180px;
    }

    .doctor-info h1 {
        font-size: 30px;
    }

    .doctor-info h2 {
        font-size: 24px;
    }
.doctor-info {
    width: 100%;
    text-align: center;
}

.doctor-info .qualification {
    font-size: 16px;
}

.doctor-info .designation {
    font-size: 17px;
}

.doctor-info .opd-timing {
    text-align: center;
}
    .specialized-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .contact-card {
        margin: 15px;
        padding: 20px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .call-btn,
    .whatsapp-btn {
        width: 90%;
        text-align: center;
    }

    .map-container {
        margin: 20px 15px 0;
    }

    .map-container iframe {
        height: 300px;
    }

    .site-footer {
        padding: 25px 15px;
    }
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .dashboard-header h1 {
        font-size: 27px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .dashboard-card {
        padding: 18px 10px;
    }

    .dashboard-card h3 {
        font-size: 14px;
    }

    .dashboard-card strong {
        font-size: 26px;
    }

    .appointment-section {
        padding: 15px 10px;
    }

    .appointment-section h2 {
        font-size: 23px;
    }

    .appointment-table-container {
        overflow-x: auto;
    }
}
.service-detail {
    max-width: 850px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.service-detail h1 {
    color: #1976d2;
    font-size: 36px;
    margin-bottom: 5px;
}

.service-detail h2 {
    color: #555;
    margin-bottom: 25px;
}

.service-detail img {
    width: 100%;
    max-width: 600px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
}

.service-detail p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin: 25px 0;
}

.service-detail h3 {
    color: #1976d2;
    font-size: 24px;
    margin-top: 30px;
}

.service-detail ul {
    max-width: 500px;
    margin: 15px auto 30px;
    text-align: left;
    line-height: 2;
    font-size: 17px;
}

.service-detail .call-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
}
.service-link {
    text-decoration: none;
    color: inherit;
}
/* Hero Section */

.hero-section {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}
.hero-tagline {
    font-size: 16px;
    font-weight: bold;
    margin-top: -5px;
    margin-bottom: 20px;
    color: white;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 13px 25px;
    background: white;
    color: #1976d2;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.service-btn {
    background: #0d47a1;
    color: white;
}
.hero-content h1 {
    color: white;
}

.hero-content h2 {
    color: white;
}

.hero-content p {
    color: white;
}
/* Professional Doctor Profile */

.doctor-profile {
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.doctor-photo {
    text-align: center;
}

.doctor-photo img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #1976d2;
}

.doctor-info {
    flex: 1;
}

.doctor-info h1 {
    color: #1976d2;
    font-size: 36px;
    margin-bottom: 10px;
}

.doctor-info h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 15px;
}

.doctor-info .qualification {
    font-size: 18px;
    margin: 8px 0;
    color: #555;
}

.doctor-info .designation {
    font-size: 19px;
    font-weight: bold;
    color: #1976d2;
    margin: 15px 0;
}

.doctor-info .opd-timing {
    background: #e3f2fd;
    padding: 15px;
    border-left: 5px solid #1976d2;
    border-radius: 8px;
    margin-top: 20px;
}

.doctor-info .opd-timing strong {
    color: #1976d2;
}
/* OPD Appointment */

.opd-section {
    background: #f5f9fc;
    padding: 50px 15px;
    min-height: 600px;
}

.opd-card {
    max-width: 650px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.opd-card h1 {
    text-align: center;
    color: #1976d2;
    font-size: 34px;
    margin-bottom: 10px;
}

.opd-subtitle {
    text-align: center;
    color: #555;
    font-size: 17px;
    margin-bottom: 30px;
}

.opd-card label {
    display: block;
    font-weight: bold;
    color: #333;
    margin: 15px 0 7px;
}

.opd-card input,
.opd-card select,
.opd-card textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

.opd-card input:focus,
.opd-card select:focus,
.opd-card textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 5px rgba(25,118,210,0.25);
}

.opd-submit-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.opd-submit-btn:hover {
    background: #125ca8;
}
/* Admin Login */

.admin-login-section {
    min-height: 600px;
    background: #f5f9fc;
    padding: 70px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
    text-align: center;
}

.admin-icon {
    font-size: 55px;
    margin-bottom: 10px;
}

.admin-login-card h1 {
    color: #1976d2;
    font-size: 32px;
    margin-bottom: 8px;
}

.admin-login-card > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 17px;
}

.admin-login-card form {
    text-align: left;
}

.admin-login-card label {
    display: block;
    font-weight: bold;
    margin: 15px 0 7px;
    color: #333;
}

.admin-login-card input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.admin-login-card input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 5px rgba(25,118,210,0.25);
}

.admin-login-card button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #1976d2;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.admin-login-card button:hover {
    background: #125ca8;
}
/* Admin Dashboard */

.admin-dashboard {
    background: #f5f9fc;
    min-height: 650px;
    padding: 40px 20px;
}

.dashboard-header {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    color: #1976d2;
    margin: 0 0 8px;
}

.dashboard-header p {
    color: #666;
    margin: 0;
}

.admin-logout {
    background: #e53935;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.dashboard-cards {
    max-width: 1200px;
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dashboard-card h3 {
    color: #555;
    font-size: 17px;
}

.dashboard-card strong {
    display: block;
    font-size: 32px;
    color: #1976d2;
    margin-top: 10px;
}

.appointment-section {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.appointment-section h2 {
    text-align: center;
    color: #1976d2;
    margin-bottom: 25px;
}

.appointment-table-container {
    width: 100%;
    overflow-x: auto;
}

.appointment-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.appointment-table th {
    background: #1976d2;
    color: white;
    padding: 12px;
    text-align: center;
}

.appointment-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.status-new {
    background: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.confirm-btn,
.cancel-btn {
    border: none;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.confirm-btn {
    background: #43a047;
    color: white;
}

.cancel-btn {
    background: #e53935;
    color: white;
}
.patient-search {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.patient-search:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 5px rgba(25,118,210,0.25);
}
.appointment-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 25px;
}

.appointment-filters button {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    background: #1976d2;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.appointment-filters button:hover {
    background: #125ca8;
}
.doctor-about {
    margin-top: 25px;
    padding: 20px;
    background: #f5f9fc;
    border-left: 5px solid #1976d2;
    border-radius: 10px;
}

.doctor-about h3 {
    color: #1976d2;
    font-size: 24px;
    margin-bottom: 12px;
}

.doctor-about p {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

.doctor-about ul {
    margin-top: 15px;
    padding-left: 20px;
    line-height: 1.9;
    color: #444;
}
.doctor-award {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
}

.doctor-award h3 {
    color: #1976d2;
    font-size: 24px;
    margin-bottom: 15px;
}

.doctor-award img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #1976d2;
}

.doctor-award p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 15px;
}
.opd-info-box {
    background: #e3f2fd;
    border-left: 5px solid #1976d2;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.opd-info-box h3 {
    color: #1976d2;
    margin-top: 15px;
}

.opd-info-box h3:first-child {
    margin-top: 0;
}

.opd-info-box p {
    color: #444;
    line-height: 1.7;
}
.reviews-section {
    padding: 40px 20px;
    text-align: center;
    background: #f5f9fc;
}

.reviews-section h2 {
    color: #1976d2;
    font-size: 30px;
    margin-bottom: 10px;
}

.reviews-subtitle {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
}

.review-card {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
}

.review-stars {
    font-size: 28px;
    letter-spacing: 4px;
    color: #f4b400;
}

.review-card h3 {
    color: #333;
    margin: 12px 0;
}

.review-card p {
    color: #555;
    line-height: 1.6;
}

.review-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}
/* Hospital Gallery */

.gallery-section {
    padding: 50px 20px;
    background: #f5f9fc;
    text-align: center;
}

.gallery-section h2 {
    color: #1976d2;
    font-size: 32px;
    margin-bottom: 8px;
}

.gallery-subtitle {
    color: #555;
    font-size: 17px;
    margin-bottom: 30px;
}

.gallery-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-container img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.03);
}
@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-container img {
        height: 160px;
    }
}
/* Image Lightbox */

.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    cursor: pointer;
}
/* Academic Certificates */
.academic-certificates {
    margin-top: 30px;
    padding: 25px;
    background: #f5f9fc;
    border-radius: 15px;
    text-align: center;
}

.academic-certificates h3 {
    color: #1976d2;
    font-size: 25px;
    margin-bottom: 15px;
}

.academic-certificates p {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 25px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.certificate-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.certificate-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 8px;
}
@media (max-width: 768px) {

    .academic-certificates {
        margin-top: 20px;
        padding: 15px;
    }

    .academic-certificates h3 {
        font-size: 21px;
    }

    .academic-certificates p {
        font-size: 15px;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .certificate-card {
        padding: 8px;
    }

    .certificate-card img {
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
}
/* Dr. Mamta Kumari Profile */
.doctor-profile-mamta {
    max-width: 1000px;
    margin: 50px auto;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    background: white;
    border-radius: 22px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    border-top: 5px solid #1976d2;
}

.doctor-profile-mamta .doctor-photo img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #1976d2;
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
}

.doctor-profile-mamta .doctor-info {
    flex: 1;
}

.doctor-profile-mamta .doctor-info h2 {
    font-size: 30px;
    color: #1976d2;
    margin-bottom: 18px;
}

.doctor-profile-mamta .qualification {
    font-size: 18px;
    color: #555;
    margin: 10px 0;
}

.doctor-profile-mamta .designation {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-weight: bold;
}
@media (max-width: 768px) {

    .doctor-profile-mamta {
        margin: 30px 15px;
        padding: 25px 18px;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .doctor-profile-mamta .doctor-photo img {
        width: 200px;
        height: 200px;
    }

    .doctor-profile-mamta .doctor-info h2 {
        font-size: 25px;
    }