/* Service Capabilities Page Styles - Light Theme */

.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-page);
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(10, 22, 40, 0.75), rgba(10, 22, 40, 0.9)),
        url('../../images/banner.png') center center / cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 2px;
    margin-bottom: 32px;
    font-weight: 600;
    border-left: 3px solid var(--primary);
    color: var(--primary-light);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -1px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.page-hero h1 span:last-child {
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

.hero-label.revealed,
.page-hero h1.revealed,
.hero-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Header (shared) ===== */
.section-header {
    text-align: center;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-title);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ===== Core Capabilities ===== */
.capabilities-section {
    background: var(--bg-surface);
    padding: 100px 0;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.cap-card {
    background: var(--bg-page);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 40px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.cap-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cap-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.cap-card.revealed:hover {
    transform: translateY(-4px);
}

.cap-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.cap-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cap-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 12px;
}

.cap-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}

.cap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cap-tags span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 12px;
    border-radius: 2px;
}

/* ===== Technology Ecosystem ===== */
.tech-section {
    background: var(--bg-page);
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.tech-category {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.tech-category.revealed {
    opacity: 1;
    transform: translateY(0);
}

.tech-category h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    background: var(--bg-page);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 16px;
    border-radius: 2px;
}

/* ===== Delivery Approach ===== */
.approach-section {
    background: var(--bg-surface);
    padding: 100px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
}

.approach-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(to right, var(--primary), rgba(59, 130, 246, 0.2));
    z-index: 0;
}

.approach-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.approach-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.approach-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 20px 70px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .capabilities-section {
        padding: 60px 20px;
    }

    .tech-section {
        padding: 60px 20px;
    }

    .approach-section {
        padding: 60px 20px;
    }

    .cap-card {
        padding: 28px 20px;
        text-align: center;
    }

    .cap-icon {
        margin: 0 auto 24px;
    }

    .tech-category {
        padding: 24px 16px;
        text-align: center;
    }

    .cap-tags, .tech-tags {
        justify-content: center;
    }

    .cap-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }
}
