/* E-Services Dashboard Styles */
.services-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.service-card {
    background: rgb(223, 215, 215); /* User edit */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(3, 70, 255, 0.644); /* User edit */
    border-color: var(--primary-light);
}

.card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.btn-details, .btn-start {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-details {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #ddd;
}

.btn-details:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.btn-start {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-start:hover {
    background: var(--primary-dark);
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    margin: 20px 0;
    color: var(--primary);
}

.info-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 4px solid var(--primary);
}


/* Refactoring overrides */
.services-hero {
    /* Uses CSS variable for dynamic image, fallback to gradient only */
    --hero-bg: none; 
    background-image: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(212, 160, 23, 0.85) 100%), var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.hero-subtitle {
    font-size: 1.2rem;
}

.mt-auto {
    margin-top: auto;
}

.col-span-full {
    grid-column: 1 / -1;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 40px;
}
