/* About Us Page Styles */
.about-section {
    padding: 4rem 5%;
}

/* Who Are We Section */
.who-are-we {
    background-color: #8B1010;
    color: #f8f8f8;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    min-width: 300px;
    margin-right: 3rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Past Summers Projects Section */
.past-summers {
    background-color: #f8f8f8;
    text-align: center;
}

.past-summers h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.past-summers > p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.projects-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    width: 48%;
    margin-bottom: 2rem;
}

.project-image {
    width: 100%;
    height: 350px;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.03);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-caption {
    text-align: left;
    padding: 0.5rem 0;
}

.project-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.project-caption p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Join Section */
.why-join {
    background-color: #222222;
    color: white;
    text-align: center;
}

.why-join h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-join > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.video-container video {
    width: 100%;
    display: block;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 2rem auto;
}

.testimonial {
    width: 48%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
}

.testimonial blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    font-size: 0.9rem;
    opacity: 0.8;
}

.join-button {
    margin: 2rem auto;
    transition: transform 0.3s ease;
}

.join-button a {
    background-color: var(--beige);
    color: #222;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.join-button:hover {
    transform: scale(1.1);
}

.join-button a:hover {
    background-color: white;
    color: var(--primary-red);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-image {
        margin-right: 2rem;
    }
    
    .testimonial {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        margin-right: 0;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .project-item {
        width: 100%;
    }
    
    .about-content h2,
    .past-summers h2,
    .why-join h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 5%;
    }
    
    .about-content h2,
    .past-summers h2,
    .why-join h2 {
        font-size: 2rem;
    }
    
    .project-image {
        height: 250px;
    }
}