body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    direction: rtl; /* Right-to-left for Arabic text */
    text-align: right;
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header .logo {
    max-width: 150px;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 5px 0;
    font-size: 1.2em;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.message {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.message h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.message .speaker-image {
    max-width: 200px;
    float: left; /* Image on the right for RTL text */
    margin-left: 20px; /* Space to the left of the image */
    border-radius: 8px;
}

.message p {
    font-size: 1.1em;
    line-height: 1.6;
    overflow: hidden; /* Clear float */
}

.social-media {
    margin-top: 30px;
}

.social-media h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.social-media ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.social-media li {
    margin-bottom: 0;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 24px;
}

.social-media a:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .message .speaker-image {
        float: none;
        margin: 0 auto 15px auto;
        display: block;
    }

    .message p {
        text-align: justify;
    }
}


