/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الرأس */
.header {
   /* background: linear-gradient(135deg, #0A4875 0%, #6b1d2e 100%);
    color: white;*/
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;

    background: url('../images/navSlice.png') 0 0 repeat;
    border: none;
    background-color:transparent!important;
    height:120px;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.close-menu-btn {
    display: none; /* مخفي على الشاشات الكبيرة */
}

.mobile-menu-btn {
    display: none;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10000;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffd700;
}

/* قسم الترحيب */
.hero {
   /* background: linear-gradient(135deg, #0A4875 0%, #6b1d2e 100%);*/
   
  
     background-image:  linear-gradient(90deg, rgba(89, 153, 203, 0.2)5%, rgba(4, 42, 67, 0.8)90%), url('../images/lusail_bk.jpg') ;
      color: white;
    padding: 4rem 0;
    text-align: center;
    height: 35rem;
    width: 100%;
    background-size: cover;
}


.hero-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-top: 15%;
}

.hero-content p {
        color: white;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}

/* قسم البرامج */
.programs {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}
.logo-text{
    font-size: 1.1rem;
    
    color:#0A4875;
    
}
.program-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-header {
    
    background: linear-gradient(135deg, #0A4875 0%, #214c6b 100%);
    color: white;
    padding: 1.5rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-title i {
    color: #ffd700;
}

.majors-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.major-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.major-card:hover {
    border-color: #0A4875;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 19, 32, 0.2);
}

.major-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.no-majors {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* قسم عن البوابة */
.about {
    background: white;
    padding: 4rem 0;
}

.about-content {
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: #0A4875;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.feature a {
    color: #bdc3c7;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.feature a div :hover {
    color: #ffd700;
   

}

/* الذيل */
.footer {
    background: linear-gradient(135deg, #0A4875 0%, #214c6b 100%);
    color: white;
    padding: 2rem 0 1rem;
    align-content: space-between;
    align-items: center;
    
   
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    text-align: center;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}





.short-links {
    display: flex;
    gap: 1rem;
    text-align: center;
}

.short-links a {
    color: #bdc3c7;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.short-links a:hover {
    color: #ffd700;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #0A4875 0%, #135f96 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
        backdrop-filter: blur(10px);
        animation: slideInFromTop 0.4s ease;
    }

    .close-menu-btn {
        display: flex; /* يظهر فقط في القائمة المتجاوبة */
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        font-size: 1.5rem;
        padding: 1rem;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
    }

    .close-menu-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        color: white;
        font-size: 1.3rem;
        font-weight: 600;
        text-decoration: none;
        padding: 1.2rem 2.5rem;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 250px;
        text-align: center;
        position: relative;
        overflow: hidden;
        animation: bounceIn 0.6s ease forwards;
    }

    .nav-links .nav-link:nth-child(2) { animation-delay: 0.1s; }
    .nav-links .nav-link:nth-child(3) { animation-delay: 0.2s; }
    .nav-links .nav-link:nth-child(4) { animation-delay: 0.3s; }

    .nav-links .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .nav-links .nav-link:hover::before {
        left: 100%;
    }

    .nav-links .nav-link:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .nav-links .nav-link:active {
        transform: translateY(-2px) scale(1.02);
    }

    @keyframes slideInFromTop {
        from {
            opacity: 0;
            transform: translateY(-100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3) translateY(50px);
        }
        50% {
            opacity: 1;
            transform: scale(1.05) translateY(-10px);
        }
        70% {
            transform: scale(0.95) translateY(5px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: relative;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .majors-grid {
        grid-template-columns: 1fr;
    }

    .major-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
.short-links {
    display: flex;
    gap: 1rem;
    text-align: center;
     justify-content: center;
}

.short-links a {
    color: #bdc3c7;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
    
}

.short-links a:hover {
    color: #ffd700;
}

   
    
}
