/* =============================================
   ServiceNeeds — About Page Styles
   ============================================= */

/* ---- Story Section ---- */
.about-story {
    padding: var(--section-padding);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-text {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.story-visual {
    position: relative;
}

.story-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.story-img-wrap:hover img {
    transform: scale(1.04);
}

.story-year-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: var(--grad-primary);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: var(--shadow-primary);
    text-align: center;
}

.year-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.year-text {
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.85);
    margin-top: 4px;
    font-weight: 500;
}

/* ---- Values Section ---- */
.values-section {
    padding: var(--section-padding);
    background: var(--clr-dark-2);
}

.values-header {
    text-align: center;
    margin-bottom: 52px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--grad-card);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--clr-text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ---- About Stats ---- */
.about-stats {
    padding: 64px 0;
    background: var(--clr-dark);
}

.about-stats-inner {
    background: var(--grad-dark);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.about-stats-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
}

/* ---- Team Section ---- */
.team-section {
    padding: var(--section-padding);
    background: var(--clr-dark-2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.team-card {
    background: var(--grad-card);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-md);
}

.team-info h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--clr-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.team-info p {
    color: var(--clr-text-secondary);
    font-size: 0.83rem;
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-visual {
        max-width: 540px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 16px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .values-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari/Edge */
    }

    .value-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .team-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 16px;
        scrollbar-width: none;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .about-stats-inner {
        padding: 30px 20px;
    }
}

@media (max-width: 520px) {
    .about-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}