/* Citizen Portal Specific Styles - Minimalist Design */

.citizen-navbar {
    background: linear-gradient(135deg, #0a2647 0%, #144272 100%);
    position: relative;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    gap: 0.7rem;
}

.portal-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.portal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
    padding: 2rem 2rem 1rem;
    margin-top: 0;
}

.emergency-container {
    max-width: 1200px;
    margin: 0 auto;
}

.emergency-banner-full {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    border: 3px solid #d32f2f;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.15);
}

.emergency-title {
    font-size: 1.8rem;
    color: #0a2647;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.emergency-title .emergency-number {
    color: #d32f2f;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.emergency-text {
    font-size: 1.1rem;
    color: #546e7a;
    font-weight: 500;
}

/* Action Buttons Section */
.action-buttons-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
    padding: 1rem 2rem 2rem;
}

.action-buttons-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn svg {
    flex-shrink: 0;
}

.action-btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #0a2647 100%);
    color: #ffffff;
}

.action-btn-primary:hover {
    background: linear-gradient(135deg, #1565c0 0%, #082038 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

.action-btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    color: #1e3a5f;
    border: 2px solid #e5e9ed;
}

.action-btn-secondary:hover {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    border-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.15);
}

/* Hotlines Section - Minimalist */
.hotlines-section {
    background: #ffffff;
    padding: 4rem 2rem;
    min-height: calc(100vh - 300px);
}

.hotlines-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #7a8a99;
    font-size: 1.1rem;
}

/* Hotlines Grid - Minimalist */
.hotlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.hotline-card {
    background: #ffffff;
    border: 2px solid #e5e9ed;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hotline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.08);
    border-color: #c5d0db;
}

.hotline-card.headquarters {
    border: 2px solid #1e3a5f;
    background: #f8fafb;
}

.hotline-card.headquarters:hover {
    border-color: #1e3a5f;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #e8f0f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #4a6b8a;
}

.hotline-card.headquarters .card-icon {
    background: #1e3a5f;
    color: #ffffff;
}

.hotline-card h3 {
    color: #1e3a5f;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.hotline-card .location {
    color: #7a8a99;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.contact-info {
    background: #f0f4f8;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hotline-card.headquarters .contact-info {
    background: #fff8e1;
    border: 1px solid #ffd54f;
}

.phone-number {
    color: #1e3a5f;
    font-size: 1.1rem;
    font-weight: 700;
    user-select: all;
    cursor: text;
}

.hotline-card.headquarters .phone-number {
    color: #f57c00;
    font-size: 1.2rem;
}

.availability {
    color: #7a8a99;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background-color: #0a2647;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 0;
}

.footer-motto {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffd54f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emergency-banner-full {
        padding: 2rem;
    }

    .emergency-title {
        font-size: 1.4rem;
    }

    .emergency-title .emergency-number {
        font-size: 2rem;
    }

    .emergency-text {
        font-size: 1rem;
    }

    .action-buttons-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-btn {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hotlines-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .portal-title span {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hotlines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Enhanced Footer with Credits */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-motto {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #e8f4f8;
    font-style: italic;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-credits {
    text-align: center;
}

.credits-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.credits-text .heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.credits-text strong {
    color: #fff;
    font-weight: 600;
}

.credits-text a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.credits-text a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.credits-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.credits-note .year {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-motto {
        font-size: 0.85rem;
    }
    
    .footer-copyright,
    .credits-text {
        font-size: 0.8rem;
    }
    
    .credits-note {
        font-size: 0.75rem;
    }
}
