/* Services Section Styles */
.services-section {
    padding: 0 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: calc(100vh - 64px);
}

/* Search Bar */
.services-search-wrapper {
    background: #235fe8;
    border-bottom: 2px solid #e5e7eb;
    padding: 40px 0;
    margin-bottom: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.services-search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.services-search-input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.services-search-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.services-search-input::placeholder {
    color: #9ca3af;
}

.services-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 20px;
}

.services-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.services-search-clear:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.1);
}

.services-search-clear.active {
    display: flex;
}

/* Breadcrumb */
.services-breadcrumb {
    margin-bottom: 40px;
}

.services-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.services-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.services-breadcrumb-link:hover {
    color: #2563eb;
}

.services-breadcrumb-separator {
    color: #d1d5db;
    font-size: 12px;
}

.services-breadcrumb-current {
    color: #111827;
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Service Card */
.service-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color, #2563eb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--card-color, #2563eb);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-color-light, rgba(37, 99, 235, 0.1));
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--card-color, #2563eb);
}

.service-card-icon {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: var(--card-color, #2563eb);
}

.service-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    z-index: 1;
}

/* No Results */
.services-no-results {
    text-align: center;
    padding: 80px 20px;
}

.services-no-results-icon {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.services-no-results-title {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 12px 0;
}

.services-no-results-text {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Results Count */
.services-results-count {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 500;
}

.services-results-count strong {
    color: #2563eb;
    font-weight: 700;
}

/* Loading State */
.service-card.loading {
    pointer-events: none;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .services-section {
        padding: 0 0 80px;
    }

    .services-search-wrapper {
        padding: 32px 0;
        margin-bottom: 48px;
    }

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

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

    .service-card-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .service-card-icon {
        max-width: 45px;
        max-height: 45px;
    }
}

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

    .services-search-wrapper {
        padding: 24px 0;
        margin-bottom: 32px;
    }

    .services-search-input {
        padding: 16px 20px 16px 50px;
        font-size: 15px;
    }

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

    .service-card {
        padding: 24px 16px;
    }

    .service-card-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .service-card-icon {
        max-width: 40px;
        max-height: 40px;
    }

    .service-card-title {
        font-size: 15px;
    }

    .services-breadcrumb {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .service-card-icon {
        max-width: 32px;
        max-height: 32px;
    }

    .service-card-title {
        font-size: 13px;
        line-height: 1.3;
    }

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

    .services-no-results {
        padding: 60px 20px;
    }

    .services-no-results-icon {
        font-size: 48px;
    }

    .services-no-results-title {
        font-size: 20px;
    }

    .services-no-results-text {
        font-size: 14px;
    }
}