/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Service Overview */
.service-overview {
    padding: 100px 0;
    background-color: #f9fafb;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #3b82f6;
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Service Details */
.service-details {
    padding: 100px 0;
}

.service-details-grid {
    margin-top: 3rem;
}

.service-detail {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 4rem;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
}

.detail-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.detail-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4b5563;
}

.service-list li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.detail-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background-color: #f9fafb;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-3px);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}

.tech-item span {
    font-size: 0.9rem;
    color: #4b5563;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: #3b82f6;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9fafb;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #e5e7eb;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-detail {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 60px;
    }
    
    .service-detail.reverse {
        flex-direction: column;
    }
    
    .detail-content, .detail-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .feature-card, .tech-category {
        padding: 1.5rem 1.25rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 100px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 1.25rem;
    }
}
