footer {
    background-color: #111;
    padding: 2rem 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left {
    flex: 1;
    position: relative;
    min-width: 280px;
}

.footer-img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-overlay-1 {
    position: absolute;
    top: 5%;
    left: 10%;
    color: white;
}

.footer-overlay-2 {
    position: absolute;
    bottom: 5%;
    left: 40%;
    color: white;
}

.footer-overlay-1 h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-overlay-1 em {
    font-style: italic;
    font-weight: 300;
}

.btn {
    background-color: #01814E;
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 400;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 2;
    gap: 2rem;
    min-height: 100%;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    min-width: 150px;
    flex: 1;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #01814E;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #eee;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #D9E74C;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    flex-direction: column;
}

.social-icons h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #01814E;

}

.social-icons a img {
    width: 24px;
    margin-right: 0.75rem;
}

.newsletter {
    flex: 1;
}

.newsletter h4 {}

.newsletter form {
    display: flex;
    margin-top: 0.5rem;
    background-color: #01814E;
    border-radius: 10px;
}

.newsletter input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter button {
    background: #eee;
    color: #111;
    border: none;
    padding: 0 1rem;
    border-radius: 0 5px 5px 0;
    font-weight: bold;
    cursor: pointer;
}

.newsletter small {
    display: block;
    margin-top: 0.5rem;
    color: #999;
    font-size: 0.8rem;
}

.footer-legal {
    border-top: 1px solid #333;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
    /* Ensures it sticks to bottom */
}

.footer-legal a {
    margin-right: 1rem;
    color: #999;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-legal p {
    margin-top: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}
.contact-info h4{
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #01814E;
}

.contact-info a {
    display: block;
    text-decoration: none;
    color: #eee;
    margin-bottom: 0.5rem;
    transition: color 0.3s;

}

.contact-info a:hover {
    color: #D9E74C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-columns {
        flex-direction: column;
    }

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

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
}