/**
 * KIAN Doctor Profile Component Styles
 * Styles for the doctor profile widget with background image, left image, and right content panel
 */

.kian-doctor-profile-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.kian-doctor-profile-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.kian-doctor-profile-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto; 
    padding: 30px 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.kian-doctor-profile-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kian-doctor-profile-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    z-index: 1;
}

.kian-doctor-profile-content-panel {
    background-color: #F5F5DC;
    border-radius: 12px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
    position: relative;
    left: -30px;
}

.kian-doctor-profile-title {
    margin: 0;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.3;
    color: #333333;
    font-family: 'Delmon Delicate Font', serif;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Kerning 50 */
}

.kian-doctor-profile-subtitle {
    margin: 0;
    font-size: 22px;
    line-height: 1.5;
    color: #666666;
    font-family: 'GeoSansLight', sans-serif;
    letter-spacing: 0.11em; /* Kerning 100 */
    font-weight: 700;
}

.kian-doctor-profile-divider {
    width: 100%;
    height: 4px;
    background-color: #90EE90;
    margin: 10px 0;
}

.kian-doctor-profile-biography {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: #333333;
    font-family: 'GeoSansLight', sans-serif;
    letter-spacing: 0.1em; /* Kerning 100 */
    font-weight: 700;
}

.kian-doctor-profile-buttons {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.kian-doctor-profile-button {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.kian-doctor-profile-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    background-color: #8d847c !important;
    color: #fff !important;
}

.kian-doctor-profile-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1200px) {

    .kian-doctor-profile-title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .kian-doctor-profile-container {
        max-width: 100%;
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 30px;
    }

    .kian-doctor-profile-image-wrapper {
        order: 1;
    }

    .kian-doctor-profile-content-panel {
        order: 2;
    }

    .kian-doctor-profile-content-panel {
        padding: 40px 30px;
        left: 0;
    }

    .kian-doctor-profile-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .kian-doctor-profile-wrapper {
        min-height: auto;
    }

    .kian-doctor-profile-container {
        padding: 20px;
        gap: 25px;
    }

    .kian-doctor-profile-content-panel {
        padding: 35px 25px;
        gap: 18px;
    }

    .kian-doctor-profile-title {
        font-size: 24px;
    }

    .kian-doctor-profile-subtitle {
        font-size: 14px;
    }

    .kian-doctor-profile-biography {
        font-size: 14px;
    }

    .kian-doctor-profile-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .kian-doctor-profile-button {
        width: 100%;
        padding: 12px 28px;
        font-size: 13px;
    }

    .kian-doctor-profile-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .kian-doctor-profile-container {
        padding: 30px 15px;
        gap: 20px;
    }

    .kian-doctor-profile-content-panel {
        padding: 30px 20px;
        gap: 15px;
    }

    .kian-doctor-profile-title {
        font-size: 20px;
    }

    .kian-doctor-profile-subtitle {
        font-size: 13px;
    }

    .kian-doctor-profile-biography {
        font-size: 13px;
        line-height: 1.6;
    }

    .kian-doctor-profile-button {
        padding: 10px 24px;
        font-size: 12px;
    }
}

