/* Solutions Page Styles - Professional Design */

/* Enhanced Page Header */
.page-header {
    position: relative;
    padding: 160px 20px 100px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #334d7d 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 113, 227, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #f8fafc, transparent);
    pointer-events: none;
}

/* Page Badge */
.page-badge {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -1px;
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Overview Section */
.services-overview {
    background: #ffffff;
    padding: 60px 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.services-overview-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.service-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.service-category-card:hover {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    transform: translateY(-4px);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #6366f1);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.category-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.service-category-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 992px) {
    .services-overview-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .services-overview {
        padding: 40px 16px;
        margin-top: -40px;
    }
    
    .services-overview-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-category-card {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 16px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .category-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Solutions Content Section */
.solutions-content {
    padding: 80px 20px 100px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Individual Solution Items */
.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

/* Alternating layout */
.solution-item:nth-child(even) {
    direction: rtl;
}

.solution-item:nth-child(even) > * {
    direction: ltr;
}

/* Image Container */
.solution-item img {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-item:hover img {
    transform: scale(1.02);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Details Section */
.solution-details {
    padding: 40px 20px;
    position: relative;
}

/* Number indicator */
.solution-item:nth-child(1) .solution-details::before { content: '01'; }
.solution-item:nth-child(2) .solution-details::before { content: '02'; }
.solution-item:nth-child(3) .solution-details::before { content: '03'; }
.solution-item:nth-child(4) .solution-details::before { content: '04'; }
.solution-item:nth-child(5) .solution-details::before { content: '05'; }
.solution-item:nth-child(6) .solution-details::before { content: '06'; }

.solution-details::before {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(0, 113, 227, 0.08);
    line-height: 1;
    pointer-events: none;
}

.solution-details h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
    position: relative;
    padding-top: 60px;
    letter-spacing: -0.5px;
}

.solution-details h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #6366f1);
    border-radius: 2px;
}

.solution-details p {
    font-size: 17px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 28px;
    margin-top: 24px;
}

.solution-details ul {
    list-style: none;
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.solution-details ul li {
    padding: 14px 16px;
    padding-left: 44px;
    position: relative;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.solution-details ul li:hover {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    transform: translateX(4px);
}

.solution-details ul li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0071e3, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-details ul li::after {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: '→';
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0077ed 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
}

.cta-button:hover::after {
    transform: translateX(5px);
}

/* Section divider */
.solution-item::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.solution-item:last-child::after {
    display: none;
}

/* Icon badges for solution types */
.solution-item:nth-child(1) .solution-details h2::before {
    content: '💼';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

.solution-item:nth-child(2) .solution-details h2::before {
    content: '💻';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

.solution-item:nth-child(3) .solution-details h2::before {
    content: '🚀';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

.solution-item:nth-child(4) .solution-details h2::before {
    content: '🔧';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

.solution-item:nth-child(5) .solution-details h2::before {
    content: '🤖';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

.solution-item:nth-child(6) .solution-details h2::before {
    content: '⚙️';
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 28px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .solution-item {
        gap: 40px;
    }
    
    .solution-details ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 140px 20px 80px;
    }
    
    .page-header h1 {
        font-size: 42px;
    }
    
    .solution-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-item:nth-child(even) {
        direction: ltr;
    }
    
    .solution-item img {
        height: 350px;
    }
    
    .solution-details {
        padding: 20px 0;
    }
    
    .solution-details h2 {
        padding-top: 40px;
        font-size: 28px;
    }
    
    .solution-details::before {
        font-size: 60px;
        left: 0;
    }
}

@media (max-width: 768px) {
    .solutions-content {
        padding: 60px 20px 80px;
    }

    .solution-grid {
        gap: 60px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 17px;
    }
    
    .solution-item img {
        height: 280px;
        border-radius: 16px;
    }

    .solution-details h2 {
        font-size: 26px;
    }
    
    .solution-details ul {
        grid-template-columns: 1fr;
    }
    
    .solution-details ul li {
        padding: 12px 14px 12px 40px;
        font-size: 14px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 16px 60px;
    }
    
    .page-header h1 {
        font-size: 30px;
    }
    
    .solution-item img {
        height: 220px;
    }
    
    .solution-details::before {
        font-size: 50px;
    }
    
    .solution-item:nth-child(n) .solution-details h2::before {
        font-size: 22px;
    }
}
