/* About Page Specific Styles */

/* About Section */
.about-section {
    padding: 0rem 0;
    background: #0a0a0a;
}

.about-container {
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.about-text {
    text-align: center;
}

.about-intro {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-closing {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 2rem;
}

/* Team Section */
.team-section {
    min-height: 100vh;
    padding: 3rem 0 4rem 0;
    background: #0a0a0a;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

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

.team-member {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-image {
    position: relative;
    width: 260px;
    height: 350px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

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

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.team-info {
    max-width: 280px;
    margin: 0 auto;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.team-name .social-link {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Hero adjustments for about page */
.hero .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Mobile Optimizations */
@media screen and (max-width: 768px) {
    /* Prevent horizontal scrolling */
    * {
        max-width: 100vw;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* Use same mobile header as index */


    /* About section mobile */
    .about-section {
        padding: 2rem 0;
    }

    .about-container {
        height: auto;
        padding: 1rem 4rem;
        display: block;
    }

    .about-intro {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
        text-align: left;
    }

    .about-closing {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    /* Team section mobile */
    .team-section {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 0 2rem 0 !important;
        margin-top: 70px !important;
        display: block !important;
        position: relative !important;
        align-items: initial !important;
        justify-content: initial !important;
    }

    .team-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem !important;
        position: static !important;
        margin: 0 !important;
        display: block !important;
    }

    .team-grid {
        position: static !important;
        transform: none !important;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 3rem;
    }

    .team-image {
        width: 280px;
        height: 280px;
        margin: 0 auto 1.5rem;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* CTA section mobile */
    .cta {
        padding: 4rem 0;
    }

    .cta-container {
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .cta-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Footer mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    /* Hide Services footer section on mobile */
    .footer-section:nth-child(2) {
        display: none;
    }
}