/* Services Marketplace Styles */
.services-marketplace-section {
    background: #f8f9fa;
}

.marketplace-filters {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.filter-tabs .nav-pills {
    border: none;
}

.filter-tabs .nav-pills .nav-link {
    background: transparent;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 10px 25px;
    margin-right: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tabs .nav-pills .nav-link:hover,
.filter-tabs .nav-pills .nav-link.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.marketplace-stats .stats-text {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #007bff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 20px;
    z-index: -1;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-category {
    color: #007bff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.service-title {
    margin-bottom: 15px;
}

.service-title a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: #007bff;
}

.service-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-features {
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.service-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.price-value {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
}

.service-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0056b3;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .marketplace-filters {
        padding: 20px;
    }

    .filter-tabs .nav-pills .nav-link {
        padding: 8px 15px;
        margin-right: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .marketplace-stats {
        text-align: center !important;
        margin-top: 20px;
    }

    .service-content {
        padding: 20px;
    }

    .service-title a {
        font-size: 18px;
    }

    .service-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .service-link {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .service-image {
        height: 180px;
    }

    .service-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 11px;
    }

    .service-content {
        padding: 15px;
    }

    .service-title a {
        font-size: 16px;
    }

    .service-description {
        font-size: 13px;
    }
}

/* Service Details Page Styles */
.service-details-section {
    background: #f8f9fa;
}

.service-details-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-details-content .service-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-details-content .service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-description h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.service-description p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 30px;
}

.service-features h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-features .row {
    margin: 0 -10px;
}

.service-features .col-md-6 {
    padding: 0 10px;
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.feature-item i {
    color: #007bff;
    font-size: 18px;
    margin-right: 15px;
}

.feature-item span {
    color: #333;
    font-weight: 500;
}

.service-benefits {
    margin-bottom: 30px;
}

.service-benefits h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-benefits .list-style-one {
    list-style: none;
    padding: 0;
}

.service-benefits .list-style-one li {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-benefits .list-style-one li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #007bff;
    position: absolute;
    left: 0;
    top: 0;
}

.service-process {
    margin-bottom: 30px;
}

.service-process h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.process-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.process-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 15px;
}

.process-item h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 30px;
}

.service-info-widget,
.related-services-widget,
.contact-cta-widget {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-info-widget h4,
.related-services-widget h4,
.contact-cta-widget h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.service-info-list {
    list-style: none;
    padding: 0;
}

.service-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-info-list li:last-child {
    border-bottom: none;
}

.service-info-list i {
    color: #007bff;
    font-size: 16px;
    margin-right: 15px;
    width: 20px;
}

.service-info-list strong {
    color: #333;
    font-weight: 600;
    margin-right: 10px;
    min-width: 80px;
}

.service-info-list span {
    color: #666;
}

/* Related Services */
.related-service-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.related-service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.related-service-content h5 {
    margin-bottom: 5px;
}

.related-service-content h5 a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-service-content h5 a:hover {
    color: #007bff;
}

.related-service-content p {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Contact CTA */
.contact-cta-widget p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-cta-widget .theme-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
}

.contact-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form .required {
    color: #dc3545;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    margin-bottom: 25px;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive Design for Service Details */
@media (max-width: 768px) {
    .service-details-content {
        padding: 25px;
    }

    .service-details-content .service-image img {
        height: 250px;
    }

    .service-description h2 {
        font-size: 24px;
    }

    .service-features h3,
    .service-benefits h3,
    .service-process h3 {
        font-size: 20px;
    }

    .service-sidebar {
        position: static;
        margin-top: 30px;
    }

    .service-info-widget,
    .related-services-widget,
    .contact-cta-widget {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .service-details-content {
        padding: 20px;
    }

    .service-details-content .service-image img {
        height: 200px;
    }

    .service-description h2 {
        font-size: 20px;
    }

    .feature-item {
        padding: 10px;
    }

    .process-item {
        padding: 15px;
        margin-bottom: 20px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}