/* ============================
   Global Reset
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #f5f9fc;
    color: #333;
    line-height: 1.7;
}

/* ============================
   Banner Section
============================ */

.doctor-banner {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #003366cc, #008080cc);
}

.breadcrumb-custom {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 15px;
}

.doc-link {
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease;
}

.doc-link:hover {
    color: #ffd700;
}

/* ============================
   Profile Section
============================ */

.doctor-profile {
    padding: 90px 0;
}

.doctor-card {
    background: #ffffff;
    max-width: 1400px;
    margin: -100px auto 0;
    padding: 60px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 3;
}

/* ============================
   Headings
============================ */

.doctor-name {
    font-size: 34px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #004d66;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 20px;
    background: #00a3a3;
    border-radius: 5px;
}

/* =============================
   Membership List Improved
============================= */

.member-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.member-list li {
    background: #ffffff;
    padding: 16px 20px;
    margin-bottom: 15px;
    border-left: 4px solid #008080;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.member-list li:hover {
    transform: translateY(-3px);
    background: #f2fbfb;
}

/* FLEX LAYOUT */
.member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* TEXT */
.member-item a {
    text-decoration: none;
    font-weight: 600;
    color: #004080;
    font-size: 15px;
    flex: 1;
    transition: 0.3s ease;
}

.member-item a:hover {
    color: #008080;
}

/* IMAGE FIX */
.member-item img {
    height: 80px; /* small fixed height */
    width: auto;
    max-width: 200px; /* prevents large width */
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .member-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-item img {
        margin-top: 10px;
        height: 50px;
    }
}
/* ============================
   Responsive
============================ */

@media (max-width: 992px) {
    .doctor-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .doctor-card {
        padding: 30px;
    }

    .doctor-name {
        font-size: 26px;
    }

    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .member-list li {
        padding: 15px;
    }

    .member-list a {
        font-size: 14px;
    }
}
