/* About Us Page Specific Styles */
/* Purpose: Styling for the About Us page with modern AI-themed design */
/* Author: Minds4AI Development Team */
/* Last Modified: 2024 */

/* Page Header Section */
.about-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.about-header::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.5;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumbs a {
    color: #8f4ff0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #100d28;
}

.separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.current {
    color: #1a202c;
    font-weight: 500;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.about-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* AI Pattern Background */
.ai-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.pattern-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: pulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.pattern-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    left: var(--start-x);
    top: var(--start-y);
    width: calc(sqrt(pow(var(--end-x) - var(--start-x), 2) + pow(var(--end-y) - var(--start-y), 2)) * 1%);
    transform-origin: left center;
    animation: lineGlow 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 2rem;
}

.mission-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    color: white;
    transform: translateX(10px);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #8f4ff0;
    transition: color 0.3s ease;
}

.highlight-item:hover i {
    color: white;
}

/* Innovation Graphic */
.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.innovation-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
    z-index: 2;
}

.central-hub i {
    font-size: 2rem;
    color: white;
}

.connection-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #8f4ff0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle)));
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--angle) / 72 * 1s);
}

.connection-point i {
    font-size: 1.2rem;
    color: #8f4ff0;
}

.connection-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, #8f4ff0, transparent);
    transform: translate(-50%, -100%);
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle))) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle))) translateY(-10px);
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #f8fafc;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #100d28, #8f4ff0);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Journey Timeline Section */
.journey-section {
    padding: 80px 0;
    background: white;
}

.journey-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #100d28, #8f4ff0);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: white;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: white;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8fafc;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

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

.avatar-placeholder i {
    font-size: 2.5rem;
    color: white;
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.role {
    color: #8f4ff0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tagline {
    color: #64748b;
    font-style: italic;
    font-size: 0.9rem;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-point:hover {
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    color: white;
    transform: translateX(10px);
}

.why-point i {
    font-size: 1.5rem;
    color: #8f4ff0;
    transition: color 0.3s ease;
}

.why-point:hover i {
    color: white;
}

.why-point span {
    font-weight: 500;
}

/* Review Carousel */
.review-carousel {
    position: relative;
}

.review-track {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 4px solid #8f4ff0;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author strong {
    display: block;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: #64748b;
    font-size: 0.9rem;
}

.review-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    transform: scale(1.2);
}

/* Bottom CTA Section */
.bottom-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        #000000 0%, 
        #100d28 70%, 
        #3d0e82 99%, 
        #3d0e82 100%);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bottom-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #100d28, #8f4ff0);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cta-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatCTA 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
}

@keyframes floatCTA {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(5deg);
    }
    66% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header {
        padding: 100px 0 60px;
    }
    
    .about-header h1 {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .innovation-graphic {
        width: 250px;
        height: 250px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .timeline-content::before {
        left: -20px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bottom-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .mission-text h2,
    .values-section h2,
    .journey-section h2,
    .team-section h2,
    .why-choose-section h2,
    .bottom-cta h2 {
        font-size: 1.8rem;
    }
    
    .value-card,
    .team-card {
        padding: 2rem 1.5rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon i {
        font-size: 1rem;
    }
}