/* =====================================================================
   About Us Page Specific Styles
   ===================================================================== */

/* Hero Section */
.about-hero {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-2xl);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{{ image_url("/images/Best-fakeid-headquarters.jpg") }}') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hero-btn::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;
}

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

.hero-btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--primary-color);
}

.hero-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--gold-accent);
}

.hero-btn-outline:hover {
    background: var(--gradient-gold);
    color: var(--primary-color);
    border-color: var(--gold-accent);
}

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: 0 var(--space-lg) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--gold-accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
    display: block;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Story Section */
.story-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.story-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.story-feature {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.story-feature:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-accent);
}

.story-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--primary-color);
    flex-shrink: 0;
}

.facts-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
}

.facts-box h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facts-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.facts-list li i {
    color: var(--gold-accent);
    font-size: var(--text-lg);
}

/* Timeline Section */
.timeline-section {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
}

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

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

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--gold-accent);
    border-radius: var(--radius-full);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-primary), 0 0 20px rgba(212, 175, 55, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    width: calc(50% - 40px);
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
    position: relative;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--border-color);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--border-color);
    transform: translateY(-50%);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.timeline-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.value-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: var(--text-3xl);
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-gold);
}

.value-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 4s infinite;
}

.value-item h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: var(--space-md);
    font-size: var(--text-xl);
    position: relative;
    z-index: 1;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Team Section */
.team-section {
    background: rgba(255, 255, 255, 0.02);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.6s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: var(--text-5xl);
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-gold);
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-name {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    font-size: var(--text-xl);
}

.member-position {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
}

.member-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-3xl) 0;
}

.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    border: none;
    padding: var(--space-lg) var(--space-xl);
    font-weight: 600;
    box-shadow: none;
    position: relative;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-primary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

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

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.cta-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text-lg);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.cta-btn::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;
}

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

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--primary-color);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .about-hero {
        padding: var(--space-2xl) 0;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-section {
        margin: 0 var(--space-sm) var(--space-xl);
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
    
    .story-content {
        padding: var(--space-lg);
    }
    
    .story-feature {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 40px;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .value-item,
    .team-member {
        padding: var(--space-lg);
    }
    
    .value-icon,
    .member-photo {
        width: 60px;
        height: 60px;
        font-size: var(--text-2xl);
    }
    
    .cta-title {
        font-size: var(--text-3xl);
    }
    
    .cta-description {
        font-size: var(--text-lg);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .stat-number {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .timeline-content {
        padding: var(--space-md);
    }
    
    .value-item,
    .team-member {
        padding: var(--space-md);
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .value-item,
    .team-member,
    .story-content,
    .timeline-content,
    .hero-btn,
    .cta-btn {
        transition: none;
        animation: none;
    }
}

.value-item:focus-within,
.team-member:focus-within,
.story-content:focus-within {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .about-hero,
    .cta-section {
        background: white;
        color: black;
    }
    
    .value-item,
    .team-member,
    .story-content {
        border: 1px solid #000;
        background: white;
        break-inside: avoid;
    }
    
    .section-title {
        color: #000;
    }
}