/* ============================================
   CENDIS - Footer & Helpdesk Styles
   Footer, Helpdesk modal
   ============================================ */

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0052A3;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 14px;
}

.footer-contact p,
.footer-address p {
    color: #cbd5e1;
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact a,
.footer-address a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover,
.footer-address a:hover {
    color: #93c5fd;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    padding: 4px 0;
}

.footer-nav a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    margin-top: 40px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 13px;
}

/* === HELPDESK MODAL === */
.helpdesk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.helpdesk-modal.active {
    display: flex;
}

.helpdesk-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.helpdesk-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.helpdesk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #0052A3 0%, #003d7a 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.helpdesk-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.helpdesk-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpdesk-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.helpdesk-intro {
    padding: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.helpdesk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 30px;
}

.helpdesk-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.helpdesk-card:hover {
    box-shadow: 0 8px 24px rgba(0, 82, 163, 0.15);
    border-color: #0052A3;
    transform: translateY(-2px);
}

.helpdesk-card-title {
    color: #0052A3;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.helpdesk-contact p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.helpdesk-contact a {
    color: #0052A3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.helpdesk-contact a:hover {
    color: #003d7a;
    text-decoration: underline;
}

.helpdesk-note {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .helpdesk-modal-content {
        max-height: 95vh;
    }
    
    .helpdesk-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    
    .helpdesk-modal-header {
        padding: 20px;
    }
    
    .helpdesk-modal-header h2 {
        font-size: 22px;
    }
    
    .helpdesk-intro {
        padding: 20px;
        font-size: 14px;
    }
}