#banner-sec {
    padding: 200px 0 140px 0;
}

.title {
    justify-self: center;
    text-align: center;
    width: 50%;
    margin-bottom: 75px;
}

.title-margin {
    margin-bottom: 75px;
}

#services-banner-cnt {
    display: flex;
    flex-direction: row;
}

#services-banner-cnt > div {
    width: 50%;
}

#services-banner-cnt > div:last-child {
    padding-left: 125px;
}

#services-banner-cnt > div:last-child > img {
    width: 100%;
}

#services-banner-cnt > div:first-child div  {
    margin-top: 50px;
}

#services-banner-cnt > div:last-child > p.bold {
    font-size: 18px;
    margin-top: 16px;
}

#services-banner-cnt > div:last-child > p {
    font-size: 14px;
}


/* What is DXS Section  */
#what-dxs-cnt {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#what-dxs-cnt > div {
    width: 30%;
}

#what-dxs-cnt > div > img {
    width: 100%;
}

#what-dxs-cnt > div > .semiBold {
    margin-top: 24px;
    font-size: 20px;
}

#what-dxs-cnt > div > p {
    font-size: 16px;
}

/* Why DXS Section  */
#why-dxs-cnt {
    width: 100%;
}

.dxs-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.dxs-row > div:first-child, .dxs-row > div:last-child {
    width: 40%;
}

.dxs-row > div:nth-child(2) {
    width: 10%;
    max-width: 75px;
}

.mid-row  {
    align-items: center;
}

.mid-row > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 20%;
    max-width: unset;
}

.mid-row > div:nth-child(2) h3 {
    margin: 20px 0;
}

.mid-row  > div:first-child, .mid-row  > div:last-child {
    width: 45%;
    height: 75px;
}

.dxs-card {
    padding-top: 20px;
}

.dxs-card img {
    width: 65px;
}

.dxs-card h3 {
    margin-top: 20px;
}

.triangle-top {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #c6d4ef;
    margin: 0 auto 20px auto;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 20px solid #c6d4ef;
    border-bottom: 10px solid transparent;
    margin: auto 0 auto 20px;
}

.triangle-bot {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #c6d4ef;
    margin: 20px auto 0 auto;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 20px solid #c6d4ef;
    border-bottom: 10px solid transparent;
    margin: auto 20px auto 0;
}

.int-top {
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: linear-gradient(to top, rgba(245, 248, 253, 0) 0%, #f5f8fd 17%, #f5f8fd 100%);
}

.int-right {
    display: flex;
    flex-direction: row;
    justify-content: start;
    background: linear-gradient(to right, rgba(245, 248, 253, 0) 0%, #f5f8fd 17%, #f5f8fd 100%);
}

.int-bot {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background: linear-gradient(to bottom, rgba(245, 248, 253, 0) 0%, #f5f8fd 17%, #f5f8fd 100%);
}

.int-left {
    display: flex;
    flex-direction: row;
    justify-content: end;
    background: linear-gradient(to left, rgba(245, 248, 253, 0) 0%, #f5f8fd 17%, #f5f8fd 100%);
}

/* What you can do with DXS Section  */
.slider-container {
    position: relative;
    width: 100%; /* Adjust as needed (e.g., 2 slides * 300px + padding) */
    overflow: hidden;
}
  
.slider {
    overflow: hidden;
    width: 100%; /* Width to show exactly two slides */
    margin-bottom: 20px;
    
}
  
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
  
.slide {
    min-width: 48%;
    padding: 40px 55px;
    margin-top: 4px;
    margin-bottom: 4px;
    background: #F2F5FB;
    display: flex;
    flex-direction: column;
    font-size: 24px;
}

.slide h3 {
    margin-top: 20px;
}

.slide img {
    width: 55px;
}

.slides .slide:nth-child(even) {
    margin-left: 4%;
}

#slider-btn-cnt {
    display: flex;
    flex-direction: row;
    justify-content: end;
}
  
.nav-button {
    color: #fff;
    aspect-ratio: 1/1;
    width: 40px;
    cursor: pointer;
    z-index: 1;
    border-radius: 25px;
}

#slider-btn-cnt .nav-button:last-child {
    margin-left: 10px;
}
  

.nav-button:hover {
    background: rgba(0,0,0,0.8);
}


/* Explore DXS Offerings Section  */

.solution-card {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.solution-card > div {
    width: 45%;
    min-height: 450px;
    padding: 40px;
    position: relative;
    text-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.solution-card > div:hover .solution-card-bg-img {
    opacity: 0;
}

.solution-card > div:hover .solution-card-img {
    display: none;
}

.solution-card > div:hover > div {
    min-height: 0;
}

.solution-card > div:hover .solution-txt {
    display: block;
}

.solution-card > div:hover .circle-link {
    opacity: 1;
}

.solution-card-bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    opacity: 1;
    transition: all 1s ease;
}

.solution-card-img {
    width: 135px;
}

.solution-card > div > div {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: all 1s ease;
}

.solution-card > div > div > .bold {
    margin-bottom: 30px;
}

.solution-type {
    font-size: 16px;
}

.solution-txt {
    display: none;
}

.solution-card .circle-link {
    position: absolute;
    bottom: 40px;
    right: 40px;
    opacity: 0;
    transition: all 1s ease;
}

/* Sectors Section  */
#sectors-cnt {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 100px;
}

#sectors-cnt > div {
    padding: 10px 20px 10px 0;
    border: #25C9DE 0.5px solid;
    border-radius: 2px;
}

#sectors-cnt ul {
    margin: 0;
}

#sectors-cnt li::marker {
    color: #24c9dd;
}


/* Stats Section  */
#stats-sec {
    z-index: 1;
    padding: 0 0 200px 0;
    overflow-x: clip;
    overflow-y: visible;
    margin: 70px 0;
}

#circle-bg {
    position: absolute;
    width: 100vw;
    height: 100vw;
    bottom: 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 50%, rgba(234, 250, 252, 1) 100%);
    border-radius: 50%;
    
}

#stats-sec .margin-cnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

#stats-sec .margin-cnt > h2 {
    width: 70%;
}

#stats-cnt > div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}

#stats-cnt > div > div {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#stats-cnt > div > div > div {
    width: 150px;
    height: 150px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;

}

#stats-cnt > div > div > div > p {
    font-size: 30px;
    margin: 0;
}

.botRight {
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.botLeft {
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}


.topLeft {
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    border-top-right-radius: 50%;
}


#join-cnt {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 125px;
}

#join-cnt h2 {
    margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
    #services-banner-cnt {
        flex-direction: column;
    }

    #services-banner-cnt > div {
        width: 100%;
    }

    #services-banner-cnt > div:first-child {
        margin-bottom: 75px;
    }

    #services-banner-cnt > div:last-child {
        padding: 0;
    }

    .title {
        width: 100%;
    }

    .dxs-card h3 {
        font-size: 20px;
    }

    #what-dxs-cnt > div {
        width: 100%;
        margin-bottom: 46px;
    }

    #what-dxs-cnt > div:last-child {
        margin-bottom: 0;
    }

    .mid-row > div:nth-child(2) h3 {
        font-size: 20px;
    }

    .mid-row > div:nth-child(2) {
        width: 60%;
    }

    .mid-row > div:first-child, .mid-row > div:last-child {
        width: 20%;
        height: 35px;
    }

    .solution-card {
        width: 100%;
        flex-direction: column;
    }
    
    .solution-card > div {
        padding: 20px;
        width: 100%;
        min-height: 350px;
    }

    .solution-card > div:first-child {
        margin-bottom: 20px;
    }

    .solution-card > div > div {
        margin-top: auto;
    }

    .solution-card > div:hover .solution-txt {
        margin-bottom: 70px;
    }
    
    .solution-card .circle-link {
        bottom: 20px;
        right: 10px;
    }
    
    .solution-txt {
        font-size: 14px;
    }

    .slide {
        padding: 20px;
        min-width: 100%;
    }

    .slide h3 {
        font-size: 24px;
    }

    .solution-card-bg-img {
        width: 70%;
    }

    #sectors-cnt > div {
        margin-bottom: 20px;
    }

    #stats-sec .margin-cnt > h2 {
        width: 100%;
    }

    
    #stats-cnt > div {
        flex-direction: column;
    }

    #stats-cnt > div > div {
        width: 100%;
        margin-bottom: 50px;
    }

    #join-cnt {
        width: 100%;
    }

    .cta-cnt .round-btn {
        margin-bottom: 29px;
    }

    #circle-bg {
        width: 150vw;
    }

    #stats-cnt > div > div > div {
        margin-bottom: 20px;
    }

    #join-cnt {
        margin-top: 50px;
    }

    #stats-sec {
        padding: 0 0 100px 0;
        margin: 70px 0 35px 0;
    }
}


/* Remediation (F-0276, F-0279): carousel position indicator; the "Why DXS?" cross stacks on phones
   instead of squeezing four cards and a caption into 40 % columns */
.slider-count {
    margin: 0 0 0 16px;
    align-self: center;
    font-size: 16px;
    color: #161e35;
}

@media only screen and (max-width: 767px) {
    .dxs-row {
        flex-direction: column;
    }

    .dxs-row > div:first-child,
    .dxs-row > div:last-child {
        width: 100%;
    }

    .dxs-row > .int,
    .mid-row > div:first-child,
    .mid-row > div:last-child {
        display: none;
    }

    .mid-row > div:nth-child(2) {
        width: 100%;
    }

    .dxs-card {
        padding-top: 0;
        margin-bottom: 30px;
    }

    .dxs-card h3,
    .mid-row > div:nth-child(2) h3 {
        overflow-wrap: anywhere;
    }
}
