.success-stories {
    background-color: #002766;
    color: #fff;
    padding-bottom: 150px; /* add extra space so overlap looks clean */
    position: relative;
}

.case-card {
    background: #fff;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.overlap-cards {
    margin-top: -195px; /* adjust overlap amount */
    position: relative;
    z-index: 2;
}

.case-content {
    color: #4f4f4f;
    border-radius: 0 0 16px 16px;
    background-color: #fff;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 23px;
    leading-trim: NONE;
    line-height: 35px;
    letter-spacing: 0%;
}

.read-more {
    color: #52a9ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #fff;
}

.case-img img {
    border-radius: 16px 16px 0 0;
}

.custom-ai-solutions {
    background-color: #f5f9ff;
}

.solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: #eaf7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrics {
    border-top: 1px solid #e8eef7;
    padding-top: 20px;
    margin-top: 20px;
}

.metric-item {
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 0.95rem;
}

.metric-value {
    color: #0b4da2;
    font-weight: 600;
}

.section-title {
    margin-bottom: 50px;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 45px;
    leading-trim: NONE;
    line-height: 60px;
    letter-spacing: 0%;
    text-align: center;
    color: #062F75;
}
.solution-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
}
.solution-icon {
    font-size: 40px;
    color: #007bff;
    margin-right: 15px;
}
.metrics-box {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
}
.metrics-box p {
    margin: 0 0 10px;
    font-size: 0.95rem;
}
.metrics-box strong {
    color: #007bff;
}

.DSec1:after {
    height: 300px;
    width: 300px;
    /* border: 3em solid var(--thm1); */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 0;
    opacity: 0.2;
    -webkit-animation: sett 9s linear infinite;
    animation: sett 9s linear infinite;
}
.DSec1:before {
    height: 240px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #52a9ff;
    z-index: 0;
}
.DSec1 > div {
    position: relative;
    z-index: 1;
}
.DSec1 .card {
    border-color: rgb(var(--blackrgb) / 0.1);
    border-radius: 15px;
    height: calc(100% - 20px);
    z-index: 1;
    margin-bottom: 20px;
}
.DSec1 .card-body {
    padding: 24px;
    padding-top: 0;
}
.DSec1 .card-body .img {
    padding: 15px;
    border-radius: 50%;
    height: 110px;
    width: 110px;
    position: relative;
    -webkit-transform: translateY(-1%);
    transform: translateY(-1%);
    background: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    margin-top: -48px;
    margin-bottom: 9px;
}
.DSec1 .card-body .img:after {
    height: 65%;
    width: 65%;
    content: "";
    border: 4px solid var(--thm1);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: var(--thm);
    z-index: -1;
}
.DSec1 .card-body .img img {
    height: 60%;
    width: 60%;
    -o-object-fit: contain;
    object-fit: contain;
    margin: 0 auto;
}
.DSec1 .card-body h3 {
    font-size: 20px;
    font-weight: 600;
}
.DSec1 .card-body ul:not(.browser-default) {
    margin: 0;
}
.DSec1 .card-body ul:not(.browser-default) > li {
    list-style-type: disc;
}


.DSec2:after {
    height: 300px;
    width: 300px;
    border: 3em solid var(--thm1);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 0;
    opacity: 0.2;
    -webkit-animation: sett 9s linear infinite;
    animation: sett 9s linear infinite;
}
.DSec2:before {
    height: 240px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 0;
}
.DSec2 > div {
    position: relative;
    z-index: 1;
}
.DSec2 .card {
    border-color: rgb(var(--blackrgb) / 0.1);
    border-radius: 15px;
    height: calc(100% - 20px);
    z-index: 1;
    margin-bottom: 20px;
}
.DSec2 .card-body {
    padding: 24px;
    padding-top: 0;
}
.DSec2 .card-body .img {
    padding: 15px;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    position: relative;
    -webkit-transform: translateY(-1%);
    transform: translateY(-1%);
    background: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    margin-top: -90px;
    margin-bottom: 9px;
    /* height: 65%;
    width: 65%; */
    
}
/* .DSec2 .card-body .img:after {
    height: 65%;
    width: 65%;
    content: "";
    border: 4px solid var(--thm1);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: var(--thm);
    z-index: -1;
} */
.DSec2 .card-body .img img {
    height: 60%;
    width: 60%;
    -o-object-fit: contain;
    object-fit: contain;
    margin: 0 auto;
}
.DSec2 .card-body h3 {
    font-size: 20px;
    font-weight: 600;
}
.DSec2 .card-body ul:not(.browser-default) {
    margin: 0;
}
.DSec2 .card-body ul:not(.browser-default) > li {
    list-style-type: disc;
}
