/* Footer Styles */

footer {
    background-color: rgba(0, 0, 0, 0.9); /* Dark background with transparency */
    color: var(--text-secondary); /* Use secondary text color */
    padding: 4rem 0 2rem;
}

.footer-content {
    width: 100%;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white; /* White for logo link */
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-tertiary); /* Use tertiary text color */
    font-size: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    min-width: 160px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    color: white; /* White for footer titles */
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-primary);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: var(--text-tertiary); /* Use tertiary text color */
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-info {
    list-style: none;
}

.footer-info li {
    margin-bottom: 1rem;
    color: var(--text-tertiary); /* Use tertiary text color */
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-info i {
    margin-right: 0.8rem;
    color: var(--accent-primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-tertiary); /* Use tertiary text color */
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social {
    color: var(--text-tertiary); /* Use tertiary text color */
    font-size: 1.2rem;
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.footer-social :hover {
    color: var(--accent-primary);
    transform: translateY(-3px);

}

/* Newsletter Form */
.footer-newsletter {
    margin-top: 1.5rem;
}

.newsletter-title {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white; /* White for newsletter title */
}

.newsletter-form {
    display: flex;
    max-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white; /* White for newsletter input */
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: var(--text-tertiary); /* Use tertiary text color */
}

.newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0 30px 30px 0;
    background-color: var(--accent-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-normal);
}

.newsletter-button:hover {
    background-color: var(--accent-secondary);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        margin-bottom: 1rem;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-info li {
        justify-content: center;
    }

    .newsletter-form {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-social {
        width: 100%;
        justify-content: center;
    }
}