/* About Page Styles - Updated Banner */

/* Page Hero - Matching Inventory Banner */
.page-hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 70px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(51, 51, 51, 0.8) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.founder-image {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image.animated {
    opacity: 1;
    transform: translateX(0);
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
}

.founder-image:hover .experience-badge {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
}

.founder-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.founder-content .subtitle {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.founder-content h2 {
    font-size: 3rem;
    margin: 0.5rem 0 2rem;
    color: var(--primary-color);
}

.founder-content blockquote {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
    font-style: italic;
}

.founder-content blockquote p {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-color);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.value-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }
.value-card:nth-child(4) { transition-delay: 0.4s; }

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #e4c47a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }
.timeline-item:nth-child(5) { transition-delay: 0.5s; }

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #f0f0f0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(201, 169, 97, 0.2);
}

.timeline-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Capabilities Section */
.capabilities-section {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.capabilities-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capability {
    display: flex;
    gap: 1rem;
    align-items: start;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability.animated {
    opacity: 1;
    transform: translateX(0);
}

.capability:nth-child(1) { transition-delay: 0.1s; }
.capability:nth-child(2) { transition-delay: 0.15s; }
.capability:nth-child(3) { transition-delay: 0.2s; }
.capability:nth-child(4) { transition-delay: 0.25s; }
.capability:nth-child(5) { transition-delay: 0.3s; }
.capability:nth-child(6) { transition-delay: 0.35s; }

.capability i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.capability h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.capability p {
    color: var(--text-light);
    margin: 0;
}

.capabilities-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.stat-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }
.stat-card:nth-child(4) { transition-delay: 0.4s; }

.stat-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .experience-badge {
        position: static;
        margin: 2rem auto 0;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-stats {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 50px 0 30px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .founder-section {
        padding: 50px 0;
    }

    .founder-grid {
        gap: 2rem;
    }

    .founder-content h2 {
        font-size: 2rem;
    }

    .founder-content blockquote {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .founder-content blockquote p {
        font-size: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item .timeline-content {
        margin-left: 60px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .values-section {
        padding: 50px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .capabilities-section {
        padding: 50px 0;
    }

    .capabilities-content h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 25px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .founder-content h2 {
        font-size: 1.75rem;
    }

    .capabilities-content h2 {
        font-size: 1.75rem;
    }

    .capabilities-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline-item .timeline-content {
        margin-left: 50px !important;
    }
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}