.services-section {
    background: var(--section-soft-bg);
    padding: 4rem 0;
    margin-top: 5rem;
}

.services-filter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.search-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sub);
    pointer-events: none;
}

.service-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-search::placeholder {
    color: var(--text-sub);
    opacity: 0.6;
}

.service-search:focus {
    outline: none;
    border-color: #344697;
    box-shadow: 0 0 0 3px rgba(52, 70, 151, 0.1);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1rem;
    border: 1px solid var(--card-border);
    background: transparent;
    border-radius: 8px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

.filter-btn:hover {
    border-color: #344697;
    color: #344697;
    background: rgba(52, 70, 151, 0.1);
}

.filter-btn.active {
    border-color: #344697;
    background: #344697;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(52, 70, 151, 0.15);
    border-color: #344697;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(52, 70, 151, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 32px;
    color: #344697;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #344697;
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.service-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(52, 70, 151, 0.1);
    color: #344697;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.service-description {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.service-features li {
    font-size: 12px;
    color: var(--text-sub);
    padding: 0.25rem 0;
}

.service-features li:before {
    content: "✓ ";
    color: #10b981;
    font-weight: bold;
    margin-left: 0.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #344697;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.no-services-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-sub);
}

.no-services-results i {
    font-size: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-services-results p {
    font-size: 16px;
    font-weight: 600;
}

.features-section {
    background: var(--bg-color);
    padding: 4rem 0;
}

.features-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(52, 70, 151, 0.15);
    border-color: #344697;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(52, 70, 151, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 28px;
    color: #344697;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #344697;
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #344697;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #344697;
}

@media (max-width: 768px) {
    .services-section {
        padding: 2rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-title {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

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

@media (max-width: 480px) {
    .services-section {
        padding: 1.5rem 0;
    }

    .services-filter {
        gap: 1rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 11px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .service-title {
        font-size: 13px;
    }

    .service-description {
        font-size: 12px;
    }

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

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 0.5rem;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-content h2 {
        font-size: 18px;
        margin-bottom: 0.5rem;
    }

    .cta-content p {
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 12px;
    }
}