@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.footer-container-2 {
    background-color: #482875;
    color: #fff;
    padding: 140px 0 40px 0; /* Adjusted top padding */
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
    margin-top: -80px; /* Pull up behind the curve */
}

.footer-content-2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: 30%;
}

.footer-logo img {
    max-width: 250px;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-menu {
    margin-top: 30px;
}

    .footer-menu p {
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .footer-menu a {
        color: #fff;
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .footer-menu a:hover {
            opacity: 1;
        }

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}


.footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-basis: 60%;
    text-align: right;
}

.newsletter-signup h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
}

    .newsletter-form input {
        width: 100%;
        padding: 15px;
        border: none;
        background-color: transparent;
        color: #fff;
        outline: none;
        font-size: 1rem;
    }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .newsletter-form button {
        padding: 15px 35px;
        border: none;
        background-color: #F6861F;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 1rem;
        box-shadow: 3px 3px 0 0 white;
        border-radius: 8px;
    }

        .newsletter-form button:hover {
            background-color: #e0700f;
        }

.footer-addresses {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
    margin-top: 20px;
}

.address-block {
    max-width: 300px;
}

    .address-block h5 {
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .address-block p {
        font-size: 0.7rem;
        line-height: 1.5;
        opacity: 0.8;
        margin: 0;
    }

@media (max-width: 1200px) {

    .newsletter-signup h4 {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-container-2 {
        padding: 70px 0 30px 0; /* Reduced padding for mobile */
        margin-top: -50px; /* Reduced margin for mobile */
    }

    .footer-content-2 {
        flex-direction: column;
        text-align: left; /* Left align instead of center for better readability */
        gap: 10px; /* Reduced gap */
        padding: 0 15px; /* Reduced side padding */
    }

    .footer-left, .footer-right {
        flex-basis: 100%;
        text-align: left; /* Left align for consistency */
    }

    .footer-left {
        margin-bottom: 20px; /* Reduced margin */
    }

    .footer-logo img {
        max-width: 180px; /* Smaller logo for mobile */
    }

    .footer-menu {
        margin-top: 20px; /* Reduced margin */
    }

        .footer-menu a {
            margin-bottom: 8px; /* Reduced margin between menu items */
            font-size: 0.9rem;
        }

    .footer-copyright {
        margin-top: 1rem; /* Reduced margin */
    }

    .newsletter-form {
        margin-left: unset;
    }

        .newsletter-form input {
            font-size: 0.9rem;
        }

    .footer-right {
        margin-top: 0; /* Remove extra margin */
        text-align: left; /* Left align for consistency */
        gap: 25px; /* Reduced gap */
    }

    .newsletter-signup h4 {
        font-size: 1rem; /* Slightly smaller heading */
        margin-bottom: 15px; /* Reduced margin */
    }

    .footer-addresses {
        flex-direction: column;
        gap: 20px; /* Reduced gap between addresses */
        margin-top: 15px; /* Reduced margin */
    }

    .address-block {
        text-align: left; /* Left align for better readability */
        max-width: 100%; /* Full width */
    }

        .address-block h5 {
            margin-bottom: 8px; /* Reduced margin */
        }

    .newsletter-form button {
        padding: 10px 25px;
        font-size: 0.9rem;
        box-shadow: 2px 2px 0 0 white;
    }
}
