/* about.css - Isolated styling for About Us module */

.active-about {
    --color-primary: #E30613;
    --color-primary-rgb: 227, 6, 19;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.active-about section {
    padding: 80px 0;
    overflow: hidden;
}

.active-about .section-bg {
    background: var(--color-bg-section);
}

.active-about h1, .active-about h2, .active-about h3, .active-about h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.active-about p {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--color-text-main);
    font-style: normal;
}

/* Hero Section */
.active-about .hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/img/hero-bg.jpg') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.active-about .hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Feature Cards */
.active-about .feature-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.active-about .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: 0.3s;
    transform-origin: left;
}

.active-about .feature-card:hover::before {
    transform: scaleX(1);
}

.active-about .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.active-about .icon-box {
    font-size: 48px;
    margin-bottom: 24px;
}

/* Stats Section */
.active-about .stat-box {
    text-align: center;
    padding: 30px;
}

.active-about .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.active-about .stat-label {
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Partner Slider */
.active-about .partner-slider {
    display: flex;
    gap: 40px;
    overflow: hidden;
    padding: 20px 0;
}

.active-about .partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 180px;
    transition: 0.3s;
}

.active-about .partner-logo {
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: 0.3s;
}

.active-about .partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.active-about .partner-item:hover .partner-logo,
.active-about .partner-item:hover .partner-logo-icon {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.active-about .partner-item:hover .partner-name {
    opacity: 1;
    transform: translateY(0);
}

/* Values */
/* Values Section */
.active-about .value-card {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    width: 200px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: 0.3s;
}

.active-about .value-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.active-about .value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.active-about .value-text {
    font-weight: 700;
    color: var(--color-text-main);
}

/* CTA */
.active-about .cta-section {
    background: var(--color-primary);
    color: white;
    text-align: center;
    border-radius: 30px;
    margin: 40px 0;
    padding: 60px 40px;
}

.active-about .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Animation classes */
.active-about .reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .active-about .grid-2, 
    .active-about .grid-3, 
    .active-about .grid-4 {
        grid-template-columns: 1fr !important;
    }
    
    .active-about .hero-section {
        height: 300px;
    }
    
    .active-about .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .active-about .stat-number {
        font-size: 2.2rem;
    }
    
    .active-about .value-card {
        width: 100%;
        max-width: 300px;
    }
    
    .active-about .cta-buttons {
        flex-direction: column;
    }
    
    .active-about .cta-buttons .btn {
        width: 100%;
    }
}
