/******************* body ****************/
html,body {
margin: 0;
font-family: "Nunito", sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
text-align: left;
background-color: #f8f9fa;
animation: fadeIn 2s ease-in;
}
/*********************** head *********************/
.head {
min-height: 80px;
padding: 1px 0;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
flex-wrap: wrap; 
}

.head-logo img {
margin-right: 100px;
max-height: 100px;
max-width: auto;
animation: fadeInRight 1.5s ease-in-out;
}

.left-logo {
margin-left: 100px;
max-height: 120px;
max-width: 200px;
border-radius: 30%;
object-fit: cover;
animation: fadeInLeft 1.5s ease-in-out;
}

@media (max-width: 768px) {

.head-logo img, .left-logo {
margin: 0 auto;
max-height: 80px; 
max-width: 120px;
display: block;
}
.head {
justify-content: center; 
}
}

@media (max-width: 576px) {
.head-logo img, .left-logo {
max-height: 60px; 
max-width: 100px;
}
}

/********************************* navbar ***************************/
.navbar {
    background-color: rgb(52, 98, 52) !important;
}
.navbar .nav-link, .navbar-brand {
    color: #ffffff !important;
}
.navbar .nav-link:hover, .navbar-brand:hover {
    color: goldenrod !important;
}

.navbar-toggler {
    background-color: #ffffff;
}
.navbar-nav-center {
    flex-grow: 1;
    justify-content: center;
    margin-left: 163px;
}
.navbar-nav {
    flex: 1;
    justify-content: center;
}
.nav-item .nav-link:hover {
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: scale(1.1);
}

.nav-item .nav-link.active {
    color: goldenrod !important;
}

.dropdown {
    position: relative;
}
.dropdown-btn {
    background-color: rgb(52, 98, 52);
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.dropdown-btn:hover {
    color: goldenrod !important;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: scale(1.1);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}
.dropdown-content a {
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
    font-size: 12px;
}
.dropdown-content a:hover {
    background-color: rgb(52, 98, 52);
    color: white;
}
.dropdown:hover .dropdown-content {
    display: block;
} 
/* =====================slide bar======================== */
#textCarousel {
    background-color: gray !important; 
    color: #ffffff !important;
    padding: 2px 0;
    text-align: center;
    font-size: 13px;
    font-family: Arial, sans-serif;    
    height: 25px;
}
.text-slide {
    animation: slideText 40s linear infinite;
    white-space: nowrap;
    display: inline-block;
}

@keyframes slideText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* =================slide bar======================= */
@media (max-width: 768px) {
    .navbar {
        background-color: rgb(52, 98, 52) !important;
        text-align: center;
    }
    .navbar .nav-link, .navbar-brand {
        color: rgb(221, 221, 221) !important; 
    }
    .navbar .nav-link:hover, .navbar-brand:hover {
        color: lightblue !important; 
    }
    .navbar-nav-center {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }
    .navbar .nav-link {
        padding: 10px; 
        border-bottom: 1px solid rgb(221, 221, 221); 
    }
    .navbar-toggler {
        background-color: rgb(221, 221, 221); 
    }
    .navbar .nav-item .nav-link.active {
        font-weight: bold; 
        padding: 12px; 
        background-color: rgb(221, 221, 221); 
        color: goldenrod !important; 
        border-radius: 5px; 
    }
}

/********************** main heading ***************/
.mian-heading {
font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
font-size: 25px; 
color: #1A5C47; 
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
margin-top: 30px;
margin-bottom: 30px;
font-weight: 600;
}
@media (max-width: 768px) {
.mian-heading {
font-size: 20px; 
}
}

@media (max-width: 576px) {
.mian-heading {
font-size: 18px;
}
}
/******************** Paragraph ********************/
p.lead {
    font-size: 16px;  /* Adjust the font size as needed */
    text-align: left; /* Align the text to the left */
    color: black;
    }
/********************** link box *******************/
.container-link {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 90px;
    
    } 
    .container-link a {
    text-decoration: none; 
    }

    .link-box {
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 2px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        width: 150px;
        height: 55px;
        text-align: left;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        gap: 10px;
        }
        .link-box span {
        color: #333;
        font-size: 17px;
        text-align: center; 
        margin: auto;
        line-height: 18px;
        }
        .link-box:hover {
        transform: translateY(-10px);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        }
        .serp{
            font-size: 12px;
        }
    
 @media (max-width: 768px) {
        .container-link {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-content: center;
        }
        
        .link-box {
        width: 100%; /* Ensures the boxes adjust properly in the grid */
        text-align: center;
        }
    }
/*********************** foooter *************** */

    footer {
        background-color: rgb(52, 98, 52);
        color: white;
        padding: 0;
        text-align: center;
        border-top: 2px solid #3c6e3c;
        width: 100%;
    }
    
    footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 10px 20px;
    }
    footer .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    footer p {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
        color: white;
    }
    .fixed-logo {
        width: 50px;
        height: auto;
    }
    .social-icon img {
        width: 30px; 
        margin: 0 8px;
        transition: transform 0.3s ease-in-out;
    }
    
    .social-icon img:hover {
        transform: scale(1.2);
    }
    @media (max-width: 768px) {
        footer .row {
            flex-direction: column;
            text-align: center;
        }
    
        .fixed-logo {
            margin-bottom: 10px;
        }
    
        .social-icon {
            margin-top: 10px;
        }
        footer p {
            font-size: 14px; 
        }
    
        .social-icon img {
            width: 25px;
        }
    }
    
    @media (max-width: 480px) {
        footer p {
            font-size: 12px; 
        }
    
        .social-icon img {
            width: 22px;
        }
    }
    
    
/********************************* foooter end******************************** */
/* ========================service================================= */

.service-buttons a {
    text-decoration: none;
}
.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}
.service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    background-color: white;
    border: 1px solid rgb(52, 98, 52);
    border-radius: 10px;
    color: rgb(52, 98, 52);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px  rgba(24, 24, 24, 0.1);
    transition: all 0.5s ease;
    padding: 2px;
    
}

.service-button:hover {
    background-color: rgb(52, 98, 52);
    color: #ffffff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Text Styling for Service Button */
.service-button p {
    margin: 0;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.5px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .service-button {
        width: 150px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .service-button {
        width: 150px;
        height: 40px;
        font-size: 12px;
    }
}
/* ========================service========================= */
/**********************************  sheet start  ***************************/
.container-sheet {
max-width: 1150px;
margin: 20px auto;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h3, h5, p {
    text-align: center;
    color: #333;
    margin: 5px 0;
    padding: 0;
    }
    #searchInput::placeholder {
        font-size: 13px; 
    }
    #filterCategory {
        font-size: 13px; 
    }
    
    #filterCategory option {
        font-size: 13px; 
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        }
        table th, table td {
        border: 1px solid #ddd;
        padding: 7px;
        text-align: center;
        }
        table th {
        background-color: rgb(52, 98, 52);
        color: white;
        }
        table tr:nth-child(even) {
        background-color: #f2f2f2;
        }
        table tr:hover {
        background-color: #ddd;
        }
        table td {
            font-size: 12px;
        }
        
        @media (max-width: 768px) {
            table td {
                font-size: 10px;  /* Adjust for smaller screens */
            }
        }
        table td:first-child {
        text-align: left;
        }
        table th:nth-child(1), table td:nth-child(1) {
            width: 300px;
            }
        
        table th:nth-child(2), table td:nth-child(2) {
            width: 250px;
            }
        
        table th:nth-child(3), table td:nth-child(3) {
        width: 280px;
        }
        table th:nth-child(4), table td:nth-child(4) {
            width: 280px;
            }
/* ===================sheet line color change start================== */
table tbody tr {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}
table tbody tr:hover {
    transform: scale(1.02);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
    background-color: rgb(52, 98, 52);
    color: white;
}
.selected-row {
    background-color: rgb(168, 166, 166) !important;
}
/* ===================sheet line color change end================== */
@media (max-width: 768px) {
        table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        }
        
        table th, table td {
        font-size: 12px;
        padding: 5px;
        }
        table th {
        font-size: 14px;
        }
        }
        @media (max-width: 576px) {
        table th, table td {
        font-size: 10px; 
        padding: 4px;
        }
        
        table th {
        font-size: 12px;
        }
        }
        .search-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        }
        .search-bar div {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        
        }
        .search-bar select, .search-bar input {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-left: 1px;
        width: 100%;
        }
        .search-bar select {
        cursor: pointer;
        }
        @media (max-width: 768px) {
        .search-bar {
        flex-direction: column;
        gap: 10px; 
        }
        
        .search-bar select, .search-bar input {
        width: 100%; 
        }
        
        .search-bar div {
        width: 100%;
        }
        }
        #searchButton {
        background: url('img/search.png') no-repeat center center;
        background-size: contain; 
        width: 35px;  
        height: 40px; 
        cursor: pointer;
        padding: 10px;  
        margin-left: 0px; 
        border: 1px solid #ccc;
        border-radius: 0px 5px 5px 0px;
        }
        #searchButton:hover {
        transform: scale(1.1); 
        border: 1.8px solid rgb(52, 98, 52);
        }
        
/* ==========================MCPS========================== */
.mcps {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    animation: fadeIn 0.5s ease-in-out;
}


.mcpsh {
    font-size: 24px;
    color: #333;
    text-align: center;
}

.mcps p {
    font-size: 14px;
    color: #333;
    text-align: left;
    line-height: 1.5;
}

.slide-bar {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.slide-bar:hover {
    background-color: #e2e6ea;
}

.hidden {
    display: none;
}

.form-image {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
}

.download-btn {
    display: block;
    margin: 20px auto;
    padding: 5px 10px;
    background-color: rgb(52, 98, 52);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    max-width: 150px;
}

.download-btn:hover {
    color: rgb(52, 98, 52);
    background-color: white;
    border: 2px solid rgb(52, 98, 52);
}

/* ==========================MCPS======================== */
/* =======================Consultant======================= */
.doctor-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 6 columns in a row */
    
    }
    .doctor-button {
    display: flex;
    flex-direction: column; /* Stack image on top of text */
    align-items: center; /* Center the content */
    width: 180px;
    height: 230px; /* Adjust height as needed */
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    }
    
    .doctor-button:hover {
    background-color: #c0c0c3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative; /* Make the button's container position relative to show absolute elements */
    
    }
    
    .doctor-button img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px; /* Add space between image and text */
    }
    
    .doctor-button p {
    font-size: 16px;
    margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 14px;
    }
@media (max-width: 768px) {
.doctor-buttons {
grid-template-columns: repeat(2, 1fr); /* 2 buttons per row */
gap: 15px; /* Space between buttons */
}
.doctor-button {
width: 100%; /* Each button takes full width of the grid column */
height: auto;
}
}

@media (max-width: 480px) {
.doctor-buttons {
grid-template-columns: repeat(2, 1fr); /* 2 buttons per row on small screens as well */
gap: 10px; /* Space between buttons */
}
.doctor-button {
width: 100%; /* Each button takes full width of the grid column */
height: auto;
}
}


.doctor-button img {
    width: 160px;
    height: 170px;
    border-radius: 8px;
}
.doctor-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.doctor-p {
font-size: 16px;
font-weight: bold;
text-align: center;
margin-top: 10px;
color: rgb(52, 98, 52);
text-transform: capitalize;
}

 .modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
overflow: auto;
padding: 20px;
}
/* Increase Qualification Text Size */
.doctor-info p#doctorQualification {
 font-size: 16px; /* Adjust as needed */
 font-weight: bold; /* Optional for emphasis */
}
.poop {
background: white;
border-radius: 10px;
max-width: 600px;
margin: auto;
padding: 20px;
position: relative;
animation: zoomIn 0.5s ease;
}
.modal .close {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
font-weight: bold;
cursor: pointer;
}
@keyframes zoomIn {
from {
 transform: scale(0.8);
 opacity: 0;
}
to {
 transform: scale(1);
 opacity: 1;
}
}
@keyframes zoomOut {
from {
 transform: scale(1);
 opacity: 1;
}
to {
 transform: scale(0.8);
 opacity: 0;
}
}
/* Doctor Information Styling */
.doctor-details {
text-align: center;
}

.doctor-details img {
width: 160px;
height: 160px;
border-radius: 50%;
margin-bottom: 20px;
}

.doctor-info {
font-size: 16px;
text-align: left;
}

.doctor-info h2 {
text-align: center; 
}
.doctor-info p {
margin: 8px 0;
}
/* ============================contact============================= */
.contact-details {
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 50px; /* Spacing inside the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-size: 17px; /* Slightly larger text */
    height: 300px;
    font-family: 'Arial', sans-serif; /* Change font family */
    line-height: 1.3; /* Improve readability */
    color: #333; /* Text color */
}
.contact-details p {
    margin: 0 0 10px; /* Add spacing between paragraphs */
}
.contact-details strong {
    color: rgb(52, 98, 52); /* Highlight the labels in blue */
    font-weight: bold; /* Make the labels bold */
}
/* ============================contact============================= */
/* =============================managment============================ */
.staff-btn {
    display: inline-block;
    text-align: center;
    margin: 5px;
    padding: 2px 2px 0px 2px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 185px; /* Adjust as needed */
    cursor: pointer;
    height: 310px;
}

.staff-btn img {
    width: 178px;
    height: 250px;
    margin-bottom: 1px;
    border-radius: 10px;
}

.staf-p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 2px 0 0 0;
}

.staff-btn span {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1; /* Adjust line height */
}

.staff-btn:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
    background-color: #f1f1f1;
}

.staf-card {
    display: flex;
    justify-content: center; /* Center the cards horizontally */
    align-items: center; /* Center the cards vertically */
    flex-wrap: wrap; /* Allow the cards to wrap if needed */
    gap: 15px; /* Space between the cards */
    margin-top: 20px; /* Optional: add top margin to space it out a bit from the previous section */
}
/* =============================managment============================ */
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 0 auto 20px;  /* Set margin-top to 0 */
    max-width: 1100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 50px 50px 50px;
}

.content-container h2 {
    text-align: center; /* This centers the h3 heading */
}

.content-container img {
    max-width: 80%;
    height: 400px;
    border-radius: 10px;
    margin: 0 auto; /* This centers the image */
}

.note {
    text-align: left;
}

.back-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgb(52, 98, 52);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.back-button:hover {
    background-color: white;
    color:  rgb(52, 98, 52);
    border: 2px solid  rgb(52, 98, 52);
}
/* ==================================EID POOP================================= */
/* Pop-up Styling */
#popup {
display: none; 
position: fixed;
top: 20%;
left: 50%;
transform: translate(-50%, -20%);
background: white;
padding: 20px;
border-radius: 10px;
width: 60%;
max-width: 1200px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
z-index: 1000;
text-align: center;
animation: fadeIn 0.3s ease-in-out;
}


#popup h3 {
margin-bottom: 15px;
font-size: 20px;
color: #333;
}

#popup ul {
display: flex;
flex-wrap: wrap;
gap: 10px; 
justify-content: center;
}

#popup ul a {
display: inline-block;
padding: 5px 8px;
background: rgb(52, 98, 52);
color: white;
text-decoration: none;
border-radius: 5px;
transition: 0.3s ease;
}

@keyframes fadeIn {
from {
    opacity: 0;
    transform: translate(-50%, -30%);
}
to {
    opacity: 1;
    transform: translate(-50%, -20%);
}
}
@media (max-width: 768px) {
#popup {
    width: 100%;
    max-width: 100%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
}

#popup h3 {
    font-size: 12px;
}

#data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
#popup ul a {
    padding: 3px 5px; 
    font-size: 11px; 
    margin: 5px;
}
#data-table {
background-color: white;
width: 100%;
border-collapse: collapse;
}

#data-table th, #data-table td {
border: 1px solid black;
padding: 5px;
text-align: left;
}
}
