/* about.css - Specific styles for About page */

/* About Hero Section */
.page-hero {
    background: linear-gradient(rgba(26, 95, 156, 0.8), rgba(13, 59, 102, 0.9)), 
                url('../images/about-hero.jpg') center/cover no-repeat;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
    color: #ffffff;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: #ffffff;
}

/* About Section Header */
.about .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.about .section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.about .section-header h2 span {
    color: var(--primary-orange);
}

.about .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
}

.about .section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 40px 0;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.story-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: translateY(-5px);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

/* Mission Section */
.mission-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dots-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.mission-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--primary-orange);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
}

.mission-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.mission-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Values List Styling */
.values-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.values-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.values-list li i {
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 1.1rem;
}

/* Approach Section */
.approach-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: var(--white);
    padding: 2.5rem 2rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--primary-blue);
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.approach-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: bold;
    color: var(--light-orange);
    line-height: 1;
    opacity: 0.7;
}

.approach-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    padding-right: 2rem;
}

.approach-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Team Section */
.team-preview-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

/* Timeline Section */
.milestones-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-orange);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: 100%;
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--light-gray) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: 100%;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--light-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--light-gray) transparent transparent;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .mission-grid, .approach-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card, .approach-card {
        padding: 2rem 1.5rem;
    }
    
    .timeline-year {
        padding: 0.5rem 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .about .section-header h2 {
        font-size: 1.8rem;
    }
    
    .story-content p {
        font-size: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-year {
        left: 20px;
        padding: 0.5rem;
    }
}