/* ============================================
   Doctor Profile Page - Sticky Sidebar Layout
   ============================================ */

/* Profile Page Layout */
.profile-page-wrapper {
    display: flex;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    align-items: flex-start;
}

/* Sticky Left Sidebar */
.profile-sidebar {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.profile-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.profile-image-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.profile-name {
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-name h1 {
    font-size: 1.75rem;
    color: #14315d;
    margin-bottom: 0.25rem;
}

.profile-title {
    text-align: center;
    color: var(--color-text-soft);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.profile-qualifications {
    border-top: 2px solid var(--color-border-light);
    padding-top: 1.5rem;
}

.profile-qualifications h3 {
    font-size: 1.1rem;
    color: #14315d;
    margin-bottom: 1rem;
    text-align: center;
}

.qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualification-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.qualification-list li:last-child {
    border-bottom: none;
}

.qualification-list strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.25rem;
}

.profile-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-border-light);
}

.profile-cta .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.profile-cta .btn:last-child {
    margin-bottom: 0;
}

/* Main Content Area */
.profile-main-content {
    flex: 1;
    min-width: 0;
}

.profile-hero {
    margin-bottom: 3rem;
}

.profile-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.profile-hero p {
    font-size: 1.1rem;
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Content Sections */
.profile-content-section {
    margin-bottom: 3rem;
}

.profile-content-section h2 {
    color: #14315d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #14315d;
}

.profile-content-section h3 {
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.profile-content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.profile-content-section .lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-page-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .profile-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .profile-page-wrapper {
        padding: 1rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .profile-image {
        max-width: 200px;
    }
    
    .profile-name h1 {
        font-size: 1.5rem;
    }
}

