/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

/* Global Link Styling */
a {
    text-decoration: none;
    color: inherit;
}

/* Header and Navigation */
header {
    background-color: #333;
    padding: 15px 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6f61;
}

/* Home Section */
.home {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.home h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.home p {
    font-size: 22px;
}

/* Image Gallery Section */
.image-gallery {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    background-color: #f7f7f7;
    padding: 20px 0;
}

.image-container {
    display: flex;
    transition: transform 1s ease-in-out;
}

.image-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 4px solid #ddd;
    border-radius: 8px;
    margin: 0 10px;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    font-size: 30px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.scroll-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #f0f4f7;
    text-align: center;
}

.services h2 {
    font-size: 40px;
    color: #333;
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service {
    background-color: white;
    padding: 30px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 24px;
    color: #333;
}

.service p {
    font-size: 16px;
    color: #777;
}

.service:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* Doctor Section */
.doctor {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.doctor h2 {
    font-size: 40px;
    color: #333;
    margin-bottom: 40px;
}

.doctor-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    border-top: 2px solid #ddd;
    padding-top: 30px;
}

.doctor-profile img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 30px;
    border: 5px solid #ddd;
}

.doctor-info p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Enquiry Section */
.enquiry {
    padding: 60px 20px;
    background-color: #ff6f61;
    text-align: center;
}

.enquiry h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 30px;
}

.enquiry-links a {
    font-size: 20px;
    margin: 10px;
    color: white;
    background-color: #333;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.enquiry-links a:hover {
    background-color: #222;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-info p {
    font-size: 18px;
    color: #333;
}

.contact-info a {
    color: #ff6f61;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

footer p {
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .home h1 {
        font-size: 30px;
    }

    .home p {
        font-size: 18px;
    }

    .nav-links {
        display: block;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .image-gallery {
        height: 250px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .doctor-profile {
        flex-direction: column;
    }

    .doctor-profile img {
        margin-bottom: 20px;
    }
}
/* Working Hours Section (Fixed Spacing from Footer) */
/* Working Hours Section (Fixed from Footer) */
.working-hours {
    padding: 50px 20px;
    background-color: #f7f7f7;
    text-align: center;
    margin-bottom: 50px; /* Adds space from footer */
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling on smaller screens */
}

/* Working Hours Table */
/* Working Hours Section (Fixed from Footer) */
.working-hours {
    padding: 50px 20px;
    background-color: #f7f7f7;
    text-align: center;
    margin-bottom: 50px; /* Adds space from footer */
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling on smaller screens */
    display: flex;
    justify-content: center;
}

/* Working Hours Table */
.working-hours table {
    width: 100%;
    max-width: 600px;
    min-width: 400px; /* Prevents excessive shrinking */
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    
    /* Outer Red Border */
    border: 3px solid red;
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header and Cell Styling */
.working-hours th, 
.working-hours td {
    padding: 15px;
    border: 1px solid #ddd; /* Light grey border inside */
    text-align: center;
    font-size: 18px;
}

/* Header Background */
.working-hours th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* Alternate Row Background */
.working-hours tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .table-responsive {
        justify-content: flex-start; /* Allows scrolling on smaller screens */
    }

    .working-hours table {
        width: 600px; /* Ensures scrolling instead of text breaking */
    }

    .working-hours th, 
    .working-hours td {
        padding: 10px;
        font-size: 16px; /* Adjusts for readability */
    }
}


.container {
    display: flex;
    gap: 10px; /* दोनों आइटम के बीच थोड़ा गैप */
    justify-content: center; /* सेंटर में लाने के लिए */
    align-items: center; /* वर्टिकली सेंटर */
    padding: 5px;
    flex-wrap: wrap; /* Responsive ke liye wrap karega */
}

/* जब स्क्रीन 600px से छोटी होगी तो ऊपर-नीचे (stack) आ जाएंगे */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        gap: 15px; /* थोड़ा ज्यादा गैप ताकि आइटम ठीक से दिखें */
    }
}

/* yaha se animation  */
.animated-button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.animated-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

/* Pulsing Effect */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

.animated-button {
    animation: pulse 2s infinite;
}

/* yaha Se Review ka----------------------------------------------------------------- */
/* Google Reviews Section */
.reviews {
    background-color: #f8f9fa;
    padding: 40px 0;
}

/* Card Styling */
.reviews .card {
    border: none;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
    max-width: 250px; /* Reduce card width */
    margin: auto;
}

.reviews .card:hover {
    transform: scale(1.05);
}

/* Card Image */
.reviews .card img {
    height: 140px; /* Reduce image size */
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Review Text */
.reviews .card-body {
    text-align: center;
    padding: 15px;
}

/* Star Rating */
.reviews .card-body p {
    font-size: 14px;
    font-weight: bold;
    color: #ff9800; /* Golden color for stars */
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews .col-md-3 {
        width: 50%;
    }

    .reviews .card {
        max-width: 200px; /* Adjust card size for small screens */
    }

    .reviews .card img {
        height: 120px;
    }

    .reviews .card-body p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .reviews .col-md-3 {
        width: 100%;
    }

    .reviews .card {
        max-width: 250px;
    }

    .reviews .card img {
        height: 100px;
    }

    .reviews .card-body p {
        font-size: 12px;
    }
}
.service {
    transition: transform 0.3s ease-in-out;
}

.service:hover {
    transform: scale(1.05);
}
/* yaha se text zoom */

p, h1, h2, h3, h4, h5, h6, span, a {
    transition: transform 0.2s ease-in-out;
}

p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, span:hover, a:hover {
    transform: scale(1.05);
}


