/* Service Details Page Custom Styles */

/* Container for service detail content */
.service-detail-container {
    padding: 0;
}

/* Service Hero Section */
.service-detail-hero {
    background: white;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    transform: translate(30%, -30%);
    opacity: 0.5;
}

.service-detail-hero.purple-theme::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.service-detail-hero.green-theme::before {
    background: linear-gradient(135deg, rgba(10, 147, 150, 0.1) 0%, rgba(12, 116, 119, 0.1) 100%);
}

.service-detail-hero.blue-theme::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.service-detail-hero.orange-theme::before {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-badge {
    display: inline-block;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-badge.purple-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-badge.green-theme {
    background: linear-gradient(135deg, #0a9396 0%, #0c7477 100%);
}

.service-badge.blue-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.service-badge.orange-theme {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.service-detail-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 20px;
    color: #5a5a6a;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Hero Illustration */
.service-hero-illustration {
    margin: 40px 0;
    text-align: center;
    overflow: hidden;
}

.service-hero-illustration svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ensure all SVGs in content sections are responsive */
.service-content-section svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Content Sections */
.service-content-section {
    background: white;
    border-radius: 20px;
    padding: 50px 60px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-content-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.service-content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.service-content-section.purple-theme h2::after {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.service-content-section.green-theme h2::after {
    background: linear-gradient(90deg, #0a9396 0%, #0c7477 100%);
}

.service-content-section.blue-theme h2::after {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.service-content-section.orange-theme h2::after {
    background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
}

.service-content-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-content-section p {
    font-size: 18px;
    color: #5a5a6a;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Features Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-feature-card {
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-feature-card.purple-theme {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.service-feature-card.green-theme {
    background: linear-gradient(135deg, rgba(10, 147, 150, 0.05) 0%, rgba(12, 116, 119, 0.05) 100%);
}

.service-feature-card.blue-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.service-feature-card.orange-theme {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.service-feature-card:hover {
    transform: translateY(-5px);
}

.service-feature-card.purple-theme:hover {
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.service-feature-card.green-theme:hover {
    box-shadow: 0 15px 30px rgba(10, 147, 150, 0.2);
}

.service-feature-card.blue-theme:hover {
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.service-feature-card.orange-theme:hover {
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.2);
}

.service-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-feature-icon.purple-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-feature-icon.green-theme {
    background: linear-gradient(135deg, #0a9396 0%, #0c7477 100%);
}

.service-feature-icon.blue-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.service-feature-icon.orange-theme {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.service-feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white !important;
}

.service-feature-icon svg path,
.service-feature-icon svg circle,
.service-feature-icon svg rect,
.service-feature-icon svg polyline,
.service-feature-icon svg polygon,
.service-feature-icon svg line {
    fill: white !important;
    stroke: white !important;
}

.service-feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-feature-card p {
    font-size: 16px;
    color: #5a5a6a;
    margin: 0;
    line-height: 1.6;
}

/* Benefits List */
.service-benefits-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.service-benefits-list li {
    font-size: 18px;
    color: #2c3e50;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    position: relative;
    padding-left: 60px;
}

.service-benefits-list li.purple-theme {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.service-benefits-list li.green-theme {
    background: linear-gradient(135deg, rgba(10, 147, 150, 0.05) 0%, rgba(12, 116, 119, 0.05) 100%);
}

.service-benefits-list li.blue-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.service-benefits-list li.orange-theme {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.service-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.service-benefits-list li.purple-theme::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-benefits-list li.green-theme::before {
    background: linear-gradient(135deg, #0a9396 0%, #0c7477 100%);
}

.service-benefits-list li.blue-theme::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.service-benefits-list li.orange-theme::before {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

/* Process Steps */
.service-process-steps {
    margin-top: 40px;
    position: relative;
}

.service-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.service-step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.service-step-number.purple-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-step-number.green-theme {
    background: linear-gradient(135deg, #0a9396 0%, #0c7477 100%);
    box-shadow: 0 10px 30px rgba(10, 147, 150, 0.3);
}

.service-step-number.blue-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.service-step-number.orange-theme {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.3);
}

.service-step-content {
    flex: 1;
}

.service-step-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.service-step-content p {
    font-size: 17px;
    color: #5a5a6a;
    margin: 0;
}

/* CTA Section */
.service-cta-section {
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: white;
    margin-top: 40px;
}

.service-cta-section.purple-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.service-cta-section.green-theme {
    background: linear-gradient(135deg, #0a9396 0%, #0c7477 100%);
    box-shadow: 0 20px 60px rgba(10, 147, 150, 0.4);
}

.service-cta-section.blue-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.service-cta-section.orange-theme {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    box-shadow: 0 20px 60px rgba(251, 146, 60, 0.4);
}

.service-cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.service-cta-section h2::after {
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.service-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 30px;
}

.service-cta-button {
    display: inline-block;
    background: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-cta-button.purple-theme {
    color: #667eea;
}

.service-cta-button.green-theme {
    color: #0a9396;
}

.service-cta-button.blue-theme {
    color: #3b82f6;
}

.service-cta-button.orange-theme {
    color: #fb923c;
}

.service-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .service-detail-hero,
    .service-content-section {
        padding: 40px 30px;
    }

    .service-detail-hero h1 {
        font-size: 36px;
    }

    .service-content-section h2 {
        font-size: 28px;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-section {
        padding: 40px 30px;
    }

    .service-step {
        flex-direction: column;
    }

    /* Adjust SVG container margins on tablets */
    .service-hero-illustration {
        margin: 30px 0;
    }

    /* Scale down large SVGs on tablets */
    .service-hero-illustration svg {
        max-width: 90%;
    }
}

@media (max-width: 767px) {
    .service-detail-hero h1 {
        font-size: 28px;
    }

    .service-hero-description {
        font-size: 16px;
    }

    .service-content-section h2 {
        font-size: 24px;
    }

    .service-content-section p {
        font-size: 16px;
    }

    /* Reduce padding on mobile */
    .service-detail-hero,
    .service-content-section {
        padding: 30px 20px;
    }

    /* Adjust SVG margins on mobile */
    .service-hero-illustration {
        margin: 20px 0;
    }

    /* Ensure SVGs fit mobile screens */
    .service-hero-illustration svg,
    .service-content-section svg {
        max-width: 100%;
        width: 100%;
    }

    /* Reduce CTA section padding on mobile */
    .service-cta-section {
        padding: 30px 20px;
    }

    /* Adjust feature cards on mobile */
    .service-feature-card {
        padding: 25px;
    }

    /* Adjust benefits list on mobile */
    .service-benefits-list li {
        font-size: 16px;
        padding-left: 50px;
    }

    /* Adjust step numbers on mobile */
    .service-step-number {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .service-step {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .service-detail-hero h1 {
        font-size: 24px;
    }

    .service-hero-description {
        font-size: 15px;
    }

    .service-content-section h2 {
        font-size: 20px;
    }

    .service-detail-hero,
    .service-content-section,
    .service-cta-section {
        padding: 20px 15px;
    }

    /* Further reduce SVG margins on very small screens */
    .service-hero-illustration {
        margin: 15px 0;
    }

    /* Ensure text doesn't overflow with SVG labels */
    .service-hero-illustration svg text,
    .service-content-section svg text {
        font-size: 85% !important;
    }

    /* Adjust CTA button on small screens */
    .service-cta-button {
        padding: 14px 30px;
        font-size: 16px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
