/* About Section Styles */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-description {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.dark-mode .stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .stat-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .stat-number {
    color: var(--primary);
}

.stat-label {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.dark-mode .stat-label {
    color: var(--text-primary);
}

.about-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover .about-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container:hover .image-overlay {
    opacity: 0.2;
}

.overlay-icon {
    font-size: 3rem;
    color: white;
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius);
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.about-timeline {
    margin-top: 60px;
    position: relative;
}

.timeline-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

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

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

.timeline-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform: translateX(-50px);
    opacity: 0;
}

.timeline-item:nth-child(even) {
    transform: translateX(50px);
}

.timeline-item.in-view {
    transform: translateX(0);
    opacity: 1;
}

.timeline-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.dark-mode .timeline-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: absolute;
    top: 35px;
    left: -10px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.dark-mode .timeline-dot {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: auto;
    right: -10px;
}

.timeline-content {
    margin-left: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 30px;
    text-align: right;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .timeline-date {
    color: var(--primary);
}

.timeline-title {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.dark-mode .timeline-title {
    color: var(--text-primary);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.dark-mode .timeline-description {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
