.mora-page-title {
    padding-top: 13rem;
    padding-bottom: 5rem;
    background: #000;
    color: #fff;
}

.sidebar {
    width: 30%;
}

.mora-page-title h1 {
    font-size: 45px;
}

.mora-page-title p {
    display: flex;
}

.mora-page-title p img {
    margin-right: 7px;
}

.mora-page-content {
    background-color: #fff;
    padding: 5rem;
    text-align: center;
}

/*---- Login Page & Register Page Styles ----*/
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-form {
    display: flex;
    width: 900px;
    height: 500px;
    border-radius: 30px;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    position: relative;
}

.login-bg {
    width: 50%;
    background: url('assets/img/login/login-bg.png') no-repeat center center;
    background-size: cover;
}

.form-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    text-align: right;
    font-size: 14px;
    color: #161E2D;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 40px;
    border: 1px solid #E4E4E4;
    border-radius: 100px;
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px;
    font-family: "Tajawal", sans-serif;
}


.forgot-password {
    text-align: right;
    display: block;
    color: #161E2D;
    margin: 1rem auto;
}

.forgot-password:hover {
    opacity: 0.7;
    padding-right: 5px;
}

.mora-page-content .form-content .btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-family: 'Tajawal';
    font-size: 17px;
    margin: 2rem auto;
    background: var(--primary-color);
}

.mora-page-content .form-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 48, 147, 0.4);
}

.login-form #name {
    background-image: url('assets/img/login/email.svg');
}

.login-form #email {
    background-image: url('assets/img/login/user.svg');
}

.login-form #password {
    background-image: url('assets/img/login/lock.svg');
}

.mora-page-content .form-content h2 {
    color: #1C1C1E;
    margin-bottom: 2rem;
}

#create-account {
    color: var(--primary-color);
}

#create-account:hover {
    opacity: 0.7;
    padding-right: 4px;
}

.register-form {
    height: auto;
}

/*---- Contact Page  ----*/
.contact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-info-item {
    padding: 7px;
    text-align: center;
}

.contact-info-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 7px;
    box-shadow: 0px 0px 43px 50px #B3B0B426;
    border-radius: 25px;
    padding: 7px;
}

.contact-info-item:nth-child(1) {
    border-left: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
}

.contact-info-item:nth-child(2) {
    border-right: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
}

.contact-info-item:nth-child(3) {
    border-top: 1px solid #E3E3E3;
    border-left: 1px solid #E3E3E3;
}

.contact-info-item:nth-child(4) {
    border-top: 1px solid #E3E3E3;
    border-right: 1px solid #E3E3E3;
}

.contact-form {
    text-align: right;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-left: 2rem;
}

.contact-form form .btn {
    background: linear-gradient(15.96deg, #F94A43 7.94%, #FE7948 92.06%);
    font-family: 'Tajawal';
    color: #fff;
    border: none;
    font-size: 16px;
    padding: 10px 30px;
    margin-top: 1rem;
}

.contact-form form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 74, 67, 0.4);
}

.contact-form form input,
.contact-form form textarea {
    font-family: 'Tajawal';
    box-shadow: 0px 0px 43px 0px #00000012;
    border-radius: 25px;
    border: 1px solid #F1F1F1;
    font-size: 16px;
    padding: 10px;
    margin: 7px;
    text-align: right;
}

.contact-form form .row {
    display: flex;
    flex-direction: row;
}

.contact-form form textarea {
    width: 100%;
    resize: none;
    outline: none;
}

.contact-form form input:focus-visible,
.contact-form form input:focus {
    outline-color: #ddd;
}

/* Programs Page Styles */
.mora-programs-events {
    padding-top: 5rem;
}

.tabs-container {
    font-family: 'Tajawal', sans-serif;
    margin: 20px auto;
    direction: rtl;
}

.tabs-buttons {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 15px 25px;
    background: transparent;
    border: 2px solid #161515;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 25px;
    margin-left: 5px;
    font-family: 'Tajawal';
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0;
}

.tab-btn:hover {
    background: #ddd;
}

.tab-btn.active {
    background: linear-gradient(19.7deg, #F94A43 8.46%, #FE7948 91.54%);
    color: white;
    border: transparent;
}

.tab-pane {
    display: none;
    animation: fadeEffect 0.5s;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Program Detials Page Styles */
.program-detials {
    display: flex;
}

.program-detials {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.program-detials .main-content {
    width: 70%;
    margin-left: 4rem;
    text-align: right;
}

.program-date {
    color: var(--primary-color);
    font-weight: 500;
}

.program-date img {
    margin-left: 7px;
}

.program-title {
    margin: 1rem auto;
    font-size: 35px;
    line-height: 53px;
    letter-spacing: 0;
    margin-bottom: 3rem;
}

.program-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    border-radius: 8px;
    overflow: hidden;
}

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

.program-details {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 2rem;
}

.program-detail-item {
    background: #F7F7F7;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-detail-item img {
    background: linear-gradient(90deg, #724899 3.4%, #9D65D0 96.6%);
    padding: 1rem;
    border-radius: 50rem;
    height: 55px;
    width: 55px;
    margin-left: 1rem;
}

.program-detail-item>div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail-label {
    color: #8B8B8B;
}

.detail-value {
    font-weight: bold;
}

.program-description {
    line-height: 28px;
    color: #656565;
    font-size: 16.85px;
    text-align: justify;
}

.sidebar-title {
    font-size: 25px;
    margin-bottom: 2rem;
}

.sidebar-content {
    background: #F7F7F7;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin: 1rem 2rem;
}

#sidebar-locaiton {
    background: linear-gradient(90deg, #724899 3.4%, #9D65D0 96.6%);
    padding: 1rem;
    border-radius: 60rem;
    width: 50px;
    height: 50px;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-item>div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.sidebar-content hr {
    width: 75%;
    margin: 2rem auto;
    border: 1px solid #D9D9D9;
}

#tfasil {
    color: var(--primary-color);
    text-align: right;
    margin-inline-start: 2rem;
}

.mora-sidebar-content {
    padding-bottom: 2rem;
}

.mora-sidebar-content .detail-item img {
    width: 21px;
    height: 21px;
    margin-left: 1rem;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
}

.buttons-container a {
    box-shadow: none;
}

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

    /*contacnt */
    .contact-container {
        flex-direction: column;
    }

    .container.contact-container>* {
        margin-bottom: 3rem;
    }



    /*program detials */
    .program-detials {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        flex-direction: column;
    }

    .program-detials .main-content {
        width: 100%;
        margin-left: 0;
    }

    .mora-page-content .sidebar {
        margin-top: 3rem;
        border-top: 1px solid #d9d9d9;
        padding-top: 2rem;
    }

    .mora-location-image {
        width: 100%;
        height: 300px;
        border-radius: 8px;
        overflow: hidden;
    }

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

    .program-details {
        display: flex;
        align-items: stretch;
        margin: 2rem auto;
        flex-direction: column;
    }

    .program-detail-item {
        margin-bottom: 1rem;
    }

    .program-title {
        font-size: 24px;
        line-height: normal;
    }

    .mora-page-content {
        padding-top: 2rem;
    }

}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        /* عمود واحد على الشاشات الصغيرة */
    }

    .contact-info-item {
        border: 0px !important;
    }
}

@media (max-width: 576px) {

    /*---- Login Page & Register Page Responsive ----*/
    .mora-page-title {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mora-page-title h1 {
        font-size: 24px;
    }

    .mora-page-title p {
        display: inline-block;
    }

    .mora-page-title p img {
        vertical-align: middle;
    }

    .mora-page-content {
        padding: 7px;
    }

    .login-container {
        padding: 4px;
        margin: 1rem auto;
    }

    .login-form {
        flex-direction: column;
        align-items: center;
    }

    .form-content {
        width: 100%;
        padding: 1rem;
    }

    #create-account {
        display: block;
    }









}