/* Global Styles */
body {
    min-height: 100vh;
    background: linear-gradient(180deg, #E0F4FF 0%, #E8F9FD 50%, #DDF2FF 100%);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.dashboard-header {
    background: linear-gradient(to bottom, #E0F4FF, #E8F9FD);
    border-radius: 35px;
    margin: 0 0 15px 0;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin: 0 15px;
    position: relative;
}

.header-logo[src*="AMC"] {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.6))
            drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.2));
    animation: logoGlow 2s infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 20px rgba(255, 255, 255, 0.6))
                drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.2));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9)) 
                drop-shadow(0 0 25px rgba(255, 255, 255, 0.7))
                drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.25));
    }
}

.header-title {
    text-align: center;
    padding: 10px 0;
}

.citizen-text {
    color: #d32f2f;
    font-size: 3rem;
    margin-right: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.dashboard-text {
    color: #1a237e;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

/* Services Grid Styles */
.services-grid {
    padding: 0 15px;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
}

.services-grid .row {
    height: 100%;
    margin: 0;
    row-gap: 5px !important;
}

.service-card {
    background: white;
    border-radius: 18px;
    padding: 0px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-title {
    font-size: 14px;
    color: #2c3e50;
    margin: 8px 0 0 0;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.dashboard-footer {
    background: #4CAF50;
    color: white;
    width: 100%;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-grid .row {
        row-gap: 30px !important;
    }
    
    .service-icon {
        width: 110px;
        height: 110px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 20px 15px;
    }
}

@media (max-width: 992px) {
    .dashboard-header {
        padding: 15px;
        margin-bottom: 25px;
    }

    .header-logo {
        height: 100px;
        margin: 0 10px;
    }

    .citizen-text {
        font-size: 2.5rem;
    }

    .dashboard-text {
        font-size: 3rem;
    }

    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
    }
    
    .dashboard-header {
        padding: 12px;
        border-radius: 25px;
    }

    .header-logo {
        height: 80px;
        margin: 0 8px;
    }
    
    .citizen-text {
        font-size: 2rem;
        margin-right: 10px;
        letter-spacing: 1px;
    }
    
    .dashboard-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .services-grid {
        padding: 0 10px;
    }

    .service-card {
        padding: 18px 12px;
    }
}

@media (max-width: 576px) {
    .dashboard-container {
        padding: 10px;
    }
    
    .header-logo {
        height: 45px;
    }
    
    .citizen-text {
        font-size: 1.2rem;
    }
    
    .dashboard-text {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 12px 8px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }
    
    .service-title {
        font-size: 0.8rem;
    }
    
    .dashboard-footer p {
        font-size: 0.9rem;
    }
}