/* About Page Styles - Zamzoola Brand - Black Theme */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
    margin-top: 80px;
    /* Account for fixed header */
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.about-text {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-text p:hover {
    color: var(--white);
    transform: translateX(10px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    animation: stats-shimmer 3s infinite;
}

@keyframes stats-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
    animation: counter-pulse 2s ease-in-out infinite;
}

@keyframes counter-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.stat-label {
    color: var(--gray-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.team-section {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

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

.team-grid.single-member {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 3rem auto 0;
}

.team-member.featured {
    padding: 3rem;
    text-align: center;
}

.member-expertise {
    margin-top: 2rem;
    text-align: left;
}

.member-expertise h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.expertise-tag {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

.expertise-tag:hover::before {
    left: 100%;
}

.team-member {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.05), rgba(6, 182, 212, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 68, 68, 0.3);
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.team-member:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.team-member:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.5);
}

.team-member:hover .member-avatar::before {
    width: 100%;
    height: 100%;
}

.member-name {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.member-role {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.member-bio {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.values-section {
    margin-top: 5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 4rem 0;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.value-item {
    text-align: center;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.value-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--accent-cyan) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
    animation: icon-rotate 10s linear infinite;
}

@keyframes icon-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.5);
    animation-play-state: paused;
}

.value-item h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-item p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .value-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}