.newsletter-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    display: flex;
    justify-content: center;
}

.newsletter-box {
    background: #4B4B4B;
    border-radius: 60px;
    padding: 30px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.newsletter-subtitle {
    margin-bottom: 25px;
    font-size: 1rem;
    opacity: 0.9;
}

.wpcf7-list-item,
.newsletter-checkboxes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.newsletter-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #fff;
}

.newsletter-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffffff;
}

.newsletter-input-group {
    position: relative;
    margin-bottom: 40px;
}

.newsletter-input-group input {
    width: 70%;
    max-width: 550px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    padding: 8px 0;
    outline: none;
    text-align: center;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.newsletter-submit input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 65px 10px 25px;
    border-radius: 50px;
    border: 1px solid #BF1D21;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;

    background-image:
        url('http://totaline.gr/wp-content/uploads/2025/11/Group-12551.svg'),
        linear-gradient(to right, #BF1D21 50%, #4B4B4B 50%);
    background-repeat: no-repeat, no-repeat;
    background-position: right 28px center, right bottom;
    background-size: 25px, 201% 100%;
    transition: background-position .35s ease-out, color .35s ease-out;
}

.newsletter-submit input[type="submit"]:hover {
    background-position: right 28px center, left bottom;
    color: #fff;
}

.newsletter-submit .wpcf7-spinner {
    display: none !important;
}


.newsletter-footer {
    margin-top: 10px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .newsletter-box {
        padding: 40px 25px;
        border-radius: 40px;
    }

    .newsletter-checkboxes {
        gap: 20px;
    }

    .newsletter-input-group input {
        width: 90%;
    }

    .newsletter-checkboxes {
        justify-content: flex-start;
        gap: 0px;
    }
}


/* === FOOTER === */

.site-footer {
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 0 0;
    /* min-height: 426px; */
    font-family: inherit;
}

.site-footer.has-bg {
    background-image: var(--footer-bg);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 60px;
    padding: 100px 0 0;
}

.footer-logo {
    flex: 0 0 140px;
}

.footer-logo img {
    width: 80px;
    height: auto;
    display: block;
}

/* === MENUS === */
.footer-menus {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-menu h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.footer-menu h5 a {
    text-decoration: none;
    color: #fff;
    cursor: pointer !important;
}

.footer-menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu .menu ul {
    padding: 0px;
    text-align: left;
}

.footer-menu .menu li {
    margin-bottom: 6px;
    list-style: none;
    margin-left: 0px;
}

.footer-menu .menu a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-left: 0px;
}

.footer-menu .menu a:hover {
    opacity: 1;
    transform: translateX(3px);
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.footer-socials li {
    list-style: none;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    /* justify-content: center; */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.15); */
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    /* background: rgba(255, 255, 255, 0.35); */
    transform: translateY(-3px);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}


.footer-bottom {
    margin-top: auto;
    padding: 70px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-left p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-supported,
.footer-supported-marketing {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-supported p {
    margin-bottom: 0px;
}

.footer-supported a,
.footer-supported-marketing a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s;
    text-decoration: none;
    margin-left: 0px;
}

.footer-supported-marketing a:hover {
    opacity: 1;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgb(255 255 255);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .site-footer.has-bg {
        background-image: none !important;
        background-color: #000 !important;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        padding: 70px 0 0;

    }

    .footer-menus {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 60px;
        width: 100%;
        max-width: 700px;
        justify-items: center;
    }

    .footer-menu {
        text-align: center;
    }

    .footer-menu h5 {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-top: 40px;
    }

    .footer-left p,
    .footer-right p,
    .footer-menu .menu li {
        text-align: center !important;
    }

    .footer-right {
        text-align: center;
    }



    .back-to-top {
        /* right: 50%; */
        bottom: 20px;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {

    .newsletter-section {
        padding: 50px 15px;
    }

    .newsletter-box {
        padding: 50px 30px;
        margin-bottom: 40px !important;
    }

    .newsletter-title {
        font-size: 1.6rem;
    }

    .site-footer {
        min-height: auto !important;
        /* padding-top: 140px !important; */
        /* padding-bottom: 40px !important; */
        clear: both !important;
        display: block !important;
        position: relative !important;
        z-index: 2;
    }

    .footer-logo {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 20px auto;
        position: relative !important;
        top: 0 !important;
    }

    .footer-logo img {
        width: 80px;
        height: auto;
    }

    .footer-bottom,
    .footer-top {
        padding: 0px 0 0;
    }

}


@media (max-width: 576px) {

    .footer-menus {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .footer-menu h5 {
        font-size: 1.1rem;
    }

    .footer-menu .menu a {
        font-size: 1rem;
    }

    .footer-logo img {
        width: 70px;
    }

    .footer-bottom {
        padding-top: 30px;
    }

    /* .site-footer {
        padding-top: 160px !important;
    } */
}