/* Aljoud Profile Section Widget Styles */
.aljoud-profile-section {
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.aljoud-profile-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* Image Position Controls */
.aljoud-profile-section.image-right .aljoud-profile-container {
    flex-direction: row; /* Text left, image right */
}

.aljoud-profile-section.image-left .aljoud-profile-container {
    flex-direction: row-reverse; /* Image left, text right */
}

/* RTL Overrides */
.aljoud-profile-section.rtl.image-right .aljoud-profile-container {
    flex-direction: row-reverse; /* For RTL, flip the order */
}

.aljoud-profile-section.rtl.image-left .aljoud-profile-container {
    flex-direction: row; /* For RTL, flip the order */
}

.aljoud-profile-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 50%;
}

.aljoud-profile-image {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50%;
}

.aljoud-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aljoud-profile-content h2 {
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
}

.aljoud-profile-content p {
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

.aljoud-profile-section.rtl .aljoud-profile-content {
    text-align: right;
    direction: rtl;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .aljoud-profile-section {
        min-height: auto;
        height: auto;
    }
    
    .aljoud-profile-container {
        flex-direction: column !important;
    }
    
    .aljoud-profile-content,
    .aljoud-profile-image {
        max-width: 100%;
        width: 100%;
    }
    
    .aljoud-profile-content {
        padding: 30px;
        order: 2;
    }
    
    .aljoud-profile-image {
        min-height: 300px;
        order: 1;
    }
    
    .aljoud-profile-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .aljoud-profile-content p {
        font-size: 14px;
    }
}