/* Banner */
.banner {
    padding: 190px 30px 100px;
    background-size: cover;
    background-position: center;
}
.banner h1 {
    color: #fff;
    max-width: 460px;
}
.banner p {
    color: #fff;
    font-size: 30px;
    margin-top: 30px;
}
/* Starting together */
.starting-together {
    padding:  50px;
    display: flex;
    align-items: center;
    background-color: #f2f8ff;
}
.starting-together>div {
    width: 50%;
}
.starting-together>div.right-block {
    padding-left: 30px;
}
.starting-together .left-block .images-grid {
    display: grid;
    grid-template-areas: 'a b'
                        'a c' ;
    gap: 20px;
}
.starting-together .left-block .images-grid >img:first-of-type {
    grid-area: a;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
}
.starting-together .left-block .images-grid >img:nth-of-type(2) {
    grid-area: b;
    aspect-ratio: 2 / 1.5;
    object-fit: cover;
}
.starting-together .left-block .images-grid >img:nth-of-type(3) {
    grid-area: c;
    aspect-ratio: 2 / 1.36;
    object-fit: cover;
}
.starting-together .left-block img {
    max-width: 100%;
}
.starting-together h2{
    margin:0 0 10px
}
.starting-together>div.right-block p,
.tailored-theme>div.left-block p{
    margin-bottom: 15px;
}
.ms-orange-btn{
    width: auto;
    padding-inline: 40px; 
    margin-top:20px;
}
/* Logos */
.logos {
    padding: 50px;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}
.logos img {
    max-width: 100%;
    height: 150px;
    width: 100%;
    object-fit: contain;
}
/* / */
.tailored-theme {
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
}
.tailored-theme>div {
    width: 50%;
}
.tailored-theme h2{
    margin:0 0 10px
}
.tailored-theme>div.left-block {
    padding-right: 40px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.team-grid .grid-wrap {
    background-color: #1aaab3;
    padding: 20px;
    text-align: center;
    min-height: 140px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.team-grid .grid-wrap:hover{
    background-color: #FF4F00;
}

.team-grid .grid-wrap p {
    line-height: 1.2;
    color: #fff;
    font-size: 14px;
}

.team-grid .grid-wrap img {
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
    width: 100%;
    object-position: center;
}

/*  */
.section-with-team {
    background-color: #fff;
}
.section-with-team h3 {
    text-align: center;
    padding-bottom: 0px;
}
.section-with-team h3 + p {
    text-align: center;
    margin-bottom: 40px;
}
 section.section-with-team .block-team-items .col-md-3 {
    width: 50%;
}
 section.section-with-team .team-item {
    border-top: 1px solid #D9E4F1;
    border-bottom: 1px solid #D9E4F1;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 50px;
    background-color: transparent !important;
    display: flex
;
}
 section.section-with-team .block-img {
    width: 100px;
    min-width: 100px;
    height: 100px;
    min-height: 100px;
    border-radius: 100%;
}
 section.section-with-team .block-text {
    display: inline-block;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    padding-right: 80px;
    position: relative;
    height: auto !important;
    min-height: 110px;
}
.section-with-team .block-text h6 {
    padding-bottom: 6px;
}
.section-with-team .block-text .btn-link {
    position: relative;
    inset: unset;
    padding: 0;
}
.starting-together>div.right-block ul {
    display: flex;
    flex-wrap: wrap;
    gap:  10px 25px;
    margin-bottom: 15px;
}
.starting-together>div.right-block ul li {
    padding-left: 25px;
    background: url(./tick-svg.svg) left top 5px no-repeat;
    background-size: 20px;
}
.team-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}
.right-block.pl-0.pr-10 {
    padding-left: 0;
    padding-right: 30px;
}

.tailored-theme>div.right-block >:is(h4,p){
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}
 
.tailored-theme>div.right-block>p{
    margin-bottom: 30px;
}
.align-items-center{
    align-items: center;
}
.starting-together.full-left-img {
    padding: 0;
    align-items: stretch;
}

.starting-together.full-left-img  .left-block {
    display: flex
;
}
.starting-together.full-left-img .right-block {
    padding: 50px;
}
.starting-together.full-left-img .left-block .images-grid {
    width: fit-content;
    width: 100%;
}
.starting-together.full-left-img .left-block .images-grid >img:first-of-type {
    aspect-ratio: unset;
    height: 100%;
    object-fit: cover;
}
section.contact-us-form {
    padding: 50px;
    background: #1aaab3;
    display: flex;
    align-items: center; 
    flex-wrap: wrap;
    margin-top: 120px;
}

section.contact-us-form :is(h2,p){
    color: #fff;
}

section.contact-us-form h2{
    margin-top: 0;
}

section.contact-us-form .form-left{
    width: 30%;
}
section.contact-us-form .form-right{
    width: 70%;
}
section.contact-us-form .form-group label   
 {
    color: #000;
    line-height: 1;
}
section.contact-us-form .form-group{
    width: calc(50% - 10px);
}
section.contact-us-form form {
    max-width: calc(100% - 100px);
    margin-left: auto;
    background-color: #fff;
    padding: 20px;
    margin-top: -120px;
    border: 2px solid #ecf2f9;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
section.contact-us-form form >div:nth-child(5) ~div{
    width: 100%;
}
section.contact-us-form form textarea{
    height: 70px;
    resize: none;
}
section.contact-us-form .form-group{
    margin-bottom: 10px;
}
 section.contact-us-form .form-group label a{
    padding-inline: 3px;
 }
.text-center.mb-2 {
    margin-bottom: 20px;
}

/* responsive css================================================================= */
@media(max-width:1264px){
    .tailored-theme,.banner,.starting-together{
        padding-inline: 15px;
    }
    .team-grid .grid-wrap {
        padding: 10px;
    }
}
@media(max-width:900px){
    .tailored-theme, .banner, .starting-together{
        flex-direction: column;
        gap:30px;
    }
    .starting-together>div,.tailored-theme>div{
        width: 100%;
        padding-inline:0 !important;
    }
    .logos {
        padding-inline: 15px;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
    .logos img{
        height: auto;
    }
    .starting-together>div.right-block{
        padding-left: 0;
    }
    section.section-with-team .block-team-items .col-md-3 {
        width: 100%;
    }
    section.bespoke-training-cources.starting-together {
        flex-direction: column-reverse;
    }
    .starting-together.full-left-img .right-block{
        padding: 0 20px 30px !important;
    }
    .starting-together.full-left-img .left-block .images-grid{
        display: flex;
    }
    section.contact-us-form{
        padding: 30px 20px;
        margin: 0;
    }
    section.contact-us-form >div,
    section.contact-us-form .form-left,
    section.contact-us-form .form-right{
        width: 100%;
    }
    section.contact-us-form{
        gap: 30px;
    }
    section.contact-us-form form{
        margin: 0;
        max-width: 100%;
    }
}

@media(max-width:767px){
    .banner p{
        font-size: 15px;
        margin-top: 10px;
        text-shadow: 0 0 15px #000;
    }
    .team-grid ,.team-grid.three-col{ 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .starting-together .left-block .images-grid{
        gap:11px;
    } 
    .team-grid .grid-wrap{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}