/* Custom Footer Stylesheet */

.footer-newsletter-box {
    background: linear-gradient(135deg, #0c7e52 0%, #085a3a 100%);
    border-radius: 16px;
    padding: 30px 40px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(12, 126, 82, 0.15);
}

.footer-newsletter-box .form-control {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.footer-newsletter-box .btn-subscribe {
    background-color: #1e293b;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0 30px 30px 0;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.footer-newsletter-box .btn-subscribe:hover {
    background-color: #0f172a;
    color: #ffffff;
}

.footer-stat-card {
    text-align: center;
}

.footer-stat-card h5 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.footer-stat-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0c7e52;
    margin-bottom: 20px;
    position: relative;
}

.footer-menu-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-link li {
    margin-bottom: 10px;
}

.footer-menu-link li a {
    color: #64748b;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-menu-link li a:hover {
    color: #0c7e52;
    padding-left: 4px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: #0c7e52;
    color: #ffffff;
    transform: translateY(-3px);
}

.app-btn-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background: #ffffff;
}

.app-btn-box:hover {
    border-color: #0c7e52;
    box-shadow: 0 4px 14px rgba(12, 126, 82, 0.1);
    transform: translateY(-2px);
}

.footer-bottom-bar {
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* Department Modal Fixes */
#footerDepartmentModal {
    z-index: 10050 !important;
    background-color: rgba(0, 0, 0, 0.55) !important;
}

#footerDepartmentModal .modal-dialog {
    z-index: 10051 !important;
}

#footerDepartmentModal .modal-content {
    background: #ffffff !important;
    color: #1e293b !important;
    position: relative;
    z-index: 10052 !important;
}

#footerDepartmentModal .form-check-input {
    width: 1.15em;
    height: 1.15em;
    cursor: pointer;
}

#footerDepartmentModal .form-check-label {
    cursor: pointer;
    user-select: none;
}
