/* css/about.css - Modern About Page Styles */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #e67e22;
    --primary-dark: #d35400;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fcfcfc;
    --border: #e9ecef;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset and Base Styles */
.page-header,
.story-section,
.mission-vision,
.team-section,
.values-section,
.cta-simple {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-african.png') center/cover;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Story Section */
.story-section {
    padding: var(--space-xxl) 0;
    background: var(--bg-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.story-content {
    padding-right: var(--space-lg);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    background: rgba(230, 126, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    font-weight: 700;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-lighter);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.highlight:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.highlight i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(230, 126, 34, 0.1);
    padding: 1rem;
    border-radius: 50%;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight div {
    flex: 1;
}

.highlight h4 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
    font-weight: 600;
}

.highlight p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.story-image {
    position: relative;
    text-align: center;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    padding: var(--space-md);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Mission & Vision Section */
.mission-vision {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    padding: var(--space-xxl) 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.mv-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: 2rem;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    transform: scale(1.1) rotate(5deg);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    font-weight: 600;
}

.mv-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Team Section */
.team-section {
    padding: var(--space-xxl) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.team-member {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--space-md);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-member:hover .member-social {
    opacity: 1;
    transform: translateY(0);
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.member-info {
    padding: var(--space-lg);
}

.member-info h3 {
    font-size: 1.9rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
    font-weight: 600;
}

.member-info span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.member-info p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    padding: var(--space-xxl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.value-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(230, 126, 34, 0.1);
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.value-card:hover .value-number {
    color: rgba(230, 126, 34, 0.15);
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-simple {
    background: linear-gradient(135deg, var(--secondary) 0%, #34495e 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.cta-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-cta.png') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--text-white);
    font-weight: 700;
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-grid {
        gap: var(--space-lg);
    }
    
    .story-content {
        padding-right: var(--space-md);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: var(--space-xl) 0;
    }
    
    .story-section,
    .mission-vision,
    .team-section,
    .values-section {
        padding: var(--space-xl) 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .story-content {
        padding-right: 0;
        text-align: center;
    }
    
    .story-highlights {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .highlight {
        text-align: left;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: var(--space-lg) auto 0;
        max-width: 150px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .highlight {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .mv-card,
    .value-card,
    .team-member {
        padding: var(--space-lg);
    }
    
    .member-info {
        padding: var(--space-md);
    }
    
    .value-number {
        font-size: 3rem;
    }
    
    .experience-badge {
        padding: var(--space-md);
    }
    
    .experience-badge span {
        font-size: 1.3rem;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

/* Print Styles */
@media print {
    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 2rem 0 !important;
    }
    
    .story-image,
    .member-social,
    .cta-simple {
        display: none !important;
    }
    
    .story-grid {
        grid-template-columns: 1fr !important;
    }
    
    .mv-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr !important;
    }
    
    .mv-card,
    .team-member,
    .value-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}