@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.consulting-section {
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(250.15deg, #AFC4F9 1.6%, #FFFFFF 51.18%, #AAC0F9 92.57%);
    padding: 0px 0px 20px 0px;
}

.consulting-section h1 {
    color: black;
    font-weight: 800;
    font-size: 48px;
    line-height: 53px;
}

.consulting-section h1 span {
    color: white;
}

.upper-header {
    background-color: #2D64ED;
    padding: 40px;
    height: 170px;
}

.subtitle {
    background: white;
    color: #333;
    padding: 30px 20px;
    border-radius: 104px;
    margin: 20px 60px;
    font-weight: 500;
    font-size: 20px;
    line-height: 35px;
    position: relative;
    top: 10px;
}

.content-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    margin: 70px 0px;
    flex-wrap: wrap;
}

.card {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card-sub {
    background-color: #2D64ED;
    padding: 50px;
    text-align: left;
    clip-path: polygon(47% 6%, 54% 0, 60% 6%, 100% 6%, 100% 100%, 0 100%, 0 6%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.card h1,
.blue-div h1 {
    font-weight: 800;
    font-size: 48px;
    line-height: 53px;
    text-align: center;
    color: #2D64ED;
}

.blue-div h1 {
    color: white;
}

.card h2 {
    margin-bottom: 15px;
    color: #2D64ED;
    font-weight: 700;
    font-size: 32px;
    line-height: 53px;
    text-align: center;

}

.card ul {
    list-style-type: none;
}

.card li {
    padding: 8px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: white;

}

.blue-div {
    background-color: #2D64ED;
    padding: 40px;
}

.h2-bluediv {
    font-weight: 500;
    font-size: 20px;
    line-height: 35px;
    text-align: center;

}

.blue-card {
    background-color: #fdfdfd;
    padding: 30px;
    text-align: left;
    width: 370px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    box-shadow: 0px 0px 12px 0px #00000040;
}

.blue-card-li{
    color: black;
}
.blue-grid {
    margin: 10px 0px;

}

.last-div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    flex-direction: column;
}

.last-div h1 {
    font-weight: 800;
    font-size: 48px;
    line-height: 53px;
    text-align: center;
    color: #2D64ED;

}

.last-div h2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 35px;
    text-align: center;
    color: #000000;
}

.last-div p {
    font-weight: 500;
    font-size: 16px;
    line-height: 50px;
    text-align: justify;

}

.p-tags {
    margin-top: 20px;
}

.blue-card li{
    color: black;
}

.blue-grid h2{
    color: white;
}


/* Responsive */

@media (min-width: 2000px) {

    .upper-header {
        height: 186px;
    }

    .consulting-section h1 {
        font-size: 64px;
        line-height: 65px;
    }

    .subtitle {
        padding: 36px 20px;
        margin: 20px 60px;
        font-size: 26px;
        line-height: 39px;
    }

    .content-grid {

        margin: 93px 0px;
    }

    .blue-grid {
        margin: 20px 0px;

    }

    .card h1,
    .blue-div h1 {
        font-size: 50px;
        line-height: 53px;
    }

    .card h2 {
        font-size: 38px;
        line-height: 66px;
    }


    .card-sub {
        padding: 50px;
        width: 450px;
        height: 470px;
    }

    .blue-card {
        width: 450px;
        height: 310px;

    }


    .card li,
    .h2-bluediv,
    .last-div h2,
    .last-div p {
        font-size: 26px;
        line-height: 40px;
    }


}


@media (min-width: 2500px) {

    .subtitle,
    .card li,
    .h2-bluediv,
    .last-div h2,
    .last-div p {
        font-size: 30px;
    }

    .card-sub {
        width: 565px;
        height: 550px;
    }

    .blue-card {
        width: 560px;
        height: 353px;
    }

}


@media (max-width: 1150px) {

    .card-sub,
    .blue-card {
        width: 300px;
    }



}

@media (max-width: 600px) {

    .upper-header {
        padding: 11px;
        padding-top:25px;
        height: 178px;
    }
    
    .digital-transformation{
        height: 212px;
    }

    .consulting-section h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .subtitle {
        padding: 10px 22px;
        border-radius: 104px;
        margin: 0px;
        top: 25px;
        font-size: 15px;
    }

    .content-grid {

        justify-content: center;

    }
}