/* ===================================
   AI Solutions Content Styles
   - Timeline Section
   - Challenges Section
   - Trust Section
   - Results Section
   =================================== */

/* ===== Timeline Section ===== */
.timeline-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #0A0E27 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 147, 30, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-hero-image {
    margin: 60px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.timeline-image-full {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 80px;
}

.timeline-item {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.timeline-kaleido {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(247, 147, 30, 0.15));
    border-color: rgba(247, 147, 30, 0.4);
}

.timeline-kaleido:hover {
    border-color: rgba(247, 147, 30, 0.6);
    box-shadow: 0 10px 40px rgba(247, 147, 30, 0.3);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6, #F97316);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.timeline-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.timeline-list li i {
    position: absolute;
    left: 0;
    color: #F97316;
    font-size: 1.1rem;
}

.timeline-arrow {
    color: #F97316;
    font-size: 2rem;
    opacity: 0.6;
}

/* Mobile Responsive - Timeline */
@media (max-width: 768px) {
    .timeline-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-arrow {
        display: none;
    }
    
    .timeline-item {
        padding: 30px 20px;
    }
}

/* ===== Challenges Section ===== */
.challenges-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.challenge-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.challenge-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.challenge-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.challenge-card:hover .challenge-image {
    transform: scale(1.1);
}

.challenge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(247, 147, 30, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.challenge-card:hover .challenge-overlay {
    opacity: 1;
}

.challenge-overlay i {
    font-size: 4rem;
    color: var(--white);
}

.challenge-content {
    padding: 30px;
}

.challenge-content h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.challenge-problem,
.challenge-solution {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.challenge-problem strong,
.challenge-solution strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.challenge-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.challenge-benefits li {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.challenge-benefits li i {
    position: absolute;
    left: 0;
    color: #10B981;
    font-size: 1rem;
}

.challenge-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tool-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(247, 147, 30, 0.15));
    color: #8B5CF6;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.tool-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(247, 147, 30, 0.2));
}

/* Mobile Responsive - Challenges */
@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .challenge-image-wrapper {
        height: 200px;
    }
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #0A0E27 100%);
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.trust-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.trust-card:hover {
    transform: translateY(-10px);
    border-color: rgba(247, 147, 30, 0.5);
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.2);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #8B5CF6, #F97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.trust-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.trust-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.trust-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.trust-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.trust-features li i {
    position: absolute;
    left: 0;
    color: #10B981;
    font-size: 1.1rem;
}

/* Quality Workflow */
.quality-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8B5CF6, #F97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.step-label {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.workflow-arrow {
    color: #F97316;
    font-size: 1.5rem;
}

/* Trust Logos */
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tool-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tool-logo:hover {
    opacity: 1;
}

/* Tools Showcase */
.trust-tools-showcase {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tool-logo-large {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tool-item:hover .tool-logo-large {
    opacity: 1;
    transform: scale(1.1);
}

.tool-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile Responsive - Trust */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quality-workflow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* ===== Results Section ===== */
.results-section {
    padding: 120px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.result-card {
    background: var(--white);
    border: 2px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: rgba(247, 147, 30, 0.5);
    box-shadow: 0 15px 50px rgba(247, 147, 30, 0.15);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #8B5CF6, #F97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.result-card h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.result-challenge {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.result-challenge strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.result-metrics {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B5CF6, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.metric-value span {
    font-size: 1.8rem;
}

.metric-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Mobile Responsive - Results */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-metrics {
        flex-direction: column;
        gap: 25px;
    }
}

/* ===== Global Utilities ===== */
.section-padding {
    padding: 80px 0;
}

.bg-white {
    background: var(--white);
}

/* Make sure section headers work properly on white backgrounds */
section.bg-white .section-header h2,
section.bg-white h2 {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
}

section.bg-white .section-header p,
section.bg-white p {
    color: #666 !important;
}

/* Make sure Trust Section headers are white on dark background */
.trust-section .section-header h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.trust-section .section-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Make sure Timeline Section headers are white on dark background */
.timeline-section .section-header h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.timeline-section .section-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Force Hero Section title to be visible - HIGHEST PRIORITY */
.services-hero .hero-title {
    color: #ffffff !important;
    font-size: 4rem !important;
    font-weight: 800 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.services-hero .hero-title .highlight {
    background: linear-gradient(135deg, #8B5CF6, #F97316, #10B981) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

}

.timeline-section .section-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Marketing Essentials - Light background sections text color fix */
.challenges-section[style*="background: #f9fafb"] .section-header h2,
.challenges-section[style*="background: #f9fafb"] .section-title {
    color: #2C3E50 !important;
    -webkit-text-fill-color: #2C3E50 !important;
}

.challenges-section[style*="background: #f9fafb"] .section-header p,
.challenges-section[style*="background: #f9fafb"] .section-subtitle {
    color: #666 !important;
}

.challenges-section[style*="background: #f9fafb"] .portfolio-note {
    color: #666 !important;
}

/* Why Choose section on white background */
section.section-padding.bg-white .section-header h2,
section.section-padding.bg-white .section-title {
    color: #2C3E50 !important;
    -webkit-text-fill-color: #2C3E50 !important;
}

section.section-padding.bg-white .section-header p,
section.section-padding.bg-white .section-subtitle {
    color: #666 !important;
}

section.section-padding.bg-white .trust-card h3 {
    color: #2C3E50 !important;
}

section.section-padding.bg-white .trust-card p {
    color: #666 !important;
}

section.section-padding.bg-white .trust-features li {
    color: #666 !important;
}
