/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #f7f9fc;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER ================= */
.top-header {
    background: linear-gradient(135deg, #f4f7fb, #ffffff);
    padding: 60px 0;
    position: relative;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.doctor-photo img {
    width: 230px;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.doctor-info h1 {
    font-size: 40px;
    margin-bottom: 5px;
}

.doctor-info h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 10px;
}

.doctor-info p {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
}

.header-buttons {
    margin-top: 20px;
}

.header-buttons .btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    margin-right: 12px;
    transition: 0.3s;
}

.call { background: #2563eb; }
.whatsapp { background: #22c55e; }
.appointment { background: #0f172a; }

.header-buttons .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.social-icons a:hover {
    background: #0ea5e9;
    color: #fff;
    transform: translateY(-3px);
}

/* ================= NAVBAR ================= */
.navbar {
    background: #0f172a;
    padding: 14px 0;
    text-align: center;
}

.navbar a {
    color: #fff;
    margin: 0 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: #38bdf8;
}

/* ================= SECTIONS ================= */
section {
    padding: 70px 0;
    background: #fff;
}

.about h2,
.services h2 {
    font-size: 34px;
    color: #0f172a;
    margin-bottom: 15px;
}

.about p {
    font-size: 17px;
    max-width: 900px;
    color: #475569;
}

.services ul {
    margin-top: 20px;
}

.services li {
    list-style: none;
    font-size: 17px;
    padding: 8px 0 8px 28px;
    position: relative;
    color: #334155;
}

.services li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #22c55e;
}

/* ================= APPOINTMENT (LUXURY) ================= */
.appointment {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #fff;
}

.appointment h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.appointment p {
    font-size: 16px;
    color: #cbd5f5;
    margin-bottom: 25px;
}

.appointment form {
    background: #ffffff;
    padding: 40px;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.appointment input,
.appointment textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
}

.appointment textarea {
    resize: none;
    height: 120px;
}

.appointment button {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.appointment button:hover {
    background: #020617;
}

/* ================= FOOTER ================= */
footer {
    background: linear-gradient(135deg, #021b2d, #06324a);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-container h3 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.footer-container p,
.footer-container a {
    color: #e2e8f0;
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #cbd5f5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        position: static;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.contact-modern {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 50px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-card h3 {
    margin-bottom: 20px;
}

.info-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-card a {
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 600;
}

.contact-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.call-btn {
    background: #0b5ed7;
}

.whatsapp-btn {
    background: #25D366;
}

.form-card form input,
.form-card form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.form-card button {
    width: 100%;
    background: #0b132b;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.form-card button:hover {
    background: #1c2541;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
