.footer-social a {
    margin-left: 10px;
}

.footer-social a:first-child {
    margin-left: 0;
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 15px;
    /* Adjust the gap between icons */
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    text-decoration: none;
}

.subscription-box {
    text-align: left;
}

.subscription-box h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.subscription-box p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#footer input[type="email"] {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    border-color: #007bff;
}

button {
    padding: 0.75rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.success-message {
    color: #28a745;
    font-weight: 600;
    margin-top: 1rem;
}

.subscription-form {
    width: 100%;
}

.input-with-button {
    position: relative;
    width: 100%;
}

.input-with-button input[type="email"] {
    width: 100%;
    padding-right: 8rem;
    /* space for the button */
}

.input-with-button button {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
    padding: 0.6rem 1rem;
    font-size: 1rem;
    background-color: #00b5d9;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.input-with-button button:hover {
    background-color: #103741;
}

.footer-copyright {
    padding: 15px 0;
}

.newsletter-box {
    padding: 50px 0;
    border-bottom: 1px solid #74787c;
}

.footer-links a {
    color: white;
}

.footer-social a svg {
    fill: white;
}

.footer-social a:hover svg {
    fill: #00b5d9;
}

.footer-links a:hover {
    color: #00b5d9;
}

.divider {
    font-size: 20px;
}

.copyright {
    color: white;
}

.icon-footer i {
    color: white;
}

.icon-footer a:hover i {
    color: #103741;
}

@media screen and (max-width: 991px) {
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        order: 1;
        margin-bottom: 10px;
    }

    .copyright {
        order: 2;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-copyright {
        width: 100%;
        margin-top: 20px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-copyright .container {
        flex-direction: row !important;
        gap: 10px;
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-links a {
        margin-left: 0 !important;
        margin-right: 10px;
    }

}

@media screen and (max-width: 576px) {

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-copyright {
        width: 100%;
        margin-top: 20px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-copyright .container {
        flex-direction: column !important;
        gap: 10px;
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        order: 1;
    }

    .footer-links a {
        margin-left: 0 !important;
        margin-right: 10px;
    }

    .icon-footer {
        order: 2;
    }

    .copyright {
        order: 3;
    }

    .divider {
        display: none;
    }
}