:root {
    --premium-blue: #1e3c72;
    --premium-violet: #2a5298;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --info-sky: #0ea5e9;
    --visitor-blue: #38bdf8;
}

.visitor-accent {
    color: var(--visitor-blue) !important;
}

.dashboard-bg {
    background: #f0f2f5;
    min-height: 100vh;
    padding-bottom: 50px;
}

/* Welcome Banner - Professional Command Center Redesign */
.welcome-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 38.59V40h1.41l1.1-1.11L1.41 37.5 0 38.59zM0 1.41V0h1.41l1.1 1.11L1.41 2.5 0 1.41zM38.59 0H40v1.41l-1.11 1.1L37.5 1.41 38.59 0zM40 38.59V40h-1.41l-1.1-1.11 1.1-1.1 1.41 1.1z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.banner-content { position: relative; z-index: 1; width: 100%; }

.banner-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.banner-stat-item { text-align: center; }
.banner-stat-label { 
    color: rgba(255, 255, 255, 0.45); 
    text-transform: uppercase; 
    letter-spacing: 1.2px; 
    font-weight: 800;
    margin-bottom: 4px;
}
.banner-stat-value { 
    font-size: 1.6rem; 
    font-weight: 800; 
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 6px;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background-color: inherit;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.7); opacity: 1; }
    80%, 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.btn-refresh-dashboard {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin-left: 5px;
}
.refresh-link-banner {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-left: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    cursor: pointer !important;
    position: relative;
    z-index: 105;
    outline: none !important;
}

.btn-refresh-dashboard:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(180deg) scale(1.1);
}

.btn-refresh-dashboard:active {
    transform: rotate(180deg) scale(0.95);
}

.btn-refresh-dashboard i {
    font-size: 1.1rem;
    line-height: 1;
}


.refresh-link-banner:hover {
    color: #60a5fa !important;
    transform: rotate(180deg) scale(1.2);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}


/* Stats Grid */
.stats-container { margin-top: 20px; }
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    animation: cardAppear 0.6s backwards;
}
.glass-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--premium-blue);
    line-height: 1;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Performance Indicator */
.performance-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-top-color: var(--success-green);
    position: relative;
}

.performance-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success-green);
}

/* News & Opinion */
.side-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--premium-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Professional News Timeline Feed */
.title-icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

/* Redesigned News Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: white;
    height: 48px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.premium-view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ticker-title {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.premium-view-all-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.news-timeline-container {
    position: relative;
    padding: 10px 0 10px 20px;
    margin-top: 5px;
}

.timeline-track {
    position: absolute;
    left: 42px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6 0%, #e2e8f0 100%);
    opacity: 0.3;
}

.news-scroll-modern {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-scroll-modern::-webkit-scrollbar {
    width: 5px;
}

.news-scroll-modern::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 25px;
    margin-bottom: 24px;
}

.timeline-dot {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3), 0 0 0 4px #ffffff;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-dot i {
    display: block;
    line-height: 1;
}

.ticker-title::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 15px solid #1d4ed8;
}

.timeline-item:hover .timeline-dot {
    background: #3b82f6;
    color: #ffffff;
    transform: scale(1.1);
}

.dot-pulse {
    animation: dot-pulse-shadow 2s infinite;
}

@keyframes dot-pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.timeline-content-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    flex-grow: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.timeline-item:hover .timeline-content-card {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.card-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-type-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.type-circular { background: #fee2e2; color: #ef4444; }
.type-update { background: #dcfce7; color: #16a34a; }

.news-time-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.ticker-content {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 30px;
}

.timeline-subject {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    line-height: 1.5;
    transition: color 0.2s;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.timeline-item:hover .timeline-subject {
    color: #3b82f6;
}

.ticker-item:hover {
    color: #3b82f6;
}

.card-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.stat-group {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.stat-group span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-group i {
    font-size: 0.9rem;
}

.read-more-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 8px;
}

.new-glow-label {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #3b82f6;
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    z-index: 10;
}

/* Latest Updates Redesign */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-card-premium {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.update-card-premium:hover {
    transform: translateX(8px);
    border-color: #3b82f6;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
}

.update-icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.update-card-premium:hover .update-icon-box {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.update-content {
    flex-grow: 1;
    overflow: hidden;
}

.update-title {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.update-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Citizen Opinion Redesign */
.opinion-poll-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

.poll-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.poll-option:hover {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.05);
}

.poll-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.poll-option-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: #475569;
    letter-spacing: 0.5px;
}

.poll-option-percent {
    font-weight: 800;
    font-size: 0.9rem;
    color: #3b82f6;
}

.poll-progress-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.poll-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.text-slate-700 {
    color: #334155;
}

#opinionData table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 15px;
}

#opinionData table td:last-child {
    border-left: 1px solid #f1f5f9;
}
/* Services & Solutions Redesign */
.services-solutions-section {
    position: relative;
    padding: 80px 0;
    background: #f8fafc;
    overflow: hidden;
    z-index: 1;
}

.services-solutions-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.service-card-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(30, 60, 114, 0.1);
    border-color: rgba(30, 60, 114, 0.1);
}

.service-card-premium .card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card-premium:hover .card-icon-wrapper {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-card-premium .card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card-premium .card-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-card-premium .card-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(37, 99, 235, 0.03);
    z-index: -1;
    transition: all 0.5s ease;
}

.service-card-premium:hover .card-decoration {
    transform: scale(1.2) rotate(-10deg);
    color: rgba(37, 99, 235, 0.06);
}

.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-premium .badge-premium {
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header-premium h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.section-header-premium p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Support & Helpline Redesign */
.support-banner {
    padding: 60px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
}

.support-card-premium {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.05);
    flex-wrap: wrap;
    gap: 30px;
}

.support-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 15px 30px rgba(30, 60, 114, 0.2);
}

.support-text h4 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.support-text p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 1.1rem;
    max-width: 500px;
}

.helpline-btn-premium {
    background: #1e3c72;
    color: white !important;
    padding: 20px 45px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.15);
}

.helpline-btn-premium:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
}

/* Enhanced Module Styling */
.modules-section-premium {
    padding: 80px 0;
    background: #ffffff;
}

.module-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.module-tile-premium {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.module-tile-premium:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    transform: translateY(-8px);
}

.module-tile-premium .tile-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.tile-primary { background: #eff6ff; color: #2563eb; }
.tile-success { background: #f0fdf4; color: #16a34a; }
.tile-warning { background: #fffbeb; color: #d97706; }

.module-tile-premium:hover .tile-icon {
    transform: scale(1.1) rotate(5deg);
}

.module-tile-premium h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.module-tile-premium .features {
    text-align: left;
    flex-grow: 1;
}

.module-tile-premium .nav-tabs.service_list {
    border: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 15px;
    justify-content: center;
}

.module-tile-premium .nav-tabs.service_list .nav-link {
    padding: 8px 14px;
    border: none !important;
    border-radius: 50px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
}

.module-tile-premium .nav-tabs.service_list .nav-link h4 {
    font-size: 0.8rem;
    margin: 0;
}

.module-tile-premium .nav-tabs.service_list .nav-link:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.module-tile-premium .nav-tabs.service_list .nav-link.active {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.module-tile-premium .tab_body {
    padding: 10px 5px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.module-tile-premium .tab_body p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.module-tile-premium .tab_body a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background: #eff6ff;
    color: #4f46e5;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.module-tile-premium .tab_body a:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}


.btn-module-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary-premium { background: #eff6ff; color: #2563eb; }
.btn-primary-premium:hover { background: #2563eb; color: #fff; transform: translateY(-3px); }

.btn-success-premium { background: #f0fdf4; color: #16a34a; }
.btn-success-premium:hover { background: #16a34a; color: #fff; transform: translateY(-3px); }

.btn-warning-premium { background: #fffbeb; color: #d97706; }
.btn-warning-premium:hover { background: #d97706; color: #fff; transform: translateY(-3px); }

/* ═══════════════════════════════════════
   OVERLAP FIX – About Us negative margin
   ═══════════════════════════════════════ */
section.about_box_sec {
    margin: 0 !important;
    padding: 60px 0 !important;
    position: relative;
    z-index: 3;
    background: #fff;
}

section.about_box_sec .card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 30px 40px;
    border: 1px solid #f1f5f9;
}

.section-bg2 {
    padding-bottom: 60px !important;
}

/* ═══════════════════════════════════════
   PREMIUM FOOTER STYLES
   ═══════════════════════════════════════ */
#footer.footer {
    background: linear-gradient(180deg, #0c1222 0%, #0f172a 100%) !important;
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    position: relative;
}

#footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: footerGradient 4s linear infinite;
}

@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

#footer h4, #footer h5 {
    color: #ffffff !important;
}

#footer p, #footer span {
    color: #cbd5e1 !important;
}

#footer a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

#footer a:hover {
    color: #60a5fa !important;
    padding-left: 3px;
}

#footer .bi-chevron-right {
    color: #60a5fa !important;
}

/* Social Icon Hover */
#footer a[style*="42px"] {
    transition: all 0.35s ease !important;
}

#footer a[style*="42px"]:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #a5b4fc !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    padding-left: 0 !important;
}

/* Copyright bar */
#footer .row.align-items-center span,
#footer .row.align-items-center a {
    color: #94a3b8 !important;
}

#footer .row.align-items-center a:hover {
    color: #93c5fd !important;
    padding-left: 0 !important;
}

/* Modern SLA Performance Widget */
.performance-card-premium {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.performance-card-premium::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sla-gauge-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.sla-svg-gauge {
    transform: rotate(-90deg);
}

.sla-gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.sla-gauge-progress {
    fill: none;
    stroke: url(#slaGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-in-out;
}

.sla-inner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sla-percent-display {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.sla-status-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.sla-stats-modern {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.sla-stat-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: left;
}

.sla-stat-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.stat-pill-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-pill-value {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.text-success-glow { color: #4ade80; text-shadow: 0 0 10px rgba(74, 222, 128, 0.3); }
.text-danger-glow { color: #f87171; text-shadow: 0 0 10px rgba(248, 113, 113, 0.3); }

/* Premium Tabs for Statistics */
.modern-tabs {
    border-bottom: none;
    gap: 10px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 12px;
    display: inline-flex;
}

.modern-tabs .nav-link {
    border: none !important;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern-tabs .nav-link:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.5);
}

.modern-tabs .nav-link.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

