/* About Page Styles */

/* General Section Styles */
.section {
    padding: 5rem 0;
}

.section.alt-bg {
    background-color: #f9f9f9;
}

.section-heading {
    margin-bottom: 3rem;
}

.section-heading.centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-heading p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.heading-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
}

.section-heading h2 + .heading-underline {
    margin-top: 0.5rem;
}

/* Hero Section */
.about-hero {
    position: relative;
    background: url('../images/about/about-hero.jpg') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Our Story Section */
.story-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.story-image {
    flex: 1;
    max-width: 500px;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.story-text {
    flex: 1;
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.story-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.story-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
}

/* Mission Section */
.mission-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mission-text {
    flex: 1;
}

.mission-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.mission-text > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

.mission-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.point-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.point-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.mission-image {
    flex: 1;
    max-width: 500px;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px 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 25px rgba(0,0,0,0.1);
}

.member-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 150%; /* Maintains aspect ratio close to original proportions */
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Focus on face/upper body */
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    gap: 0.8rem;
}

.member-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
}

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

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Work With Us Section */
.work-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.work-text {
    flex: 1;
}

.work-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.work-text > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

.work-options {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.work-option h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-option h4 i {
    color: var(--primary-color);
}

.work-option p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.work-image {
    flex: 1;
    max-width: 500px;
}

.work-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.work-cta {
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
}

.testimonial-content {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-quote {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.5;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #333;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #666;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* CTA Section */
.about-cta {
    background: url('../images/about/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
    text-align: center;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .story-content, 
    .mission-content, 
    .work-content {
        flex-direction: column;
    }
    
    .story-image, 
    .mission-image, 
    .work-image {
        max-width: 100%;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .section-heading h2,
    .mission-text h2,
    .work-text h2,
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .about-hero {
        padding: 6rem 0;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .story-text h3 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .mission-point {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
}
