/* Services Page Specific Styles - Green Theme */
.service-page {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--font-default);
}

/* Color Variables - Green Theme */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-color: #059669;
    --accent-light: #34d399;
    --heading-color: #1f2937;
    --text-light: #6b7280;
    --default-color: #374151;
    --background-color: #ffffff;
    --light-background: #f9fafb;
    --dark-background: #065f46;
    --border-color: #e5e7eb;
    --font-default: "Inter", sans-serif;
}

.dark-background {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.light-background {
    background-color: var(--light-background);
}

/* Section Base Styles */
.section {
    padding: 60px 0;
}

/* Page Header - Reduced padding */
.services-header {
    padding: 125px 0 60px;
    position: relative;
    overflow: hidden;
}

.services-header .page-header-content {
    position: relative;
    z-index: 2;
}

.page-badge {
   display: inline-block;
    padding: 8px 20px;
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

.services-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
}

.services-header .lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
   background: var(--accent-color);
  color: var(--contrast-color);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);

}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
   background: #169665;
  transform: translateY(-2px);
  box-shadow: 0 18px 205px color-mix(in srgb, white, transparent 5%);
  color: var(--contrast-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
     background: color-mix(in srgb, var(--contrast-color), transparent 5%);
  box-shadow: 0 18px 205px color-mix(in srgb, white, transparent 5%);
  transform: translateX(5px);
  color: #065f46;
}

.header-visual {
    position: relative;
    text-align: center;
}

.header-visual img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Services Stats - Compact */
.services-stats {
    padding: 40px 0;
}

.stat-item {
    padding: 20px 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Services List - Reduced spacing */
.services-list {
    margin-top: 1px;
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.section-title p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: -50px;
    margin-bottom: -30px;
}

.service-detail-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-light);
}

.service-detail-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.service-detail-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.service-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.service-icon i {
    font-size: 1.375rem;
    color: white;
}

.service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.service-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}

.service-detail-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--heading-color);
    line-height: 1.3;
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.service-features {
    margin: 20px 0;
}

.service-features h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.service-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-service, .btn-service-outline {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.btn-service {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-service:hover {
    background: white;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-service-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-service-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Process Section - Compact */
.services-process {
    padding: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: -50px;
}

.process-step {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.step-icon span {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.process-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* CTA Section - Compact */
.services-cta {
    padding: 60px 0;
}

.services-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.services-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .services-header {
        padding: 80px 0 40px;
        text-align: center;
    }
    
    .services-header h1 {
        font-size: 2rem;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-detail-card {
        padding: 25px 20px;
    }
    
    .service-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .service-meta {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .services-cta .row {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .service-cta {
        flex-direction: column;
    }
    
    .btn-service, .btn-service-outline {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .services-header {
        padding: 70px 0 30px;
    }
    
    .services-header h1 {
        font-size: 1.75rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.service-detail-card:hover .service-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Minimal Gap Version */
.services-stats {
    padding: 15px 0 5px 0;
    margin-bottom: -10px;
}

#services-list.services-list {
    padding: 20px 0 40px 0;
    margin-top: 50px;
}

.stat-item {
    padding: 10px 5px;
}

.stat-number {
    font-size: 2.5rem;
    margin-bottom: 2px;
    margin-top: 30px;
}

.stat-label {
    font-size: 1rem;
}