body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: linear-gradient(to right, #f4f6f9, #eef2f7);
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #0b3c5d, #1e6fa3);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    letter-spacing: 1px;
}

/* BRANCH SECTION */
.branch {
    padding: 40px 20px;
}

.branch h2 {
    color: #0b3c5d;
    margin-bottom: 5px;
}

.address {
    color: #777;
    margin-bottom: 20px;
}

/* GRID */
.doctor-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 10px 15px;
    margin-top: 12px;
    border-radius: 30px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.book {
    background: linear-gradient(135deg, #0b3c5d, #1e6fa3);
    color: #fff;
}

.book:hover {
    background: linear-gradient(135deg, #092c44, #155d8b);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 320px;
    animation: fadeIn 0.3s ease;
}

.modal input,
.modal select {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}





/* DOCTORS SECTION */
.doctors-section {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #0b3c5d;
}

.section-subtitle {
    color: #666;
    max-width: 600px;
    margin: auto;
    margin-bottom: 40px;
}

.doctor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.doctor-card {
    width: 280px;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    width: 100%;
    border-radius: 10px;
}

.values span {
    background: #e6f2ff;
    padding: 6px 10px;
    border-radius: 20px;
    margin: 3px;
    display: inline-block;
    font-size: 12px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-doctors {
    padding: 120px 20px;
    background: linear-gradient(to right, #eef5fb, #f9fbfd);
}

.about-title {
    text-align: center;
    font-size: 34px;
    color: #0b3c5d;
}

.about-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 50px;
    color: #555;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* LEFT SIDE */
.about-content h3 {
    color: #0b3c5d;
    margin-bottom: 10px;
}

.about-content p {
    color: #555;
    line-height: 1.6;
}

.values-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.values-list li {
    margin: 10px 0;
    font-weight: 500;
    color: #333;
}

.explore-btn {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #0b3c5d, #1e6fa3);
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.explore-btn:hover {
    transform: scale(1.05);
}

/* RIGHT SIDE CARDS */
.treatment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.treat-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.treat-card:hover {
    transform: translateY(-8px);
}

.treat-card h4 {
    color: #0b3c5d;
    margin-bottom: 8px;
}

.treat-card p {
    font-size: 14px;
    color: #666;
}

@media (min-width:240px) and (max-width:496px) {

    .header {
        padding: 25px 15px;
        font-size: 18px;
    }

    .branch {
        padding: 25px 15px;
    }

    .doctor-container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .modal-content {
        width: 90%;
    }

    /* FAQ */
    .faq {
        padding: 25px 15px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 13px;
    }

    /* DOCTORS SECTION */
    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .doctor-grid {
        flex-direction: column;
        align-items: center;
    }

    .doctor-card {
        width: 100%;
    }

    /* ABOUT SECTION */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-title {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 14px;
    }

    .treatment-cards {
        grid-template-columns: 1fr;
    }

}

@media (min-width:496px) and (max-width:720px) {

    .header {
        padding: 30px;
    }

    .branch {
        padding: 30px 20px;
    }

    .doctor-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 80%;
    }

    /* DOCTORS */
    .doctor-card {
        width: 45%;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* ABOUT SECTION */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .treatment-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width:720px) and (max-width:1040px) {

    .branch {
        padding: 35px 25px;
    }

    .doctor-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* DOCTORS */
    .doctor-card {
        width: 30%;
    }

    .section-title {
        font-size: 30px;
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}