/* About page specific styles */

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.about-intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-intro span {
    color: var(--secondary-color);
}

.why-join-us,
.our-story,
.testimonials {
    margin-bottom: 80px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-list li {
    background-color: rgba(0, 255, 0, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
}

.feature-list i {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.story-image {
    flex: 1;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.story-text {
    flex: 1;
}

/* Newsletter form specific to home page */
.newsletter-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-form input {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

.newsletter-form button {
    width: 100%;
    max-width: 300px;
}


/* Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 40px);
    margin: 0 20px;
    background-color: rgba(0, 255, 0, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid var(--secondary-color);
}

.testimonial-card h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.job-title {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
}

blockquote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
    position: relative;
}

blockquote i {
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
}

blockquote i.fa-quote-left {
    top: -10px;
    left: -10px;
}

blockquote i.fa-quote-right {
    bottom: -10px;
    right: -10px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-color);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

.join-cta {
    text-align: center;
    background-color: rgba(0, 255, 0, 0.05);
    padding: 60px;
    border-radius: 10px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
    }

    .story-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 40px);
    }
    
}