/* CC Brain & Body Wellness About Us Custom Styles */

/* Neural Network Background Animation */
.neural-network-bg {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(203, 162, 125, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 236, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(203, 162, 125, 0.05) 0%, transparent 50%);
    background-size: 300px 300px, 400px 400px, 200px 200px;
    animation: float 20s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* About Us Specific Styles */
.about-us-main {
    line-height: 1.6;
}

/* Hero Section */
.about-hero-section {
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Team Member Cards */
.team-member-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s ease-out;
}

.team-member-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 25px 50px rgba(39, 39, 39, 0.25);
}

/* Credential Cards */
.credential-card {
    transition: all 0.3s ease;
    animation: scaleIn 0.5s ease-out;
}

.credential-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(203, 162, 125, 0.15);
}

/* Timeline Items */
.our-story-section .flex {
    animation: slideUp 0.7s ease-out;
}

/* Value Cards Animation */
.mission-values-section .group {
    transition: all 0.3s ease;
}

.mission-values-section .group:hover .w-20 {
    transform: scale(1.1) rotate(5deg);
}

/* Statistics Animation */
.about-hero-section .grid .bg-white,
.our-story-section .grid .text-4xl {
    animation: slideUp 1s ease-out;
}

/* Why Choose Us Differentiators */
.why-choose-us-section .flex {
    transition: all 0.3s ease;
}

.why-choose-us-section .flex:hover {
    transform: translateX(10px);
}

.why-choose-us-section .flex:hover .w-12 {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(203, 162, 125, 0.3);
}

/* CTA Section Enhancements */
.about-cta-section {
    background-size: 400% 400%;
    animation: gradient-shift 20s ease infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-section .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .about-cta-section h2 {
        font-size: 2.5rem;
    }
}

/* Interactive Elements */
.about-hero-section .animate-pulse,
.about-cta-section .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Section Transitions */
.our-story-section,
.mission-values-section,
.team-section,
.credentials-section,
.why-choose-us-section,
.about-cta-section {
    position: relative;
    overflow: hidden;
}

/* Background Pattern Overlays */
.our-story-section::before,
.mission-values-section::before,
.credentials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(203, 162, 125, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(242, 236, 228, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Hover Effects for Interactive Elements */
.about-hero-section a:hover,
.about-cta-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Focus States for Accessibility */
.about-hero-section a:focus,
.team-section a:focus,
.about-cta-section a:focus {
    outline: 3px solid #CBA27D;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .about-hero-section,
    .team-section,
    .about-cta-section {
        background: white !important;
        color: black !important;
    }
    
    .neural-network-bg {
        display: none !important;
    }
    
    .animate-pulse {
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .team-member-card,
    .credential-card,
    .about-hero-section .bg-white,
    .mission-values-section .bg-white {
        border: 2px solid currentColor;
    }
    
    .about-hero-section .text-white,
    .team-section .text-white,
    .about-cta-section .text-white {
        font-weight: bold;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .neural-network-bg,
    .team-member-card,
    .credential-card,
    .about-hero-section,
    .about-cta-section {
        animation: none !important;
    }
    
    .team-member-card:hover,
    .credential-card:hover,
    .why-choose-us-section .flex:hover {
        transform: none !important;
    }
}

/* Loading States */
.about-us-main {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Custom Scrollbar for Timeline */
.our-story-section .space-y-8::-webkit-scrollbar {
    width: 4px;
}

.our-story-section .space-y-8::-webkit-scrollbar-track {
    background: rgba(203, 162, 125, 0.1);
}

.our-story-section .space-y-8::-webkit-scrollbar-thumb {
    background: #CBA27D;
    border-radius: 2px;
}

/* Enhanced Typography */
.our-story-section h3,
.mission-values-section h2,
.team-section h2,
.credentials-section h2,
.why-choose-us-section h2,
.about-cta-section h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Gradient Text Effects */
.about-hero-section .text-6xl,
.about-cta-section .text-6xl {
    background: linear-gradient(135deg, #fff 0%, #F2ECE4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
.our-story-section,
.mission-values-section,
.team-section,
.credentials-section,
.why-choose-us-section {
    scroll-margin-top: 100px;
} 