.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 5%;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 4%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        font-size: 1.3rem;
    }

    .footer-logo-icon,
    .footer-logo-img {
        height: 40px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 5%;
    }

    .footer-links {
        gap: 0.6rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
.toast-footer {
    position: fixed;
    bottom: 30px;
    right: 30px;

    background: #333;
    color: #fff;

    padding: 12px 18px;
    border-radius: 6px;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-footer.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-footer.success {
    background: #16a34a;
}

.toast-footer.error {
    background: #dc2626;
}
/* Newsletter form container */
#newsletterForm {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    max-width: 320px;
}

/* Email input */
#newsletterForm input[type="email"] {
    flex: 1;
    padding: 10px 12px;

    font-size: 14px;
    color: #111827;

    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;

    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
#newsletterForm input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Submit button */
#newsletterForm button {
    padding: 10px 16px;

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;
    background-color: #2563eb;

    border: none;
    border-radius: 6px;

    cursor: pointer;
    white-space: nowrap;

    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover */
#newsletterForm button:hover {
    background-color: #1e4fd6;
}

/* Active click */
#newsletterForm button:active {
    transform: scale(0.96);
}

/* Disabled state */
#newsletterForm button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    #newsletterForm {
        flex-direction: column;
        align-items: stretch;
    }

    #newsletterForm button {
        width: 100%;
    }
}
