/* Service Page Styling */

/* Hero Section */
.service-hero {
    background-color: #2D2D2D;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    width: 100%; /* Ensure it doesn't cause horizontal overflow */
}

.service-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Features Section */
.service-features {
    padding: 80px 0;
    background-color: #fff;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2D2D2D;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.service-process {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.service-process h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #2D2D2D;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #FFF0E6;
    color: #FF6B19;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2D2D2D;
}

.process-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Technologies Section */
.service-technologies {
    padding: 80px 0;
    background-color: #fff;
}

.service-technologies h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #2D2D2D;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

.tech-item {
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    object-fit: contain;
}

.tech-item span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-features-grid,
    .process-steps,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .service-hero {
        padding: 120px 0 50px;
        margin-top: 60px;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .service-hero p {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .service-features,
    .service-process,
    .service-technologies {
        padding: 50px 0;
    }
    
    .service-process h2,
    .service-technologies h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .feature-card h3,
    .process-step h3 {
        font-size: 18px;
    }
    
    .feature-card p,
    .process-step p {
        font-size: 14px;
    }
    
    .tech-item img {
        width: 60px;
        height: 60px;
    }
    
    .tech-item span {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .service-hero {
        padding: 100px 0 40px;
    }
    
    .service-hero h1 {
        font-size: 28px;
    }
    
    .service-features-grid,
    .process-steps,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card,
    .process-step {
        padding: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .service-process h2,
    .service-technologies h2 {
        font-size: 24px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-item img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 90px 0 30px;
    }
    
    .service-hero h1 {
        font-size: 24px;
    }
    
    .service-hero p {
        font-size: 14px;
    }
    
    .service-features,
    .service-process,
    .service-technologies {
        padding: 40px 0;
    }
    
    .feature-card h3,
    .process-step h3 {
        font-size: 16px;
    }
    
    .tech-item {
        padding: 10px;
    }
    
    .tech-item img {
        width: 40px;
        height: 40px;
    }
    
    .tech-item span {
        font-size: 12px;
    }
}
