/* Enhanced Service Detail Sections */
.service-description {
    line-height: 1.9;
}

.service-description p {
    font-size: 1.0625rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.service-description p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.service-description h4 {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.service-description h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.service-description ul.service-list {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.service-description ul.service-list li {
    font-size: 1.0625rem;
    padding: 1rem 0 1rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-description ul.service-list li:last-child {
    border-bottom: none;
}

.service-description ul.service-list li strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Enhanced Service Detail Block */
.service-detail-block {
    margin-bottom: 5rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.service-detail-block:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-detail-block:last-child {
    margin-bottom: 0;
}

/* Lead Text Styling */
.lead-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-weight: 500;
}

.what-we-do-content .lead-text {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

/* Enhanced Work Cards */
.work-card-enhanced {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.work-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.work-card-enhanced:hover::before {
    transform: scaleX(1);
}

.work-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.work-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.work-icon-enhanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.work-icon-enhanced i {
    font-size: 2rem;
    color: white;
}

.work-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
}

.work-card-enhanced h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.work-card-enhanced p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.work-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.work-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.work-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Value Cards */
.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    height: 100%;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.12);
    border-color: var(--primary-color);
}

.value-icon-wrapper {
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 1.75rem;
    color: white;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Enhanced About Hero */
.about-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-hero-image {
    position: relative;
}

.about-hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.image-badge span {
    font-weight: 700;
    color: var(--text-dark);
}

/* Hero Stats Inline */
.hero-stats-inline {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-inline-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-inline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: white;
}

.mission-image-wrapper {
    position: relative;
}

.mission-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.mission-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 250px;
}

.mission-overlay-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-overlay-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.mission-overlay-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.mission-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition-base);
}

.feature-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.feature-badge:hover i {
    color: white;
}

.feature-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

.feature-badge:hover span {
    color: white;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .service-detail-block {
        padding: 2.5rem;
    }
    
    .work-card-enhanced {
        padding: 2rem;
    }
    
    .about-hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats-inline {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .service-detail-block {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .service-description h4 {
        font-size: 1.375rem;
    }
    
    .service-description h5 {
        font-size: 1.125rem;
    }
    
    .work-card-enhanced {
        padding: 1.5rem;
    }
    
    .work-number {
        font-size: 2rem;
    }
    
    .about-hero-title {
        font-size: 1.875rem;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-inline-item h3 {
        font-size: 2rem;
    }
    
    .image-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem 1.25rem;
    }
}
