footer {
    color: #333;
    padding: 40px 20px 20px 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    text-align: center;
    margin-top: 18px;
}

.footer-left,
.link-column {
    min-width: 150px;
    max-width: 180px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease-in-out;
}

.social-icons img:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.link-column {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.link-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.link-column a {
    text-decoration: none;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.link-column a:hover {
    color: #0042d0;
}

.link-column a:active {
    color: #0033a1;
}

.copy {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 30px;
}

.footer-newsletter {
    max-width: 640px;
    margin: 16px auto 24px auto;
    text-align: center;
    padding: 0;
    background: transparent;
    border: 0;
}

.footer-newsletter p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.footer-newsletter form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.footer-newsletter input[type="email"] {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 260px;
}

.footer-newsletter button {
    height: 34px;
    padding: 0 18px;
    background-color: #007bff;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    width: auto;
    flex: 0 0 auto;
}

.footer-newsletter button:hover {
    background-color: #0056b3;
}

#footerEmailResponse {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
}

@media (max-width: 520px) {
    .footer-newsletter form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        justify-items: center;
    }
    .footer-newsletter input[type="email"] {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .link-column {
        align-items: center;
        text-align: center;
    }
}


