/* About Page Styles - Modern Theme */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --primary-color: #8B5CF6;
    --secondary-color: #F59E0B;
    --accent-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

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

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

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Alegreya', serif;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Alegreya', serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* Story Section */
.story-section {
    background: var(--white);
}

.story-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.story-illustration {
    position: relative;
}

.logo-large img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.logo-large img:hover {
    transform: scale(1.05);
}

.story-elements span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    margin: 0 10px;
}

.story-elements span:nth-child(1) {
    animation-delay: 0s;
}

.story-elements span:nth-child(2) {
    animation-delay: 1s;
}

.story-elements span:nth-child(3) {
    animation-delay: 2s;
}

/* Mission Cards */
.mission-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}

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

.mission-icon span {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.mission-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.mission-card .card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}

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

.feature-icon span {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.feature-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card .card-text {
    color: var(--text-light);
    line-height: 1.6;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow);
}

.timeline-icon {
    font-size: 24px;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: var(--white);
}

.stat-card {
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.stat-icon {
    color: var(--primary-color);
}

.counter {
    font-family: 'Alegreya', serif;
    font-weight: 800;
}

/* Team Section */
.team-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    overflow: hidden;
}

.team-avatar span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.team-member h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 30px;
}

.blockquote p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

.blockquote-footer {
    color: var(--text-light);
    font-size: 14px;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.stars {
    color: var(--secondary-color);
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    color: var(--primary-color);
}

.author-name {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 16px;
}

.author-title {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.btn-warning {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #D97706;
    border-color: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .header-stats .row {
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 250px;
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}
