/* ===== ABOUT PAGE STYLES ===== */

/* Page Header */
.about-header {
    background: linear-gradient(rgba(42, 157, 143, 0.9), rgba(42, 157, 143, 0.8)),
                url('../images/photo-1559599189-fe84dea4eb79.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0 100px;
    margin-top: 80px;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Our Story */
.our-story {
    padding: 100px 0;
    background-color: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text {
    padding-right: 40px;
}

.story-text .section-title {
    margin-bottom: 30px;
    text-align: left;
}

.story-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.story-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Our Values */
.our-values {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-top: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-color);
    color: white;
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.value-description {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Timeline */
.timeline-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 40px;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-date {
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 400px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: translateY(-50%) rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.timeline-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-photo {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.member-bio {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sustainability */
.sustainability-section {
    padding: 100px 0;
    background-color: var(--white);
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sustainability-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.sustainability-image:hover img {
    transform: scale(1.02);
}

.sustainability-text .section-title {
    margin-bottom: 30px;
    text-align: left;
}

.sustainability-text > p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.sustainability-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature i {
    width: 60px;
    height: 60px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.about-testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial-content i.fa-quote-left {
    font-size: 3rem;
    color: rgba(42, 157, 143, 0.2);
    margin-bottom: 30px;
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-role {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--primary-color);
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    min-width: 180px;
}

.cta-buttons .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 1rem;
    outline: none;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    padding: 15px 30px;
    white-space: nowrap;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .story-content,
    .sustainability-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 3rem;
    }
    
    .story-content,
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-text {
        padding-right: 0;
    }
    
    .story-text .section-title,
    .sustainability-text .section-title {
        text-align: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-date {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        margin-right: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        margin-left: 80px;
        margin-right: 0;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .testimonial-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .about-header {
        padding: 100px 0 80px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .slider-controls {
        gap: 20px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}