/* Services Showcase Section */
.services-showcase-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-showcase-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.services-header-content {
    flex: 1;
    min-width: 300px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.view-all-services-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-all-services-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.service-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.service-card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-home-carousel {
    height: 100%;
}

.service-home-carousel .carousel-inner {
    height: 100%;
}

.service-home-carousel .carousel-item {
    height: 100%;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-home:hover .service-card-image {
    transform: scale(1.1);
}

.service-home-carousel .carousel-control-prev,
.service-home-carousel .carousel-control-next {
    opacity: 0.7;
    width: 10%;
}

.service-home-carousel .carousel-control-prev:hover,
.service-home-carousel .carousel-control-next:hover {
    opacity: 1;
}

.service-home-carousel .carousel-indicators {
    margin-bottom: 10px;
}

.service-home-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.service-home-carousel .carousel-indicators button.active {
    background-color: white;
}

.service-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
}

.service-offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-type-badge-home {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.service-type-badge-home.online {
    background: rgba(16, 185, 129, 0.9);
}

.service-type-badge-home.offline {
    background: rgba(59, 130, 246, 0.9);
}

.service-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-card-pricing {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.service-price-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.service-price-final {
    font-size: 1.8rem;
    font-weight: 800;
    color: #059669;
}

.service-payment-info {
    margin-bottom: 15px;
    padding: 10px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.service-payment-info small {
    color: #1e40af;
    font-weight: 500;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-all-services-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-showcase-section {
        padding: 50px 0;
    }

    .services-title {
        font-size: 1.75rem;
    }

    .service-card-image-wrapper {
        height: 180px;
    }
}

