/* Doctors Section */
.doctors-hero {
    padding: 140px 0 60px;
    background-color: #F8FAFC;
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
    background-size: 32px 32px;
    text-align: center;
}

.doctors-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.doctors-hero .breadcrumb {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
}

.doctors-hero .breadcrumb-list {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctors-hero .breadcrumb-item {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.doctors-hero .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.doctors-hero .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.doctors-hero .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.doctors-hero .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    padding-right: 8px;
    color: #CBD5E1;
}

.doctors-section {
    padding: 100px 0;
    background-color: white;
}

.doctor-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E2E8F0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.doctor-img-wrapper {
    /* height: 280px; Removed fixed height */
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background-color: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.doctor-placeholder-icon {
    font-size: 64px;
    color: #CBD5E1;
}

.doctor-card:hover .doctor-img-wrapper img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.doctor-actions {
    margin-top: auto;
}

/* =========================================
   Doctor Profile Page (Premium Layout)
   ========================================= */

.doctor-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar */
.doctor-sidebar {
    position: sticky;
    top: 100px;
    /* Adjust based on navbar height */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doctor-photo-card {
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
}

.doctor-photo-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    margin-bottom: 20px;
}

.doctor-sidebar-info {
    padding: 0 10px 10px;
}

.doctor-sidebar h2 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.doctor-sidebar .specialty-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #E0F2FE;
    /* Light Blue */
    color: #0284C7;
    /* Darker Blue */
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Main Content */
.doctor-content .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-content .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.bio-text p {
    margin-bottom: 20px;
}

/* Expertise List */
.expertise-box {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #E2E8F0;
    margin-bottom: 40px;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.expertise-check {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

/* Quote/Highlight */
.doctor-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    background: linear-gradient(to right, rgba(2, 101, 220, 0.05), transparent);
    padding: 20px;
    border-radius: 0 12px 12px 0;
}

/* Responsive */
@media (max-width: 900px) {
    .doctor-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .doctor-sidebar {
        position: relative;
        top: 0;
    }

    .doctor-photo-card img {
        max-width: 300px;
        margin: 0 auto 20px;
        display: block;
        margin: 0 auto 20px;
        display: block;
    }
}

/* Credentials & Training */
.credential-section {
    margin-bottom: 40px;
}

.credential-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.credential-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.credential-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.credential-icon {
    width: 50px;
    height: 50px;
    background: #E0F2FE;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.credential-content h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
}

.credential-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.training-box {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #E2E8F0;
}

.training-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.training-item {
    position: relative;
    padding-left: 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.training-item::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
    top: 0px;
}

/* Action Buttons */
.doctor-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.btn-consult {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
    background: white;
}

.btn-back-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #F8FAFC;
    transform: translateX(-5px);
}

.btn-secondary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s ease;
    width: 100%;
    border: 1px solid transparent;
}

.btn-secondary-link:hover {
    color: var(--primary-color);
    background: #F8FAFC;
    transform: translateY(-2px);
    border-color: #E2E8F0;
}