/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #007ABB 0%, #005A8B 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    z-index: 10;
    width: 100%;
    clear: both;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.footer-main {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-column h3,
.footer-column h4,
.footer-column h5 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-column h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-column h3::after,
.footer-column h4::after,
.footer-column h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Brand Section */
.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 187, 0.3);
    color: #ffffff;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    color: #ffffff;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p::before {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Newsletter Section */
.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter h5 {
    margin-top: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 187, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Animations */
.footer-column {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-column h3,
    .footer-column h4,
    .footer-column h5 {
        margin-bottom: 1rem;
    }

    .footer-column h3 {
        font-size: 1.3rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column h5 {
        font-size: 0.9rem;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info {
        text-align: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 1rem auto 0;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .newsletter {
        padding: 1.5rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .footer-bottom {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    .footer-bottom-links {
        gap: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #005A8B 0%, #003D66 100%);
    }
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    .footer {
        background: linear-gradient(135deg, #007ABB 0%, #005A8B 100%);
    }
}