/* Footer CSS for Examinex */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Footer Styles */
.footer {
    background: var(--text-color);
    color: #fff;
    padding: 40px 0 16px;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer p, .footer a {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.8;
}

.footer a:hover {
    opacity: 1;
}

/* Social Links */
.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: #fff;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form input[type="email"] {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--text-color);
}

.newsletter-form .btn {
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer Links */
.footer ul.list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer ul.list-unstyled a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul.list-unstyled a:hover {
    color: var(--primary-color) !important;
}

/* Footer Logo */
.footer img {
    max-height: 50px;
    width: auto;
}

/* Responsive Footer */
@media (max-width: 767.98px) {
    .footer {
        padding: 30px 0 16px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .social-links {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Animation for alerts */
.alert {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 