#about {
    background: #2C57DC;
    color: #F8FBFF;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.about-container {
    padding: 0 120px;
    padding-bottom: 60px;
    position: relative;
}

.about-container::before {
    content: "";
    position: absolute;
    background-image: url("../img/about/bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    width: 100%;
    z-index: 2;
}

.about-header {
    position: relative;
    background: #F8FBFF;
    color: #2C57DC;
    padding: 40px;
    font-size: 24px;
    font-family: 'Evolventa';
    width: 80%;
    border-radius: 15px;
    border: 1px dashed #2C57DC;
    box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
}


.about-header::before {
    position: absolute;
    content: "яркие примеры";
    top: -70px;
    right: 260px;
    color: #F8FBFF;
    font-family: "Manrope";
    font-size: 14px;
}
.about-header::after {
    position: absolute;
    content: "";
    top: -74px;
    right: 200px;
    width: 51px;
    height: 33px;
    color: #F8FBFF;
    background-image: url("../img/about/arrow-header.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

#plus-primary {
    position: absolute;
    top: -27px;
    right: 200px;
    border: 16px solid #2C57DC;
    background:
        conic-gradient(from 90deg at var(--b) var(--b),#2C57DC 90deg,#F8FBFF 0) 
        calc(100% + var(--b)/2) calc(100% + var(--b)/2)/
        calc(50%  + var(--b))   calc(50%  + var(--b));
    box-shadow: 0 0 0 1px white; 
}


.about-heart {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #0D2F90;
    background-image: url("../img/about/heart.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 99;
}
.about-heart::before {
    position: absolute;
    content: "наша особенность";
    color: #F8FBFF;
    width: 120px;
    left: 30%;
    top: 50%;
}
.about-heart::after {
    position: absolute;
    content: "";
    color: #F8FBFF;
    min-width: 84px;
    min-height: 16px;
    left: 38%;
    top: 80%;
    background-image: url("../img/about/arrow-heart.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


.about-heart #plus-primary {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.about-heart #plus-primary:hover {
    transform: translate(-50%, -50%) scale(1.2);
}


.about-header_content {
    width: 80%;
}



.about-description {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 4;
}
.about-goal {
    flex: 3;
    padding: 40px;
    background: #F8FBFF;
    color: #2C57DC;
    border-radius: 15px;
    box-shadow: none;
}  


.about-main_img {
    position: relative;
    flex: 5;
    height: 340px;
    margin: 0 20px;
    overflow: hidden;
}

.about-main_img img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
}
.about-main_img::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -200px;
    right: 0;
    background-image: url("../img/about/bg2.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: calc(100% + 200px);
    height: 120px;
}



.about-author_img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
}

.about_author {
    position: relative;
    z-index: 20;
    width: 340px;
    height: 440px;
}




#about-author_togzhan {
    flex: 1;
    transform: rotate(-2deg); 
}
#about-author_saniya {
    margin-left: 20%;
    display: flex;
    justify-content: center;
    transform: rotate(2deg); 
}
#about-author_togzhan::before {
    content: "Куттугаева Тогжан Кадыржановна";
    position: absolute;
    background: #2C57DC;
    color: #F8FBFF;
    font-family: 'Evolventa';
    font-size: 24px;
    border: 1px dashed #F8FBFF;
    border-radius: 15px;
    transform: rotate(3deg); 
    top: 30%;
    right: -60%;
    z-index: 10;
    width: 240px;
    padding: 30px;
}

#about-author_saniya::before {
    content: "Аринова Сания Алигаппаровна";
    position: absolute;
    background: #2C57DC;
    color: #F8FBFF;
    font-family: 'Evolventa';
    font-size: 24px;
    border: 1px dashed #F8FBFF;
    transform: rotate(-3deg); 
    border-radius: 15px;
    top: 10%;
    left: -60%;
    z-index: 10;
    width: 200px;
    padding: 30px;
}

#togzhan .about-slider {
    margin-left: 60px;
    padding-right: 200px;
    flex: 3;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    z-index: 6;
    align-items: flex-end;
}


.about-slider {  
    display: flex;
    position: relative;
}


.about-slider::-webkit-scrollbar {
    height: 8px;
}

.about-slider::-webkit-scrollbar-thumb {
    background-color: transparent; 
    border-radius: 4px;      
}

.about-slider::-webkit-scrollbar-thumb:hover {
    background-color: transparent;
}





.about-card {
    flex: 0 0 auto;
    width: 390px;
    height: 240px;
    border-radius: 15px;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; 
    scroll-snap-align: start;
    background: #F8FBFF;
    color: #2C57DC;
}

#about-card1 {
    position: relative;
    align-items: flex-end;
    border: 1px dashed #2C57DC;
    color: #2C57DC;
    border-top-left-radius: 0;
    box-sizing: border-box;
    height: 162px !important;
}
#about-card1::before {
    content: "";
    position: absolute;
    width: 61px;
    height: 61px;
    border: 1px dashed #2C57DC;
    background-image: url("../img/about/arrow-card.svg");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    top: -74px;
    right: 0;
    transform: rotate(-90deg);
}

#about-card2 {
    background: #2C57DC;
    color: #F8FBFF;
    border: 1px dashed #F8FBFF;
}
#about-card3 {
    background: #0D2F90;
    color: #F8FBFF;
    border: 1px dashed #F8FBFF;
    flex-direction: column;
    justify-content: space-between;
}
#about-card3 div {
    width: 100%;
    gap: 20px;
}
#about-card3 div a {
    flex: 1;
    border-radius: 8px;
    padding: 0.5em;
    text-align: center;
    box-shadow: 0px 2px 6px 0px #2E2E2E80;
    transition: all 0.3s ease;
}
#about-card3 div a:nth-child(1) {
    color: #2C57DC;
    background: #F8FBFF;
    font-size: 14px;
    border: 1px solid #2C57DC;
}
#about-card3 div a:nth-child(2) {
    color: #F8FBFF;
    background: #2C57DC;
    font-size: 14px;
    border: 1px solid #F8FBFF; 
}
#about-card3 div a:nth-child(1):hover {
    color: #F8FBFF;
    background: #2C57DC;
}
#about-card3 div a:nth-child(2):hover {
    color: #2C57DC;
    background: #F8FBFF;
}

#about-card4 {
    color: #2C57DC;
    border: 1px dashed #2C57DC;
}
#togzhan .line {
    position: absolute;
    height: 2px;
    width: 40px;
    background: #F8FBFF;
    top: -2px;
    right: 62.5px;
    z-index: 3;
    transform: rotate(2deg);
}
#togzhan .part-one {
    position: absolute;
    box-sizing: border-box;
    border: 1px dashed #2C57DC;
    border-bottom: none;
    top: -74px;
    left: -0.5px;
    width: 300px;
    height: 75px;
    background: #F8FBFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    z-index: 2;
}
#togzhan .part-one::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 13px;
    background: #F8FBFF;
    right: -32px;
    bottom: 1px;
    border-bottom-left-radius: 15px;
    border-left: 1px dashed #2C57DC;
    border-bottom: 1px dashed #2C57DC;
    transform: skew(10deg);
}
#togzhan .part-one::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 58px;
    background: #F8FBFF;
    top: 16px;
    right: -10px;
    border-right: 1px dashed #2C57DC;
    transform: rotate(-18deg) skew(0deg, -18deg);
}



.about-author_description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 500px;
    height: 440px;
}

#saniya .about-slider {
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    height: 350px;
}

#saniya .about-card {
    height: 236px;
    width: 385px;
    box-sizing: border-box;
}



#card-1 p {
    font-size: 14px;
}

#card-1 {
    position: absolute;
    top: 0;
    padding: 16px 30px;
    align-items: flex-start;
    color: #2C57DC;
    border: 1px dashed #2C57DC;
    height: 162px !important;
    border-bottom-left-radius: 0;
}

#card-1::before {
    content: "";
    position: absolute;
    width: 61px;
    height: 61px;
    border: 1px dashed #2C57DC;
    background-image: url("../img/about/arrow-card.svg");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    bottom: -74px;
    right: 0;
}

#saniya .line {
    position: absolute;
    height: 2px;
    width: 40px;
    background: #F8FBFF;
    bottom: -1px;
    right: 57.3px;
    z-index: 3;
    transform: rotate(-2deg);
}
#saniya .part-one {
    position: absolute;
    box-sizing: border-box;
    border: 1px dashed #2C57DC;
    border-top: none;
    bottom: -74px;
    left: -0.5px;
    width: 300px;
    height: 75px;
    background: #F8FBFF;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}
#saniya .part-one::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 13px;
    background: #F8FBFF;
    right: -32px;
    top: 1px;
    border-top-left-radius: 15px;
    border-left: 1px dashed #2C57DC;
    border-top: 1px dashed #2C57DC;
    transform: skew(-10deg);
}
#saniya .part-one::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 58px;
    background: #F8FBFF;
    bottom: 16px;
    right: -10.5px;
    border-right: 1px dashed #2C57DC;
    transform: rotate(18deg) skew(0deg, 18deg);
}



#card-2 {
    position: absolute;
    top: 30px;
    background: #0D2F90;
    color: #F8FBFF;
    padding: 40px;
    border: 1px dashed #F8FBFF;
}
#card-2::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    width: 69px;
    height: 40px;
    border-top: 1px dashed #F8FBFF;
    bottom: 0;
    transform: rotate(-26deg);
    right: -15px;
    bottom: -22px;
    z-index: 2;
    background: transparent;
}


#card-3 {
    position: absolute;
    top: 60px;
    background: #2C57DC;
    color: #F8FBFF;
    padding: 60px;
    border: 1px dashed #F8FBFF;
}
#card-4 {
    position: absolute;
    top: 90px;
    color: #2C57DC;
    padding: 40px;
    border: 1px dashed #2C57DC;
}





#saniya 
#card-2, 
#card-3, 
#card-4 {
    font-size: 14px;

    clip-path: 
        polygon(
            0 0, 
            100% 0, 
            100% calc(100% - 30px),
            calc(100% - 60px) 100%,
            0 100%
        );
}

#saniya .about-card::after {
    content:"";
	position: absolute;
    display: block;
    width: 60px;
    height: 30px;
	bottom: 0;
	right: 0;
    border-top-left-radius: 20px;
}  

#card-2.about-card::after {
    background: #2C57DC;
    border: 1px dashed #F8FBFF;
}
#card-3.about-card::after {
    background: #0D2F90;
    border: 1px dashed #F8FBFF;
}
#card-4.about-card::after {
    background: #2C57DC;
    border: 1px dashed #F8FBFF;
}




.about-card_text {
    font-size: 14px;
}


.about-card_arrow {
    position: absolute;
    top: -70px;
    right: 0;
    height: 61px;
    width: 61px;
    background-image: url("../img/about/arrow.svg");
    background-color: transparent;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px dashed #2C57DC;
}



.about-info {
    display: none;
    position: absolute;
    background: #F8FBFF;
    color: #2C57DC;
    padding: 24px;
    border: 1px solid #2C57DC;
    border-radius: 15px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#about-info_1 {
    width: 320px;
    top: 30px;
    right: -160px;
}
#about-info_2 {
    width: 300px;
    bottom: calc(50% + 30px);
    left: calc(50% + 30px);
}

.about-info.visible {
    display: block;
    opacity: 1;
}


.about-links {
    display: none;
    width: 390px;
    color: #2C57DC;
    font-size: 14px;
    margin-bottom: 5px;

}
.about-links p {
    width: 60%;
}
.about-links a {
    display: inline-block;
    background-color: #2C57DC;
    color: #F8FBFF;
    border: 1px solid #2C57DC;
    font-size: 16px;
    padding: 4px 0;
    width: 168px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 2px 6px 0px #2E2E2E80;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}
.about-links a:hover {
    background-color: #0D2F90;
}

.about-author_info {
    padding: 50px 0;
    background-color: #F8FBFF;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
}

#togzhan {
    padding-left: 120px;
    background-image: url("../img/about/bg3.svg");
    background-position: left -100px;
}

#saniya {
    background-image: url("../img/about/bg4.svg");
    background-position-y: 120%;
}



@media only screen and (max-width: 600px) {
    .about-container {
        padding: 3.75rem 0.9375rem;
    }
    .about-container::before {
        background-position: center;
        height: 57%;
    }
    .about-header {
        padding: 0;
        font-size: 20px;
        width: 100%
    }

    .about-header::before {
        top: auto;
        right: auto;
        left: 3rem;
        bottom: -3.35rem;
        font-size: 14px;
    }
    .about-header::after {
        top: auto;
        bottom: -4rem;
        right: auto;
        left: 10rem;
        width: 51px;
        height: 33px;
        transform: scaleY(-1);
    }

    .about-description {
        margin-top: 100px;
        flex-direction: column-reverse;
        align-items: center;
        z-index: 4;
    }
   

    .about-goal {
        margin-top: 225px;
        flex: 3;
        padding: 20px 32px;
    }
    .about-goal::before {
        position: absolute;
        content: "";
        height: 30px;
        width: 100%;
        bottom: 0;
        background-image: url("../img/about/bg2.svg");
        background-repeat: no-repeat;
        background-size: cover;
    }  


    .about-main_img {
        position: absolute;
        top: 0;
        height: 240px;
        margin: 0;
        width: 90%;
        border: 1px solid #F8FBFF;
        border-radius: 15px;
        transform: rotate(-1deg);
        box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
    }
    
    .about-main_img img {
        border-radius: 15px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
    }
    .about-main_img::before {
        display: none;
    }










    .about-heart {
        position: relative;
        background-position: calc(100% - 0.9375rem) center;;
        width: 100%;
        height: 140px;
        z-index: 99;
    }
    .about-heart::before {
        width: 120px;
        left: 70px;
        top: -30px;
    }
    .about-heart::after {
        left: auto;
        right: 140px;
        top: -30px;
        transform: scaleY(-1);
    }
    
    
    .about-heart #plus-primary {
        top: 50%;
        left: auto;
        right: calc(21px + 0.9375rem);
    }
    
    
    .about-header_content {
        width: auto;
        padding: 20px;
    }

    #togzhan {
        padding-left: 0 !important;
        background-image: url("../img/about/bg5.svg");
        background-position: left 0;
        background-size: contain;
        padding-top: 100px;
    }

    #togzhan.about-author_info { 
        padding: 0 !important;
        padding-bottom: 120px;
    }

   
    #togzhan .about-slider {
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 100%;
        height: 500px;
        overflow-x: hidden;
        flex: none;
    }

    #about-card1 {
        position: absolute;
        top: 0;
        z-index: 3;
    }

    #about-card2 {
        position: absolute;
        top: 30px;
        z-index: 4;
    }

    #about-card3 {
        position: absolute;
        top: 60px;
        z-index: 5;
    }

    #about-card4 {
        position: absolute;
        top: 90px;
        z-index: 6;
    }
    
    #saniya {
        background-image: url("../img/about/bg4.svg");
        background-position-y: 120%;
    }
    






    .about_author {
        width: calc(100% - 100px);
        height: auto;
    }    

    .about-author_description {
        padding-top: 100px;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: calc(100% - 15px);
        height: 480px;
    }


    .about-author_info {
        padding: 0;
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .about-links {
        display: none;
        flex-direction: column; 
        width: 100%;
        color: #2C57DC;
        font-size: 14px;
        padding: 20px 0;
        box-sizing: border-box;
    
    }
    .about-links p {
        width: 100%;
    }


    #about-author_togzhan {
        flex: 1;
        transform: rotate(-1deg); 
        margin-bottom: 60px;
    }

    #about-author_saniya {
        margin-left: 0;
        transform: rotate(1deg); 
    }
    #about-author_togzhan::before {
        content: "Куттугаева Тогжан Кадыржановна";
        font-size: 20px;
        transform: rotate(1deg); 
        top: auto;
        right: auto;
        bottom: -30px;
        left: 15px;
        z-index: 10;
        width: 190px;
        padding: 30px;
    }
    
    #about-author_saniya::before {
        content: "Аринова Сания Алигаппаровна";
        position: absolute;
        font-size: 20px;
        transform: rotate(-3deg); 
        top: 80%;
        left: 32%;
        width: 165px;
        padding: 30px;
    }

    #togzhan .about-card {
        width: 360px;
    }
    #saniya .about-card {
        height: 236px;
        width: 360px;
    }
}
