
:root {
    --primary: #1f9660;
    --primary-dark: #004f10;
    --secondary: #1f9660;
    --secondary-dark: #1c9860;
    --accent: #f88550;
    --accent-dark: #ff6c29;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    width: 100%;
}

.btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* الشريط العلوي */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.3s ease !important; /* أضف هذا السطر */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-left: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: black
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.9rem;
    color: black
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 25px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    font-size: 1.05rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    z-index: 1;
    overflow: hidden;
    padding: 10px 0;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--primary);
    padding-right: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* قسم البطل مع عارض الصور */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 0px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.mySlides.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 50px;
    animation: slideInUp 1s ease;
}

.slide-content h1 {
    font-size: 60px;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-indicators {
    position: absolute;
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slide-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    right: 30px;
}

.next {
    left: 30px;
}

/* قسم من نحن */
.about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 70px;
}

.vision, .mission {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision::before, .mission::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    z-index: 2;
}

.vision:hover, .mission:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.vision h3, .mission h3 {
    color: var(--primary);
    display: flex;
    align-items: center;
    font-size: 1.8rem;
}

.vision h3 i, .mission h3 i {
    margin-left: 15px;
    font-size: 2.2rem;
    color: var(--secondary);
}

/* قسم الأهداف */
.goals {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.goals h2 {
    color: var(--white);
}

.goals h2::after {
    background: var(--accent);
}

.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.goal-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.goal-card:hover::before {
    opacity: 0.1;
}

.goal-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition);
}

.goal-card:hover .goal-icon {
    transform: scale(1.2) rotate(5deg);
}

.goal-card h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.goal-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* قسم فريق مجلس الإدارة */
.team {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px 20px;
}

.member-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.member-info .position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.member-info p {
    height: 270px;
    overflow-y: auto;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* قسم الانضمام للجمعية */
.join {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.join h2 {
    color: var(--white);
}

.join h2::after {
    background: var(--accent);
}

.join-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.join-text {
    flex: 1;
    min-width: 300px;
}

.join-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.join-text li {
    margin-bottom: 15px;
    padding-right: 30px;
    position: relative;
    font-size: 1.1rem;
}

.join-text li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.join-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* قسم الخدمات */
.services {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover a {
    color: var(--white);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--white);
    transform: scale(1.2);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--gray);
    transition: var(--transition);
}

/* قسم المشاريع */
.projects {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* قسم الشركاء */
.partners {
    background-color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.partner-logo {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.partner-logo:hover::before {
    opacity: 0.05;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* التذييل */
footer {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    color: var(--dark);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    nav ul li {
        margin: 8px 0;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        background-color: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .mobile-menu {
        display: block;
        position: absolute;
        top: 25px;
        left: 25px;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .slide-content {
        right: 5%;
        left: 5%;
        text-align: center;
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .prev {
        right: 15px;
    }
    
    .next {
        left: 15px;
    }
    
    .goals-container, .services-container, .team-container, .projects-container {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .vision, .mission {
        padding: 30px 20px;
    }
    
    .join-form {
        padding: 30px 20px;
    }
}


/*  M.J  */
.small-logo {
    height: 100px !important;
    margin-right: 10%;
}



/* إخفاء قسم البطل مع الحفاظ على التدفق */
@media (max-width: 768px) {
    .hero {
        visibility: hidden;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

/* تحسينات للقائمة على الموبايل */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #2c5aa0;
    padding: 10px;
}

@media (max-width: 992px) {
    .mobile-menu {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 80px 20px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-menu ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 15px;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #f8f9fa;
        padding-right: 20px;
    }
    
    .dropdown-content a {
        padding: 10px 15px;
        border-bottom: 1px solid #eaeaea;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
        width: 100%;
    }
    
    .nav-donate-btn,
    .nav-lang-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    
    /* إضافة طبقة مظلمة خلف القائمة */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }
    
    .logo .small-logo {
        max-height: 40px;
    }
}

/* تعديل زر القائمة عندما تكون مفتوحة */
.mobile-menu i.fa-times {
    color: #e74c3c;
}

/* إزاحة المحتوى الرئيسي عندما تفتح القائمة */
body.menu-open {
    overflow: hidden;
}

/* زر إغلاق القائمة */
.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #e74c3c;
    cursor: pointer;
    z-index: 1002;
}

@media (max-width: 992px) {
    .close-menu {
        display: block;
    }
}


/* تبرع الان  */
    
    /* أنماط قسم التبرع */
.donate-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.donate-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(44, 90, 160, 0.05);
    border-radius: 50%;
}

.donate-section h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.donate-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to left, #e74c3c, #2c5aa0);
    border-radius: 2px;
}

.donate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.donate-option {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.donate-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.donate-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.donate-option-header i {
    font-size: 24px;
    color: #2c5aa0;
    background: rgba(44, 90, 160, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.donate-option-header h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 0;
}

.donate-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donate-method {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.donate-method:hover {
    background: #e9ecef;
}

.method-icon {
    flex-shrink: 0;
}

.method-icon i {
    font-size: 22px;
    color: #e74c3c;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.method-info {
    flex: 1;
}

.method-info h4 {
    color: #2c5aa0;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.method-info p {
    color: #666;
    margin: 5px 0;
    font-size: 0.95rem;
}

.method-info strong {
    color: #333;
    font-weight: 600;
}

.paypal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #003087, #009cde);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paypal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 48, 135, 0.3);
    color: white;
}

.donate-note {
    background: linear-gradient(135deg, #2c5aa0, #3a6bc5);
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.donate-note i {
    font-size: 24px;
    flex-shrink: 0;
}

.donate-note p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* أنماط للهواتف */
@media (max-width: 768px) {
    .donate-container {
        grid-template-columns: 1fr;
    }
    
    .donate-section {
        padding: 50px 0;
    }
    
    .donate-section h2 {
        font-size: 2rem;
    }
    
    .donate-note {
        flex-direction: column;
        text-align: center;
    }
    
    .donate-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto;
    }
}

/* تنسيق التبرع المباشر */
.direct-donation {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border: 2px solid #ff9800;
    position: relative;
    overflow: hidden;
}

.direct-donation::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: #ff9800;
    border-radius: 50%;
    opacity: 0.1;
}

.direct-donation .method-icon i {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.donation-address {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #ff9800;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.1);
}

.address-title {
    color: #e65100;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 2px solid #ffe0b2;
    padding-bottom: 5px;
}

.address-line {
    color: #5d4037;
    margin: 8px 0;
    line-height: 1.5;
    position: relative;
    padding-right: 20px;
}

.address-line::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #ff9800;
    font-size: 1.2rem;
}

.donation-notice {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    border: 1px solid #ffb74d;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.donation-notice i {
    color: #f57c00;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.donation-notice p {
    color: #5d4037;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.donation-notice strong {
    color: #e65100;
    display: inline-block;
    margin-bottom: 5px;
}

.donation-notice span[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #ffb74d;
    font-weight: bold;
    color: #d84315;
    margin: 0 5px;
    display: inline-block;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .donation-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .donation-notice i {
        margin: 0 auto;
    }
    
    .address-line::before {
        right: 10px;
    }
}

/*  نهاية تبرع الان */

    /* إضافة أنماط CSS للأزرار الجديدة في القائمة */
    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 15px;
    }
    
    .nav-donate-btn {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
        border: none;
        cursor: pointer;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .nav-donate-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
        background: linear-gradient(135deg, #c0392b, #a93226);
    }
    
    .nav-lang-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #2c5aa0;
        padding: 8px 16px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
        border: 2px solid #2c5aa0;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .nav-lang-btn:hover {
        background: #2c5aa0;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    }

    /* تعديلات للهيدر والناڤ */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        display: flex;
        align-items: center;
    }

    .nav-menu ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu ul li {
        margin: 10px;
    }

    .nav-menu ul li.nav-buttons {
        display: flex;
        align-items: center;
        margin-right: 0;
    }


/* اخفاء الشريط العلوي عند النزول*/


    