/* About Page Styles */

/* Pure CSS gradient background - no parallax effect */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    min-height: auto;
    height: auto;
    overflow: visible;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

/* Ensure footer displays correctly */
footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* About page specific animations */
.about-section .bg-white {
    transition: all 0.3s ease;
}

.about-section .bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section .text-3xl {
    animation: countUp 0.8s ease-out;
}

/* Team member hover effects */
.about-section .w-32 {
    transition: all 0.3s ease;
}

.about-section .w-32:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Value cards hover effects */
.about-section .w-16 {
    transition: all 0.3s ease;
}

.about-section .w-16:hover {
    transform: scale(1.1);
}

/* CTA section enhancements */
.about-section .bg-gradient-to-r {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.about-section .bg-gradient-to-r::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section .text-4xl {
        font-size: 2rem;
    }
    
    .about-section .text-3xl {
        font-size: 1.5rem;
    }
    
    .about-section .w-64 {
        width: 12rem;
        height: 12rem;
    }
    
    .about-section .w-32 {
        width: 8rem;
        height: 8rem;
    }
}

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

.about-section .bg-white {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for sections */
.about-section .bg-white:nth-child(1) { animation-delay: 0.1s; }
.about-section .bg-white:nth-child(2) { animation-delay: 0.2s; }
.about-section .bg-white:nth-child(3) { animation-delay: 0.3s; }
.about-section .bg-white:nth-child(4) { animation-delay: 0.4s; }
.about-section .bg-white:nth-child(5) { animation-delay: 0.5s; }

/* Button hover effects */
.about-section .bg-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Text gradient effects */
.about-section .text-blue-600,
.about-section .text-green-600,
.about-section .text-purple-600 {
    transition: all 0.3s ease;
}

.about-section .text-blue-600:hover,
.about-section .text-green-600:hover,
.about-section .text-purple-600:hover {
    transform: scale(1.05);
}

/* Icon animations */
.about-section .fas {
    transition: all 0.3s ease;
}

.about-section .w-16:hover .fas,
.about-section .w-32:hover .fas {
    transform: scale(1.1);
}

/* Mission and Vision cards */
.about-section .bg-white.rounded-2xl.shadow-xl {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-section .bg-white.rounded-2xl.shadow-xl:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15);
}

/* Team member cards */
.about-section .text-center {
    transition: all 0.3s ease;
}

.about-section .text-center:hover {
    transform: translateY(-5px);
}

/* Stats section */
.about-section .flex.items-center.space-x-6 {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* CTA button effects */
.about-section .bg-white.text-blue-600 {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section .bg-white.text-blue-600::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.about-section .bg-white.text-blue-600:hover::before {
    left: 100%;
}

.about-section .bg-white.text-blue-600:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
} 