/* ========================================
   About Page Specific Styles
   ======================================== */

/* Page Header (Shared with other pages) */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* About Introduction Section */
.about-intro {
    padding: var(--spacing-xxl) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h2 {
    margin-bottom: var(--spacing-md);
}

.intro-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.intro-buttons {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-xl);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.intro-stats {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Mission & Vision Section */
.mission-vision {
    background-color: var(--light-color);
    padding: var(--spacing-xxl) 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.mv-card p {
    line-height: 1.8;
    margin: 0;
}

/* Our Values Section */
.our-values {
    padding: var(--spacing-xxl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    text-align: center;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.value-card p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
}

.why-choose-us .section-header h2,
.why-choose-us .section-header p {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.why-item h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.why-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.7;
}

/* Process Section */
.our-process {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-color);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
}

/* Certifications Section */
.certifications {
    padding: var(--spacing-xxl) 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.cert-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-grid {
        gap: 3rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-stats {
        position: static;
        margin-top: 2rem;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .mv-card,
    .value-card,
    .step-content {
        padding: 1.5rem;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
}

/* RTL Adjustments */
[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 30px;
}

[dir="rtl"] .intro-buttons {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    [dir="rtl"] .process-timeline::before {
        right: 20px;
        left: auto;
    }
    
    [dir="rtl"] .intro-buttons {
        flex-direction: column;
    }
}
