/* ===== DIGISES SUCCESS STORIES ===== */

.dg-success-section,
.dg-success-section * {
    box-sizing: border-box;
}

.dg-success-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 55px 0 50px;
    margin: 20px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(ellipse at 4% 8%, #0755ff 0%, transparent 34%),
        radial-gradient(ellipse at 95% 5%, #064cff 0%, transparent 32%),
        linear-gradient(115deg, #071a40 0%, #0b2b61 48%, #071735 100%);
    font-family: inherit;
}

.dg-success-wrap {
    width: min(1350px, calc(100% - 36px));
    margin: 0 auto;
}

/* Heading */

.dg-success-heading {
    text-align: center;
    margin-bottom: 30px;
}

.dg-success-brand {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 27px;
    margin-bottom: 8px;
    border-radius: 30px;
    background: #fff;
    color: #18305b;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.dg-success-heading h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 51px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.8px;
}

.dg-success-heading h2 span {
    /* background: linear-gradient(90deg, #1489ff, #00dcf4); */
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
}

.dg-success-heading > p {
    margin: 0;
    color: #d4e2fa;
    font-size: 17px;
    line-height: 1.7;
}

/* Main layout */

.dg-success-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 0.9fr;
    gap: 16px;
    align-items: stretch;
}

.dg-success-left,
.dg-success-right {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
}

/* General cards */

.dg-success-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 20px 20px;
    border: 1px solid #dce8fb;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #f0f5ff);
    color: #102044;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
}

.dg-success-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 45px;
    margin-bottom: 8px;
    border-radius: 7px;
    background: #e1edff;
    color: #176aff;
    font-size: 24px;
}

.dg-success-card-icon.pro{
    width: 92px;
    height: 62px;
    font-size: 37px;
    margin-right: 17px;
}

.dg-success-card h3 {
    margin: 0 0 2px;
    color: #102044;
    font-size: 43px;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -.7px;
}

.dg-success-card h4 {
    margin: 4px 0 5px;
    color: #17294a;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

.dg-success-card p {
    margin: 0;
    color: #5d6b83;
    font-size: 14px;
    line-height: 1.55;
}

/* Leads card */

.dg-success-leads {
    min-height: 164px;
}

.dg-success-trend {
    position: absolute;
    top: 16px;
    right: 14px;
    color: #b2d0ff;
    font-size: 45px;
}

.dg-success-leads > p {
    position: relative;
    z-index: 1;
    max-width: 230px;
}

.dg-success-bars {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
}

.dg-success-bars span {
    width: 8px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(#a8caff, #e3edff);
}

.dg-success-bars span:nth-child(1) { height: 19px; }
.dg-success-bars span:nth-child(2) { height: 25px; }
.dg-success-bars span:nth-child(3) { height: 32px; }
.dg-success-bars span:nth-child(4) { height: 39px; }
.dg-success-bars span:nth-child(5) { height: 45px; }

/* Trusted brands */

.dg-success-brands {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 110px;
    background: linear-gradient(130deg, #102e61, #071b3d);
    border-color: rgba(160, 194, 255, .2);
}

.dg-success-brand-copy h3 {
    color: #fff !important;
    font-size: 43px !important;
}

.dg-success-brand-copy h4 {
    color: #fff;
    font-size: 20px;
}

.dg-success-brand-copy p {
    color: #c9d7ee;
    font-size: 13px;
}

.dg-success-logos {
    display: grid;
    grid-template-columns: repeat(2, 65px);
    gap: 6px;
}

.dg-success-logo {
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #17315d;
    font-size: 8px;
    font-weight: 850;
    text-align: center;
}

.dg-success-logo img{
    border-radius: 50%;
}

.dg-logo-slam { color: #d52b43; font-style: italic; }
.dg-logo-bay { color: #0875bc; font-size: 6px; }
.dg-logo-r3 { font-size: 16px; }

.dg-logo-more {
    background: #233d65;
    color: #fff;
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
}

/* Center mentor card */

.dg-success-mentor {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    min-width: 0;
    min-height: 290px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 13px;
    background: linear-gradient(140deg, #fff, #eaf2ff);
    color: #102044;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}

.dg-success-mentor-photo {
    position: relative;
    min-width: 0;
    min-height: 290px;
    overflow: hidden;
    background: linear-gradient(145deg, #eef5ff, #c9e0ff);
}

.dg-success-mentor-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: multiply;
}

.dg-success-mentor-info {
    align-self: center;
    min-width: 0;
    padding: 16px 12px;
}

.dg-success-line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 12px 0;
    border-radius: 4px;
    background: #086aff;
}

.dg-success-divider {
    height: 1px;
    margin: 12px 0;
    background: #dce5f3;
}

.dg-success-team {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.dg-success-avatars {
    display: flex;
    padding-left: 17px;
}

.dg-success-avatars span {
    display: flex;
    width: 53px;
    height: 53px;
    align-items: center;
    justify-content: center;
    margin-left: -3px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #d7e8ff;
    color: #1659b7;
    font-size: 26px;
    font-weight: 800;
}

.dg-success-avatars span:nth-child(2) {
    background: #d8f2e9;
    color: #178268;
}

.dg-success-avatars span:nth-child(3) {
    background: #ffeadb;
    color: #a45b30;
}

.dg-success-avatars span:nth-child(4) {
    background: #145de3;
    color: #fff;
}

/* ROI card */

.dg-success-roi {
    position: relative;
    min-height: 164px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: #152d51;
}

.dg-success-roi > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dg-success-roi-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 0%), rgba(4, 18, 40, .68) 62%, rgba(4, 18, 40, .1));
}

.dg-success-roi-content {
    position: relative;
    z-index: 1;
    max-width: 200px;
    padding: 13px;
    left: 176px;
}

.dg-success-roi-icon {
    display: flex;
    width: 45px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    border-radius: 7px;
    background: #fff;
    color: #075dff;
    font-size: 22px;
}

.dg-success-roi-content h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 43px;
    line-height: 1.05;
    font-weight: 850;
}

.dg-success-roi-content h4 {
    margin: 4px 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}
.dg-success-projects h3 span{
    display: inline-block;
    font-size: 20px;
}

.dg-success-roi-content p {
    margin: 0;
    color: #e0eafa;
    font-size: 13px;
    line-height: 1.55;
}

/* Completed projects */

.dg-success-projects {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 24px 21px;
}

.dg-success-projects .dg-success-card-icon {
    margin-bottom: 7px;
}

.dg-success-projects h3 {
    font-size: 43px;
    line-height: 27px;
    margin: 0 0 14px;
    letter-spacing: 0;
}

.dg-success-projects h4 {
    font-size: 11px;
}

.dg-success-target {
    position: relative;
    flex-shrink: 0;
    color: #c7dcff;
    font-size: 42px;
}

.dg-success-target .fa-arrow-up {
    position: absolute;
    top: -5px;
    right: -5px;
    color: #116bff;
    font-size: 19px;
    transform: rotate(35deg);
}

/* Tablet */

@media (max-width: 900px) {
    .dg-success-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .dg-success-mentor {
        grid-column: 2;
        grid-row: 1 / span 2;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(200px, 1fr) auto;
    }

    .dg-success-mentor-photo,
    .dg-success-mentor-photo img {
        min-height: 200px;
        max-height: 260px;
    }

    .dg-success-mentor-info {
        padding: 16px;
    }

    .dg-success-right {
        grid-column: 1;
        grid-row: 2;
    }

    .dg-success-left {
        grid-column: 1;
        grid-row: 1;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .dg-success-section {
        padding: 40px 0 40px;;
    }

    .dg-success-wrap {
        width: calc(100% - 24px);
    }

    .dg-success-heading {
        margin-bottom: 18px;
    }

    .dg-success-heading h2 {
        font-size: 32px;
    }
    .dg-success-brand{
        font-size: 15px;
        padding: 10px 27px;
    }

    .dg-success-heading > p {
        font-size: 14px;
    }

    .dg-success-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dg-success-mentor {
        order: -1;
        display: grid;
        grid-template-columns: .95fr 1.05fr;
        grid-template-rows: auto;
        min-height: 250px;
    }

    .dg-success-mentor-photo,
    .dg-success-mentor-photo img {
        min-height: 250px;
        max-height: none;
        height: 100%;
    }

    .dg-success-mentor-info {
        padding: 12px 10px;
    }

    .dg-success-testimonial {
        font-size: 9px;
    }

    .dg-success-mentor-info h3 {
        font-size: 15px;
    }

    .dg-success-left,
    .dg-success-right {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 9px;
    }

    .dg-success-leads,
    .dg-success-brands,
    .dg-success-roi,
    .dg-success-projects {
        min-height: 155px;
        padding: 17px 20px !important;
    }

    .dg-success-card {
        padding: 11px;
    }

    .dg-success-brand-copy h3 {
        font-size: 36px !important;
    }

    .dg-success-brand-copy p,
    .dg-success-card p,
    .dg-success-roi-content p {
        font-size: 13px;
    }

    .dg-success-logos {
        grid-template-columns: repeat(2, 50px);
        gap: 5px;
    }

    .dg-success-logo {
        width: 50px;
        height: 50px;
    }

    .dg-success-roi-content {
        padding: 11px;
        left: 145px;
    }

    .dg-success-target {
        display: none;
    }
}

@media (max-width: 360px) {
    .dg-success-wrap {
        width: calc(100% - 18px);
    }

    .dg-success-heading h2 {
        font-size: 24px;
    }

    .dg-success-mentor {
        grid-template-columns: .85fr 1.15fr;
    }

    .dg-success-mentor-info {
        padding: 10px 8px;
    }

    .dg-success-team p {
        font-size: 7px;
    }
}



/* Mentor card with full background image */

.dg-success-mentor {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 290px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 13px;
    background: #eaf3ff;
    color: #102044;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}

/* Full background image */

.dg-success-mentor-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Soft overlay on the right for readable text */

.dg-success-mentor-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        transparent 30%,
        rgba(245, 249, 255, .12) 43%,
        rgba(245, 249, 255, .94) 59%,
        rgba(245, 249, 255, .98) 100%
    );
    pointer-events: none;
}

/* Right-side overlay content */

.dg-success-mentor-info {
    position: relative;
    width: 48%;
    margin-left: auto;
    padding: 50px 15px 18px 8px;
    color: #102044;
}

.dg-success-quote {
    display: block;
    margin-bottom: -10px;
    color: #086aff;
    font-family: Georgia, serif;
    font-size: 50px;
    font-weight: 900;
    line-height: .8;
}

.dg-success-testimonial {
    margin: 0;
    color: #293b59;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
}

.dg-success-line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 12px 0;
    border-radius: 4px;
    background: #086aff;
}

.dg-success-mentor-info h3 {
    margin: 0 0 -7px;
    color: #11234a;
    font-size: 24px;
    font-weight: 850;
}

.dg-success-role {
    margin: 0;
    color: #11234a;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.dg-success-divider {
    height: 1px;
    margin: 12px 0;
    background: #dce5f3;
}

.dg-success-team {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.dg-success-avatars span:nth-child(2) {
    background: #d8f2e9;
    color: #178268;
}

.dg-success-avatars span:nth-child(3) {
    background: #ffeadb;
    color: #a45b30;
}

.dg-success-avatars span:nth-child(4) {
    background: #145de3;
    color: #fff;
}

.dg-success-team p {
    margin: 0;
    color: #354866;
    font-size: 13px;
    margin-left: 31px;
    font-weight: 700;
}

/* Mobile */

@media (max-width: 600px) {
    .dg-success-mentor {
        min-height: 250px;
    }

    .dg-success-mentor-bg {
        object-position: 35% center;
    }

    .dg-success-mentor-overlay {
        background: linear-gradient(
            90deg,
            transparent 18%,
            rgba(245, 249, 255, .2) 35%,
            rgba(245, 249, 255, .94) 52%,
            rgba(245, 249, 255, .98) 100%
        );
    }

    .dg-success-mentor-info {
        width: 64%;
        padding: 17px 10px 14px 4px;
    }

    .dg-success-testimonial {
        font-size: 12px;
        margin-left: 40px;
        line-height: 1.6;
    }
    .dg-success-quote{
    margin-left: 40px;  
    }
    .dg-success-line{
        margin-left: 40px;  
    }
    .dg-success-mentor-info h3{
        margin-left: 30px;
    }
    .dg-success-role{
        margin-left: 30px;
        font-size: 14px;
        margin-top: 10px;
    }
    .dg-success-avatars span{
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .dg-success-avatars{
        padding-left: 49px;
    }
    .dg-success-team p{
        font-size: 12px;
        margin-left: 53px;
    }

    .dg-success-divider {
        margin: 9px 0;
    }
}



.dg-success-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 15px 0 9px;
    position: relative;
}

.dg-success-action::before,
.dg-success-action::after {
    content: "";
    flex: 1;
    height: 1px;
    max-width: 380px;
    margin-top: 23px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(148, 183, 232, 0.42)
    );
}

.dg-success-action::after {
    background: linear-gradient(
        90deg,
        rgba(148, 183, 232, 0.42),
        transparent
    );
}

.dg-success-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 23px;
    padding: 11px 30px;
    border-radius: 50px;
    background: linear-gradient(100deg, #075bff, #079cff);
    box-shadow: 0 5px 18px rgba(0, 91, 255, .3);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dg-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 100, 255, .4);
}

.dg-success-btn i {
    transition: transform .25s ease;
}

.dg-success-btn:hover i {
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 600px) {
    .dg-success-action {
        gap: 12px;
        padding-top: 17px;
    }

    .dg-success-btn {
        padding: 9px 27px;
        font-size: 13px;
        margin-top: 12px;
    }
}
