/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #3498db, #2980b9);
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo Styling */
.logo {
    font-size: 26px;
    font-weight: bold;
    color: white;
    font-family: cursive;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effects */
.nav-links a:hover {
    background: #ffeb3b;
    color: black;
    transform: scale(1.1);
}

/* Login Button Styling */
.login-btn {
    background: #e74c3c;
    padding: 10px 15px;
    border-radius: 5px;
}

.login-btn:hover {
    background: #c0392b;
    color: white;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #2980b9;
        padding: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* About Section */
.about-section {
    max-width: 800px;
    margin: 100px auto 50px; /* Pushes the section down */
    padding: 20px;
    text-align: center;
    background: white;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2980b9;
}

.about-section p {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
}

/* Push content down to prevent navbar overlap */
body {
    padding-top: 80px; /* Adjust based on navbar height */
}

/* Adjust hospital images section */
#hospital-images {
    margin-top: 20px; /* Additional spacing */
}

/* Hospital Images */
#hospital-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

#hospital-images img {
    width: 30%;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.welcome-message {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

.welcome-text {
    text-align: center;
}

#hospital-images img:hover {
    transform: scale(1.05);
}



/* Doctor Profiles */
#doctors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.doctor-profile {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.doctor-profile:hover {
    transform: translateY(-5px);
}

.doctor-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* Reviews */
#review {
    margin-top: 20px;
    padding: 20px;
    background-color: #3498db; /* Blue Background */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white; /* White text */
    display: flex;
    justify-content: space-around;
}

#review div {
    width: 30%;
    background-color: white; /* White background for individual reviews */
    color: #333; /* Dark text for readability */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#review div:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 20px;
}

footer #foot {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer div {
    flex: 1;
    padding: 10px;
}

/* Collapsible Sections */
.collapsible-button {
    cursor: pointer;
    background-color: #555;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    transition: background 0.3s ease;
}

.collapsible-button:hover {
    background-color: #777;
}

.collapsible-content {
    display:contents;
    transition: all 0.3s ease-in-out;
}

/* Contact Us Section - Footer */
#contact p {
    margin: 5px 0;
    font-size: 14px;
}

#contact strong {
    color: #ffeb3b; /* Yellow color to highlight important info */
}
