/* About Page Styles */

/* Hero Sections */
.about-hero,
.team-hero,
.history-hero,
.mission-hero,
.values-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
}

.about-title,
.team-title,
.history-title,
.mission-title,
.values-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-subtitle,
.team-subtitle,
.history-subtitle,
.mission-subtitle,
.values-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* About Image */
.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border-radius: 10px;
    z-index: -1;
}

/* Company Story */
.company-story {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.company-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

/* Company Values */
.company-values {
    padding: 80px 0;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-card.large {
    padding: 3rem;
    text-align: left;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.value-card.large .value-icon {
    margin: 0 0 1.5rem 0;
}

.value-card h4,
.value-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.value-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.value-content ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.value-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Members */
.team-preview,
.team-grid {
    padding: 80px 0;
}

.team-member-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-photo {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-member-card:not(.detailed) .member-photo {
    height: 200px;
    padding: 1rem;
}

.team-member-card:not(.detailed) .member-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.team-member-card.detailed .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-photo:hover .member-overlay {
    opacity: 1;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h5,
.member-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
    right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 55%;
    right: 0;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-marker.active {
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.3);
}

.timeline-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Achievements */
.achievements {
    padding: 80px 0;
}

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Mission & Vision */
.mission-section,
.vision-section {
    padding: 80px 0;
}

.vision-section {
    background-color: var(--light-bg);
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission-content h2,
.vision-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.mission-points {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.mission-points li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 2rem;
}

.mission-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.vision-goals {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.goal-item i {
    color: var(--primary-color);
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Values in Action */
.values-action {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Call to Action */
.about-cta,
.join-team {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.about-cta h2,
.join-team h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* CTA buttons inherit spacing but styles from components/button.css */
.cta-buttons .btn {
    margin: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-title,
    .team-title,
    .history-title,
    .mission-title,
    .values-title {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 50px;
        right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .vision-goals {
        flex-direction: column;
        gap: 1rem;
    }
    
    .goal-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .mission-content h2,
    .vision-content h2 {
        font-size: 2rem;
    }
    
    .about-cta h2,
    .join-team h2 {
        font-size: 2rem;
    }
}
