.deliver-section {
    width: 100%;
    min-height: 100vh;
    padding: 70px 6.5% 80px;
    overflow: hidden;
    background: #ffffff;
    color: #09245f;
}


/* HEADING */

.deliver-heading {
    margin-bottom: 42px;
}

.deliver-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.deliver-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff943d;
}

.deliver-small-title {
    margin-bottom: 13px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.deliver-heading h2 {
    margin: 0;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.08;
    font-weight: 700;
}

.deliver-heading h2 span {
    display: block;
    color: #ff923c;
}


/* CARDS */

.deliver-cards {
    display: flex;
    width: 100%;
    height: 610px;
    gap: 8px;
    overflow: hidden;
}


/* CARD */

.deliver-card {
    position: relative;

    flex: 0.68;
    min-width: 0;
    height: 100%;

    /* border: 7px solid #d8d5d5; */

    background-image: var(--card-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    overflow: hidden;
    cursor: pointer;

    transition:
        flex 0.65s cubic-bezier(.22, .61, .36, 1);
}

.deliver-card.active {
    flex: 1.8;
}


/* OVERLAY */

.deliver-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 45%,
            rgba(0, 0, 0, 0.06) 100%
        );

    z-index: 1;
    pointer-events: none;
}


/* NUMBER */

.deliver-number {
    position: absolute;

    top: 48px;
    right: 28px;

    z-index: 20;

    font-size: 11px;
    font-weight: 700;

    color: #09245f;

    transition:
        top 0.4s ease,
        right 0.4s ease;
}

.deliver-card.active .deliver-number {
    top: 50px;
    right: 52px;
}


/* ICON */

.deliver-icon {
    position: absolute;

    top: 42px;
    left: 40px;

    z-index: 20;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.deliver-icon img {
    display: block;
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.deliver-card.active .deliver-icon {
    top: 52px;
    left: 42px;
    opacity: 1;
}


/* CONTENT */

.deliver-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    min-height: 115px;

    padding: 20px 16px;

    background: rgba(255, 255, 255, 0.98);

    z-index: 7;

    transition:
        left 0.5s ease,
        right 0.5s ease,
        top 0.5s ease,
        padding 0.5s ease;
}


/* YOUR FINAL ACTIVE PANEL VALUES */

.deliver-card.active .deliver-content {
    top: 335px;
    left: 21px;
    right: 36px;
    bottom: 15px;

    padding: 10px 25px 25px;

    background: #ffffff;
}


/* TITLE */

.deliver-content h3 {
    margin: 0;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;

    color: #09245f;
}

.deliver-card.active .deliver-content h3 {
    margin-bottom: 18px;

    font-size: 24px;
    line-height: 1.2;
}


/* DESCRIPTION */

.deliver-description {
    max-height: 0;

    margin: 0;

    opacity: 0;
    overflow: hidden;

    font-size: 18px;
    line-height: 1.65;

    color: #09245f;

    transform: translateY(15px);

    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        max-height 0.5s ease;
}

.deliver-card.active .deliver-description {
    max-height: 180px;

    opacity: 1;

    transform: translateY(0);
}


/* LINK */

.deliver-link {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    width: 145px;

    margin-top: 20px;
    padding: 10px 14px;

    border-radius: 30px;

    background: #ff923c;
    color: #09245f;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.deliver-card.active .deliver-link {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.deliver-link span {
    font-size: 17px;
}


/* TOGGLE */

.deliver-toggle {
    position: absolute;

    top: 0;
    right: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;

    background: #08255f;
    color: #ffffff;

    font-size: 20px;
    line-height: 1;

    z-index: 30;

    cursor: pointer;
}

.deliver-card.active .deliver-toggle {
    background: #ff923c;
}

.deliver-toggle .minus {
    display: none;
}

.deliver-card.active .deliver-toggle .plus {
    display: none;
}

.deliver-card.active .deliver-toggle .minus {
    display: block;
}
/* ======================================================
   LAPTOP - keep the CTA inside the content panel
====================================================== */

@media (min-width: 1101px) and (max-width: 1600px) {

    /* let the active panel grow to fit title + description + button
       instead of being pinned to a fixed top */
    .deliver-card.active .deliver-content {
        top: auto;
        max-height: 68%;
        overflow-y: auto;
        padding-bottom: 22px;
    }

    /* tighten spacing so everything fits without scrolling on most laptops */
    .deliver-card.active .deliver-content h3 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .deliver-description {
        font-size: 16px;
        line-height: 1.55;
    }

    .deliver-link {
        margin-top: 16px;
    }
}

/* TABLET */

@media (max-width: 1100px) {

    .deliver-section {
        padding-left: 35px;
        padding-right: 35px;
    }

    .deliver-cards {
        height: 560px;
    }

    .deliver-card {
        flex: 0.72;
    }

    .deliver-card.active {
        flex: 1.65;
    }

    .deliver-card.active .deliver-content {
        padding-top: 260px;
    }
}

/* ======================================================
   MOBILE - WHAT WE DELIVER
====================================================== */
/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {

    .deliver-section {
        padding: 45px 18px 60px;
        overflow: visible;
    }

    .deliver-heading {
        margin-bottom: 30px;
    }


    /* CARDS CONTAINER */

    .deliver-cards {
        display: flex;
        flex-direction: column;

        width: 100%;
        height: auto;

        gap: 10px;

        overflow: visible;
    }


    /* NORMAL CARD */

    .deliver-card {
        position: relative;

        flex: none;

        width: 100%;
        height: 250px;

        overflow: hidden;

        transition:
            height 0.55s
            cubic-bezier(.22, .61, .36, 1);
    }


    /* EXPANDED CARD */

    .deliver-card.active {
        flex: none;

        height: 620px;

        z-index: 5;
    }


    /* ACTIVE CONTENT PANEL */

    .deliver-card.active .deliver-content {
        top: 20px;
        left: 15px;
        right: 20px;
        bottom: 15px;

        min-height: 0;

        padding:
            270px
            20px
            25px;

        overflow: visible;

        background: #ffffff;
    }


    /* TITLE */

    .deliver-card.active .deliver-content h3 {
        margin: 0 0 14px;

        font-size: 20px;
        line-height: 1.3;
    }


    /* DESCRIPTION */

    .deliver-card.active .deliver-description {
        max-height: none;

        margin: 0;

        opacity: 1;

        overflow: visible;

        font-size: 16px;
        line-height: 1.6;

        transform: translateY(0);
    }


    /* CTA */

    .deliver-card.active .deliver-link {
        display: inline-flex;

        position: relative;

        margin-top: 20px;

        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        z-index: 10;
    }


    /* TOGGLE */

    .deliver-toggle {
        top: 0;
        right: 0;
    }


    .deliver-card.active .deliver-toggle {
        top: 0;
        right: 0;

        background: #ff923c;
    }
}