/* ============================= */
/*        DOCTORS SECTION        */
/* ============================= */
#doctors {
    background-color: #D4E8E8;
}

#doctors .row {
    row-gap: 30px;
    border: 2px solid #d0dbe5;
    border-radius: 20px;
    padding: 30px;
    background: #ffffff;
}

/* Doctor Card */
.doctor-card {
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #d0dbe5;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(16, 122, 124, 0.15);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0e4968, #107A7C) border-box;
    border: 2px solid transparent;
}

/* Doctor Image */
.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.06);
}

/* Overlay */
.doctor-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 122, 124, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

/* Social Icons */
.social-links a {
    color: #ffffff;
    font-size: 18px;
    margin: 0 8px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #ffffff;
    color: #107A7C;
}

/* Doctor Content */
.doctor-content {
    padding: 22px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-content h4 {
    font-weight: 600;
    margin-bottom: 6px;
    color: #1c2b36;
}

.specialty {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #107A7C;
    margin-bottom: 10px;
}

.doctor-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Department Meta */
.doctor-meta {
    border-top: 1px solid #eef3f7;
    padding-top: 12px;
    margin-top: auto;
}

.doctor-meta .department {
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.doctor-meta i {
    color: #107A7C;
}


.topbar-socials {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-social {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-left: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 16px !important; 
}

.topbar-social {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.topbar-social:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

/* Brand colors on hover */
/* .topbar-social.whatsapp:hover  { color: #25D366; }
.topbar-social.instagram:hover { color: #E1306C; }
.topbar-social.youtube:hover   { color: #FF0000; }
.topbar-social.mail:hover      { color: #d4f5f5; }
.topbar-social.location:hover  { color: #d4f5f5; } */


.glass-doctor-card{
    padding: 25px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.glass-doctor-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.glass-doctor-name{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.glass-doctor-specialty{
    display: inline-block;
    font-size: 14px;
    color: #0d6efd;
    font-weight: 500;
    margin-bottom: 10px;
}

.glass-doctor-qualification{
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.glass-doctor-meta{
    display: flex;
    align-items: center;
}

.glass-doctor-department{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.glass-doctor-department i{
    color: #0d6efd;
}
