/* ==================================================
   DOCTOR SINGLE PAGE
==================================================*/

.doctor-profile {
    max-width: 1200px;
    margin: 60px auto;
}



/* ==================================================
   HERO SECTION
==================================================*/

.doctor-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    margin-bottom: 40px;
}

.doctor-hero-image {
    flex: 0 0 280px;
}

.doctor-hero-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.doctor-hero-content {
    flex: 1;
}

.doctor-hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.doctor-specialization {
    display: inline-block;
    background: #eaf8f3;
    color: #0d8a63;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}



/* ==================================================
   INFORMATION SECTION
==================================================*/

.doctor-info {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.doctor-content {
    margin-bottom: 30px;
}

.doctor-details-box h2 {
    margin-bottom: 20px;
}

.doctor-details-box p {
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}



/* ==================================================
   CONTACT SECTION
==================================================*/

.doctor-contact-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.doctor-contact-box h2 {
    margin-bottom: 20px;
}

.doctor-contact-box p {
    margin: 12px 0;
}



/* ==================================================
   HOSPITAL SECTION
==================================================*/

.doctor-hospital-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.hospital-card-small h3 {
    margin-bottom: 15px;
}

.hospital-card-small a {
    text-decoration: none;
}

.hospital-profile-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    border-radius: 8px;
    background: #009688;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.hospital-profile-btn:hover {
    background: #00796b;
}



/* ==================================================
   TREATMENTS SECTION
==================================================*/

.doctor-treatments-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.doctor-treatment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.doctor-treatment-item {
    padding: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    transition: .3s;
}

.doctor-treatment-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
}

.doctor-treatment-item h3 {
    margin-bottom: 18px;
}

.doctor-treatment-item a {
    text-decoration: none;
}

.treatment-profile-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #009688;
    color: #fff !important;
    border-radius: 8px;
    margin-top: 12px;
}

.treatment-profile-btn:hover {
    background: #00796b;
}



/* ==================================================
   RESPONSIVE
==================================================*/

@media(max-width:768px) {

    .doctor-hero {
        flex-direction: column;
        text-align: center;
    }

    .doctor-hero-image {
        flex: unset;
        width: 220px;
    }

    .doctor-hero-content h1 {
        font-size: 32px;
    }

    .doctor-info,
    .doctor-contact-box,
    .doctor-hospital-box,
    .doctor-treatments-box {
        padding: 25px;
    }

}