﻿    body {
        font-family: 'Cairo', sans-serif;
        direction: rtl;
        text-align:right;
    }

    .section-title {
        background-color: #f1f1f1;
        padding: 40px 20px;
        font-size: 2.5rem;
        color: #114C8D;
        font-weight: 300;
        margin-bottom: 0;
        text-align: right;
        font-weight:400;
    }

        .section-title strong {
            font-weight: 900;
        }

    .section-text {
        color: #6c757d;
        font-size: 1.5rem;
        line-height: 2.2;
        text-align: right;
    }

    .small-text {
        font-size: 1.2rem;
        margin-left:-40px;
        margin-right:-120px;
    }
    .small {
        font-size: 1.2rem;
        margin-left:-70px;
    }

    .custom-btn {
        background-color: #114C8D;
        color: white;
        padding: 12px 30px;
        font-size: 1.2rem;
        border-radius: 30px;
        border: 2px solid #114C8D;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .last-section-text {
        margin-right: -130px;
        text-align: right;
        font-size: 1.35rem;
        color: #6c757d;
    }

    .custom-btn:hover,
    .custom-btn:active {
        background-color: white;
        color: #114C8D;
        border-color: #114C8D;
    }
    ul.section-text {
        padding-right: 20px;
        padding-left: 0;
    }

    .custom-list-item {
        font-size: 1.4rem;
        color: #6c757d;
        margin-bottom: 12px;
        text-align:right;
    }

        .custom-list-item a {
            color: #114C8D;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

            .custom-list-item a:hover {
                color: #0a2c5f;
                text-decoration: underline;
            }

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

.section-title {
    background-color: #f1f1f1;
    padding: 40px 20px;
    font-size: 2.5rem;
    color: #114C8D;
    font-weight: 400;
    text-align: right;
    margin-bottom: 0;
}

.section-title strong {
    font-weight: 900;
}

.section-text {
    color: #6c757d;
    font-size: 1.5rem;
    line-height: 2.2;
    text-align: right;
}

.small-text {
    font-size: 1.2rem;
    margin-left: -40px;
    margin-right: -120px;
}

.small {
    font-size: 1.2rem;
    margin-left: -70px;
}

.custom-btn {
    background-color: #114C8D;
    color: white;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    border: 2px solid #114C8D;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-btn:hover,
.custom-btn:active {
    background-color: white;
    color: #114C8D;
    border-color: #114C8D;
}

.last-section-text {
    margin-right: -130px;
    text-align: right;
    font-size: 1.35rem;
    color: #6c757d;
}

ul.section-text {
    padding-right: 20px;
    padding-left: 0;
}

.custom-list-item {
    font-size: 1.4rem;
    color: #6c757d;
    margin-bottom: 12px;
    text-align: right;
}

.custom-list-item a {
    color: #114C8D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.custom-list-item a:hover {
    color: #0a2c5f;
    text-decoration: underline;
}

/* ------------------- Responsive Fixes ------------------- */

@media (max-width: 1200px) {
    .page-title {
        font-size: 2.5rem;
        padding-right: 50px;
    }

    .small-text {
        margin-right: -60px;
        margin-left: -20px;
        font-size: 1.1rem;
    }

    .small {
        margin-left: -30px;
        font-size: 1.1rem;
    }

    .last-section-text {
        margin-right: -60px;
        font-size: 1.2rem;
    }

    .buttons-container {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
    }

    .medical-writing-text-only {
        margin: 40px 20px;
        padding-right: 30px;
    }

    .what-is-content,
    .delivery-title-align {
        margin-right: 20px;
    }

    .medical-course-image-standalone {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0 0;
    }

    .big-img {
        width: 130% !important;
        margin-left: -60px !important;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        padding-right: 20px;
    }

    .small-text,
    .small,
    .last-section-text {
        margin: 0 !important;
        font-size: 1rem !important;
    }

    .section-text {
        font-size: 1.2rem;
        line-height: 2;
    }

    .buttons-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .medical-course-section {
        padding: 30px 20px;
    }

    .what-is-wrapper-full {
        padding: 20px 15px;
    }

    .what-is-content {
        max-width: 100%;
        margin-right: 0;
    }

    .medical-writing-text-only {
        margin: 30px 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .custom-list-item {
        font-size: 1rem;
    }

    .big-img {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    ul.section-text {
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .section-text,
    .custom-list-item,
    .last-section-text,
    .small-text,
    .small {
        font-size: 0.95rem !important;
        line-height: 1.8;
    }

    .section-title {
        font-size: 1.6rem !important;
        padding: 15px;
    }

    ul.section-text {
        padding-right: 10px;
    }

    img.img-fluid {
        max-width: 100%;
        height: auto;
    }

    .big-img {
        width: 100% !important;
        margin: 0 !important;
    }
}

