.services-hero {
    position: relative;
    min-height: 58vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 10%;
}

.services-hero-media,
.services-hero-media img,
.services-hero-overlay {
    position: absolute;
    inset: 0;
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.45));
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.services-hero-content h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.services-hero-content p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.88;
}

.services-section {
    padding: 85px 10%;
    text-align: center;
    background: #071a24;
}

.services-section > p {
    opacity: 0.76;
    margin-bottom: 38px;
}

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

.service-card {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 28px;
    text-align: left;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,140,0,0.45);
    box-shadow: 0 16px 35px rgba(0,0,0,0.35);
}

.service-card i {
    color: #ff8c00;
    font-size: 28px;
    margin-bottom: 18px;
}

.service-card h3 {
    margin: 0 0 10px;
}

.service-card p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.78;
}

.capability-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 85px 10%;
    background: #0b1c24;
}

.capability-text p {
    line-height: 1.7;
    opacity: 0.78;
    margin-bottom: 28px;
}

.capability-list {
    display: grid;
    gap: 16px;
}

.capability-list div {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 18px;
}

.capability-list span {
    color: #ff8c00;
    font-weight: 700;
}

@media(max-width: 768px) {
    .services-hero {
        min-height: auto;
        padding: 70px 5%;
        text-align: center;
    }

    .services-hero-content h1 {
        font-size: 32px;
    }

    .services-hero-content .hero-buttons {
        justify-content: center;
    }

    .services-section,
    .capability-section {
        padding: 65px 5%;
    }

    .capability-section {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .services-hero {
        min-height: 500px;
        padding: 64px 16px;
        justify-content: center;
    }

    .services-hero-overlay {
        background: rgba(0,0,0,0.72);
    }

    .services-hero-content h1 {
        font-size: 30px;
        line-height: 1.18;
    }

    .services-hero-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .services-hero-content .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .services-section,
    .capability-section {
        padding: 58px 16px;
    }

    .service-card {
        padding: 22px;
        border-radius: 8px;
    }

    .capability-list div {
        align-items: flex-start;
        padding: 16px;
        line-height: 1.45;
    }
}


/* ===== LIGHT PREMIUM SERVICES PAGE ===== */
.services-page {
    background: #f5fafc;
    color: #173243;
}

.services-hero {
    background: #dff1f7;
}

.services-hero-media img {
    filter: saturate(1.04) contrast(1.02) brightness(1.07);
}

.services-hero-overlay {
    background:
        linear-gradient(90deg, rgba(7,42,58,0.72), rgba(7,42,58,0.36), rgba(255,255,255,0.16)),
        linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(245,250,252,0.78) 100%);
}

.services-hero-content {
    color: #ffffff;
    text-shadow: 0 14px 30px rgba(4, 24, 34, 0.34);
}

.services-hero-content p {
    color: rgba(255,255,255,0.92);
    opacity: 1;
}

.services-section,
.capability-section {
    color: #173243;
    background:
        linear-gradient(135deg, #ffffff 0%, #edf8fc 52%, #fff6e7 100%);
}

.capability-section {
    border-top: 1px solid rgba(24, 92, 120, 0.1);
}

.services-section > p,
.capability-text p,
.service-card p {
    color: #617786;
    opacity: 1;
}

.service-card,
.capability-list div {
    color: #173243;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,252,254,0.96));
    border: 1px solid rgba(26, 122, 160, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 18px 42px rgba(25, 74, 96, 0.13);
}

.service-card:hover,
.capability-list div:hover {
    border-color: rgba(244, 166, 47, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        0 24px 52px rgba(24, 86, 116, 0.18),
        0 0 0 1px rgba(37,184,215,0.12);
}

.service-card i,
.capability-list span {
    color: #1678b8;
}

@media(max-width: 768px) {
    .services-hero-overlay {
        background:
            linear-gradient(180deg, rgba(7,42,58,0.56), rgba(7,42,58,0.42), rgba(245,250,252,0.68));
    }
}
