/* About Page Specific Styles */

.about-main {
    padding-top: 120px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
}

/* Content Sections */
.about-content {
    padding-bottom: 4rem;
}

.story-section,
.mission-section,
.solution-section,
.impact-section,
.vision-section,
.cta-section {
    margin-bottom: 5rem;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.problem-text strong {
    color: #1E40AF;
    font-weight: 600;
}

blockquote {
    background: #EFF6FF;
    border-left: 4px solid #1E40AF;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
}

.stats-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    border-color: #3B82F6;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E40AF;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Mission Section */
.mission-section {
    text-align: center;
}

.mission-content {
    background: linear-gradient(135deg, #1E40AF, #3B82F6, #6366F1);
    color: white;
    padding: 4rem;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.4);
    position: relative;
    overflow: hidden;
}

.mission-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.mission-statement {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    transition: width 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.15);
    border-color: #3B82F6;
}

.solution-card:hover::after {
    width: 100%;
}

.solution-card h3 {
    color: #1E40AF;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    line-height: 1.6;
}

/* Impact Section */
.impact-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.impact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    align-items: start;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.impact-item:hover {
    transform: translateX(10px);
    border-color: #3B82F6;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.1);
}

.impact-icon {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.impact-item:hover .impact-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
}

.impact-item h4 {
    color: #1E40AF;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.impact-item p {
    color: #666;
    line-height: 1.6;
}

/* Vision Section */
.vision-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
}

.vision-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E40AF, #3B82F6, #6366F1, #3B82F6, #1E40AF);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.vision-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

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

.vision-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.vision-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vision-item h4 {
    color: #1E40AF;
    margin-bottom: 0.5rem;
}

.vision-item p {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #EFF6FF 100%);
    padding: 5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.cta-section h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cta-section > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Team Note */
.team-note {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Section Headers */
.about-content h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding-top: 100px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-statement {
        font-size: 1.2rem;
    }
    
    .impact-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Charts Section */
.charts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.chart-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.chart-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.single-chart-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.single-chart-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.chart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    color: #1E40AF;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chart-header p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.chart-container {
    height: 300px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.chart-container-large {
    height: 400px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.chart-container.animate-fade-in,
.chart-container-large.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Chart responsive design */
@media (max-width: 1024px) {
    .charts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .chart-container-large {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .chart-wrapper,
    .single-chart-wrapper {
        padding: 1.5rem;
    }
    
    .chart-container {
        height: 200px;
    }
    
    .chart-container-large {
        height: 300px;
    }
    
    .chart-header h3 {
        font-size: 1.1rem;
    }
    
    .chart-header p {
        font-size: 0.9rem;
    }
}

/* Enhanced About Page Styles */
.problem-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.quote-icon {
    font-size: 1.5rem;
    float: left;
    margin-right: 1rem;
}

.problem-solution {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.mission-values {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-weight: 500;
}

.value-icon {
    font-size: 1.2rem;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-wrapper {
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    transform: scale(1.1);
}

.solution-icon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    color: white;
    transform: rotate(10deg);
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #1E40AF;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #E5E7EB;
}

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

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.cta-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero-visual-about {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.float-item {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-item:nth-child(1) { top: 10%; left: 20%; }
.float-item:nth-child(2) { top: 20%; right: 15%; }
.float-item:nth-child(3) { bottom: 15%; left: 15%; }
.float-item:nth-child(4) { bottom: 20%; right: 20%; }

.hero-ball {
    width: 200px;
    height: 200px;
    z-index: 2;
    position: relative;
}

@media (max-width: 768px) {
    .hero-content-about {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .floating-elements {
        width: 250px;
        height: 250px;
    }
    
    .float-item {
        font-size: 1.5rem;
    }
    
    .hero-ball {
        width: 150px;
        height: 150px;
    }
    
    .mission-values {
        justify-content: center;
        gap: 1rem;
    }
    
    .solution-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .problem-highlight,
    .problem-solution {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .highlight-icon {
        align-self: center;
    }
}
