/* Doctor Biography Section Styles */
@import url('variables.css');
@import url('header.css');

/* Header Override for Bio Pages */
.nav-header.nav-header-blue {
    background: rgba(26, 54, 93, 1) !important; /* Solid blue background */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    will-change: auto !important;
}

.doctor-bio {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.doctor-bio::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.06) 0%, rgba(74, 144, 164, 0.02) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.doctor-bio::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 90, 135, 0.04) 0%, rgba(45, 90, 135, 0.01) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bio-header {
    text-align: center;
    margin-bottom: 80px;
}

.bio-title {
    font-size: 2.8rem;
    color: #1a365d;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.bio-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a90a4, #2d5a87);
    border-radius: 2px;
}

.bio-subtitle {
    font-size: 1.3rem;
    color: #4a90a4;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.doctor-profile {
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(45, 55, 72, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.doctor-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4a90a4, #2d5a87, #4a90a4);
    background-size: 200% 100%;
    animation: profileShimmer 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes profileShimmer {
    0% { background-position: -200% 0; }
    50% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.profile-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 60px;
    position: relative;
    z-index: 2;
}

.profile-image-section {
    flex: 0 0 300px;
    position: relative;
}

.profile-image {
    width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(74, 144, 164, 0.15);
    border: 2px solid #f7fafc;
    transition: all 0.3s ease;
    display: block;
}

.profile-image:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(74, 144, 164, 0.2);
}

.image-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(74, 144, 164, 0.85));
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 16px;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2;
}

.profile-image-section:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.overlay-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

.profile-info {
    flex: 1;
    padding-top: 10px;
}

.doctor-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.doctor-credentials {
    font-size: 1.1rem;
    color: #4a90a4;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.doctor-position {
    font-size: 1.05rem;
    color: #2d5a87;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
}

.bio-content {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

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

.bio-content p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #2d5a87;
    font-weight: 600;
    background: linear-gradient(120deg, rgba(74, 144, 164, 0.1) 0%, rgba(74, 144, 164, 0.05) 100%);
    padding: 2px 6px;
    border-radius: 4px;
}

.education-timeline {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f7fafc;
}

.timeline-title {
    font-size: 1.4rem;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-title i {
    color: #4a90a4;
    font-size: 1.2rem;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    border-left: 3px solid #e2e8f0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #4a90a4;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e2e8f0;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    font-size: 0.9rem;
    color: #4a90a4;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.specializations {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.specializations-title {
    font-size: 1.3rem;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specializations-title i {
    color: #4a90a4;
    font-size: 1.1rem;
}

.specialization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.specialization-tag {
    background: linear-gradient(135deg, #4a90a4, #2d5a87);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.3);
    transition: all 0.2s ease;
}

.specialization-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.4);
}

.back-button {
    position: fixed;
    top: 120px;
    left: 30px;
    background: linear-gradient(135deg, #4a90a4, #2d5a87);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
    z-index: 1000;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
    background: linear-gradient(135deg, #2d5a87, #1a365d);
}

.back-button i {
    font-size: 1rem;
}

/* Responsive Design - Comprehensive Breakpoints */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .doctor-bio {
        padding: 120px 40px;
    }
    
    .bio-container {
        max-width: 1400px;
    }
    
    .profile-content {
        gap: 80px;
        padding: 80px;
    }
    
    .profile-image-section {
        flex: 0 0 350px;
    }
    
    .profile-image {
        width: 350px;
        height: auto;
    }
}

/* MacBook/Large Laptop (1441px-1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
    .doctor-bio {
        padding: 100px 30px;
    }
    
    .profile-content {
        gap: 50px;
        padding: 50px;
    }
    
    .profile-image-section {
        flex: 0 0 280px;
    }
    
    .profile-image {
        width: 280px;
        height: auto;
    }
}

/* Small Laptop/Large Tablet (1025px-1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .doctor-bio {
        padding: 80px 25px;
    }
    
    .profile-content {
        gap: 40px;
        padding: 45px;
    }
    
    .profile-image-section {
        flex: 0 0 250px;
    }
    
    .profile-image {
        width: 250px;
        height: auto;
    }
    
    .bio-title {
        font-size: 2.5rem;
    }
    
    .doctor-name {
        font-size: 2rem;
    }
}

/* Tablet Portrait (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .doctor-bio {
        padding: 70px 20px;
    }
    
    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        padding: 40px 35px;
    }
    
    .profile-image-section {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    .profile-info {
        width: 100%;
        padding-top: 0;
    }
    
    .bio-title {
        font-size: 2.3rem;
    }
    
    .doctor-name {
        font-size: 1.9rem;
    }
    
    .bio-content {
        text-align: left;
        margin-top: 20px;
    }
}

/* Mobile Landscape/Small Tablet (481px-768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .doctor-bio {
        padding: 50px 12px;
        min-height: auto;
    }
    
    .bio-container {
        max-width: 100%;
        padding: 0;
    }
    
    .bio-header {
        margin-bottom: 30px;
        text-align: center;
        padding: 0 10px;
    }
    
    .bio-title {
        font-size: 1.7rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 12px;
    }
    
    .bio-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        padding: 0 5px;
    }
    
    .doctor-profile {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        margin: 0 5px;
    }
    
    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        padding: 25px 15px;
    }
    
    .profile-image-section {
        flex: none;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        position: relative;
    }
    
    .profile-image {
        width: 100%;
        height: auto;
        max-width: 240px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    .doctor-name {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 8px;
    }
    
    .doctor-credentials {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .doctor-position {
        font-size: 0.95rem;
        text-align: center;
        word-wrap: break-word;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .bio-content {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 15px;
    }
    
    .bio-content p {
        margin-bottom: 16px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .back-button {
        position: static;
        margin: 15px auto 25px;
        display: inline-flex;
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .image-overlay {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 8px;
        border-radius: 6px;
        font-size: 0.8rem;
    }
    
    .education-timeline {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .timeline-item {
        padding-left: 20px;
        margin-bottom: 15px;
    }
    
    .timeline-year {
        font-size: 0.8rem;
    }
    
    .timeline-content {
        font-size: 0.9rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .specializations {
        padding: 18px;
        margin-top: 25px;
        border-radius: 12px;
    }
    
    .specializations-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .specialization-tags {
        gap: 8px;
        justify-content: center;
    }
    
    .specialization-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
        word-wrap: break-word;
    }
}

/* Mobile Portrait (321px-480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .doctor-bio {
        padding: 40px 8px;
        min-height: auto;
    }
    
    .bio-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .bio-header {
        margin-bottom: 25px;
        text-align: center;
        padding: 0 8px;
    }
    
    .bio-title {
        font-size: 1.4rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 10px;
        padding: 0 5px;
    }
    
    .bio-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 8px;
    }
    
    .doctor-profile {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 6px 24px rgba(31, 38, 135, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        margin: 0 2px;
    }
    
    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 12px;
        gap: 20px;
    }
    
    .profile-image-section {
        flex: none;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        position: relative;
    }
    
    .profile-image {
        width: 100%;
        height: auto;
        max-width: 200px;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }
    
    .profile-info {
        width: 100%;
        max-width: 100%;
    }
    
    .doctor-name {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 6px;
        padding: 0 5px;
    }
    
    .doctor-credentials {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .doctor-position {
        font-size: 0.9rem;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
        margin-bottom: 15px;
        padding: 0 5px;
    }
    
    .bio-content {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: left;
        margin-top: 12px;
    }
    
    .bio-content p {
        margin-bottom: 14px;
        word-wrap: break-word;
        hyphens: auto;
        text-align: justify;
    }
    
    .highlight-text {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .back-button {
        position: static;
        margin: 12px auto 20px;
        display: inline-flex;
        font-size: 0.8rem;
        padding: 8px 14px;
        gap: 6px;
    }
    
    .education-timeline {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .timeline-item {
        padding-left: 18px;
        margin-bottom: 12px;
    }
    
    .timeline-year {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .timeline-content {
        font-size: 0.85rem;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.5;
    }
    
    .specializations {
        padding: 15px 12px;
        margin-top: 20px;
        border-radius: 10px;
    }
    
    .specializations-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .specialization-tags {
        gap: 6px;
        justify-content: center;
    }
    
    .specialization-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
        word-wrap: break-word;
        hyphens: auto;
        border-radius: 16px;
    }
    
    .image-overlay {
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 6px;
        border-radius: 5px;
        font-size: 0.7rem;
    }
    
    .overlay-title {
        font-size: 0.7rem;
        word-wrap: break-word;
    }
    
    .overlay-subtitle {
        font-size: 0.65rem;
        word-wrap: break-word;
    }
}

/* Very Small Mobile (320px and below) */
@media (max-width: 320px) {
    .doctor-bio {
        padding: 30px 6px;
        min-height: auto;
    }
    
    .bio-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .bio-header {
        margin-bottom: 20px;
        text-align: center;
        padding: 0 5px;
    }
    
    .bio-title {
        font-size: 1.2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 8px;
        padding: 0 3px;
    }
    
    .bio-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 5px;
    }
    
    .doctor-profile {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(31, 38, 135, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        margin: 0 1px;
    }
    
    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 8px;
        gap: 15px;
    }
    
    .profile-image-section {
        flex: none;
        width: 100%;
        max-width: 160px;
        margin: 0 auto;
        position: relative;
    }
    
    .profile-image {
        width: 100%;
        height: auto;
        max-width: 160px;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .profile-info {
        width: 100%;
        max-width: 100%;
    }
    
    .doctor-name {
        font-size: 1.1rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 5px;
        padding: 0 3px;
    }
    
    .doctor-credentials {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .doctor-position {
        font-size: 0.8rem;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
        margin-bottom: 12px;
        padding: 0 3px;
    }
    
    .bio-content {
        font-size: 0.8rem;
        line-height: 1.5;
        text-align: left;
        margin-top: 10px;
    }
    
    .bio-content p {
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
        text-align: justify;
    }
    
    .highlight-text {
        word-wrap: break-word;
        hyphens: auto;
        font-size: 0.8rem;
        padding: 1px 4px;
    }
    
    .back-button {
        position: static;
        margin: 10px auto 15px;
        display: inline-flex;
        font-size: 0.75rem;
        padding: 6px 12px;
        gap: 4px;
    }
    
    .education-timeline {
        margin-top: 15px;
        padding-top: 12px;
    }
    
    .timeline-title {
        font-size: 1rem;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .timeline-item {
        padding-left: 15px;
        margin-bottom: 10px;
    }
    
    .timeline-year {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
    
    .timeline-content {
        font-size: 0.75rem;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }
    
    .specializations {
        padding: 12px 8px;
        margin-top: 15px;
        border-radius: 8px;
    }
    
    .specializations-title {
        font-size: 1rem;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .specialization-tags {
        gap: 4px;
        justify-content: center;
    }
    
    .specialization-tag {
        font-size: 0.65rem;
        padding: 4px 8px;
        word-wrap: break-word;
        hyphens: auto;
        border-radius: 12px;
        line-height: 1.2;
    }
    
    .image-overlay {
        bottom: 4px;
        left: 4px;
        right: 4px;
        padding: 4px;
        border-radius: 4px;
        font-size: 0.6rem;
    }
    
    .overlay-title {
        font-size: 0.6rem;
        word-wrap: break-word;
        line-height: 1.2;
    }
    
    .overlay-subtitle {
        font-size: 0.55rem;
        word-wrap: break-word;
        line-height: 1.2;
    }
}

/* Landscape Mobile Fix */
@media (max-width: 768px) and (orientation: landscape) {
    .doctor-bio {
        padding: 30px 15px;
    }
    
    .bio-header {
        margin-bottom: 40px;
    }
    
    .profile-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        padding: 30px;
    }
    
    .profile-image-section {
        flex: 0 0 200px;
        max-width: 200px;
    }
    
    .profile-image {
        width: 100%;
        height: auto;
        max-width: 200px;
    }
    
    .doctor-name,
    .doctor-credentials,
    .doctor-position {
        text-align: left;
    }
}

/* Doctor Navigation Styles */
.doctor-navigation {
    margin-top: 80px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border: 2px solid rgba(74, 144, 164, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #1a365d;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.08);
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 164, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.15);
    border-color: #4a90a4;
    color: #4a90a4;
}

.nav-button.prev {
    flex-direction: row;
}

.nav-button.next {
    flex-direction: row-reverse;
}

.nav-button.home {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #4a90a4, #2d5a87);
    color: white;
    border-color: #4a90a4;
}

.nav-button.home:hover {
    background: linear-gradient(135deg, #2d5a87, #4a90a4);
    color: white;
    transform: translateY(-2px) scale(1.02);
}

.nav-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-button:hover i {
    transform: scale(1.1);
}

.nav-button .doctor-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a90a4;
    margin-top: 4px;
    font-family: 'Playfair Display', serif;
}

.nav-button.home .doctor-name {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
        padding: 20px 16px;
    }
    
    .nav-button.prev,
    .nav-button.next {
        flex-direction: row;
    }
    
    .nav-button.home {
        order: -1;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .doctor-navigation {
        margin-top: 60px;
        padding: 30px 0;
    }
    
    .nav-button {
        font-size: 0.9rem;
        padding: 16px 12px;
    }
    
    .nav-button .doctor-name {
        font-size: 0.8rem;
    }
}