/* assets/css/about.css - تصميم عصري لصفحة عن المنظمة */

/* ============================================ */
/* PAGE HEADER - رأس الصفحة */
/* ============================================ */
.page-header-modern {
    position: relative;
    padding: 100px 0 60px;
    background: var(--gradient-1);
    overflow: hidden;
    color: #fff;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(26, 82, 118, 0.4) 0%, rgba(14, 52, 80, 0.8) 100%);
}

.page-header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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.05'%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");
}

.page-header-modern .container {
    position: relative;
    z-index: 1;
}

.page-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.page-badge i {
    margin-left: 8px;
    color: #f39c12;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-header-modern .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header-modern .breadcrumb-item {
    color: rgba(255,255,255,0.7);
}

.page-header-modern .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.page-header-modern .breadcrumb-item a:hover {
    color: #f39c12;
}

.page-header-modern .breadcrumb-item.active {
    color: #f39c12;
}

.page-header-modern .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ============================================ */
/* ABOUT SECTION - من نحن */
/* ============================================ */
.about-section-modern {
    padding: 80px 0;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    opacity: 0.9;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    bottom: -10px;
    right: -20px;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--accent);
    top: 50%;
    left: -50px;
    animation-delay: 4s;
}

.about-content-modern {
    padding: 20px 0;
}

.about-text {
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-stats-mini {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.stat-mini {
    text-align: center;
}

.stat-number-mini {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label-mini {
    font-size: 14px;
    color: #6c757d;
}

.stat-divider-mini {
    width: 1px;
    background: #e9ecef;
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================ */
/* VISION & MISSION */
/* ============================================ */
.vision-mission-modern {
    padding: 80px 0;
}

.vision-card-modern,
.mission-card-modern {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vision-card-modern::before,
.mission-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.vision-card-modern::before {
    background: var(--gradient-2);
}

.mission-card-modern::before {
    background: var(--gradient-1);
}

.vision-card-modern:hover,
.mission-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vision-icon,
.mission-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
}

.vision-icon {
    background: var(--gradient-2);
}

.mission-icon {
    background: var(--gradient-1);
}

.icon-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(243, 156, 18, 0.3);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

.vision-card-modern h3,
.mission-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.vision-text p,
.mission-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.vision-tags,
.mission-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.vision-tags .tag,
.mission-tags .tag {
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================ */
/* VALUES SECTION */
/* ============================================ */
.values-modern {
    padding: 80px 0;
}

.value-card-modern {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.value-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    transition: var(--transition);
}

.value-card-modern:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
}

.value-card-modern h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.value-card-modern p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* ============================================ */
/* ACHIEVEMENTS */
/* ============================================ */
.achievements-modern {
    padding: 80px 0;
}

.achievement-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.achievement-card h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.achievement-card p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

.achievement-year {
    display: inline-block;
    padding: 3px 15px;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================ */
/* STATISTICS ABOUT */
/* ============================================ */
.statistics-about {
    padding: 60px 0;
    background: var(--gradient-1);
    color: #fff;
}

.stats-wrapper .stat-card-about {
    text-align: center;
    padding: 20px;
}

.stat-icon-about {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f39c12;
}

.stat-card-about h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-card-about p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ============================================ */
/* HISTORY TIMELINE */
/* ============================================ */
.history-modern {
    padding: 80px 0;
}

.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 0 50px;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px var(--primary);
}

.timeline-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    padding: 3px 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* ============================================ */
/* TESTIMONIALS ABOUT */
/* ============================================ */
.testimonials-about {
    padding: 80px 0;
}

.testimonial-card-about {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card-about:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-weight: 700;
    margin: 0;
    color: var(--primary-dark);
}

.testimonial-info span {
    font-size: 13px;
    color: #6c757d;
}

.testimonial-body {
    position: relative;
    padding: 10px 0;
}

.testimonial-body i {
    font-size: 24px;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 10px;
    display: block;
}

.testimonial-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #2c3e50;
}

.testimonial-rating {
    color: #f39c12;
    margin-top: 15px;
}

/* ============================================ */
/* TEAM ABOUT */
/* ============================================ */
.team-about {
    padding: 80px 0;
}

.team-card-modern {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card-modern:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.team-card-modern:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.team-body {
    padding: 20px;
    text-align: center;
}

.team-body h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.team-body .position {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-body .bio {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* ============================================ */
/* PARTNERS ABOUT */
/* ============================================ */
.partners-about {
    padding: 80px 0;
}

.partner-item-about {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 10px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item-about:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner-item-about img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* ============================================ */
/* CTA ABOUT */
/* ============================================ */
.cta-about {
    padding: 60px 0;
}

.cta-wrapper-about {
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.cta-content-about .cta-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.cta-content-about h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.cta-content-about p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-buttons-about {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-buttons-about .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.cta-buttons-about .btn-light {
    background: #fff;
    color: var(--primary);
}

.cta-buttons-about .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.cta-buttons-about .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.cta-buttons-about .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-image-badge {
        right: 10px;
        bottom: 10px;
        padding: 15px 20px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .timeline-wrapper::before {
        left: 20px;
    }
    
    .timeline-item {
        padding: 0 0 0 50px !important;
        text-align: right !important;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 0 !important;
        padding-left: 50px !important;
        text-align: right !important;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .cta-wrapper-about {
        padding: 30px 20px;
        text-align: center;
    }
    
    .cta-buttons-about {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .about-stats-mini {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .stat-divider-mini {
        display: none;
    }
    
    .stat-number-mini {
        font-size: 1.4rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .vision-card-modern,
    .mission-card-modern {
        padding: 30px 20px;
    }
    
    .stat-card-about h3 {
        font-size: 1.6rem;
    }
    
    .cta-content-about h2 {
        font-size: 1.6rem;
    }
    
    .cta-buttons-about {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-about .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-header-modern {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .about-image-badge {
        display: none;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .value-card-modern {
        padding: 20px 15px;
    }
    
    .achievement-card {
        padding: 20px 15px;
    }
}