/* Modern Services Page Styles - Performance Optimized */

/* Hero Section */
.services-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px 0;
    text-align: center;
    color: #212529;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

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

.services-hero h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DC3545;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: #c82333;
}

.hero-cta-btn svg {
    width: 18px;
    height: 18px;
}

/* Services Grid */
.services-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.service-card-modern {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0B5ED7 0%, #DC3545 100%);
}

.service-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0B5ED7 0%, #DC3545 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.service-card-modern h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #212529;
}

.service-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 14px;
    line-height: 1.5;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.service-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 16px;
}

.service-cta-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0B5ED7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.2s;
}

.service-cta-modern:hover {
    gap: 10px;
    color: #DC3545;
}

/* Info Section */
.info-section {
    padding: 50px 0;
    background: white;
}

.info-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212529;
    text-align: center;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #0B5ED7;
}

.info-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 16px;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.info-content ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
}

.info-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #DC3545;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0B5ED7 0%, #0a4fb5 100%);
    padding: 50px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn-primary {
    background: white;
    color: #DC3545;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.cta-btn-primary svg {
    width: 18px;
    height: 18px;
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Final Support Section */
.final-support {
    background: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}

.support-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #212529;
}

.support-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 24px;
}

.support-content a {
    color: #0B5ED7;
    text-decoration: underline;
    font-weight: 600;
}

.support-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DC3545;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
}

.support-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: #c82333;
}

.support-cta-btn svg {
    width: 20px;
    height: 20px;
}

.support-note {
    font-size: 14px;
    color: #6c757d;
    margin-top: 16px;
}

/* Tablet */
@media (min-width: 768px) {
    .services-hero {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-card-modern {
        padding: 28px;
    }

    .info-section {
        padding: 60px 0;
    }

    .info-section h2 {
        font-size: 32px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 18px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .services-hero {
        padding: 80px 0;
    }

    .services-hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .services-section {
        padding: 80px 0;
    }

    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .info-section {
        padding: 80px 0;
    }

    .info-section h2 {
        font-size: 36px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 36px;
    }
}