@import url('../vars.css');

.about-main-banner{
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: 1fr 2fr;
    gap: 20px;
    grid-template-areas: 'first first first first second second fourth fourth fourth' 'first first first first third third fourth fourth fourth';
    margin-bottom: var(--mb);
}
.about-main-banner-card1{
    grid-area: first;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 48px;
    background-image: url('/wp-content/themes/neve/assets/img/about/build.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 16px;
}
.about-main-banner-card1-title{
    font-family: var(--desktop-accent-title-font);
    font-size: var(--desktop-accent-title-size);
    font-weight: var(--desktop-accent-title-weight);
    color: #fff;
}
.about-main-banner-card1-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.about-main-banner-card2{
    grid-area: second;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-4);
    border-radius: 16px;
}
.about-main-banner-card2-title{
    text-align: center;
    font-family: var(--desktop-accent-title-font);
    font-size: var(--desktop-accent-title-size);
    font-weight: var(--desktop-accent-title-weight);
    color: #fff;
}
.about-main-banner-card3{
    grid-area: third;
    border-radius: 16px;
    overflow: hidden;
}
.about-main-banner-card4{
    grid-area: fourth;
    border-radius: 16px;
    overflow: hidden;
}
.about-main-banner-card3 img,
.about-main-banner-card4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-h2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about-block-heading-btn{
    width: fit-content;
    border-radius: 100px;
    padding: 8px 12px 8px 24px;
    background: var(--primary-brand-2);
    display: flex;
    align-items: center;
    gap: 40px;
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    line-height: 100%;
    color: #fff;
}
.about-block-heading-btn:hover{
    color: #fff;
    box-shadow: var(--drop-shadow-200);
}

.about-numbers{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: var(--mb);
}
.about-numbers-card{
    border-radius: 12px;
    background: var(--secondary-3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}
.about-numbers-card-tag{
    border-radius: 100px;
    padding: 8px 12px;
    background: #fff;
    font-family: var(--desktop-subtitle-font);
    font-size: var(--desktop-subtitle-size);
    font-weight: var(--desktop-subtitle-weight);
    color: var(--text);
    width: fit-content;
}
.about-numbers-card-bottom{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about-numbers-card-title{
    font-variant-numeric: lining-nums;
    font-family: var(--desktop-h3-font);
    font-size: var(--desktop-h3-size);
    font-weight: var(--desktop-h3-weight);
    color: var(--secondary-4);
}
.about-numbers-card-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}

.about-edu-path{
    margin-bottom: var(--mb);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}
.about-edu-path-card{
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--drop-shadow-200);
}
.about-edu-path-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: var(--primary-brand-2);
}
.about-edu-path-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.about-edu-path-card:nth-child(1){
    background-image: url('/wp-content/themes/neve/assets/img/about/1.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}
.about-edu-path-card:nth-child(2){
    background-image: url('/wp-content/themes/neve/assets/img/about/2.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}
.about-edu-path-card:nth-child(3){
    background-image: url('/wp-content/themes/neve/assets/img/about/3.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}
.about-edu-path-card:nth-child(4){
    background-image: url('/wp-content/themes/neve/assets/img/about/4.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}
.about-edu-path-card:nth-child(5){
    background-image: url('/wp-content/themes/neve/assets/img/about/5.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}
.about-edu-path-card:nth-child(6){
    background-image: url('/wp-content/themes/neve/assets/img/about/6.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right bottom;
}

.about-scien{
    margin-bottom: var(--mb);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.about-scien-card{
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
}
.about-scien-card:nth-child(1){
    background: var(--secondary-2);
}
.about-scien-card:nth-child(2){
    background: var(--primary-brand-1);
}
.about-scien-card:nth-child(3){
    background: var(--secondary-4);
}
.about-scien-card img{
    margin-bottom: 20px;
    height: 48px;
    width: 48px;
}
.about-scien-card-title{
    margin-bottom: 12px;
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.about-scien-card-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}

.about-partners{
    margin-bottom: var(--mb);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 'first third fourth' 'second third fifth';
    gap: 20px;
}
.about-partners-card{
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--drop-shadow-200);
}
.about-partners-card img{
    height: 48px;
    width: 48px;
    margin-bottom: 20px;
}
.partners-card1{
    grid-area: first;
}
.partners-card2{
    grid-area: second;
}
.partners-card4{
    grid-area: fourth;
}
.partners-card5{
    grid-area: fifth;
}
.abour-partners-card-title{
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: var(--secondary-4);
    margin-bottom: 12px;
}
.abour-partners-card-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.about-partners-card-3{
    grid-area: third;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    border-radius: 16px;
    padding: 24px;
    background-image: url('/wp-content/themes/neve/assets/img/about/stat.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.about-partners-card3-title{
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.about-partners-card3-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.about-partners-card3-btn{
    width: fit-content;
    border-radius: 8px;
    padding: 8px 14px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--desktop-button-font);
    font-size: var(--desktop-button-size);
    font-weight: var(--desktop-button-weight);
    color: var(--primary-brand-2);
}
.about-partners-card3-btn:hover{
    color: #fff;
    background-color: var(--primary-brand-2);
    box-shadow: var(--drop-shadow-200);
}
.about-partners-card3-btn:hover svg path{
    fill: #fff;
}

.about-bottom-banner{
    margin-bottom: var(--mb);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-bottom-side-card{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
    border-radius: 16px;
    background-color: var(--secondary-3);
    background-image: url('/wp-content/themes/neve/assets/img/about/sertific.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    padding: 32px;
}
.about-bottom-side-card-title{
    font-family: var(--desktop-h2-font);
    font-size: var(--desktop-h2-size);
    font-weight: var(--desktop-h2-weight);
    color: var(--primary-brand-2);
}
.about-bottom-side-card-desc{
    width: 625px;
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.about-bottom-side-cont{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
}
.about-bottom-card{
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 40px 20px 20px;
    background-color: var(--primary-brand-1);
}
.about-bottom-card-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--desktop-h5-font);
    font-size: var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.about-bottom-card-link:hover{
    color: #F09D9D;
}
.about-bottom-card-desc{
    font-family: var(--desktop-body-font);
    font-size: var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}

@media screen and (max-width: 1600px) {
    .about-numbers{
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .about-bottom-side-card-desc{
        width: 100%;
    }
}
@media screen and (max-width: 1400px) {
    .about-partners{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: 'first third' 'second third' 'fourth fifth';
    }
    .about-bottom-banner{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 1280px) {
    .about-main-banner{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 250px;
        grid-template-areas:
        'first fourth'
        'second third';
    }
}
@media screen and (max-width: 1024px){
    .about-h2{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .about-edu-path{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .about-scien{
        grid-template-columns: 1fr 1fr;
    }
    .about-partners{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 768px){
    .about-main-banner-card1{
        padding: 16px;
    }
    .wp-block-heading.about-h2 .animated-link-button{
        width: 100%;
        padding: 8px 4px 8px 12px;
        height: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }
    .wp-block-heading.about-h2 .animated-link-button:hover{

    }
    .wp-block-heading.about-h2 .animated-link-button-text{
        position: inherit;
        text-align: left;
    }
    .wp-block-heading.about-h2 .animated-link-button-circle{
        flex: 0 0 24px;
        position: inherit;
    }
    .about-bottom-banner .animated-link-button{
        width: 100%;
        padding: 8px 4px 8px 12px;
        height: fit-content;
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }
    .about-bottom-banner .animated-link-button-text,
    .about-bottom-banner .animated-link-button-circle{
        position: inherit;
    }
    .about-partners-card3-btn{
        display: flex;
        justify-content: center;
    }
    .about-edu-path-link img{
        width: 32px;
        height: 32px;
    }
    .about-scien-card img{
        width: 40px;
        height: 40px;
    }
    .about-partners-card img{
        width: 40px;
        height: 40px;
    }
    .about-bottom-card-link img{
        width: 28px;
        height: 28px;
    }
}
@media screen and (max-width: 480px){
    .about-main-banner-card1{
        height: 260px;
    }
    .about-main-banner{
        display: flex;
        flex-direction: column;
    }
    .about-main-banner-card2{
        padding: 32px;
    }
    .about-numbers{
        display: flex;
        flex-direction: column;
    }
    .about-edu-path{
        display: flex;
        flex-direction: column;
    }
    .about-scien{
        display: flex;
        flex-direction: column;
    }
    .about-bottom-side-cont{
        display: flex;
        flex-direction: column;
    }
    .about-numbers-card{
        padding: 16px;
        gap: 16px;
    }
    .about-edu-path-card{
        padding: 16px;
    }
    .about-scien-card{
        padding: 16px;
    }
    .about-scien-card img{
        margin-bottom: 16px;
    }
    .about-scien-card-title{
        margin-bottom: 8px;
    }
    .about-partners-card{
        padding: 16px;
    }
    .about-partners-card img{
        margin-bottom: 16px;
    }
    .abour-partners-card-title{
        margin-bottom: 8px;
    }
    .about-partners-card-3{
        padding: 40px 16px 16px;
    }
    .about-partners-card3-btn{
        width: 100%;
    }
    .about-bottom-side-card{
        padding: 24px 16px;
        height: 367px;
        justify-content: flex-start;
        background-image: url('/wp-content/themes/neve/assets/img/about/sertifMob.png');
        background-position: bottom center;
    }
    .about-bottom-card{
        padding: 16px;
    }
}

