/* About Page Specific Styles */

.about-hero {
    padding: 140px 0 4rem;
    background: var( --hero-before-background);
    text-align: center;
}

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

/* Our Story */
.our-story {
    padding: 5rem 0;
    background: var(--white);
}

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

.story-content .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* Mission & Values */
.mission-values {
    padding: 5rem 0;
    background: var(--gray-50);
}

.mission-values .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

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

.value-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.value-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.team-section .section-subtitle {
    text-align: center;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.rounded-corners {
  border-radius: 50%; 
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-200);
}

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

.member-bio {
    color: var(--gray-500);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--gray-50);
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.testimonial-author {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* CTA */
.about-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.about-cta .cta-title {
    color: white;
}

.about-cta .cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .story-text {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .about-cta .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Gallery Styles */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-main);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    aspect-ratio: 630/130; /* Matches your screenshot dimensions */
    width: 100%;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    z-index: 10;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-panel-light);
    display: block;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-medium);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--bg-panel);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-panel);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--text-inverse);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-nav.prev {
        left: -20px;
    }
    
    .lightbox-nav.next {
        right: -20px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}