footer {
    background: var(--bg-surface);
    min-height: 500px;
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.footer {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
    position: relative;
}

.top-section {
    width: 80%;
    min-height: 120px;
    border-radius: var(--radius-sm);
    position: absolute;
    top: -18%;
    background-color: var(--footer-bg);
    border: 1px solid var(--border-medium);
    display: flex;
    flex-direction: row;
    text-align: start;
    padding: 15px 20px;
    gap: var(--gap-sm);
}

.top-section-left {
    flex-direction: column;
    gap: var(--gap-xs);
}

.top-section-left h3 {
    width: 100%;
}

.top-section-right {
    gap: var(--gap-sm);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-section-right, .top-section-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.submit-email-value {
    padding: 0.65rem 2rem;
}

.bottom-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-lg);
    margin-top: 70px;
    padding: 0 var(--padding-container);
}

.left-bottom-part {
    align-items: flex-start;
    gap: var(--gap-xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.icons-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-sm);
    cursor: pointer;
}

.medium-bottom-part {
    justify-content: space-between;
}

.items {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--animation);
}

.items p:hover {
    color: var(--footer-text-hover);
    transform: translateX(10px);
}

.footer-items h3, .left-bottom-part h3, .right-bottom-part h3 {
    color: var(--text-heading);
    margin-bottom: var(--gap-sm);
}

.social-part {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: var(--gap-md);
    cursor: pointer;
}

.social-icon {
    font-size: 24px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--animation);
}

.social-icon:hover {
    color: var(--footer-text-hover);
    transform: translateY(-5px);
}

.plus-part {
    padding: var(--padding-lg);
    background: var(--footer-plus-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 800px) {
    .footer {
        flex-direction: column;
        margin-top: 20px;
    }

    .bottom-section {
        flex-direction: column;
    }


    .top-section {
        width: 90%;
        flex-direction: column;
        top: -10%;
    }

    .top-section-left, .top-section-right {
        width: 100%;
    }

    .submit-email-value {
        padding: 0.6rem 1rem;
    }
}
