/* Dynamic Content Styles */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Live Stats */
.live-stats {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--gray);
    font-weight: 500;
}

/* Tech Showcase */
.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.tech-item:nth-child(1) { animation-delay: 0s; }
.tech-item:nth-child(2) { animation-delay: 1.5s; }
.tech-item:nth-child(3) { animation-delay: 3s; }
.tech-item:nth-child(4) { animation-delay: 4.5s; }

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    color: var(--accent-light);
}

.feature-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
    padding: 2rem 0;
    margin: 4rem 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.emergency-icon i {
    font-size: 3rem;
    opacity: 0.9;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    opacity: 0.9;
}

.btn-danger {
    background: var(--white);
    color: #dc3545;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.emergency-contact span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Trends Section */
.trends-section {
    padding: 80px 0;
    background: var(--light);
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trend-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trend-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.trend-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.trend-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.trend-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.trend-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Business Hours */
.business-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item.emergency {
    color: var(--accent-light);
    font-weight: 600;
}

/* Contact Info Emergency */
.contact-item.emergency {
    color: var(--accent-light);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for stats */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card h3 {
    animation: countUp 0.6s ease-out;
}