
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


header {
    background: #00b894;
    color: #fff;
    padding: 20px 0;
    height: 12vh;
}

.logo {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
}

nav {
    float: right;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.nav-links a:hover {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.hero {
    background: url('../images/hero-bg.png') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 25px;
    background: #0984e3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}


.footer {
    background: #0a3d62;
    color: #ffffff;
    padding: 50px 20px 20px;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
    position: relative;
}

.footer-box h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #00cec9;
    display: block;
    margin-top: 6px;
    border-radius: 2px;
}

.footer-box p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #00cec9;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 30px;
    text-align: center;
    padding-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
        .footer-health{
        display: flex;
        justify-content:space-around;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-box h3::after {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-health{
        display: flex;
        justify-content:space-around;
    }
}



.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 5px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #00b894;
}


.services {
    padding: 60px 0;
    background: #f1f2f6;
}

.service-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-cards .card {
    background: #fff;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-cards .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.about-preview {
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}


.testimonials {
    padding: 60px 0;
    background: #f1f2f6;
}

.testimonial-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-style: italic;
}

.testimonial-card h4 {
    margin-top: 15px;
    color: #00b894;
}


.newsletter {
    padding: 60px 0;
    background: #00b894;
    color: #fff;
    text-align: center;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    width: 250px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    background: #0984e3;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.about-hero {
    background: url('../images/about-hero.png') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.our-story {
    padding: 60px 0;
    max-width: 900px;
    margin: auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

.mission-vision {
    padding: 60px 0;
}

.mission-vision-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.mission, .vision {
    flex: 1;
    background: #f1f2f6;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mission h3, .vision h3 {
    color: #00b894;
    margin-bottom: 15px;
}

.team {
    padding: 60px 0;
    background: #f1f2f6;
}

.team-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-card {
    background: #fff;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    border-radius: 50%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}
.services-hero {
    background: url('../images/service-hero.png') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.services-details {
    padding: 60px 0;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-cards .card {
    background: #fff;
    padding: 25px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-cards .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cta-services {
    padding: 60px 0;
    background: #00b894;
    text-align: center;
    color: #fff;
}

.cta-services .btn {
    margin-top: 20px;
}
.contact-hero {
    background: url('../images/contact-hero.png') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 60px 0;
    gap: 20px;
    text-align: center;
}

.info-item h3 {
    color: #00b894;
    margin-bottom: 10px;
}

.contact-form-section {
    padding: 60px 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    resize: none;
}

.contact-form button {
    padding: 12px;
    background: #00b894;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #0984e3;
}

.form-message {
    margin-top: 15px;
    font-weight: bold;
}

.map-section {
    padding: 0;
}
.doctors-hero {
    background: url('../images/doctors-hero.png') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1cfbb;
    text-align: center;
}

.doctors-section {
    padding: 60px 0;
}

.doctor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.doctor-card {
    background: #fff;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.doctor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.doctor-card h3 {
    margin: 10px 0 5px;
    color: #00b894;
}

.doctor-card p {
    font-size: 14px;
    margin: 5px 10px;
}

.doctor-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.doctor-buttons .btn {
    padding: 8px 15px;
    font-size: 14px;
}

.doctor-buttons .btn-appointment {
    background: #0984e3;
    color: #fff;
}

.doctor-buttons .btn-appointment:hover {
    background: #00b894;
}

@media(max-width:768px){
    .doctor-cards {
        flex-direction: column;
        align-items: center;
    }

    .doctor-card {
        width: 80%;
    }
    .container{
        position: relative;
        top: 23px;
    }
}

@media(max-width:768px){
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        width: 90%;
    }
}

@media(max-width:768px){
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width:768px){
    .mission-vision-flex {
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width:768px){
    .service-cards, .testimonial-cards, .about-flex {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        width: 70%;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        width: 50%;
    }
}

@media (max-width: 768px) {
   .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1a61a9;
        text-align: center;
        padding: 15px 0;
        z-index: 999;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li a {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex; 
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        0% { opacity: 0; transform: translateY(-20px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}

