/* ===== VARIABLES ===== */
:root {
    /* الألوان الرئيسية - طابع أخضر علمي */
    --primary-green: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --primary-super-light: #e8f5e9;
    
    /* الألوان الثانوية */
    --secondary-blue: #1976d2;
    --secondary-light-blue: #42a5f5;
    --secondary-purple: #7b1fa2;
    --secondary-amber: #ffa000;
    
    /* ألوان محايدة */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --darker-gray: #495057;
    --black: #212529;
    
    /* ألوان الحالة */
    --success: #388e3c;
    --warning: #f57c00;
    --danger: #d32f2f;
    --info: #0288d1;
    
    /* الظلال */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 35px rgba(0,0,0,0.2);
    
    /* الزوايا */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-pill: 50px;
    
    /* التحولات */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* التباعد */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
}

/* ===== RESET & BASE STYLES ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--darker-gray);
    background-color: var(--light-gray);
    direction: rtl;
    overflow-x: hidden;
}
/*
.container{
    margin-top: 70px;
}
*/
/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-green));
    border-radius: var(--border-radius-pill);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}


main {
  flex: 1;
  width: 100%;
  padding-top: 105px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--dark-gray);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: right var(--transition-slow);
}

.btn:hover::before {
    right: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #4caf50);
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    transition: all var(--transition-normal);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(27, 94, 32, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.navbar-brand i {
    color: var(--primary-light);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all var(--transition-normal);
    transform: translateX(50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(46, 125, 50, 0.9) 0%,
        rgba(27, 94, 32, 0.95) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234caf50' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--white), #e8f5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    font-weight: 300;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-green));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: var(--white);
    border: none;
    padding: var(--spacing-lg);
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    background: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    padding: var(--spacing-md) var(--spacing-lg);
}

/* ===== MEMBER CARDS ===== */
.member-card {
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.member-header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    height: 100px;
    position: relative;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    margin: -60px auto var(--spacing-md);
    background: var(--white);
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.member-card:hover .member-avatar {
    transform: scale(1.05);
    border-color: var(--primary-green);
}

.online-indicator {
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 12px;
    border: 3px solid var(--white);
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.member-stats {
    background: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    padding: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: 0 var(--spacing-sm);
}

.stat-number {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.3rem;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    display: block;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--light-gray);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-green));
    border-radius: var(--border-radius-pill);
}

.section-primary .section-title {
    color: var(--white);
}

.section-primary .section-title::after {
    background: linear-gradient(90deg, var(--white), var(--primary-light));
}

/* ===== FEATURES ===== */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-green));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--white);
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
}

/* ===== FORMS ===== */
.form-control {
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
    background: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--darker-gray);
    margin-bottom: var(--spacing-sm);
}

.form-select {
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: left 0.75rem center;
    background-size: 16px 12px;
}

/* ===== BADGES ===== */
.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.8rem;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: var(--white);
}

.badge-success {
    background: linear-gradient(135deg, var(--success), #4caf50);
    color: var(--white);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning), #ffb300);
    color: var(--white);
}

.badge-danger {
    background: linear-gradient(135deg, var(--danger), #f44336);
    color: var(--white);
}

.badge-info {
    background: linear-gradient(135deg, var(--info), #29b6f6);
    color: var(--white);
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-right: 4px solid;
}

.alert-success {
    background: var(--primary-super-light);
    color: var(--success);
    border-right-color: var(--success);
}

.alert-warning {
    background: #fff3e0;
    color: var(--warning);
    border-right-color: var(--warning);
}

.alert-danger {
    background: #ffebee;
    color: var(--danger);
    border-right-color: var(--danger);
}

.alert-info {
    background: #e3f2fd;
    color: var(--info);
    border-right-color: var(--info);
}

/* ===== PAGINATION ===== */
.pagination {
    gap: var(--spacing-sm);
}

.page-link {
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-md) !important;
    color: var(--primary-green);
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--primary-super-light);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    border-color: var(--primary-green);
    color: var(--white);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0d3b1e, #1b5e20, #2e7d32) !important;
    color: #f0f7f0 !important;
    padding: 3.5rem 0 2rem !important;
    margin-top: auto !important;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #d4a017;
    font-family: 'Tajawal', 'Amiri', 'Lateef', serif;
}

/* خلفية إسلامية (زخارف وهلال) */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(212, 160, 23, 0.08) 2px, transparent 2px),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60,20 A40,40 0 1,0 60,100 A40,40 0 1,0 60,20 M75,60 A15,15 0 1,0 45,60 A15,15 0 1,0 75,60' fill='none' stroke='%23d4a017' stroke-width='1' stroke-opacity='0.2'/%3E%3Cpath d='M30,50 Q40,30 50,50 T70,50' fill='none' stroke='%23d4a017' stroke-width='1' stroke-opacity='0.15'/%3E%3Cpath d='M90,70 Q100,50 110,70' fill='none' stroke='%23d4a017' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");
    background-size: 30px 30px, 30px 30px, 200px 200px;
    opacity: 0.4;
    z-index: 1;
}

footer::after {
    content: '✿';
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    font-size: 30rem;
    color: rgba(212, 160, 23, 0.07);
    font-family: 'Amiri', serif;
    z-index: 1;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
}

/* تنسيق العناوين */
footer h5 {
    color: #ffedb8 !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a017, #ffedb8);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

/* إصلاح الروابط - جعلها قابلة للنقر */
footer a {
    color: #c8f7c5 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.4rem 0;
    position: relative;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10;
}

footer a::before {
    content: '🕌';
    position: absolute;
    right: -1.8rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

footer a:hover {
    color: #ffffff !important;
    transform: translateX(-8px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

footer a:hover::before {
    opacity: 1;
    right: -1.5rem;
}

/* تنسيق القوائم */
footer ul.list-unstyled {
    padding-right: 1.5rem;
}

footer ul.list-unstyled li {
    margin-bottom: 0.85rem;
    padding-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

footer ul.list-unstyled li:hover {
    background: rgba(212, 160, 23, 0.1);
    border-radius: 4px;
    padding-right: 1rem;
}

footer ul.list-unstyled li::before {
    content: '✦';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #d4a017;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* تنسيق النصوص والعناوين */
footer p, 
footer address {
    color: #e0f7e0 !important;
    line-height: 1.9;
    font-size: 1rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

footer address {
    background: rgba(0, 0, 0, 0.15);
    padding: 1.2rem;
    border-radius: 10px;
    border-right: 3px solid #d4a017;
    margin-top: 1rem;
}

footer address i {
    color: #ffedb8 !important;
    width: 22px;
    text-align: center;
    margin-left: 0.5rem;
}

/* تنسيق أيقونات التواصل الاجتماعي */
footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

footer .social-links a {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(27, 94, 32, 0.4));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffedb8 !important;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    text-decoration: none !important;
    border: 1px solid rgba(212, 160, 23, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

footer .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4a017, #ffedb8);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

footer .social-links a i {
    position: relative;
    z-index: 2;
}

footer .social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
    border-color: #ffedb8;
}

footer .social-links a:hover::before {
    opacity: 1;
}

footer .social-links a:hover i {
    color: #1b5e20 !important;
}

/* الخط الفاصل مع تصميم إسلامي */
footer hr {
    background: linear-gradient(90deg, transparent, #d4a017, transparent) !important;
    height: 2px !important;
    opacity: 0.6 !important;
    margin: 3rem 0 2rem !important;
    border: none;
    border-radius: 2px;
}

/* حقوق النشر */
footer .text-center {
    position: relative;
    padding-top: 1.5rem;
}

footer .text-center::before {
    content: '✿✿✿✿✿✿✿';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    color: #d4a017;
    font-size: 1.5rem;
}

footer .text-center p {
    color: #b8e6b8 !important;
    font-size: 0.95rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* تنسيق نموذج التبرع */
footer form {
    margin-top: 1.8rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.3);
    position: relative;
    overflow: hidden;
}

footer form::before {
    content: '💰';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    color: rgba(212, 160, 23, 0.3);
    font-family: 'Amiri', serif;
}

footer input[type="image"] {
    transition: all 0.4s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    filter: brightness(0.95);
    display: block;
    margin: 0 auto;
}

footer input[type="image"]:hover {
    transform: scale(1.08);
    border-color: #d4a017;
    filter: brightness(1.1);
    box-shadow: 0 5px 20px rgba(212, 160, 23, 0.4);
}

/* نجمة إسلامية صغيرة في الزوايا */
footer .container::before,
footer .container::after {
    content: '★';
    position: absolute;
    color: rgba(212, 160, 23, 0.2);
    font-size: 1.2rem;
    z-index: 1;
}

footer .container::before {
    top: -10px;
    right: -10px;
}

footer .container::after {
    bottom: -10px;
    left: -10px;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    footer {
        text-align: center !important;
        padding: 2.5rem 0 1.5rem !important;
    }
    
    footer h5::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    footer ul.list-unstyled {
        padding-right: 0;
        display: inline-block;
        text-align: right;
    }
    
    footer ul.list-unstyled li::before {
        right: -1.2rem;
    }
    
    footer address {
        text-align: right;
    }
    
    .social-links {
        justify-content: center;
    }
    
    footer::after {
        font-size: 3rem;
        opacity: 0.05;
    }
}

@media (max-width: 576px) {
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer a {
        font-size: 0.95rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* حل إضافي لضمان عمل الروابط */
footer * {
    pointer-events: auto !important;
}

footer a, 
footer a * {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 1000;
}

/* إزالة أي طبقات تغطي الروابط */
footer::before,
footer::after {
    pointer-events: none !important;
}




/*
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-green)) !important;
    color: #f8f9fa;
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    text-align: center;
    color: rgba(255,255,255,0.7);
}
*/

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .navbar-collapse {
        background: var(--primary-dark);
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
        margin-top: var(--spacing-sm);
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
        margin-top: -50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light)) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-custom {
    border-radius: var(--border-radius-lg) !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    border-radius: var(--border-radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
}

/* ===== LOADING ANIMATION ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-super-light);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid var(--dark-gray) !important;
    }
}