/* Reset any potential conflicts */
.services-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats Section - No gaps */
.stats-section {
    background: white;
    padding: 30px 0;
    margin: 0;
}

.stats-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 10px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
}

/* Services Section */
.services-section {
    background: #f9fafb;
    padding: 40px 0;
    margin: 0;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Services wrapper uses the global style (1fr 2fr grid) */
.services-section .services-wrapper {
    /* Inherits from style.css: grid, 1fr 2fr, gap: 40px */
}

.services-content {
    padding-right: 20px;
}

.services-content h4 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.services-content p {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 22px 18px;
    text-decoration: none;
    display: block;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(23, 117, 193, 0.15);
    border-color: #1775c1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 10px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
}

.service-card .icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.service-card:hover .icon img {
    filter: brightness(0) invert(1);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.service-card .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1775c1;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card:hover .arrow-link {
    gap: 10px;
}

.service-card .arrow-link::after {
    content: '→';
}

.service-card.highlight {
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
    border-color: #1775c1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.service-card.highlight h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
}

.service-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.service-card.highlight .arrow {
    font-size: 2rem;
    color: white;
    font-weight: 300;
}

.service-card.highlight:hover {
    transform: translateY(-4px) scale(1.02);
}

.section-intro p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.value-box {
    text-align: center;
    padding: 25px 18px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.value-box:hover {
    border-color: #1775c1;
    transform: translateY(-3px);
}

.value-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
}

.value-box p {
    font-size: 0.93rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Social Proof */
.proof-wrapper {
    background: #111827;
    color: white;
    padding: 30px 0;
    margin: 0;
}

.proof-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.proof-box {
    padding: 10px;
}

.proof-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
}

.proof-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    margin-bottom: 5px;
}

.proof-label {
    font-size: 0.88rem;
    opacity: 0.85;
}

/* Process Section */
.process-wrapper {
    background: #f9fafb;
    padding: 40px 0;
    margin: 0;
}

.process-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.process-box {
    text-align: center;
    padding: 24px 18px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.process-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 15px;
}

.process-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.process-box p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* CTA Section */
.cta-wrapper {
    background: linear-gradient(135deg, #1775c1 0%, #0d5a9a 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin: 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-container h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.cta-container p {
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    opacity: 0.95;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #1775c1;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #1775c1;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services-section .services-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-content {
        padding-right: 0;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section .services-wrapper {
        grid-template-columns: 1fr;
    }

    .services-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .services-content h4 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .value-grid,
    .proof-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-container h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
