.courses-section {
    padding: 60px 0px !important;
    width: 91% !important;
    margin: auto !important;
}
.modal-overlay{
    height: 100vh;
    width: 100%;
    background-color: #00000070;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content{
    width: 35%;
    background-color: #fff;
    position: absolute;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    /* تأثير حركة خفيفة عند الظهور */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.modal-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: right;
}
.close-btn {
    background: transparent;
    border: 1.5px solid #171717;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    padding-bottom:4px;
}

.close-btn:hover {
    background: #e8e8e8;
    color: #333;
}

/* العناوين والنصوص */
.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 10px;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    font-weight: 400;
    color: #9A9A9A;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 60%;
}

/* حقل الإدخال والـ Label */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.required {
    color: #ff4d4f;
    margin-right: 4px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #00000026;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    text-align: right;
    transition: 0.2s;
}
input::placeholder{
    color: #9E9E9E;
    font-size: 14px;
    font-weight: 400;
}

.form-input:focus {
    border-color: #ffa31a;
    box-shadow: 0 0 0 3px rgba(255, 163, 26, 0.1);
}

.form-input::placeholder {
    color: #bfbfbf;
}

/* رسالة الخطأ */
.error-message {
    display: block;
    color: #FF0000;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

/* أزرار التواصل (اتصال / واتساب) */
.contact-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-contact {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border: 1.5px solid #0000001F;
    border-radius: 13px;
    text-decoration: none;
    color: #384C75;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s;
}
.btn-contact img{
    height: 37px;
    width: 37px;
}
.btn-contact.call img{
    height: 24px !important;
    width: 24px !important;
}
.btn-contact i {
    font-size: 18px;
}

/* أيقونة ولون الواتساب */
.btn-contact.whatsapp i {
    color: #25D366;
}

.btn-contact:hover {
    background-color: #f9f9f9;
    border-color: #d0d0d0;
}

/* زر المتابعة البرتقالي الكبير */
.btn-submit {
    width: 100%;
    background-color: #FBA52E; /* نفس درجة اللون البرتقالي بالصورة */
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 13px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #e68a00;
}
.text-muted{
    color: #9A9A9A;
    font-size: 14px;
    font-weight: 400;
}
.code-modal .modal-title{
    margin: 0;
}
.code-modal .modal-header{
    align-items: start;
}
.modal-header .header-text{
display: flex;
flex-direction: column;
width: 70%;
}
.text-danger{
    font-weight: 700;
    color: #FF0000;
    font-size: 14px;
}
 @media (max-width: 576px) {
    .modal-content{
        width: 90%;
    }
}