/* Footer Section */
.footer {
    background-color: #f9fbff;
    padding-top: 70px;
    border-top: 1px solid #eaeef5;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
}

.footer-tagline {
    color: #3b5aab;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.5;
}

.footer-social p {
    color: #555;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #3b5aab;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: #004ce5;
    transform: translateY(-2px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-newsletter h3 {
    color: #222;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background-color: #004ce5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #004ce5;
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1.5;
    min-width: 300px;
}

.footer-newsletter p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #004ce5;
}

.subscribe-btn {
    background-color: #004ce5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.subscribe-btn:hover {
    background-color: #003bb2;
    transform: translateY(-2px);
}

/* Disabled states and coming soon text */
.newsletter-form input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.newsletter-form .subscribe-btn:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.newsletter-form .subscribe-btn:disabled:hover {
    background-color: #ccc;
    transform: none;
}

.coming-soon-text {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

.footer-bottom {
    background-color: #f0f5ff;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive styles for footer */
@media (max-width: 992px) {
    .footer-content {
        gap: 30px;
    }

    .footer-brand {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 50px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand,
    .footer-links,
    .footer-newsletter {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 15px 0;
    }
}
