.about{
    display: flex;
    justify-content: center;
}

.about-main {
    width: 1280px;
    background-image: url('/img/fon-about.webp'); /* Укажите путь к вашему изображению */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Заполняет весь блок, сохраняя пропорции */
    border-radius: 8px;
}

.about-main-block {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.about-main-block h3{
    font-weight: 600;
    font-size: 28px;
    color: #ffffff;
}

.about-main-block-info{
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}

.about-main-block-info p{
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.about-main-block-info a{
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s;
    padding: 20px 50px;
    background-color: #ffffff;
    border-radius: 10px;
    min-width: 300px;
}

.about-main-block-info a:hover{
    opacity: 0.7;
}

.about-content{
    margin-top: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-content-width {
    width: 1280px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-content-width h3{
    font-weight: 600;
    font-size: 35px;
    color: #333333;
    text-align: center;
}

.about-content-width-block{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.about-content-width-block-info{
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #ffffff;
}

.about-content-width-block-info-link{
    margin-top: 70px;
}

.about-content-width-block-info a{
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #c2c5ce;
    text-decoration: none;
    transition: all 0.3s;
}

.about-content-width-block-info a:hover{
    opacity: 0.7;
}

.about-content-width-block-info-color{
    background-color: #747B8F;
}

.about-content-width-block-info-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #333333;
}

.about-content-width-block-info-color-text{
    color: #ffffff;
}

.our-when-width-text-color{
    font-weight: 400;
    font-size: 20px;
    color: #757575;
    text-align: center;
    margin-top: 15px;
}

.our-when-width-text{
    margin-top: 40px;
}

.our-when-width {
     gap: 0px;
}

.tab-buttons {
    width: 950px;
}

.tab-content {
    display: none;
    background-color: #ffffff;
    border-radius: 20px;
    border-top: 5px solid #747B8F;
    padding: 50px 100px 100px 100px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
    width: 100%;
    box-sizing: border-box;
}

.tab-content.active {
    gap: 0px;
}

.tab-content-active-p{
    font-weight: 400 !important;
    font-size: 20px !important;
    text-align: center !important;
    color: #757575 !important;
    margin-bottom: 25px !important;
}

.tab-content h3{
    margin-bottom: 40px;
}

.contact {
    margin-top: 80px;
}

.contact-main-head{
    font-weight: 600;
    font-size: 35px;
    text-align: center;
    color: #ffffff;
    margin: 50px 40px 30px 40px;
    text-align: left;
}

.contact-main-text-bold{
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    margin: 0 40px 15px 40px;
    text-align: left;
}

.contact-main-text-smoll{
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    margin: 0 40px;
    text-align: left;
}

.contact-main{
    margin-top: 80px;
}


@media (max-width: 1280px) {
    .about-main {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-main-block-info {
        flex-direction: column;
        gap: 15px;
    }

    .about-main-block-info a {
        font-weight: 400;
        font-size: 14px;
        padding: 16px 0px;
        border-radius: 10px;
        min-width: 0;
        width: 100%;
    }

    .about-main-block {
        padding: 50px 0;
        gap: 25px;
        width: 90%;
    }

    .about-main-block h3 {
        font-size: 16px;
    }

    .about-main-block-info p {
        font-weight: 500;
        font-size: 13px;
    }

    .about-content-width {
        width: 90%;
        gap: 30px;
    }

    .about-content-width h3 {
        font-weight: 600;
        font-size: 25px;
    }

    
    .about-content-width-block-info {
        padding: 25px 16px;
        display: flex;
    }

    .about-content-width-block {
        flex-direction: column;
        gap: 10px;
    }

    .about-content-width-block-info-link {
        margin-top: 45px;
    }

    .tab-buttons {
        width: 100%;
    }

    .our-when-width-text-color{
        font-weight: 400;
        font-size: 12px;
        margin-top: 20px;
    }

    .our-when-width-text {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .tab-content-active-p{
        font-weight: 400 !important;
        font-size: 12px !important;
        margin-bottom: 20px;
    }

    .tab-content h3 {
        margin-bottom: 30px;
    }

    .tab-content {
        padding: 40px 16px;
    }

    .contact {
        margin-top: 50px;
    }

    .contact-main {
        width: 90%;
    }

    .contact-main-head {
        font-size: 22px;
        margin: 30px 16px;
    }

    .contact-main-text-bold{
        font-size: 16px;
        margin: 0px 16px 15px 16px;
    }

    .contact-main-text-smoll {
        font-size: 14px;
        margin: 0 16px;
    }

    .about-content {
        margin-top: 50px;
    }

    .contact-main{
        margin-top: 50px;
    }

}