/* About Doctor Section - Clean New Design */
.about-doctor {
    padding: 100px 0;
    background: #3a3a3a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    position: relative;
    max-width: 1400px;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    padding: 0 60px;
}

.doctor-image-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 690px;
    height: 580px;
}

.doctor-photo {
    width: 852px;
    height: 600px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    height: auto;
    display: block;
    background: #3a3a3a;
}

.doctor-info-box {
    position: absolute;
    right: -542px;
    top: 50%;
    transform: translateY(-50%);
    width: 719px;
    height: 475px;
    background: rgba(65, 65, 65, 0.95);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    margin-right: -80px;
    /* Overlap with image */
}

.doctor-title {
    font-family: 'Alexandria', sans-serif;
    background: linear-gradient(90deg, #D69234 0%, #BA975C 50%, #E69E3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    direction: rtl;
    line-height: 2;
}

.doctor-title.clickable-title {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
}

.doctor-title.clickable-title:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #E69E3C 0%, #D69234 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.doctor-title.clickable-title::after {
    content: '←';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #D69234;
    opacity: 0;
    transition: all 0.3s ease;
}

.doctor-title.clickable-title:hover::after {
    opacity: 1;
    right: -40px;
}

.doctor-text {
    font-family: 'Alexandria', sans-serif;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
    opacity: 0.95;
    font-weight: 400;
}

.doctor-btn {
    font-family: 'Alexandria', sans-serif;
    background: #19b141;
    color: #ffffff;
    border: none;
    width: 423px;
    height: 65px;
    border-radius: 999px;
    padding: 15px 30px;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin: 15px auto 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: rotate(0deg);
}

.doctor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: black;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .about-doctor {
        padding: 50px 0;
        min-height: auto;
    }

    .about-content {
        flex-direction: column;
        height: auto;
        padding: 15px;
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }

    .doctor-image-container {
        position: static !important;
        transform: none !important;
        margin-bottom: 15px;
        display: flex !important;
        justify-content: center;
        order: 1;
        width: auto !important;
        height: auto !important;
    }

    .doctor-photo {
        width: 200px;
        height: 240px;
        border: 3px solid #ffffff;
        display: block;
        object-fit: contain;
        max-width: 100%;
        background: #3a3a3a;
    }

    .doctor-info-box {
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 380px;
        height: auto !important;
        margin: 0 auto !important;
        text-align: center;
        padding: 20px;
        order: 2;
    }

    .doctor-title {
        font-size: 28px;
        text-align: center;
        direction: ltr;
        line-height: 1.4;
    }

    .doctor-text {
        font-size: 16px;
        text-align: center;
        direction: ltr;
        line-height: 1.5;
    }

    .doctor-btn {
        width: 100%;
        max-width: 300px;
        height: 50px;
        font-size: 16px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .about-doctor {
        padding: 25px 0;
    }

    .about-content {
        padding: 10px;
        gap: 10px;
    }

    .doctor-image-container {
        margin-bottom: 10px;
    }

    .doctor-photo {
        width: 260px;
        height: 220px;
        border: 2px solid #ffffff;
        object-fit: contain;
        max-width: 100%;
        background: #3a3a3a;
    }

    .doctor-info-box {
        max-width: 300px;
        padding: 15px;
    }

    .doctor-title {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .doctor-text {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .doctor-btn {
        max-width: 220px;
        height: 42px;
        font-size: 13px;
        margin-top: 10px;
    }
}