/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8faff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.primary-button {
    background-color: #00aaff;
    color: #fff;
    border: none;
}

.primary-button:hover {
    background-color: #008ecc;
}

.secondary-button {
    background-color: transparent;
    border: 2px solid #00aaff;
    color: #00aaff;
}

.secondary-button:hover {
    background-color: #00aaff;
    color: #fff;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00aaff;
    padding-right: 50px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00aaff;
}

.header-buttons {
    margin-left: auto;
}

/* Hero Section */
/* Hero Section */
#hero {
    padding: 80px 0;
    background: linear-gradient(to right, #e6f8ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

#hero .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1 1 50%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    color: #002c5c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1 1 45%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    #hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content, .hero-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
}


/* About Section */
#about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 60px 0;
    background-color: #fff;
}

.about-image, .about-content {
    flex: 1 1 50%;
    padding: 20px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.about-content p {
    margin-bottom: 15px;
}

/* Services Section */
#services {
    padding: 60px 0;
    background-color: #f1f9ff;
    text-align: center;
}

#services h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #00aaff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.service-item h3 {
    color: #0077b6;
    margin-bottom: 10px;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.why-choose-item h3 {
    color: #00aaff;
    margin-bottom: 10px;
}

/* Healthcare Plans Section */
#healthcare-plan {
    padding: 60px 0;
    background: #e6f8ff;
    text-align: center;
}

.health-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.plan-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 300px;
}

.plan-item h3 {
    color: #00aaff;
    margin-bottom: 20px;
}

.plan-item ul {
    margin-bottom: 20px;
    text-align: left;
}

.plan-item ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.plan-item ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #00aaff;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-item img {
    height: 32px;
    margin-bottom: 10px;
}

/* Appointment Section */
#appointment {
    padding: 60px 0;
    background-color: #f1f9ff;
}

#appointment-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.confirmation-message {
    color: green;
    margin-top: 10px;
}

/* Testimonials */
#testimonials {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
}

.testimonial {
    padding: 20px;
    background-color: #f1f9ff;
    border-left: 4px solid #00aaff;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* Footer */
footer {
    background-color: #002c5c;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    font-weight: 500;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content, .hero-image {
        max-width: 100%;
    }

     .about-image,
    .about-content {
        flex: 1 1 100%;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        background: #fff;
        padding: 20px;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        display: none; /* Add JS for toggle if you want mobile nav */
    }

    .header-buttons {
        display: none;
    }

    .health-plans {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .logo a {
    padding-right: 10px;
}
}

/* Animation (Optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}
