/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styling */
.header {
    background: linear-gradient(90deg, #01735a, #00a28a);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar Container */
.navbar .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    color: #f25864;
}

/* Nav Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: #f25864;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #00a28a;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-menu li {
        text-align: center;
        padding: 0.8rem 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Sticky Header Shadow */
.header.sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(to right, #00a28a, #01735a);
    color: #fff;
    padding: 80px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 500px;
    padding: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #00a28a;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #e3f2fd;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #00a28a;
}

/* Hero Icon */
.hero-image {
    flex: 1 1 300px;
    text-align: center;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
    padding: 20px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        font-size: 6rem;
        margin-bottom: 30px;
    }
}


/* ========== About Section ========== */
.about {
    background-color: #f4f6f9;
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #01735a;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 600px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #00a28a;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 150px;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stat-item h4 {
    font-size: 1.6rem;
    color: #01735a;
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: #777;
}

/* About Icon/Image */
.about-image {
    flex: 1 1 300px;
    text-align: center;
    font-size: 8rem;
    color: #e0e0e0;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }
}

/* ========== Services Section ========== */
.services {
    background-color: #ffffff;
    padding: 80px 20px;
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-header h2 {
    font-size: 2.5rem;
    color: #01735a;
    margin-bottom: 0.5rem;
}

.services .section-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f4f6f9;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    background-color: #e3f2fd;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card i {
    font-size: 3rem;
    color: #00a28a;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #01735a;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive for small devices */
@media (max-width: 480px) {
    .service-card {
        padding: 20px 15px;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }
}

/* ========== Why Choose Us Section ========== */
.why-choose {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    padding: 80px 20px;
}

.why-choose .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose .section-header h2 {
    font-size: 2.5rem;
    color: #01735a;
    margin-bottom: 0.5rem;
}

.why-choose .section-header p {
    font-size: 1.1rem;
    color: #555;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    background-color: #f3fffd;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.8rem;
    color: #00a28a;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #01735a;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* ========== Health Care Plans Section ========== */
.plans {
    background-color: #f8fbff;
    padding: 80px 20px;
}

.plans .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.plans .section-header h2 {
    font-size: 2.5rem;
    color: #01735a;
    margin-bottom: 0.5rem;
}

.plans .section-header p {
    font-size: 1.1rem;
    color: #555;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Plan Card Styles */
.plan-card {
    background-color: #ffffff;
    border: 2px solid #e3f2fd;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
    border-color: #f3fffd;
    transform: translateY(-5px);
}

/* Featured Plan Styling */
.plan-card.featured {
    border: 3px solid #00a28a;
    background: #e3f2fd;
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.1);
}

.plan-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00a28a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    font-size: 1.5rem;
    color: #01735a;
    margin-bottom: 15px;
}

.plan-card .price {
    font-size: 2rem;
    color: #00a28a;
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-card .price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.plan-card ul li {
    margin: 8px 0;
    color: #444;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #00a28a;
    color: #00a28a;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #00a28a;
    color: #fff;
}

/* ========== Testimonials Section ========== */
.testimonials {
    background-color: #ffffff;
    padding: 80px 20px;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials .section-header h2 {
    font-size: 2.5rem;
    color: #01735a;
    margin-bottom: 0.5rem;
}

.testimonials .section-header p {
    font-size: 1.1rem;
    color: #555;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #f4f6f9;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    background-color: #e3f2fd;
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.patient-info h4 {
    font-size: 1.1rem;
    color: #01735a;
    margin-bottom: 4px;
}

.patient-info span {
    font-size: 0.9rem;
    color: #666;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 480px) {
    .plan-card .price {
        font-size: 1.6rem;
    }

    .plan-card h3 {
        font-size: 1.3rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }
}

/* ========== Contact Section ========== */
.contact {
    background: #e3f2fd;
    padding: 80px 20px;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact .section-header h2 {
    font-size: 2.5rem;
    color: #01735a;
    margin-bottom: 10px;
}

.contact .section-header p {
    font-size: 1.1rem;
    color: #555;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #00a28a;
    min-width: 30px;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #01735a;
    margin: 0 0 5px;
}

.contact-item p {
    color: #444;
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #01735a;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #00a28a;
    outline: none;
    background-color: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    background-color: #00a28a;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #01735a;
}

/* ========== Footer ========== */
.footer {
    background-color: #01735a;
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer .logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #dbeafe;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffffff33;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #f3fffd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #f3fffd;
    margin-right: 15px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #ffffff33;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #f3fffd;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .contact-content,
    .footer-content {
        flex-direction: column;
    }

    .contact-form {
        padding: 25px;
    }
}

/* ========== Appointment Modal ========== */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #01735a;
    text-align: center;
}

/* Close Button */
.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal .close:hover {
    color: #e53935;
}

/* Form Styling */
#appointmentForm .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

#appointmentForm .form-group {
    flex: 1;
    min-width: 45%;
    display: flex;
    flex-direction: column;
}

#appointmentForm label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

#appointmentForm input,
#appointmentForm select,
#appointmentForm textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

#appointmentForm input:focus,
#appointmentForm select:focus,
#appointmentForm textarea:focus {
    border-color: #00a28a;
    outline: none;
    background-color: #fff;
}

#appointmentForm textarea {
    resize: vertical;
}

#appointmentForm .btn-primary {
    margin-top: 10px;
    background-color: #00a28a;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

#appointmentForm .btn-primary:hover {
    background-color: #01735a;
}

/* Responsive */
@media (max-width: 600px) {
    #appointmentForm .form-row {
        flex-direction: column;
    }

    #appointmentForm .form-group {
        min-width: 100%;
    }

    .modal-content {
        padding: 20px;
    }
}
