﻿/*=============================
    Google Font
==============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #f4f7fc;
    color: #222;
}

/*=============================
        Section
==============================*/

.doctor-section {
    padding: 80px 0;
    background: linear-gradient(180deg,#f8fbff,#eef5ff);
}

/*=============================
      Heading
==============================*/

.section-title span {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    background: #e9f1ff;
    color: #0d4ba8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title h2 {
    margin-top: 18px;
    font-size: 42px;
    font-weight: 700;
    color: #0b2d63;
}

.section-title p {
    margin-top: 12px;
    color: #6d7485;
    font-size: 17px;
}

/*=============================
        Doctor Card
==============================*/

.doctor-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.07);
    transition: .35s;
    border-left: 6px solid #025692;
}

    .doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,.15);
    }

/*=============================
        Number
==============================*/

.doctor-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,#025692,#003f88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

/*=============================
        Image
==============================*/

.doctor-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #eef4ff;
}

/*=============================
      Details
==============================*/

.doctor-details {
    flex: 1;
}

    .doctor-details h3 {
        font-size: 28px;
        color: #0b2d63;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .doctor-details h6 {
        color: #666;
        font-size: 15px;
        margin-bottom: 5px;
        line-height: 20px;
        font-weight: 500;
    }

.speciality {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #eef5ff;
    color: #0d4ba8;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 600;
}

    .speciality i {
        font-size: 22px;
    }

/*=============================
        Timing
==============================*/

.doctor-time {
    min-width: 230px;
    text-align: center;
}

.day {
    font-size: 21px;
    font-weight: 700;
    color: #025692;
    margin-bottom: 10px;
}

.time {
    font-size: 17px;
    color: #444;
    margin-bottom: 5px;
    line-height: 30px;
}

.appointment-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg,#025692,#003f88);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

    .appointment-btn:hover {
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(13,110,253,.35);
    }

/*=============================
        Responsive
==============================*/

@media(max-width:992px) {

    .doctor-card {
        flex-direction: column;
        text-align: center;
    }

    .doctor-details {
        width: 100%;
    }

    .speciality {
        justify-content: center;
    }

    .doctor-time {
        width: 100%;
        min-width: 100%;
    }
}

@media(max-width:768px) {

    .section-title h2 {
        font-size: 30px;
    }
    .doctor-image img {
        width: 150px;
        height: 150px;
    }

    .doctor-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .doctor-details h3 {
        font-size: 22px;
    }

    .speciality {
        width: 100%;
        border-radius: 12px;
        justify-content: center;
        padding: 5px;
    }
    .appointment-btn {
        width: 100%;
    }
}

@media(max-width:480px) {

    .doctor-card {
        padding: 18px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 15px;
    }

    .day {
        font-size: 18px;
    }

    .time {
        font-size: 15px;
    }

    .doctor-details h3 {
        font-size: 20px;
    }

    .doctor-details h6 {
        font-size: 14px;
    }
}
