/* Start Variables */
:root {
    --main-color: #4088e6;
    --secondary-color: #415885;
    --section-padding: 60px;
    --section-background: #f6f6f6;
}

/* End Variables */

/* Start Global Rules */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    text-align: right;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* larg */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
/* End Global Rules */

/* Start Header */
.header {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative; /* مهم لاحتواء العناصر المطلقة */
    min-height: 140px; /* ارتفاع مناسب للهيدر */
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    height: 100%;
}

.header .LogoUniversity {
    width: 100px;
    height: auto;
    position: absolute;
    right: 15px; /* تثبيت على اليمين */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 60px;

}

.header .LogoFaculty {
    width: 165px;
    height: auto;
    position: absolute;
    left: 15px; /* تثبيت على اليسار */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 85px;

}

@media (max-width: 767px) {
    .header {
        min-height: 90px; /* تقليل الارتفاع للشاشات الصغيرة */
    }
    
    .header .LogoUniversity {
        width: 65px;
        right: 10px;
        margin-top: 30px;
        margin-right: 15px;

    }
    
    .header .LogoFaculty {
        width: 100px;
        left: 10px;
        margin-top: 45px;

    }
}
/* End Header */

/* Start Landing Section */
.landing {
    background-color: #f6f6f6; /* لون خلفية احتياطي */
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* للشاشات الكبيرة */
    @media (min-width: 992px) {
        background-size: cover;
    }
    
    /* للشاشات الصغيرة والمتوسطة */
    @media (max-width: 991px) {
        background-size: contain;
    }
}

.landing .intro-text {
    max-width: 100%;
    margin-bottom: 30px;
    padding: 0 20px;
}

/* تكبير قسم الجيميفيكيشن فقط */
.gamification-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 35px;
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    flex-direction: row-reverse;
    border: 3px solid rgba(64, 136, 230, 0.25);
    transform: scale(1.15); /* هذه الخاصية تكبير القسم ككل */
    transform-origin: center;
}

.gamification-badge {
    width: 130px;
    height: 130px;
    margin-left: 30px;
    object-fit: contain;
    animation: pulse 2s infinite alternate; /* إضافة حركة بسيطة */
}

.gamification-text h3 {
    color: var(--main-color);
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    line-height: 50px;
}

.gamification-text p {
    color: #555;
    margin: 0;
    font-size: 22px;
    line-height: 1.7;
}

/* حركة النبض للشارة */
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* تعديلات للشاشات الصغيرة */
@media (max-width: 768px) {
    .gamification-content {
        transform: scale(1); /* إلغاء التكبير على الموبايل */
        flex-direction: column-reverse;
        padding: 25px;
        max-width: 85%;
        margin: 30px auto;
    }
    
    .gamification-badge {
        width: 100px;
        height: 100px;
        margin: 20px 0 25px 0;
    }
    
    .gamification-text h3 {
        font-size: 26px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 45px;
    }
    
    .gamification-text p {
        font-size: 18px;
        text-align: center;
    }
}

/* Login Button */
.login-button-container {
    margin-top: 30px;
    margin-bottom: 60px;
}

.login-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 25px;
    color: white;
    background-color: var(--main-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    font-family: 'Cairo', sans-serif;
}

.login-button:hover {
    background-color: #3367c1;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gamification-content {
        flex-direction: column-reverse;
        text-align: center;
        padding: 15px;
    }
    
    .gamification-badge {
        margin: 15px 0 0 0;
    }
    
    .header .container {
        flex-direction: row-reverse;
    }
    
    .login-button {
        padding: 12px 25px;
        font-size: 20px;
    }
}




