/* About Us Page Styles */

/* Hero Section */
.hero-section {
    background-color: #0a2540;
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

/* Section Styles */
.section-content {
    margin-bottom: 70px;
}

.section-content h2 {
    color: #0a2540;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-content h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d00;
    margin: 15px auto 0;
}

/* Mission Section */
.mission-statement {
    font-size: 1.4rem;
    color: #0a2540;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.mission-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #4a5568;
}

/* Story Timeline */
.story-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.story-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d00;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.timeline-image {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.03);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #4a5568;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 15px;
}

.value-card p {
    color: #4a5568;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.member-photo {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    aspect-ratio: 1/1;
    border-radius: 8px 8px 0 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    aspect-ratio: 1/1;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.team-member h3 {
    color: #0a2540;
    margin: 20px 20px 5px;
}

.member-title {
    color: #d00;
    font-weight: 600;
    margin: 0 20px 10px;
}

.member-bio {
    color: #4a5568;
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* Investors Section */
.investors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.investor-logo {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.investor-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Careers Section */
.careers-section {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 70px;
}

.careers-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #4a5568;
    line-height: 1.6;
}

.careers-cta {
    margin-top: 30px;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #4a5568;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-method {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
}

.contact-method h3 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-method p {
    margin: 0;
}

.contact-method a {
    color: #d00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #aa0000;
    text-decoration: underline;
}

.contact-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    background-color: #d00;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #aa0000;
}

.cta-button.secondary {
    background-color: #0a2540;
}

.cta-button.secondary:hover {
    background-color: #0d3158;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.4rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .mission-statement {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .story-timeline:before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: 80%;
        margin-left: 40px !important;
    }
    
    .timeline-image img {
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    
    .team-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        flex-direction: column;
    }
    
    .contact-method {
        width: 100%;
    }
    
    .contact-cta {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-content h2 {
        font-size: 1.8rem;
    }
}

/* Create placeholder directories for images */
.member-photo img[src*="placeholder.png"],
.investor-logo img[src*="placeholder.png"] {
    background-color: #e0e0e0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 14px;
}
