:root {
    --green: #4f8f7a;
    --dark: #1f2933;
    --muted: #6b7280;
    --light: #f9fbfa;
    --alt: #f2f6f4;
    --card: #ffffff;
    --caution: #dc6f26;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, sans-serif;
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    cursor: pointer;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 22px;
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    user-select: none;
}

.nav .cta {
    color: var(--green);
    font-weight: 500;
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn:hover {
    background: #f9fbfa;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    background: linear-gradient(135deg, #e7f3ee, #ffffff);
    padding: 120px 0;
}

.hero-content {
    flex-direction: row;
    max-width: 720px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 18px;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
}

.hero-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 30px;
    background: var(--green);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
}

.section {
    padding: 90px 0;
}

.section.alt {
    background: var(--alt);
}

.section h2 {
    font-size: 34px;
    margin-bottom: 26px;
}

.section p {
    max-width: 820px;
    margin-bottom: 16px;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--card);
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.process-step {
    background: var(--card);
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.process-step span {
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
}

.process-step h3 {
    margin: 12px 0 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.doctor-card {
    background: var(--card);
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.photo {
    height: 180px;
    background: #e5e7eb;
    border-radius: 10px;
    margin-bottom: 14px;
    background-size: cover;
    background-position: center;
}

#picture1 {
    background-image: url(./doctors/doctor1.jpg);
}

.name {
    font-weight: 600;
    margin-bottom: 4px;
}

.role {
    font-size: 14px;
    color: var(--muted);
}

.legal p {
    max-width: 900px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.faq-item {
    background: var(--card);
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 8px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card);
    padding: 44px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.contact-left h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-left p {
    color: var(--caution);
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-list a {
    color: var(--green);
    text-decoration: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-bottom: 14px;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 26px 0;
    font-size: 14px;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.aboutpicture {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    background-image: url("./pictures/clinicpicture1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.modal-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.modal-content h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.modal-content p {
    margin-bottom: 20px;
    color: #6b7280;
}

.modal-content button {
    background: #4f8f7a;
    color: #fff;
    padding: 10px 24px;
    width: calc(100% - 48px);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

@media (max-width: 900px) {
    .menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding-bottom: 32px;
        border-bottom: 1px solid #e5e7eb;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 18px;
        margin: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 32px;
    }
}