

/* نظام الألوان */
:root {
    
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #1abc9c;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --hover-color: #2980b9;
    --transition-speed: 0.4s;
    --primary-light: rgba(44, 62, 80, 0.8);
    --accent-light: rgba(26, 188, 156, 0.2);
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.8;
}

/* الهيدر المحسن */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    padding: 12px 0;
    position: relative;
    top: 0;
    z-index: 1030;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

}

.header:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 100%);
    filter: blur(5px);
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 15px !important;
    margin: 0 5px;
    position: relative;
    transition: all var(--transition-speed) ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.nav-link:hover, .nav-link:focus {
    color: var(--accent-color);
    background-color: rgba(26, 188, 156, 0.1);
}

.nav-link i {
    font-size: 1.1rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 15px;
    margin-top: 8px;
    border-top: 3px solid var(--accent-color);
    animation-duration: 0.3s !important;
}

.mega-dropdown-menu {
    width: 800px;
    padding: 20px !important;
    
}

.mega-menu-column {
    padding: 10px;
}

.mega-menu-column h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
    margin-bottom: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateX(-5px);
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, 0.08);
}

/* تأثيرات الهفر للقوائم */
.dropdown:hover .dropdown-menu {
    display: block;
}



.mobile-close-btn {
    display: none; /* مخفي على الأجهزة الكبيرة */
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.mobile-close-btn:hover {
    color: #ff4757;
    background-color: rgba(255, 71, 87, 0.1);
    transform: rotate(90deg);
}

.mobile-close-btn:active {
    transform: scale(0.9) rotate(90deg);
}
/* تصميم متجاوب */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 40px;
    }
    .mobile-close-btn {
        display: flex;
    }
    .mega-dropdown-menu {
        width: 100%;
        left: 0 !important;
        transform: translateX(0) !important;
        padding-top: 40px !important; /* لإعطاء مساحة لزر الإغلاق */
    }
    
    .dropdown-menu {
        margin-top: 5px;
        padding-top: 40px !important; /* لإعطاء مساحة لزر الإغلاق */
    }
    
    .nav-link {
        padding: 8px 12px !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 36px;
    }
    
    .mobile-close-btn {
        top: 5px;
        left: 5px;
        font-size: 1rem;
        width: 25px;
        height: 25px;
    }
    
    .dropdown-menu {
        border-radius: 8px;
    }
    
    .mega-menu .row {
        flex-direction: column;
    }
    
    .mega-menu-column {
        margin-bottom: 15px;
    }
    
    .mega-menu-column:last-child {
        margin-bottom: 0;
    }
}

/* القائمة الفرعية للحوكمة */
.governance-parent {
    position: relative;
}

.governance-submenu {
    position: absolute;
    top: 0;
    right: 100%;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.governance-parent:hover .governance-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(5px);
}

/* أيقونات الشيفرون */
.desktop-chevron {
    display: inline-block;
}
.mobile-chevron {
    display: none;
}

/* للأجهزة الصغيرة */
@media (max-width: 992px) {
    .governance-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 30px;
        transition: none;
        transform: none !important;
    }
    
    .desktop-chevron {
        display: none;
    }
    .mobile-chevron {
        display: inline-block;
    }
    
    .governance-submenu .dropdown-item {
        padding-left: 40px;
    }
}
/* إزالة النقاط من جميع عناصر القوائم */
.navbar-nav,
.dropdown-menu,
.governance-submenu {
  list-style: none;
  padding-left: 0;
}

/* التأكد من إزالة النقاط في جميع المستويات */
.navbar-nav li,
.dropdown-menu li,
.governance-submenu li {
  list-style-type: none;
}

/* إزالة المسافة البادئة الافتراضية */
ul.navbar-nav {
  padding-inline-start: 0;
}




/* تصميم الهيرو */
.hero-section {
    position: relative;
    z-index: 90;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px; /* تعويض الهيدر الثابت */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-highlight:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-section:hover .hero-highlight:after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-subtitle {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-speed);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* الأشكال الجمالية */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-light);
    filter: blur(60px);
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    animation: float 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 60%;
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

/* زر التمرير */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: var(--transition-speed);
}

.hero-scroll:hover .scroll-text {
    opacity: 1;
}

.scroll-icon {
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    transition: var(--transition-speed);
}

.hero-scroll:hover .scroll-icon {
    border-color: var(--accent-color);
    transform: translateY(5px);
}

.scroll-icon i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .shape {
        filter: blur(40px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}


.about-ultimate {
    position: relative;
    background: white;
    padding: 0 0 50px;
    overflow: hidden;
}

.title-strip {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    /* padding: 80px 0;
    margin-bottom: 80px; */
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.title-part {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
}

.title-part.accent {
    color: var(--accent-color);
}

.title-decoration {
    margin-top: 30px;
}

.decoration-line {
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    position: relative;
}

.decoration-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.decoration-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    opacity: 0.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: -50px;
}

.text-card {
    position: relative;
    z-index: 2;
}

.card-inner {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.card-inner:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

.card-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.accent-text {
    color: var(--accent-color);
}

.card-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    position: relative;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-speed);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.stat-icon {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-color);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.achievement-badge i {
    color: var(--accent-color);
}

.visual-card {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--primary-color), transparent);
    opacity: 0.3;
}

.quote-box {
    position: absolute;
    bottom: -30px;
    left: 30px;
    right: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    z-index: 2;
}

.quote-box i {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.6;
}

.custom-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.custom-waves svg {
    width: 100%;
    height: 100%;
}

/* تأثيرات الحركة */
@keyframes countUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .title-strip {
        padding: 60px 0;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        margin-top: -30px;
    }
    
    .card-inner {
        padding: 30px;
    }
    
    .image-container {
        height: 300px;
    }
}




/* الخيار الثالث: أشكال هندسية */
.geometric-divider {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
}

.shape {
    opacity: 0.5;
    transition: all 0.4s ease;
}

.shape:hover {
    opacity: 1;
    transform: scale(1.1);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--accent-color);
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
}

.square {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    transform: rotate(45deg);
}










/* أنماط قسم البرامج */
/* قسم البرامج - تصميم محسن */
/* أنماط التصميم المعدل */
.focused-programs {
    position: relative;
    min-height: 100vh;
    padding: 80px 0;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
  }
  
  .programs-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1571902943202-507ec2618e8f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
  
  .bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(33, 37, 41, 0.98) 100%);
  }
  
  .bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 75% 25%, rgba(26, 188, 156, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 25% 75%, rgba(52, 152, 219, 0.1) 0%, transparent 20%);
  }
  
  .programs-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .title-decoration {
    margin-top: 30px;
  }
  
  .title-decoration svg {
    width: 200px;
    height: 20px;
  }
  
  .main-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .program-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s ease;
    min-height: 300px;
  }
  
  .primary-program {
    border-top: 5px solid #1abc9c;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }
  
  .secondary-program {
    border-top: 5px solid #3498db;
  }
  
  .program-visual {
    position: relative;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .visual-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .program-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .awareness-circle {
    background: #1abc9c;
  }
  
  .training-circle {
    background: #3498db;
  }
  
  .events-circle {
    background: #9b59b6;
  }
  
  .community-circle {
    background: #e74c3c;
  }
  
  .program-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
  }
  
  .primary-program .program-icon {
    background: rgba(26, 188, 156, 0.2);
    color: #1abc9c;
    border: 2px solid #1abc9c;
  }
  
  .secondary-program .program-icon {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 2px solid #3498db;
  }
  
  .program-details h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .primary-program h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #1abc9c;
  }
  
  .secondary-program h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #3498db;
  }
  
  .program-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .program-features li {
    position: relative;
    padding: 8px 0;
    padding-right: 25px;
    color: rgba(255,255,255,0.9);
  }
  
  .program-features li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #1abc9c;
    font-size: 1.5rem;
    line-height: 0;
  }
  
  .secondary-program .program-features li::before {
    color: #3498db;
  }
  
  .program-badge {
    position: absolute;
    top: 20px;
    left: -5px;
    background: #1abc9c;
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    border-radius: 0 20px 20px 0;
  }
  
  .more-programs {
    text-align: center;
    margin: 50px 0;
  }
  
  .more-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
  }
  
  .more-btn i {
    margin-left: 8px;
    transition: all 0.3s ease;
  }
  
  .more-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
  }
  
  .more-btn:hover i {
    transform: translateY(3px);
  }
  
  .additional-programs {
    display: grid; /* اجعلها مرئية بشكل دائم */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
  }
  
  
  .additional-programs.show {
    display: grid;
  }
  
  .additional-program {
    border-top: 5px solid;
  }
  
  .additional-program:nth-child(1) {
    border-color: #9b59b6;
  }
  
  .additional-program:nth-child(1) .program-icon {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 2px solid #9b59b6;
  }
  
  .additional-program:nth-child(1) h3::after {
    background: #9b59b6;
  }
  
  .additional-program:nth-child(1) .program-features li::before {
    color: #9b59b6;
  }
  
  .additional-program:nth-child(2) {
    border-color: #e74c3c;
  }
  
  .additional-program:nth-child(2) .program-icon {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 2px solid #e74c3c;
  }
  
  .additional-program:nth-child(2) h3::after {
    background: #e74c3c;
  }
  
  .additional-program:nth-child(2) .program-features li::before {
    color: #e74c3c;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* التصميم المتجاوب */
  @media (max-width: 768px) {
    .main-programs {
      grid-template-columns: 1fr;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .section-subtitle {
      font-size: 1rem;
    }
    
    .program-card {
      min-height: auto;
    }
  }






/* قسم كلمة الرئيس */
.chairman-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--light-color) 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.chairman-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%231abc9c" opacity="0.05" d="M0,0 L100,0 L100,100 Q50,80 0,100"></path></svg>');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 0;
}

.chairman-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .chairman-content {
        flex-direction: row;
        align-items: center;
    }
}

/* بطاقة الكلمة */
.message-card {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.message-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.message-inner {
    position: relative;
    z-index: 2;
}

.graphic-elements {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.circle-element {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 10px dashed var(--accent-color);
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: rotate 30s linear infinite;
}

.line-element {
    position: absolute;
    width: 200px;
    height: 2px;
    background: var(--secondary-color);
    bottom: 50px;
    right: -100px;
    transform: rotate(45deg);
}

.dots-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: 100px;
    right: 50px;
    box-shadow: 30px 15px 0 var(--primary-color),
                60px 30px 0 var(--primary-color);
}

.message-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: right;
    direction: rtl;
}

.message-text p {
    margin-bottom: 25px;
    position: relative;
    padding-right: 30px;
}

.message-text p::before {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 15px;
    height: 2px;
    background: var(--accent-color);
}

.intro-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px !important;
}

.intro-text::before {
    display: none;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.outro-text {
    font-style: italic;
    color: var(--secondary-color);
}

/* توقيع الرئيس */
.signature-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 40px;
    position: relative;
    padding-right: 80px;
}

.signature-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    margin-left: 20px;
}

.signature-details {
    text-align: right;
}

.chairman-name {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.chairman-title {
    font-size: 16px;
    color: var(--secondary-color);
    font-style: italic;
}

.signature-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 24px;
}

/* الجزء المرئي */
.chairman-visual {
    flex: 0 0 100%;
    position: relative;
}

@media (min-width: 992px) {
    .chairman-visual {
        flex: 0 0 40%;
    }
}

.visual-container {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.avatar-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    margin-bottom: 30px;
}

.achievement-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.badge-item {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.badge-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    animation: float 6s infinite ease-in-out;
}

.element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.element:nth-child(3) {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* التأثيرات التفاعلية */
.message-card:hover .circle-element {
    animation-duration: 15s;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .message-card {
        padding: 30px 20px;
    }
    
    .message-text {
        font-size: 16px;
    }
    
    .intro-text {
        font-size: 18px;
    }
    
    .chairman-name {
        font-size: 18px;
    }
    
    .visual-container {
        min-height: 300px;
    }
    
    .avatar-placeholder {
        width: 150px;
        height: 150px;
        font-size: 60px;
    }
    
    .badge-item {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }
    
    .badge-item i {
        font-size: 18px;
    }
}








.partners-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.title-strip {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.accent {
    color: #007bff;
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background-color: #007bff;
}

.decoration-dots {
    display: flex;
    margin: 0 10px;
}

.decoration-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    margin: 0 3px;
}

.carousel-item img {
    max-height: 80px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.carousel-item img:hover {
    filter: grayscale(0%);
}









/* أنماط قسم الرؤية والرسالة */
 /* المحور المركزي - تصميم محسّن */
 
            
            /* قسم الرؤية والرسالة - تصميم محترف */
            .vision-mission-section {
                padding: 140px 0;
                background-color: var(--light-color);
                position: relative;
                overflow: hidden;
            }
            
            .title-wrapper {
                text-align: center;
                margin-bottom: 80px;
            }
            
            .main-title {
                font-size: 48px;
                color: var(--primary-color);
                margin-bottom: 20px;
                display: inline-block;
                position: relative;
            }
            
            .title-part {
                display: inline-block;
                transition: transform 0.3s ease;
            }
            
            .title-part.accent {
                color: var(--accent-color);
            }
            
            .title-decoration {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            .decoration-line {
                width: 120px;
                height: 3px;
                background: linear-gradient(to right, var(--accent-color), var(--accent-light));
                margin-bottom: 10px;
            }
            
            .decoration-dots {
                display: flex;
                gap: 8px;
            }
            
            .decoration-dots span {
                display: inline-block;
                width: 8px;
                height: 8px;
                background: var(--accent-color);
                border-radius: 50%;
                opacity: 0.6;
            }
            
            .central-axis {
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                gap: 100px;
                flex-wrap: wrap;
            }
            
            .side-block {
                width: 400px;
                max-width: 90%;
                background: transparent;
                padding: 50px 40px;
                border-radius: 20px;
                transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
                position: relative;
                z-index: 1;
                box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            }
            
            .side-block::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                border-radius: 20px;
                background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
                z-index: -1;
                opacity: 0;
                transition: opacity 0.4s ease;
            }
            
            .side-block:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            }
            
            .side-block:hover::before {
                opacity: 1;
            }
            
            .side-block h3 {
                color: var(--primary-color);
                font-size: 28px;
                margin-bottom: 25px;
                position: relative;
                padding-bottom: 15px;
                font-weight: 600;
            }
            
            .side-block h3::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 70px;
                height: 4px;
                background: linear-gradient(to right, var(--accent-color), var(--accent-light));
                border-radius: 2px;
            }
            
            .side-block p {
                color: var(--text-color);
                line-height: 1.9;
                font-size: 18px;
                margin-bottom: 0;
            }
            
            .axis-line {
                width: 24px;
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;
            }
            
            .axis-line .dot {
                width: 18px;
                height: 18px;
                background: var(--accent-color);
                border-radius: 50%;
                margin: 20px 0;
                position: relative;
                z-index: 2;
                box-shadow: 0 0 0 10px rgba(var(--accent-color-rgb), 0.15);
                transition: all 0.3s ease;
            }
            
            .axis-line .dot:hover {
                transform: scale(1.3);
                box-shadow: 0 0 0 12px rgba(var(--accent-color-rgb), 0.2);
            }
            
            .axis-line .line {
                width: 6px;
                height: 180px;
                background: linear-gradient(to bottom, var(--accent-light), var(--accent-color), var(--accent-light));
                border-radius: 4px;
                box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            }
            
            /* قسم القيم - تصميم محترف */
            .values-stage {
                background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary-color) 100%);
                padding: 120px 0;
                position: relative;
                text-align: center;
                overflow: hidden;
            }
            
            .values-stage::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 12px;
                background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
                opacity: 0.8;
            }
            
            .stage-title h2 {
                color: var(--light-color);
                font-size: 46px;
                margin-bottom: 70px;
                position: relative;
                display: inline-block;
                font-weight: 600;
            }
            
            .stage-title h2::after {
                content: '';
                position: absolute;
                bottom: -20px;
                left: 50%;
                transform: translateX(-50%);
                width: 100px;
                height: 4px;
                background: var(--accent-color);
                border-radius: 2px;
            }
            
            .stage-display {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 50px;
                max-width: 1300px;
                margin: 0 auto;
                padding: 0 20px;
            }
            
            .value-item {
                width: 300px;
                background: rgba(255, 255, 255, 0.1);
                border: 1px solid rgba(255,255,255,0.2);
                padding: 45px 30px;
                border-radius: 25px;
                color: var(--light-color);
                backdrop-filter: blur(10px);
                transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
                position: relative;
                overflow: hidden;
                z-index: 1;
            }
            
            .value-item::before {
                content: '';
                position: absolute;
                top: -100%;
                left: -100%;
                width: 300%;
                height: 300%;
                background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
                opacity: 0;
                transition: opacity 0.6s ease;
                z-index: -1;
            }
            
            .value-item:hover {
                transform: translateY(-15px) scale(1.05);
                background: rgba(255, 255, 255, 0.15);
                box-shadow: 0 25px 50px rgba(0,0,0,0.25);
            }
            
            .value-item:hover::before {
                opacity: 1;
            }
            
            .value-item .emoji {
                font-size: 54px;
                display: block;
                margin-bottom: 25px;
                transition: all 0.5s ease;
            }
            
            .value-item:hover .emoji {
                transform: scale(1.3) rotate(5deg);
            }
            
            .value-item h4 {
                font-size: 24px;
                margin-bottom: 20px;
                position: relative;
                display: inline-block;
                font-weight: 500;
            }
            
            .value-item h4::after {
                content: '';
                position: absolute;
                bottom: -12px;
                left: 50%;
                transform: translateX(-50%);
                width: 50px;
                height: 3px;
                background: var(--accent-color);
                border-radius: 2px;
                transition: width 0.3s ease;
            }
            
            .value-item:hover h4::after {
                width: 70px;
            }
            
            .value-item p {
                line-height: 2;
                font-size: 17px;
                opacity: 0.9;
            }
            
            /* تأثيرات إضافية */
            .vision-mission-section::after {
                content: '';
                position: absolute;
                bottom: -100px;
                right: -100px;
                width: 300px;
                height: 300px;
                background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 70%);
                z-index: 0;
            }
            
            .values-stage::after {
                content: '';
                position: absolute;
                top: -100px;
                left: -100px;
                width: 300px;
                height: 300px;
                background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
                z-index: 0;
            }
            
            /* التكيف مع الشاشات المختلفة */
            @media (max-width: 1200px) {
                .stage-display {
                    gap: 40px;
                }
                
                .value-item {
                    width: 280px;
                    padding: 40px 25px;
                }
            }
            
            @media (max-width: 992px) {
                .vision-mission-section {
                    padding: 100px 0;
                }
                
                .central-axis {
                    gap: 70px;
                }
                
                .axis-line .line {
                    height: 120px;
                }
                
                .side-block {
                    width: 350px;
                    padding: 40px 30px;
                }
                
                .values-stage {
                    padding: 100px 0;
                }
                
                .stage-title h2 {
                    font-size: 42px;
                    margin-bottom: 60px;
                }
            }
            
            @media (max-width: 768px) {
                .main-title {
                    font-size: 40px;
                }
                
                .central-axis {
                    flex-direction: column;
                    gap: 50px;
                }
                
                .axis-line {
                    flex-direction: row;
                    width: auto;
                    height: 24px;
                    margin: 30px 0;
                }
                
                .axis-line .line {
                    width: 150px;
                    height: 6px;
                }
                
                .axis-line .dot {
                    margin: 0 20px;
                }
                
                .side-block {
                    width: 100%;
                    max-width: 500px;
                }
                
                .stage-display {
                    gap: 30px;
                }
                
                .value-item {
                    width: 100%;
                    max-width: 400px;
                }
            }
            
            @media (max-width: 576px) {
                .main-title {
                    font-size: 34px;
                }
                
                .title-wrapper {
                    margin-bottom: 60px;
                }
                
                .side-block h3 {
                    font-size: 26px;
                }
                
                .side-block p {
                    font-size: 16px;
                }
                
                .stage-title h2 {
                    font-size: 36px;
                    margin-bottom: 50px;
                }
                
                .value-item {
                    padding: 35px 20px;
                }
                
                .value-item h4 {
                    font-size: 22px;
                }
            }







/* أنماط قسم الأهداف */
/* أهدافنا - النسخة المبتكرة */
.innovative-goals {
    background-color: var(--light-color);
    padding: 80px 0 0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-top: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* تصميم الخط الزمني */
.goals-timeline {
    position: relative;
    margin: 60px auto;
    max-width: 1200px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-light);
    z-index: 1;
}

.line-animation {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent-color);
    animation: lineFill 2s forwards;
}

@keyframes lineFill {
    to { width: 100%; }
}

.goals-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.goal-item {
    width: 22%;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.goal-badge {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--accent-light);
    transition: all var(--transition-speed) ease;
}

.goal-item:hover .goal-badge {
    transform: scale(1.1);
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.goal-badge i {
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: all var(--transition-speed) ease;
}

.goal-item:hover .goal-badge i {
    color: white;
}

.goal-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.goal-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.top-row {
    margin-bottom: 100px;
}

.bottom-row {
    margin-top: 100px;
}

/* الأهداف الإضافية */
.extra-goals {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding-bottom: 80px;
}

.goal-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.goal-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.goal-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.goal-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* موجات فاصلة */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .goals-row {
        flex-wrap: wrap;
    }
    
    .goal-item {
        width: 48%;
        margin-bottom: 40px;
    }
    
    .top-row {
        margin-bottom: 40px;
    }
    
    .bottom-row {
        margin-top: 0;
    }
    
    .timeline-line {
        display: none;
    }
    
    .extra-goals {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .goal-item {
        width: 100%;
    }
    
    .goal-card {
        width: 100%;
    }
}










/* أنماط أساسية */
.modern-gallery {
    padding: 70px 0;
    background-color: var(--light-color);
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* أنماط العنوان */
.gallery-header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.gallery-title .accent {
    color: var(--accent-color);
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-decoration .line {
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
}

.title-decoration .dots {
    display: flex;
    margin: 0 12px;
}

.title-decoration .dots span {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 4px;
}

/* وصف المعرض */
.gallery-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.gallery-description p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* أنماط المعرض */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    grid-template-areas:
        "main main secondary1 secondary2"
        "main main secondary3 secondary4";
}

.main-gallery-item {
    grid-area: main;
    position: relative;
}

.secondary-gallery-item {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.9), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-gallery-item .image-caption {
    height: auto;
    justify-content: flex-start;
}

.secondary-gallery-item .image-caption {
    height: 100%;
    justify-content: flex-end;
}

.image-caption h3,
.image-caption h4 {
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.image-caption h3 {
    font-size: 1.8rem;
}

.image-caption h4 {
    font-size: 1.3rem;
}

.image-caption p {
    margin-bottom: 15px;
    opacity: 0.9;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.view-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.view-btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: var(--hover-color);
    transform: translateX(-5px);
}

.view-btn:hover i {
    transform: translateX(-3px);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "main main secondary1"
            "main main secondary2"
            "secondary3 secondary4 .";
    }
}

@media (max-width: 992px) {
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "main main"
            "secondary1 secondary2"
            "secondary3 secondary4";
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "secondary1"
            "secondary2"
            "secondary3"
            "secondary4";
    }
    
    .image-caption h3 {
        font-size: 1.5rem;
    }
    
    .image-caption h4 {
        font-size: 1.2rem;
    }
    
    .view-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .gallery-description p {
        font-size: 1rem;
    }
    
    .title-decoration .line {
        width: 50px;
    }
    
    .title-decoration .dots span {
        width: 8px;
        height: 8px;
    }
}








/* تواصل معنا */
.contact-section {
    background-color: var(--light-color);
    position: relative;
    padding: 80px 0 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-top: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    z-index: -1;
}

.contact-info-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-heading {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.accent-text {
    color: var(--accent-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: all var(--transition-speed) ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-left: 15px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p, .info-content a {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-content a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.iban {
    font-family: 'Courier New', monospace;
    background: var(--light-color);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 5px 0;
}

.copy-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
}

.copy-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.copy-btn i {
    margin-left: 5px;
}

.social-icons {
    margin-top: auto;
    display: flex;
    gap: 15px;
    padding-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* بطاقة الخريطة */
.map-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.map-container {
    position: relative;
    height: 100%;
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.2), rgba(26, 188, 156, 0.1));
    pointer-events: none;
}

.location-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: var(--accent-color);
    font-size: 3rem;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% { transform: translate(-50%, -100%) scale(1); }
    50% { transform: translate(-50%, -100%) scale(1.1); }
    100% { transform: translate(-50%, -100%) scale(1); }
}

/* موجات فاصلة */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .google-map {
        min-height: 400px;
    }
    
    .contact-info-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .contact-heading {
        font-size: 1.5rem;
    }
    
    .google-map {
        min-height: 350px;
    }
}


/* إضافة هذه الأنماط للجزء المحدث */

/* أيقونات وسائل التواصل الجديدة */
.social-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.x-icon {
    background-color: #000;
    color: white;
}

.x-icon:hover {
    background-color: #333;
}

.instagram-icon {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.snapchat-icon {
    background-color: #FFFC00;
    color: #000;
}

/* شعار الخريطة */
.map-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.map-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* تعديلات العنوان */
.info-content p {
    direction: rtl;
}


















.creative-footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    flex: 1 1 100%;
    margin: 5px 0;
}

@media(min-width: 600px) {
    .footer-left, .footer-right {
        flex: 1 1 50%;
    }

    .footer-left {
        text-align: right;
    }

    .footer-right {
        text-align: left;
    }
}

.footer-right a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-right a:hover {
    color: var(--hover-color);
}

.footer-right i {
    margin-right: 5px;
    color: var(--accent-color);
}

.footer-decor {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-decor .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 4px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}





/* Twitter Section Styles - Updated with X Logo */
.twitter-ultimate {
    position: relative;
    background-color: var(--light-color);
    padding: 60px 0;
    overflow: hidden;
}

.twitter-innovative {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: relative;
}

.twitter-visuals {
    flex: 1;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--accent-light), transparent);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* New X Logo Styles */
.x-logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.x-logo {
    width: 80px;
    height: 80px;
    background-color: #000000; /* Twitter/X's new black color */
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.x-logo:hover {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.x-icon {
    font-family: 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: white;
    position: relative;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.x-logo:hover .x-icon {
    transform: rotate(5deg);
}

.x-icon-small {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Pulse and Dots (kept original styles) */
.twitter-pulse {
    position: absolute;
    width: 180px;
    height: 180px;
    background-color: var(--accent-light);
    border-radius: 50%;
    animation: pulse 3s ease-out infinite;
    opacity: 0;
}

.twitter-dots {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.twitter-dots span {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: bounce 1.5s infinite ease-in-out;
}

.twitter-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.twitter-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Rest of the styles remain the same */
.twitter-embed-wrapper {
    flex: 2;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: translateY(0);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.twitter-embed-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.twitter-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.twitter-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid white;
}

.twitter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twitter-info {
    flex: 1;
}

.twitter-account {
    margin: 0;
    font-size: 1.2rem;
}

.twitter-bio {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: white;
    color: var(--secondary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-speed) ease;
}

.follow-button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.twitter-timeline-container {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.twitter-timeline {
    width: 100% !important;
    height: 100% !important;
}

/* Animations (kept original) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design (kept original) */
@media (max-width: 992px) {
    .twitter-innovative {
        flex-direction: column;
    }
    
    .twitter-visuals {
        min-height: 200px;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    
    .x-logo-container {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .twitter-dots {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .twitter-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .twitter-avatar {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .follow-button {
        margin-top: 15px;
    }
}







/* Scrollbar عام */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* المسار الخلفي للـ Scroll */
::-webkit-scrollbar-track {
    background: var(--primary-light);
    border-radius: 10px;
}

/* الجزء المتحرك */
::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    transition: background-color var(--transition-speed);
}

/* عند التحويم */
::-webkit-scrollbar-thumb:hover {
    background-color: var(--hover-color);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--primary-light);
}
