/* Premium Service Section Layout - Clean & Professional */

/* GLOBAL: Apply gradient to ALL service titles across all pages - MUST OVERRIDE ALL OTHER STYLES */
.service-section h2.service-title,
.service-section h3.service-title,
.service-section .service-title,
.service-content h2.service-title,
.service-content h3.service-title,
.service-content .service-title,
.service-details h2.service-title,
.service-details h3.service-title,
.service-details .service-title,
.service-left-column h2.service-title,
.service-left-column h3.service-title,
.service-left-column .service-title,
.service-section-grid h2.service-title,
.service-section-grid h3.service-title,
.service-section-grid .service-title,
section.service-section .service-title,
section h2.service-title.service-title,
section h3.service-title.service-title {
    background: linear-gradient(135deg, #ffffff 0%, #ff6b00 50%, #ff8533 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Handle split-word titles - GLOBAL override for all contexts - MUST OVERRIDE PERFECT-DESIGN.CSS */
span.first-word,
.service-title span.first-word,
.service-title .first-word,
.service-section .service-title .first-word,
.service-section .service-title span.first-word,
.service-content .service-title .first-word,
.service-content .service-title span.first-word,
.service-details .service-title .first-word,
.service-details .service-title span.first-word,
.service-details h2.service-title .first-word,
.service-details h2.service-title span.first-word,
.service-content h2.service-title .first-word,
.service-content h2.service-title span.first-word,
.service-left-column .service-title .first-word,
.service-left-column .service-title span.first-word {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block !important;
}

span.second-word,
.service-title span.second-word,
.service-title .second-word,
.service-section .service-title .second-word,
.service-section .service-title span.second-word,
.service-content .service-title .second-word,
.service-content .service-title span.second-word,
.service-details .service-title .second-word,
.service-details .service-title span.second-word,
.service-details h2.service-title .second-word,
.service-details h2.service-title span.second-word,
.service-content h2.service-title .second-word,
.service-content h2.service-title span.second-word,
.service-left-column .service-title .second-word,
.service-left-column .service-title span.second-word {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block !important;
    margin-left: 0.25rem !important;
}

/* Animated underline keyframes */
@keyframes underlineGrow {
    0% {
        width: 0 !important;
        opacity: 0 !important;
    }
    50% {
        opacity: 1 !important;
    }
    100% {
        width: 60px !important;
        opacity: 1 !important;
    }
}

@keyframes underlineShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* GLOBAL: Orange underline for ALL service titles with animation - MUST OVERRIDE ALL OTHER STYLES */
.service-section h2.service-title::after,
.service-section h3.service-title::after,
.service-section .service-title::after,
.service-content h2.service-title::after,
.service-content h3.service-title::after,
.service-content .service-title::after,
.service-details h2.service-title::after,
.service-details h3.service-title::after,
.service-details .service-title::after,
.service-details h2.service-title::after,
.service-details h3.service-title::after,
h2.service-title::after,
h3.service-title::after,
.service-title::after,
.service-left-column h2.service-title::after,
.service-left-column h3.service-title::after,
.service-left-column .service-title::after,
.service-section-grid h2.service-title::after,
.service-section-grid h3.service-title::after,
.service-section-grid .service-title::after,
section.service-section .service-title::after,
section h2.service-title.service-title::after,
section h3.service-title.service-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #ff6b00 0%, #ff8533 50%, #ff6b00 100%) !important;
    background-size: 200% 100% !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4) !important;
    animation: underlineGrow 0.8s ease-out 0.2s forwards, underlineShimmer 3s ease-in-out 1.2s infinite !important;
    transform-origin: left center !important;
}

/* Force gradient to override color in perfect-design.css */
.service-details .service-title .first-word,
.service-details h2.service-title .first-word {
    color: transparent !important;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.service-details .service-title .second-word,
.service-details h2.service-title .second-word {
    color: transparent !important;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Service Section */
.service-section {
    padding: 4rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    position: relative !important;
    background: transparent !important;
}

.service-section:last-child {
    border-bottom: none !important;
}

.service-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.01) !important;
}

.service-section:nth-child(odd) {
    background: transparent !important;
}

/* Service Content Grid */
.service-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 2rem 2rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5rem !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 320px !important;
}

@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* Left Column */
.service-left-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Service Title Typography - Applied to ALL service titles */
h2.service-title,
h3.service-title,
.service-title,
.service-content .service-title,
.service-details .service-title,
.service-details h2.service-title,
.service-left-column .service-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
    padding-bottom: 1rem !important;
    transform: none !important;
    width: 100% !important;
    display: block !important;
}

/* Feature List */
.service-left-column .feature-list,
.service-content .feature-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.875rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* Feature Items */
.service-left-column .feature-item,
.service-content .feature-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 1rem 1.25rem !important;
    padding-left: calc(1.25rem + 24px + 1rem) !important;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Checkmark Icons */
.service-left-column .feature-item::before,
.service-content .feature-item::before {
    content: '✓' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 0.875rem !important;
    position: absolute !important;
    left: 1.25rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3) !important;
}

/* Hover Effects */
.service-left-column .feature-item:hover::before,
.service-content .feature-item:hover::before {
    transform: translateY(-50%) scale(1.1) !important;
    background: linear-gradient(135deg, #ff8533 0%, #ff6b00 100%) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.5) !important;
}

.service-left-column .feature-item:hover,
.service-content .feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 100%) !important;
    border-color: rgba(255, 107, 0, 0.4) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2) !important;
}

/* Right Column */
.service-right-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    padding-top: 0 !important;
}

/* Description */
.service-right-column .service-description,
.service-content .service-description {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.service-right-column .service-description p,
.service-content .service-description p {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.service-right-column .service-description p:first-child,
.service-content .service-description p:first-child {
    margin-top: 0 !important;
}

.service-right-column .service-description p:last-child,
.service-content .service-description p:last-child {
    margin-bottom: 0 !important;
}

/* Feature Divider */
.feature-divider {
    display: none !important;
}

/* Service Section Grid */
.service-section-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

.service-section-grid .service-section {
    padding: 4rem 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.service-section-grid .service-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.01) !important;
}

/* Layout Consistency */
.service-section:nth-child(even) .service-content {
    direction: ltr !important;
}

.service-section:nth-child(even) .service-content > * {
    direction: ltr !important;
}

/* Responsive */
@media (max-width: 768px) {
    .service-content {
        padding: 0 1.5rem !important;
        gap: 2.5rem !important;
    }
    
    .service-section {
        padding: 3rem 0 !important;
    }
    
    .service-section-grid .service-section {
        padding: 3rem 1.5rem !important;
    }
    
    .service-section h2.service-title,
    .service-section h3.service-title,
    .service-section .service-title,
    .service-content h2.service-title,
    .service-content h3.service-title,
    .service-content .service-title,
    .service-details h2.service-title,
    .service-details h3.service-title,
    .service-details .service-title {
        font-size: 1.75rem !important;
        background: linear-gradient(135deg, #ffffff 0%, #ff6b00 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
    }
    
    .service-title .second-word {
        background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    .service-content .feature-item {
        padding: 0.875rem 1rem !important;
        padding-left: calc(1rem + 24px + 1rem) !important;
        font-size: 0.95rem !important;
    }
    
    .service-content .feature-item::before {
        left: 1rem !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 0.8rem !important;
    }
}
