/* Premium Medical Center Styles */
:root {
    --primary: #2b9348;
    --secondary: #55a630;
    --accent: #e9c46a;
    --light: #f1faee;
    --dark: #264653;
    --success: #52b788;
    --text: #3a5a40;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text);
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(43, 147, 72, 0.2);
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 147, 72, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: #d97706;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.9rem;
    color: var(--secondary);
    font-weight: 800;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    font-size: 1.05rem;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(43, 147, 72, 0.9) 0%, rgba(85, 166, 48, 0.9) 100%), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* About Section */
.about {
    position: relative;
    background: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    opacity: 0.1;
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-right: 20px;
    margin-top: 5px;
}

.feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 45px 30px;
    position: relative;
    border: 1px solid #f1f5f9;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--primary);
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(43, 147, 72, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(43, 147, 72, 0.2);
}

.service-icon i {
    font-size: 2.3rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-weight: 700;
}

.service-card p {
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    background: var(--light);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: white;
    border: 1px solid #f1f5f9;
}

.faq-question {
    background: white;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    background: #f8fafc;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

.faq-toggle {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Insurance Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
    border: 1px solid #f1f5f9;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-header {
    background: var(--primary);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.package-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.package-price {
    font-size: 2.8rem;
    font-weight: 800;
}

.package-price span {
    font-size: 1.1rem;
    font-weight: 500;
}

.package-features {
    padding: 35px;
}

.package-features ul {
    list-style: none;
    margin-bottom: 35px;
}

.package-features ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.package-features ul li i {
    color: var(--success);
    margin-right: 12px;
    font-size: 1.1rem;
}

.package-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 8px 35px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 2;
}

/* Appointment Section */
.appointment {
    background: linear-gradient(135deg, rgba(43, 147, 72, 0.9) 0%, rgba(85, 166, 48, 0.9) 100%), url('../img/appointment.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.appointment::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.appointment-container {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.appointment-info {
    flex: 1;
}

.appointment-info h3 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.appointment-info p {
    margin-bottom: 35px;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.3rem;
    margin-right: 18px;
    color: var(--accent);
}

.appointment-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.appointment-form h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 147, 72, 0.2);
    background: white;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact li i {
    margin-right: 18px;
    color: var(--accent);
    margin-top: 5px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 1rem;
    color: #cbd5e1;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}

.footer-links-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links-bottom a:hover {
    color: var(--accent);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    animation: modalFade 0.3s;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark);
}

.modal h2 {
    margin-bottom: 25px;
    color: var(--secondary);
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
}

.confirmation-message {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.confirmation-message i {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 25px;
}

.policy-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    margin-top: 25px;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .about-content {
        flex-direction: column;
    }

    .appointment-container {
        flex-direction: column;
    }

    .appointment-info,
    .appointment-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 12px 0;
        text-align: center;
    }

    .hero h2 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.3rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}