/***
=============================================
    Our Capabilities page
=============================================
***/

.breadcrumb-style1-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 14, 23, 0.8);
    z-index: -1;
}

.dgs-cap-section {
    position: relative;
    display: block;
    padding: 110px 0;
}

.dgs-cap-section--alt {
    background-color: #f5f6f8;
}

.dgs-cap-section .sec-title h2 {
    color: var(--thm-black);
}

.dgs-cap-section .sec-title p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--thm-gray);
    font-size: 17px;
    line-height: 1.7;
}

.dgs-cap-section .sec-title:not(.text-center) p {
    margin-left: 0;
}

/* ---- Capability cards ---- */
.dgs-cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dgs-cap-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 26px 28px;
    background: #ffffff;
    border: 1px solid rgba(23, 51, 74, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 40px -30px rgba(23, 51, 74, 0.45);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.dgs-cap-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--thm-base-rgb), 0.5);
    box-shadow: 0 28px 50px -28px rgba(23, 51, 74, 0.5);
}

.dgs-cap-card__tag {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(var(--thm-base-rgb), 0.12);
    color: var(--thm-base);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dgs-cap-card h3 {
    margin: 0 0 10px;
    color: var(--thm-black);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.dgs-cap-card p {
    margin: 0;
    color: var(--thm-gray);
    font-size: 15px;
    line-height: 1.65;
}

/* ---- What we deliver ---- */
.dgs-deliver__img {
    position: relative;
    height: 100%;
    min-height: 460px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.dgs-deliver__img-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 18px 22px;
    max-width: 260px;
    background: var(--thm-black);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
}

.dgs-deliver__img-badge strong {
    display: block;
    color: var(--thm-base);
    font-size: 26px;
    line-height: 1.2;
}

.dgs-deliver__content {
    padding-left: 40px;
}

.dgs-deliver__content .sec-title {
    padding-bottom: 30px;
}

.dgs-deliver__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dgs-deliver__list li {
    position: relative;
    padding-left: 34px;
    color: var(--thm-black);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.dgs-deliver__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--thm-base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---- Industries ---- */
.dgs-cap-industries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.dgs-cap-industry {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
}

.dgs-cap-industry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.dgs-cap-industry:hover img {
    transform: scale(1.07);
}

.dgs-cap-industry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 13, 38, 0) 40%, rgba(11, 13, 38, 0.88) 100%);
}

.dgs-cap-industry span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

/* ---- Approach ---- */
.dgs-cap-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dgs-cap-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed rgba(var(--thm-base-rgb), 0.55);
}

.dgs-cap-step {
    position: relative;
    text-align: center;
}

.dgs-cap-step__num {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--thm-base);
    box-shadow: 0 0 0 8px rgba(var(--thm-base-rgb), 0.1);
    color: var(--thm-black);
    font-size: 24px;
    font-weight: 800;
}

.dgs-cap-step h3 {
    margin: 0 0 10px;
    color: var(--thm-black);
    font-size: 22px;
    font-weight: 700;
}

.dgs-cap-step p {
    max-width: 260px;
    margin: 0 auto;
    color: var(--thm-gray);
    font-size: 15px;
    line-height: 1.65;
}

/* ---- Why Delta ---- */
.dgs-cap-why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dgs-cap-why__item {
    padding: 34px 28px;
    background: #ffffff;
    border: 1px solid rgba(23, 51, 74, 0.08);
    border-top: 3px solid var(--thm-base);
    border-radius: 14px;
    box-shadow: 0 22px 45px -28px rgba(23, 51, 74, 0.35);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.dgs-cap-why__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 55px -28px rgba(23, 51, 74, 0.45);
}

.dgs-cap-why__item h3 {
    margin: 0 0 12px;
    color: var(--thm-black);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.dgs-cap-why__item p {
    margin: 0;
    color: var(--thm-gray);
    font-size: 15px;
    line-height: 1.7;
}

.dgs-cap-section--dark {
    background-color: #ffffff;
}

.dgs-cap-section--dark .sec-title h2 {
    color: var(--thm-black);
}

.dgs-cap-section--dark .sec-title p {
    color: var(--thm-gray);
}

/* ---- CTA ---- */
.dgs-cap-cta {
    padding: 0 0 10px;
    background-color: #0b0d26;
}

.dgs-cap-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 56px;
    border-radius: 18px;
    background: linear-gradient(120deg, var(--thm-base) 0%, #a87a35 100%);
}

.dgs-cap-cta__box h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.dgs-cap-cta__box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
}

.dgs-cap-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.dgs-cap-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 30px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--thm-black);
    font-size: 17px;
    font-weight: 700;
    transition: background 200ms ease, color 200ms ease;
}

.dgs-cap-cta__btn:hover {
    background: var(--thm-black);
    color: #ffffff;
}

.dgs-cap-cta__btn--ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.dgs-cap-cta__btn--ghost:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--thm-black);
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1199px) {
    .dgs-cap-grid,
    .dgs-cap-why {
        grid-template-columns: repeat(2, 1fr);
    }

    .dgs-cap-industries {
        grid-template-columns: repeat(3, 1fr);
    }

    .dgs-cap-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (max-width: 991px) {
    .dgs-cap-section {
        padding: 80px 0;
    }

    .dgs-deliver__img {
        min-height: 340px;
        margin-bottom: 40px;
    }

    .dgs-deliver__content {
        padding-left: 0;
    }

    .dgs-cap-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

    .dgs-cap-steps::before {
        display: none;
    }

    .dgs-cap-cta {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    .dgs-cap-grid,
    .dgs-cap-why,
    .dgs-deliver__list,
    .dgs-cap-steps {
        grid-template-columns: 1fr;
    }

    .dgs-cap-industries {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dgs-cap-industry span {
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-size: 15px;
    }

    .dgs-cap-cta__box {
        padding: 36px 24px;
    }

    .dgs-cap-cta__box h2 {
        font-size: 28px;
    }

    .dgs-cap-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .dgs-cap-cta__btns {
        width: 100%;
    }
}
