/* ================= HERO SECTION ================= */

.service-detail-hero {
    position: relative;

    padding: 160px 0 120px;

    background:
        linear-gradient(
            rgba(0,0,0,0.78),
            rgba(0,0,0,0.78)
        ),
        url('/assets/img/service-detail-hero-sec.jfif');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            rgba(212,160,23,0.12),
            transparent 70%
        );
}

.service-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: auto;

    text-align: center;
    color: #fff;
}

.page-tag,
.section-tag {
    display: inline-block;

    background: rgba(212,160,23,0.15);
    color: #d4a017;

    padding: 10px 24px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 25px;
}

.service-hero-content h1 {
    font-size: 62px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.service-hero-content p {
    color: #d8d8d8;
    line-height: 1.9;
    font-size: 17px;
}

/* ================= SERVICE DETAILS ================= */

.service-details-section {
    padding: 80px 0;
    background: #fff;
}

.service-details-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-detail-image,
.service-detail-content {
    flex: 1;
}

.service-detail-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);
}

.service-detail-content h2 {
    font-size: 48px;
    line-height: 1.3;
    color: #111;
    margin-bottom: 25px;
}

.service-detail-content p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* ================= FEATURES ================= */

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;

    margin: 20px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 24px;

    background: #f8f9fc;

    border-radius: 18px;

    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.08);
}

.feature-icon,
.capability-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    border-radius: 14px;

    background: #d4a017;
    color: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #111;
}

.feature-box p {
    margin: 0;
    line-height: 1.7;
}

/* ================= CAPABILITIES ================= */

.capabilities-section {
    padding: 100px 0;
    background: #f8f9fc;
}

.section-title {
    text-align: center;

    max-width: 800px;
    margin: auto auto 70px;
}

.section-title h2 {
    font-size: 48px;
    color: #111;

    margin-bottom: 20px;
}

.section-title p {
    color: #666;
    line-height: 1.9;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.capability-card {
    background: #fff;

    padding: 35px 28px;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);

    transition: 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
}

.capability-icon {
    margin: auto auto 20px;
}

.capability-card h3 {
    font-size: 24px;
    margin-bottom: 15px;

    color: #111;
}

.capability-card p {
    color: #666;
    line-height: 1.8;
}

/* ================= CTA SECTION ================= */

.service-cta-section {
    padding: 100px 0;

    background:
        linear-gradient(
            rgba(0,0,0,0.8),
            rgba(0,0,0,0.8)
        ),
        url('/assets/img/CTA-bg.jfif');

    background-size: cover;
    background-position: center;

    text-align: center;
}

.cta-content {
    max-width: 850px;
    margin: auto;
}

.cta-content h2 {
    font-size: 52px;
    color: #fff;

    margin-bottom: 22px;
}

.cta-content p {
    color: #d8d8d8;
    line-height: 1.9;

    margin-bottom: 35px;
}

.cta-btn {
    display: inline-block;

    padding: 16px 38px;

    background: #d4a017;
    color: #111;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #fff;

    transform: translateY(-4px);
}

/* ================= RESPONSIVE ================= */

@media(max-width: 1100px) {

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width: 992px) {

    .service-details-wrapper {
        flex-direction: column;
    }

    .service-detail-content {
        text-align: center;
    }

    .service-hero-content h1,
    .service-detail-content h2,
    .section-title h2,
    .cta-content h2 {
        font-size: 42px;
    }

}

@media(max-width: 768px) {

    .service-detail-hero {
        padding: 130px 0 90px;

        background-attachment: scroll;
    }

    .service-features-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .service-hero-content h1,
    .service-detail-content h2,
    .section-title h2,
    .cta-content h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .service-detail-content {
        text-align: left;
    }

}

@media(max-width: 480px) {

    .service-detail-hero {
        padding: 110px 0 80px;
    }

    .page-tag,
    .section-tag {
        font-size: 12px;

        padding: 8px 18px;
    }

    .service-hero-content h1,
    .service-detail-content h2,
    .section-title h2,
    .cta-content h2 {
        font-size: 26px;
    }

    .service-hero-content p,
    .service-detail-content p,
    .section-title p,
    .cta-content p {
        font-size: 15px;
    }

    .feature-box,
    .capability-card {
        padding: 20px;
    }

}