/* About Us Page Styles & Animations */
/* public/css/about-us.css */

/* ============================================
   BASE ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes drawLine {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    from {
        background-position: -200% center;
    }
    to {
        background-position: 200% center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.pulse-badge {
    animation: pulseBadge 2s infinite;
}

.pulse-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

/* ============================================
   COMPONENT SPECIFIC STYLES
   ============================================ */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Stat Items */
.stat-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-number {
    display: inline-block;
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
    opacity: 0;
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Approach Cards */
.approach-card {
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    background: white;
}

/* Timeline Styles */
.timeline-line {
    animation: drawLine 2s ease-out forwards;
}

.timeline-item {
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.timeline-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

.timeline-card {
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateX(10px);
}

/* Experience Cards */
.experience-card {
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.achievement-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Team Cards */
.team-card {
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* Process Section */
.process-step-item {
    opacity: 0;
    animation: fadeInLeft 0.5s ease-out forwards;
}

/* Stat Cards */
.stat-card {
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

/* CTA Section */
.cta-card {
    animation: scaleIn 1s ease-out forwards;
}

/* ============================================
   SCROLL REVEAL DELAYS
   ============================================ */

[data-delay] {
    animation-delay: calc(var(--delay) * 1ms);
}

/* Stagger animations for cards */
.approach-card:nth-child(1) { animation-delay: 0.1s; }
.approach-card:nth-child(2) { animation-delay: 0.2s; }
.approach-card:nth-child(3) { animation-delay: 0.3s; }
.approach-card:nth-child(4) { animation-delay: 0.4s; }
.approach-card:nth-child(5) { animation-delay: 0.5s; }
.approach-card:nth-child(6) { animation-delay: 0.6s; }

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }
.experience-card:nth-child(4) { animation-delay: 0.4s; }

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-item:nth-child(1) { animation-delay: 0.2s; }
.achievement-item:nth-child(2) { animation-delay: 0.4s; }
.achievement-item:nth-child(3) { animation-delay: 0.6s; }

.process-step-item:nth-child(1) { animation-delay: 0.1s; }
.process-step-item:nth-child(2) { animation-delay: 0.2s; }
.process-step-item:nth-child(3) { animation-delay: 0.3s; }
.process-step-item:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   INTERACTIVE ENHANCEMENTS
   ============================================ */

/* Card Shine Effect */
.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.mission-card:hover::before,
.vision-card:hover::before {
    left: 100%;
}

/* Button Ripple Effect */
.cta-card a {
    position: relative;
    overflow: hidden;
}

.cta-card a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-card a:hover::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        animation-duration: 0.6s;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   LOADING STATES
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .hover-lift,
    .pulse-badge,
    .pulse-dot,
    .cta-card {
        animation: none !important;
        transform: none !important;
    }
}