/* About Us Page Custom Styles */

/* Global Background - Inherit from main CSS */

/* Hero Section */
.about-hero {
    background: url('../assets/images/background/Beige Blue Red Vintage Simple Mail Flower Stamp Group Project Presentation.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Card Animations */
.mission-card,
.values-card,
.team-card,
.stat-card,
.founder-card {
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.values-card::before,
.team-card::before,
.stat-card::before,
.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before,
.values-card:hover::before,
.team-card:hover::before,
.stat-card:hover::before,
.founder-card:hover::before {
    left: 100%;
}

/* Founder Card Special Styling */
.founder-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    border: 1px solid #404040;
}

.founder-card:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.2);
}

/* Team Card Hover Effects */
.team-card img {
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.1);
}

/* Stat Number Animation */
.stat-number {
    background: linear-gradient(45deg, #7e22ce, #3b82f6, #10b981);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

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

/* Mission Card Icons */
.mission-card i,
.values-card i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.mission-card:hover i,
.values-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Team Card Social Links */
.team-card .tw-flex a {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-card:hover .tw-flex a {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect for Hero */
.about-hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Custom Scrollbar - Removed */

/* Disable carousel animations */
.carousel {
    animation: none !important;
}

.carousel-container {
    overflow: visible !important;
    white-space: normal !important;
}

/* Loading Animation for Stats */
.stat-number.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        height: auto;
    }
    
    .founder-card .tw-w-1\/3,
    .founder-card .tw-w-2\/3 {
        width: 100%;
    }
    
    .founder-card .tw-h-\[200px\] {
        height: 150px;
        width: 150px;
    }
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Section Transitions */
section {
    transition: all 0.3s ease;
}

/* Custom Gradient Text for Stats */
.stat-number {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Enhanced Card Shadows */
.mission-card:hover,
.values-card:hover,
.team-card:hover,
.stat-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Gold accent colors */
.tw-text-yellow-400 {
    color: #fbbf24 !important;
}

.tw-text-yellow-500 {
    color: #f59e0b !important;
}

.tw-border-yellow-500 {
    border-color: #f59e0b !important;
}

/* Override purple hover effects with gold */
.mission-card:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3) !important;
}

.values-card:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3) !important;
}

.founder-card:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3) !important;
}

/* Override any purple hover effects */
.hover\:tw-border-purple-500:hover {
    border-color: #f59e0b !important;
}

.hover\:tw-border-blue-500:hover {
    border-color: #3b82f6 !important;
}

.hover\:tw-border-green-500:hover {
    border-color: #10b981 !important;
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .mission-card,
    .values-card,
    .team-card,
    .stat-card,
    .founder-card {
        transition: none;
    }
    
    .stat-number {
        animation: none;
    }
    
    .reveal-up {
        transition: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .mission-card,
    .values-card,
    .team-card,
    .stat-card,
    .founder-card {
        border-width: 2px;
    }
}

/* Print Styles */
@media print {
    .about-hero {
        background: none;
        color: #000;
    }
    
    .mission-card,
    .values-card,
    .team-card,
    .stat-card,
    .founder-card {
        border: 1px solid #000;
        background: #fff;
        color: #000;
    }
}
