.main-social {
    margin: 120px 0;
}

.phone-image {
    position: absolute;
    left: -29%;
    top: 41%;
    transform: translateY(-50%) rotate(6deg);
    max-width: 300px;
    height: auto;
    z-index: 5;
    width: 100%;
}

.social-section {
    background: white;
    padding: 35px 40px;
    text-align: left;
    max-width: 645px;
    border: 1px solid #cfcfcf;
    border-radius: 16px;
    position: relative;
    margin: 0 auto;
}

.social-icons-container {
    max-width: 65%;
    margin: 0 auto;
    text-align: left;
}

.social-title {
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 500;
    font-size: 32px;
    color: #222;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 60px;
    height: 60px;
}

.social-name {
    font-size: 18px;
    color: #222;
    font-weight: 400;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .main-social {
        margin-top: 150px;
    }

    .social-icons-container {
        max-width: 100%;
    }

    .phone-image {
        position: absolute;
        left: 50%;
        top: -45%;
        transform: translateX(-50%) rotate(6deg);
        max-width: 250px;
    }

    .social-section {
        padding: 26px 16px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .social-title {
        font-size: 20px;
        margin-bottom: 30px;
        padding-top: 130px;
    }

    .social-icons {
        gap: 30px;
    }

    .social-icon img {
        width: 40px;
        height: 40px;
    }

    .social-name {
        font-size: 12px;
    }
}