/* تنسيقات الصفحات الثابتة */

/* رأس الصفحة */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    backdrop-filter: blur(10px);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

/* بطاقات الرؤية والرسالة */
.vision-mission-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vision-mission-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.vision-mission-card .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-mission-card .card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

/* بطاقات القيم */
.value-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,2,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--success-color), #229954);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* عناصر المحتوى */
.about-content {
    padding: 2rem 0;
}

.about-content .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

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

/* بطاقات المميزات */
.feature-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* صورة من نحن */
.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

/* بطاقات الفريق */
.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-card .team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.team-card .team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-card .team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-card .team-bio {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-card .team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-card .team-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-card .team-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* شعارات الشركاء */
.partner-logo {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* قسم الاتصال السريع */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-section .btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* نموذج الاتصال */
.contact-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* معلومات الاتصال */
.contact-info {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .contact-details h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-item .contact-details p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-item .contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item .contact-details a:hover {
    color: var(--primary-color);
}

/* الخريطة */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    height: 400px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* الأسئلة الشائعة */
.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: #ffffff;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    box-shadow: none;
    padding: 1.25rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--light-color);
    color: var(--secondary-color);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.faq-section .accordion-body {
    color: #6c757d;
    line-height: 1.8;
    padding: 1.25rem;
}

/* سياسة الخصوصية */
.privacy-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.privacy-section h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.privacy-section h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.privacy-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.privacy-section ul {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-right: 1.5rem;
}

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

/* الشروط والأحكام */
.terms-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.terms-section h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.terms-section h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.terms-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.terms-section ol {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-right: 1.5rem;
}

.terms-section ol li {
    margin-bottom: 0.75rem;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .vision-mission-card,
    .contact-form,
    .contact-info,
    .privacy-section,
    .terms-section {
        padding: 1.5rem;
    }
    
    .vision-mission-card .card-title {
        font-size: 1.5rem;
    }
    
    .value-card .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .team-card .team-avatar {
        width: 100px;
        height: 100px;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .vision-mission-card,
    .contact-form,
    .contact-info,
    .privacy-section,
    .terms-section {
        padding: 1rem;
    }
    
    .vision-mission-card .card-title {
        font-size: 1.3rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-card .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    .partner-logo {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item .contact-icon {
        margin: 0 auto;
    }
}