﻿/********************************
 PREMIUM DOCTOR CARD
********************************/

.doctor-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(11,60,93,.08);
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    margin-bottom:35px;
    display:flex;
    flex-wrap:wrap;
    transition:all .35s ease;
    position:relative;
}

.doctor-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(11,60,93,.15);
}


/********************************
 DOCTOR IMAGE
********************************/

.doctor-image{
    width:280px;
    min-height:320px;
    position:relative;
    overflow:hidden;
    background:#f5f7fa;
}

.doctor-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.doctor-card:hover .doctor-image img{
    transform:scale(1.06);
}


/********************************
 CATEGORY BADGE
********************************/

.doctor-category{
    position:absolute;
    top:15px;
    left:15px;
    background:rgba(11,60,93,.95);
    backdrop-filter:blur(12px);
    color:#fff;
    padding:10px 18px;
    border-radius:50px;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    z-index:2;
}


/********************************
 DOCTOR INFO
********************************/

.doctor-info{
    flex:1;
    padding:32px;
}

.doctor-info h3{
    color:#0B3C5D;
    font-size:30px;
    font-weight:700;
    margin-bottom:12px;
    position:relative;
    padding-bottom:12px;
    line-height:1.2;
}

.doctor-info h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:65px;
    height:4px;
    background:#D4AF37;
    border-radius:20px;
}


/********************************
 VERIFIED BADGE
********************************/

.verified-badge{
    display:inline-flex;
    align-items:center;
    margin-left:10px;
    padding:5px 12px;
    border-radius:30px;
    background:#EAF7EF;
    color:#14833B;
    font-size:12px;
    font-weight:600;
}


/********************************
 DEGREE
********************************/

.doctor-degree{
    color:#D4AF37;
    font-weight:600;
    margin-bottom:15px;
    font-size:15px;
}


/********************************
 APPOINTMENT BADGE
********************************/

.appointment-badge{
    display:inline-block;
    background:#EAF7EF;
    color:#14833B;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}


/********************************
 LOCATION
********************************/

.doctor-location{
    color:#64748B;
    margin-bottom:15px;
    font-size:15px;
}


/********************************
 SPECIALITY
********************************/

.doctor-speciality{
    line-height:1.9;
    color:#444;
    margin-bottom:18px;
    font-size:15px;
}


/********************************
 ADDRESS & TIMING
********************************/

.doctor-address,
.doctor-timing{
    margin-bottom:15px;
    color:#555;
    line-height:1.8;
    font-size:14px;
}

.doctor-address strong,
.doctor-timing strong{
    color:#0B3C5D;
}


/********************************
 CONTACT
********************************/

.doctor-contact{
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #e5e7eb;
    color:#0B3C5D;
    font-weight:600;
}


/********************************
 BUTTONS
********************************/

.doctor-buttons{
    margin-top:22px;
}

.btn-call,
.btn-whatsapp,
.btn-profile{
    display:inline-block;
    padding:13px 24px;
    border-radius:12px;
    text-decoration:none;
    margin-right:10px;
    margin-bottom:10px;
    font-weight:600;
    transition:all .3s ease;
    border:none;
}

.btn-call{
    background:#0B3C5D;
    color:#fff;
}

.btn-call:hover{
    background:#145374;
    color:#fff;
    transform:translateY(-2px);
}

.btn-whatsapp{
    background:#25D366;
    color:#fff;
}

.btn-whatsapp:hover{
    background:#1ebe5d;
    color:#fff;
    transform:translateY(-2px);
}

.btn-profile{
    background:linear-gradient(
        135deg,
        #0B3C5D,
        #145374
    );
    color:#fff;
}

.btn-profile:hover{
    color:#fff;
    transform:translateY(-2px);
}


/********************************
 MOBILE RESPONSIVE
********************************/

@media(max-width:768px){

.doctor-card{
    display:block;
    border-radius:20px;
}

.doctor-image{
    width:100%;
    height:260px;
    min-height:auto;
}

.doctor-info{
    padding:22px;
}

.doctor-info h3{
    font-size:24px;
}

.doctor-degree{
    font-size:14px;
}

.doctor-speciality{
    font-size:14px;
}
.doctor-speciality strong{
    display:block;
    color:#0B3C5D;
    font-size:16px;
    font-weight:700;
    margin-bottom:10px;
}
.doctor-address,
.doctor-timing{
    font-size:13px;
}

.doctor-buttons{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.btn-call,
.btn-whatsapp,
.btn-profile{
    width:100%;
    text-align:center;
    margin:0;
}

.verified-badge{
    display:block;
    margin-top:10px;
    margin-left:0;
    width:fit-content;
}

}