/**
 * Services Page Styles
 * Enhanced services page with infinite scroll loading
 */

/* =============================================================================
   Services Page Container
   ============================================================================= */

   .services-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.services-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="services-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23services-grid)"/></svg>');
	pointer-events: none;
}

.services-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.services-hero-title {
	font-size: 3rem;
	font-weight: 700 !important;
	margin-bottom: 1.5rem;
	line-height: 1.2 !important;
}

.services-hero-subtitle {
	font-size: 1.25rem ;
	margin-bottom: 0 !important;
	line-height: 1.6 !important;
	opacity: 0.9;
	max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero-content .services-hero-title, .services-hero-content .services-hero-subtitle {
	color: white !important;
}

/* =============================================================================
   Services Grid Section
   ============================================================================= */

.services-grid-section {
	padding: 80px 0;
	background: #f8fafc;
}

.services-filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	margin-bottom: 3rem;
	padding: 2rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #e5e7eb;
}

.services-search {
	display: flex;
	flex: 1;
	max-width: 400px;
	position: relative;
}

.services-search-input {
	flex: 1;
	padding: 0.875rem 1rem;
	padding-right: 3rem;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: white;
}

.services-search-input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.services-search-btn {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #6b7280;
	cursor: pointer;
	padding: 0.25rem;
	border-radius: 4px;
	transition: color 0.3s ease;
}

.services-search-btn:hover {
	color: #3b82f6;
}

.services-filter {
	flex-shrink: 0;
}

.services-filter-select {
	padding: 0.875rem 1rem;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1rem;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 200px;
}

.services-filter-select:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* =============================================================================
   Services Grid
   ============================================================================= */

.services-grid-container {
	margin: 0;
}

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

/* Enhanced Responsive Grid Layout */
@media (max-width: 1200px) {
	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 1.25rem;
	}
}

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

/* Service Card Link Wrapper */
.service-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.service-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.service-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	cursor: pointer;
}

/* Enhanced hover effects with comprehensive visual feedback */
.service-card:hover {
	transform: translateY(-8px) scale(1.00);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(59, 130, 246, 0.1);
	border-color: #3b82f6;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Active/Click state for better feedback */
.service-card:active {
	transform: translateY(-4px) scale(1.01);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(59, 130, 246, 0.08);
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus state for accessibility */
.service-card:focus-within {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12), 0 6px 12px rgba(59, 130, 246, 0.15);
}

/* Subtle border glow effect */
.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 12px;
	padding: 1px;
	background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

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

/* Enhanced meta section hover effects */
.service-meta {
	border-top: 1px solid #e5e7eb;
	padding-top: 1rem;
	margin-top: auto;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-meta {
	border-top-color: rgba(59, 130, 246, 0.2);
	background: transparent;
}

/* Remove old service-card-link hover styles since we no longer use anchor wrapper */

.service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	border-radius: 50%;
	color: white;
	font-size: 2rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

/* Enhanced icon hover effects with glow and rotation */
.service-card:hover .service-icon {
	transform: scale(1.15) rotate(5deg);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

/* Icon shimmer effect on hover */
.service-icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.service-card:hover .service-icon::before {
	left: 100%;
}

/* Active state for icon */
.service-card:active .service-icon {
	transform: scale(1.08) rotate(3deg);
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), 0 0 10px rgba(59, 130, 246, 0.15);
}

/* Loading state for service cards */
.service-card.loading {
	pointer-events: none;
	opacity: 0.7;
}

.service-card.loading .service-icon {
	animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
}

/* Enhanced focus indicators for better accessibility */
.service-card:focus,
.service-details-btn:focus,
.service-order-btn:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

/* Keyboard navigation enhancement */
.service-card:focus:not(:hover) {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(59, 130, 246, 0.1);
	border-color: #3b82f6;
}

/* Entrance animation for new service cards */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-card.animate-in {
	animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger animation for multiple cards */
.service-card.animate-in:nth-child(1) { animation-delay: 0ms; }
.service-card.animate-in:nth-child(2) { animation-delay: 100ms; }
.service-card.animate-in:nth-child(3) { animation-delay: 200ms; }
.service-card.animate-in:nth-child(4) { animation-delay: 300ms; }
.service-card.animate-in:nth-child(5) { animation-delay: 400ms; }
.service-card.animate-in:nth-child(6) { animation-delay: 500ms; }

/* Hover state enhancement for better visual hierarchy */
.service-card:hover {
	z-index: 10;
	position: relative;
}

/* Subtle background pattern on hover */
.service-card:hover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hover-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hover-dots)"/></svg>');
	border-radius: 12px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

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

.service-icon i,
.service-icon span {
	color: white;
}

.service-icon-img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.service-content {
	padding: 0 1rem 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.service-title {
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: #1f2937;
	text-align: center;
	line-height: 1.3;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced title hover effect */
.service-card:hover .service-title {
	color: #3b82f6;
	transform: translateY(-2px);
}

.service-description {
	color: #6b7280;
	margin-bottom: 1.5rem;
	line-height: 1.6;
	flex: 1;
	text-align: center;
}

.service-features {
	margin-bottom: 1.5rem;
}

.service-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.service-feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	color: #374151;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0.25rem 0;
	border-radius: 4px;
}

.service-feature i {
	color: #10b981;
	font-size: 0.8rem;
	flex-shrink: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced feature hover effects */
.service-card:hover .service-feature {
	color: #1f2937;
	transform: translateX(4px);
}

.service-card:hover .service-feature i {
	color: #059669;
	transform: scale(1.1);
}

.service-meta {
	border-top: 1px solid #e5e7eb;
	padding-top: 1rem;
	margin-top: auto;
}

.service-area,
.service-price {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	color: #6b7280;
}

.service-price {
	align-items: baseline;
}

.service-area:last-child,
.service-price:last-child {
	margin-bottom: 0;
}

.service-area i,
.service-price i {
	color: #3b82f6;
	font-size: 0.8rem;
	flex-shrink: 0;
}

.service-area-wrapper,
.service-price-wrapper {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.service-area-label,
.service-price-label {
	font-size: 0.875rem;
	color: #6b7280;
	font-weight: 500;
	flex-shrink: 0;
}

/* Service Grid Multi-Currency Price Styles */
.service-card .service-price-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	margin-top: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .service-price-container .service-price-primary {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.2;
	letter-spacing: -0.025em;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .service-price-container .service-price-secondary {
	font-size: 0.75rem;
	color: #6b7280;
	opacity: 0.75;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced price hover effects */
.service-card:hover .service-price-container .service-price-primary {
	color: #3b82f6;
}

.service-card:hover .service-price-container .service-price-secondary {
	opacity: 0.9;
	color: #1d4ed8;
}

/* Enhanced Responsive Price Display */
@media (max-width: 768px) {
	.service-area-wrapper,
	.service-price-wrapper {
		flex-direction: row;
		align-items: baseline;
		gap: 0.25rem;
	}
	
	.service-card .service-price-container .service-price-primary {
		font-size: 1rem;
	}
	
	.service-card .service-price-container .service-price-secondary {
		font-size: 0.7rem;
	}
}

@media (max-width: 480px) {
	.service-area-wrapper,
	.service-price-wrapper {
		flex-direction: row;
		align-items: baseline;
		gap: 0.125rem;
	}
	
	.service-card .service-price-container {
		gap: 0.125rem;
		margin-top: 0;
	}
	
	.service-card .service-price-container .service-price-primary {
		font-size: 0.95rem;
	}
	
	.service-card .service-price-container .service-price-secondary {
		font-size: 0.65rem;
		opacity: 0.8;
	}
}

.service-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced actions section hover effects */
.service-card:hover .service-actions {
	border-top-color: rgba(59, 130, 246, 0.2);
}

.service-order-btn,
.service-details-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	cursor: pointer;
	border: none;
	position: relative;
	z-index: 10;
	overflow: hidden;
}

/* Button shimmer effect */
.service-order-btn::before,
.service-details-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
	z-index: 1;
}

.service-order-btn:hover::before,
.service-details-btn:hover::before {
	left: 100%;
}

.service-order-btn {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white !important;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Enhanced order button hover effects */
.service-order-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	color: white !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4), 0 4px 8px rgba(29, 78, 216, 0.2);
}

.service-order-btn:active {
	transform: translateY(-1px) scale(1.01);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-details-btn {
	background: white;
	color: #3b82f6 !important;
	border: 2px solid #3b82f6;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

/* Enhanced details button hover effects */
.service-details-btn:hover {
	background: #3b82f6;
	color: white !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3), 0 4px 8px rgba(59, 130, 246, 0.15);
}

.service-details-btn:active {
	transform: translateY(-1px) scale(1.01);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced loading states for buttons */
.service-details-btn.loading,
.service-order-btn.loading {
	pointer-events: none;
	opacity: 0.8;
	transform: none !important;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

.service-details-btn.loading:hover,
.service-order-btn.loading:hover {
	transform: none !important;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

/* Disabled state styling */
.service-details-btn:disabled,
.service-order-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

.service-details-btn:disabled:hover,
.service-order-btn:disabled:hover {
	transform: none !important;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1) !important;
}

.service-order-btn i,
.service-details-btn i {
	font-size: 0.8rem;
}

/* =============================================================================
   Loading States
   ============================================================================= */

.services-loading {
	text-align: center;
	padding: 3rem 1rem;
	color: #6b7280;
}

.loading-spinner {
	margin-bottom: 1rem;
}

.loading-spinner i {
	font-size: 2rem;
	color: #3b82f6;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.loading-text {
	margin: 0;
	font-size: 1rem;
	color: #6b7280;
}

.services-load-more {
	text-align: center;
	margin-top: 3rem;
}

.load-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.load-more-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.load-more-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.load-more-btn:disabled:hover {
	transform: none;
	box-shadow: none;
}

/* =============================================================================
   No Services State
   ============================================================================= */

.no-services {
	text-align: center;
	padding: 4rem 2rem;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-services-icon {
	margin-bottom: 1.5rem;
}

.no-services-icon i {
	font-size: 4rem;
	color: #d1d5db;
}

.no-services-title {
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: #374151;
}

.no-services-text {
	margin: 0;
	color: #6b7280;
	line-height: 1.6;
}

/* =============================================================================
   Call to Action Section
   ============================================================================= */

.services-cta {
	padding: 80px 0;
	background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
	color: white;
	text-align: center;
	position: relative;
}

.services-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cta-pattern)"/></svg>');
	pointer-events: none;
}

.services-cta-content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.services-cta-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.services-cta-text {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	line-height: 1.6;
	opacity: 0.9;
}

.services-cta h2, .services-cta p {
    color: white !important;
}

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

.services-cta-actions .btn {
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.services-cta-actions .btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	border: none;
}

.services-cta-actions .btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.services-cta-actions a.btn-primary {
    color: white;
}

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

.services-cta-actions .btn-secondary:hover {
	background: white;
	color: #1f2937;
	transform: translateY(-2px);
}

.services-cta-actions a.btn-secondary {
    color: white;
}

/* =============================================================================
   Service Details Modal
   ============================================================================= */

/* Modal CSS Variables */
:root {
	--modal-z-index: 9999;
	--modal-overlay-bg: rgba(0, 0, 0, 0.5);
	--modal-border-radius: 12px;
	--modal-max-width: 800px;
	--modal-animation-duration: 0.3s;
	--modal-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Modal Overlay */
.service-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--modal-overlay-bg);
	z-index: var(--modal-z-index);
	overflow-y: auto;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity var(--modal-animation-duration) ease;
}

.service-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 1;
}

.service-modal.opening {
	opacity: 1;
}

.service-modal.closing {
	opacity: 0;
}

/* Modal Content Container */
.service-modal-content {
	background: white;
	border-radius: var(--modal-border-radius);
	max-width: var(--modal-max-width);
	width: 100%;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	box-shadow: var(--modal-shadow);
	transform: translateY(50px) scale(0.95);
	transition: all var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e5e7eb;
}

.service-modal.active .service-modal-content {
	transform: translateY(0) scale(1);
}

.service-modal.opening .service-modal-content {
	animation: modalSlideIn var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-modal.closing .service-modal-content {
	animation: modalSlideOut var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Modal Animations */
@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes modalSlideOut {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateY(-30px) scale(0.95);
	}
}

/* Modal Header */
.service-modal-header {
	padding: 2rem 2rem 1rem;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	position: relative;
}

.service-modal-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.service-modal-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
	flex: 1;
}

.service-modal-close {
	background: none;
	border: none;
	color: #6b7280;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}

.service-modal-close:hover {
	background: #f3f4f6;
	color: #374151;
	transform: rotate(90deg);
}

.service-modal-close:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

/* Modal Body */
.service-modal-body {
	padding: 2rem;
	overflow-y: auto;
	max-height: calc(90vh - 200px);
}

.service-modal-image {
	margin-bottom: 2rem;
	text-align: center;
}

.service-modal-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-modal-description {
	margin-bottom: 2rem;
	color: #6b7280;
	line-height: 1.7;
	font-size: 1.1rem;
}

.service-modal-features {
	margin-bottom: 2rem;
}

.service-modal-features h4 {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.service-modal-features h4 i {
	color: #3b82f6;
	font-size: 1rem;
}

.service-modal-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.service-modal-features li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	transition: all 0.3s ease;
}

.service-modal-features li:hover {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	border-color: #cbd5e1;
	transform: translateX(4px);
}

.service-modal-features li i {
	color: #10b981;
	font-size: 1rem;
	flex-shrink: 0;
	width: 1.25rem;
	text-align: center;
}

/* Modal Info Section */
.service-modal-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

.service-modal-price,
.service-modal-areas,
.service-modal-duration {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.service-modal-price h5,
.service-modal-areas h5,
.service-modal-duration h5 {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.service-modal-price .price-value,
.service-modal-duration .duration-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
}

.service-modal-areas .areas-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Modal Footer */
.service-modal-footer {
	padding: 1.5rem 2rem 2rem;
	border-top: 1px solid #e5e7eb;
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	position: relative;
}

.service-modal-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.service-modal-btn {
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	overflow: hidden;
}

.service-modal-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.service-modal-btn:hover::before {
	left: 100%;
}

.service-modal-btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.service-modal-btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.service-modal-btn-secondary {
	background: white;
	color: #6b7280;
	border: 2px solid #e5e7eb;
}

.service-modal-btn-secondary:hover {
	background: #f8fafc;
	color: #374151;
	border-color: #d1d5db;
	transform: translateY(-1px);
}

/* Modal Loading State */
.service-modal-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	text-align: center;
}

.service-modal-loading .loading-spinner {
	margin-bottom: 1.5rem;
}

.service-modal-loading .loading-spinner i {
	font-size: 2.5rem;
	color: #3b82f6;
	animation: spin 1s linear infinite;
}

.service-modal-loading .loading-text {
	font-size: 1.1rem;
	color: #6b7280;
	margin: 0;
}

/* Modal Error State */
.service-modal-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	text-align: center;
}

.service-modal-error .error-icon {
	margin-bottom: 1.5rem;
}

.service-modal-error .error-icon i {
	font-size: 3rem;
	color: #ef4444;
}

.service-modal-error .error-message {
	font-size: 1.1rem;
	color: #6b7280;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.service-modal-error .error-retry-btn {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	border: none;
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.service-modal-error .error-retry-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	transform: translateY(-2px);
}

/* Prevent Background Scroll */
body.modal-open {
	overflow: hidden;
	padding-right: var(--scrollbar-width, 0);
}

/* =============================================================================
   Modal Responsive Design
   ============================================================================= */

/* Tablet Styles */
@media (max-width: 768px) {
	.service-modal {
		padding: 0.5rem;
	}
	
	.service-modal-content {
		max-height: 95vh;
		border-radius: 8px;
	}
	
	.service-modal-header {
		padding: 1.5rem 1.5rem 1rem;
	}
	
	.service-modal-title {
		font-size: 1.5rem;
	}
	
	.service-modal-body {
		padding: 1.5rem;
		max-height: calc(95vh - 180px);
	}
	
	.service-modal-footer {
		padding: 1rem 1.5rem 1.5rem;
		flex-direction: column;
	}
	
	.service-modal-btn {
		width: 100%;
		justify-content: center;
	}
	
	.service-modal-info {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
	}
}

/* Mobile Styles */
@media (max-width: 480px) {
	.service-modal {
		padding: 0;
		align-items: flex-end;
	}
	
	.service-modal-content {
		max-height: 90vh;
		border-radius: 16px 16px 0 0;
		width: 100%;
		max-width: none;
	}
	
	.service-modal.active .service-modal-content {
		animation: modalSlideUp var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
	}
	
	.service-modal-header {
		padding: 1rem 1rem 0.75rem;
		position: relative;
	}
	
	.service-modal-header::before {
		content: '';
		position: absolute;
		top: 0.5rem;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 4px;
		background: #d1d5db;
		border-radius: 2px;
	}
	
	.service-modal-title {
		font-size: 1.25rem;
		margin-top: 1rem;
	}
	
	.service-modal-close {
		width: 2rem;
		height: 2rem;
		font-size: 1.25rem;
	}
	
	.service-modal-body {
		padding: 1rem;
		max-height: calc(90vh - 160px);
	}
	
	.service-modal-footer {
		padding: 1rem;
	}
	
	.service-modal-features ul {
		gap: 0.5rem;
	}
	
	.service-modal-features li {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
}

/* Mobile Slide Up Animation */
@keyframes modalSlideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.service-modal {
		background: rgba(0, 0, 0, 0.8);
	}
	
	.service-modal-content {
		border: 2px solid #000;
	}
	
	.service-modal-btn-primary {
		background: #000;
		border: 2px solid #000;
	}
	
	.service-modal-btn-secondary {
		border: 2px solid #000;
		color: #000;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.service-modal,
	.service-modal-content,
	.service-modal-btn,
	.service-modal-features li {
		transition: none;
		animation: none;
	}
	
	.service-modal-close:hover {
		transform: none;
	}
}

/* =============================================================================
   Service Details Page
   ============================================================================= */

.service-content-wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 3rem;
	margin-top: 2rem;
}

.service-main-content {
	line-height: 1.8;
}

.service-features {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
}

.service-features h3 {
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.features-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.features-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
	color: var(--secondary-color);
}

.features-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--success-color);
	font-weight: bold;
	font-size: 1.1rem;
}

.service-sidebar {
	position: sticky;
	top: 2rem;
	height: fit-content;
}

.service-info-box {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 2rem;
	box-shadow: var(--box-shadow);
}

.service-info-box h3 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: var(--dark-color);
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 0.5rem;
}

.service-info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border-color);
}

.service-info-item:last-child {
	border-bottom: none;
}

.service-info-item strong {
	color: var(--dark-color);
	font-weight: 600;
}

.service-info-item span {
	color: var(--primary-color);
	font-weight: 600;
}

.service-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.service-area-tag {
	background: var(--primary-color);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 500;
}

.service-sidebar .service-actions {
	display: inherit;
	margin-top: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
}

.service-sidebar .service-actions .btn {
	margin-bottom: 1rem;
}

.service-categories {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
}

.category-link {
	color: var(--primary-color);
	text-decoration: none;
	margin-right: 1rem;
	font-weight: 500;
}

.category-link:hover {
	text-decoration: underline;
}

.related-services {
	padding: 4rem 0;
	background: var(--light-color);
	margin-top: 4rem;
}

.related-services h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--dark-color);
}

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

.related-service-item {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: transform 0.3s ease;
}

.related-service-item:hover {
	transform: translateY(-3px);
}

.related-service-image img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.related-service-content {
	padding: 1.5rem;
}

.related-service-content h3 {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
}

.related-service-content h3 a {
	color: var(--dark-color);
	text-decoration: none;
}

.related-service-content h3 a:hover {
	color: var(--primary-color);
}

.related-service-content p {
	color: var(--secondary-color);
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Service Content Wrapper Enhancement */
.service-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 3rem;
	align-items: start;
}

/* =============================================================================
   Service Detail Page Enhancements
   ============================================================================= */

/* Enhanced Service Area Tags - Flat Light Blue-Gray Fresh Style */
.service-area-tag {
	background: linear-gradient(135deg, rgba(100, 116, 139, 0.08), rgba(71, 85, 105, 0.06));
	color: #475569;
	border: 1px solid rgba(100, 116, 139, 0.2);
	padding: 0.375rem 0.875rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
	display: inline-block;
	white-space: nowrap;
	text-align: center;
	vertical-align: middle;
	line-height: 1.3;
	margin: 0.125rem 0.25rem 0.125rem 0;
	max-width: calc(100% - 0.5rem);
	box-sizing: border-box;
	word-wrap: break-word;
	text-overflow: ellipsis;
}

.service-area-tag::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

.service-area-tag:hover {
	background: linear-gradient(135deg, rgba(100, 116, 139, 0.12), rgba(71, 85, 105, 0.1));
	border-color: rgba(100, 116, 139, 0.3);
	color: #334155;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(100, 116, 139, 0.15);
}

.service-area-tag:hover::before {
	left: 100%;
}

/* Enhanced Service Action Buttons */
.service-sidebar .service-actions .btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	border: none;
	box-shadow: var(--shadow-base);
	font-weight: 600;
	letter-spacing: -0.015em;
	padding: 1rem 2rem;
	border-radius: var(--radius-base);
	font-size: 1rem;
	text-align: center;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

.service-sidebar .service-actions .btn-primary {
	background: var(--primary-color);
	color: white;
	text-decoration: none;
	border: 2px solid var(--primary-color);
}

/* =============================================================================
   Enhanced Responsive Design Optimizations
   ============================================================================= */

/* Touch-Friendly Interactive Elements */
@media (max-width: 768px) {
	.service-details-btn,
	.service-order-btn,
	.services-search-btn,
	.load-more-btn {
		min-height: 44px;
		min-width: 44px;
		padding: 0.875rem 1.25rem;
		font-size: 1rem;
	}
	
	.service-modal-close {
		min-height: 44px;
		min-width: 44px;
	}
}

/* Enhanced Service Card Responsive Layout */
@media (max-width: 768px) {
	.service-card {
		padding: 1.25rem;
	}
	
	.service-icon {
		width: 70px;
		height: 70px;
		font-size: 1.75rem;
		margin-bottom: 1.25rem;
	}
	
	.service-title {
		font-size: 1.375rem;
		margin-bottom: 0.875rem;
	}
	
	.service-description {
		font-size: 0.95rem;
		margin-bottom: 1.25rem;
	}
	
	.service-actions {
		gap: 0.5rem;
		padding-top: 1.25rem;
	}
}

@media (max-width: 480px) {
	.service-card {
		padding: 1rem;
	}
	
	.service-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}
	
	.service-title {
		font-size: 1.25rem;
		margin-bottom: 0.75rem;
	}
	
	.service-description {
		font-size: 0.9rem;
		margin-bottom: 1rem;
	}
	
	.service-actions {
		flex-direction: column;
		gap: 0.75rem;
		padding-top: 1rem;
	}
	
	.service-details-btn,
	.service-order-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Enhanced Services Filters Responsive Layout */
@media (max-width: 768px) {
	.services-filters {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
	}
	
	.services-search {
		max-width: none;
		width: 100%;
	}
	
	.services-filter-select {
		width: 100%;
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.services-filters {
		padding: 1rem;
		gap: 1rem;
	}
	
	.services-search-input,
	.services-filter-select {
		padding: 1rem;
		font-size: 1rem;
	}
}

/* Enhanced Hero Section Responsive Design */
@media (max-width: 768px) {
	.services-hero {
		padding: 60px 0;
	}
	
	.services-hero-title {
		font-size: 2.25rem;
		margin-bottom: 1.25rem;
	}
	
	.services-hero-subtitle {
		font-size: 1.125rem;
	}
}

@media (max-width: 480px) {
	.services-hero {
		padding: 40px 0;
	}
	
	.services-hero-title {
		font-size: 1.875rem;
		margin-bottom: 1rem;
	}
	
	.services-hero-subtitle {
		font-size: 1rem;
	}
}

/* Enhanced CTA Section Responsive Design */
@media (max-width: 768px) {
	.services-cta {
		padding: 60px 0;
	}
	
	.services-cta-title {
		font-size: 2rem;
		margin-bottom: 0.875rem;
	}
	
	.services-cta-text {
		font-size: 1.125rem;
		margin-bottom: 1.75rem;
	}
	
	.services-cta-actions {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
	}
	
	.services-cta-actions .btn {
		width: 100%;
		max-width: 280px;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.services-cta {
		padding: 40px 0;
	}
	
	.services-cta-title {
		font-size: 1.75rem;
	}
	
	.services-cta-text {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}
}

/* Enhanced Loading States Responsive Design */
@media (max-width: 480px) {
	.services-loading {
		padding: 2rem 1rem;
	}
	
	.loading-spinner i {
		font-size: 1.75rem;
	}
	
	.loading-text {
		font-size: 0.95rem;
	}
}

/* Enhanced No Services State Responsive Design */
@media (max-width: 480px) {
	.no-services {
		padding: 3rem 1.5rem;
	}
	
	.no-services-icon i {
		font-size: 3rem;
	}
	
	.no-services-title {
		font-size: 1.375rem;
	}
	
	.no-services-text {
		font-size: 0.95rem;
	}
}

/* Enhanced Service Features Responsive Layout */
@media (max-width: 480px) {
	.service-features ul {
		gap: 0.5rem;
	}
	
	.service-feature {
		font-size: 0.875rem;
		gap: 0.375rem;
	}
	
	.service-feature i {
		font-size: 0.75rem;
	}
}

/* Improved Focus Management for Accessibility */
@media (max-width: 768px) {
	.service-card-link:focus,
	.service-details-btn:focus,
	.service-order-btn:focus {
		outline: 3px solid #3b82f6;
		outline-offset: 2px;
	}
}

/* Enhanced Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
	.service-card:hover {
		transform: none;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
		border-color: #e5e7eb;
		background: white;
	}
	
	.service-card:active {
		transform: scale(0.98);
		transition: transform 0.1s ease;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	}
	
	.service-card:hover .service-icon {
		transform: none;
		box-shadow: none;
		background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	}
	
	.service-card:hover .service-title {
		color: #3b82f6;
		transform: none;
	}
	
	.service-card:hover .service-feature {
		transform: none;
	}
	
	.service-card:hover .service-price-container .service-price-primary {
		color: #3b82f6;
		transform: none;
	}
	
	.service-card:hover .service-meta {
		border-top-color: rgba(59, 130, 246, 0.2);
		background: transparent;
	}
	
	.service-card:hover .service-actions {
		border-top-color: rgba(59, 130, 246, 0.2);
		transform: none;
	}
	
	.service-card::before {
		display: none;
	}
	
	.service-details-btn:hover,
	.service-order-btn:hover {
		transform: none;
		box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
	}
	
	.service-details-btn:hover::before,
	.service-order-btn:hover::before {
		left: -100%;
	}
	
	.service-details-btn:active,
	.service-order-btn:active {
		transform: scale(0.95);
		transition: transform 0.1s ease;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.service-card,
	.service-icon,
	.service-details-btn,
	.service-order-btn,
	.load-more-btn {
		transition: none;
	}
	
	.service-card-link:hover .service-card {
		transform: none;
	}
	
	.service-card-link:hover .service-icon {
		transform: none;
	}
	
	.loading-spinner i {
		animation: none;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.service-card {
		border: 2px solid #000;
	}
	
	.service-details-btn,
	.service-order-btn {
		border: 2px solid #000;
	}
	
	.service-price-secondary {
		opacity: 1;
		color: #000;
	}
}

/* Print Styles */
@media print {
	.services-hero,
	.services-filters,
	.services-cta,
	.services-load-more,
	.service-actions {
		display: none;
	}
	
	.service-card {
		break-inside: avoid;
		box-shadow: none;
		border: 1px solid #000;
	}
	
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

.service-sidebar .service-actions .btn-primary:link,
.service-sidebar .service-actions .btn-primary:visited,
.service-sidebar .service-actions .btn-primary:hover,
.service-sidebar .service-actions .btn-primary:active,
.service-sidebar .service-actions .btn-primary:focus {
	color: white;
	text-decoration: none;
}

.service-sidebar .service-actions .btn-primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.service-sidebar .service-actions .btn-secondary {
	background: rgba(100, 116, 139, 0.08);
	color: #475569;
	border: 2px solid rgba(100, 116, 139, 0.2);
	text-decoration: none;
}

.service-sidebar .service-actions .btn-secondary:hover {
	background: rgba(100, 116, 139, 0.12);
	color: #334155;
	border-color: rgba(100, 116, 139, 0.3);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
	text-decoration: none;
}

/* Service Info Box Enhancement */
.service-info-box {
	background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-md);
	position: relative;
}

.service-info-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-info-box h3 {
	color: var(--text-primary);
	font-size: 1.375rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	letter-spacing: -0.025em;
}

.service-info-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 1px solid var(--border-light);
	gap: 1rem;
	padding: 0.875rem 0;
}

/* Special styling for service area label item (without flex layout) */
.service-info-item:has(+ .service-areas) {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 10px;
}

/* Alternative approach for browsers that don't support :has() */
.service-info-item + .service-areas {
	border-top: none;
	margin-top: -0.5rem;
}

.service-info-item:last-child {
	border-bottom: none;
}

.service-info-item strong {
	color: var(--text-primary);
	font-weight: 600;
	flex-shrink: 0;
	min-width: 120px;
}

.service-info-item span,
.service-info-item .service-areas {
	color: var(--text-secondary);
	flex: 0 0 auto;
	text-align: left;
}

.service-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 1rem 0;
	padding: 0.5rem 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Price Display Enhancement */
.service-price-display {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.service-price-primary {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary);
}

.service-price-secondary {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text-muted);
	opacity: 0.8;
}

/* =============================================================================
   Multi-Currency Price Container - Enhanced Styles
   ============================================================================= */

/* Base Price Container */
.service-price-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	position: relative;
}

/* Primary Price Styles */
.service-price-container .service-price-primary {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.2;
	letter-spacing: -0.025em;
	margin: 0;
}

/* Secondary Price Styles - Enhanced for Multi-Currency */
.service-price-container .service-price-secondary {
	font-size: 0.8rem;
	font-weight: 500;
	color: #6b7280;
	opacity: 0.75;
	line-height: 1.2;
	letter-spacing: 0.025em;
	margin: 0;
	transition: opacity 0.3s ease;
}

/* Hover Effect for Better Visibility */
.service-price-container:hover .service-price-secondary {
	opacity: 0.9;
}

/* Service Grid Price Container - Optimized */
.service-card .service-price-container {
	margin-top: 0.75rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.service-card .service-price-container .service-price-primary {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -0.025em;
}

.service-card .service-price-container .service-price-secondary {
	font-size: 0.75rem;
	color: #6b7280;
	opacity: 0.75;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

/* Service Modal Price Container - Enhanced */
.service-modal .service-price-container .service-price-primary {
	font-size: 1.5rem;
	font-weight: 800;
	color: #1f2937;
	letter-spacing: -0.025em;
}

.service-modal .service-price-container .service-price-secondary {
	font-size: 1rem;
	color: #6b7280;
	opacity: 0.8;
	font-weight: 500;
	letter-spacing: 0.025em;
}

/* Service Detail Page Price Container - Enhanced */
.service-info-box .service-price-container {
	align-items: flex-end;
	text-align: right;
	padding: 1rem 0;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	margin: 1rem 0;
}

.service-info-box .service-price-container .service-price-primary {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -0.025em;
}

.service-info-box .service-price-container .service-price-secondary {
	font-size: 0.9rem;
	color: #6b7280;
	opacity: 0.8;
	font-weight: 500;
	letter-spacing: 0.025em;
}

/* =============================================================================
   Enhanced Related Services Grid - Match Homepage Style
   ============================================================================= */

/* Related Services Grid Layout */
.related-services {
	padding: 4rem 0;
	background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
	margin-top: 4rem;
}

.related-services h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--text-primary);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.025em;
}

/* Enhanced Related Service Item - Clickable Grid */
.related-service-item {
	background: var(--bg-primary);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-base);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--border-light);
	position: relative;
	cursor: pointer;
}

.related-service-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.related-service-item:hover::before {
	transform: scaleX(1);
}

.related-service-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--border-color);
}

/* Related Service Image */
.related-service-image {
	position: relative;
	overflow: hidden;
}

.related-service-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-service-item:hover .related-service-image img {
	transform: scale(1.05);
}

/* Related Service Content */
.related-service-content {
	padding: 2rem;
}

.related-service-content h3 {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: -0.025em;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.related-service-content h3 a {
	color: inherit;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
}

.related-service-item:hover .related-service-content h3 {
	color: var(--primary-color);
	transform: translateX(4px);
}

/* Service Title Icon in Related Services */
.related-service-content .service-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.related-service-content .service-title-image-icon img {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.related-service-content .service-title-font-icon {
	font-size: 1rem;
}

.related-service-item:hover .related-service-content .service-title-icon {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.related-service-content p {
	color: var(--text-secondary);
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Related Services Enhancement */
.related-services {
	background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
	padding: 5rem 0;
	margin-top: 4rem;
	position: relative;
}

.related-services h2 {
	color: var(--text-primary);
	font-size: 2.25rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 3rem;
	letter-spacing: -0.025em;
	position: relative;
}

.related-services h2::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 2px;
}

.related-service-item {
	background: var(--bg-primary);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-base);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	position: relative;
}

/*.related-service-item::before {*/
/*	content: '';*/
/*	position: absolute;*/
/*	top: 0;*/
/*	left: 0;*/
/*	right: 0;*/
/*	height: 3px;*/
/*	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));*/
/*	transform: scaleX(0);*/
/*	transition: transform 0.3s ease;*/
/*}*/

/*.related-service-item:hover::before {*/
/*	transform: scaleX(1);*/
/*}*/

/*.related-service-item:hover {*/
/*	transform: translateY(-8px);*/
/*	box-shadow: var(--shadow-lg);*/
/*	border-color: var(--border-color);*/
/*}*/

/* =============================================================================
   Responsive Design
   ============================================================================= */

@media (max-width: 1024px) {
	.service-content-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.services-hero-title {
		font-size: 2.5rem;
	}
	
	.services-filters {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}
	
	.services-search {
		max-width: none;
	}
	
	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 1.5rem;
	}
	
	.services-cta-title {
		font-size: 2rem;
	}
	
	.services-cta-actions {
		flex-direction: column;
		align-items: center;
	}
	
	.services-cta-actions .btn {
		width: 100%;
		max-width: 300px;
		justify-content: center;
	}

	.service-sidebar {
		position: static;
	}
	
	.related-services-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
	
	.service-info-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.service-info-item span,
	.service-info-item .service-areas {
		text-align: left;
	}
	
	.service-areas {
		justify-content: flex-start;
		margin: 1rem 0;
		padding: 0.5rem 0;
	}
	
	.service-area-tag {
		margin: 0.125rem 0.25rem 0.125rem 0;
		font-size: 0.8rem;
		padding: 0.3rem 0.7rem;
		max-width: calc(100% - 0.5rem);
	}
	
	.service-price-display {
		align-items: flex-start;
		margin-top: 0.5rem;
	}
	
	/* Responsive Price Container Adjustments */
	.service-card .service-price-container {
		margin-top: 0.5rem;
		padding-top: 0.375rem;
	}
	
	.service-card .service-price-container .service-price-primary {
		font-size: 1rem;
	}
	
	.service-card .service-price-container .service-price-secondary {
		font-size: 0.7rem;
	}
	
	.service-modal .service-price-container .service-price-primary {
		font-size: 1.25rem;
	}
	
	.service-modal .service-price-container .service-price-secondary {
		font-size: 0.9rem;
	}
}

@media (max-width: 768px) {
	.services-hero {
		padding: 60px 0;
	}
	
	.services-hero-title {
		font-size: 2rem;
		margin-bottom: 1rem;
	}
	
	.services-hero-subtitle {
		font-size: 1rem;
	}
	
	.services-grid-section {
		padding: 60px 0;
	}
	
	.services-filters {
		padding: 1.5rem;
		margin-bottom: 2rem;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.service-content {
		padding: 0 1.5rem 1.5rem;
	}
	
	.service-actions {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.service-sidebar .service-actions .btn {
		font-size: 0.9rem;
		padding: 0.75rem 1.5rem;
	}
	
	.services-cta {
		padding: 60px 0;
	}
	
	.services-cta-title {
		font-size: 1.75rem;
	}
	
	.services-cta-text {
		font-size: 1rem;
	}
	
	.service-modal.active {
		padding: 1rem;
	}
	
	.service-modal-content {
		max-height: 95vh;
	}
	
	.service-modal-header {
		padding: 1.5rem 1.5rem 1rem;
	}
	
	.service-modal-title {
		font-size: 1.5rem;
	}
	
	.service-modal-body {
		padding: 1.5rem;
	}
	
	.service-modal-footer {
		padding: 1rem 1.5rem 1.5rem;
		flex-direction: column;
	}
	
	.service-modal-btn {
		width: 100%;
		justify-content: center;
	}

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

@media (max-width: 480px) {
	.services-hero {
		padding: 40px 0;
	}
	
	.services-hero-title {
		font-size: 1.75rem;
	}
	
	.services-grid-section {
		padding: 40px 0;
	}
	
	.services-filters {
		padding: 1rem;
	}
	
	.services-search-input,
	.services-filter-select {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
	
	.service-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
		margin: 1.5rem auto 1rem;
	}
	
	.service-title {
		font-size: 1.25rem;
	}
	
	.service-content {
		padding: 0 1rem 1rem;
	}
	
	.services-cta {
		padding: 40px 0;
	}
	
	.services-cta-title {
		font-size: 1.5rem;
	}
	
	.services-cta-text {
		font-size: 0.9rem;
	}
	
	.services-cta-actions .btn {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
	}
	
	.service-modal.active {
		padding: 0.5rem;
	}
	
	.service-modal-header {
		padding: 1rem 1rem 0.75rem;
	}
	
	.service-modal-title {
		font-size: 1.25rem;
	}
	
	.service-modal-body {
		padding: 1rem;
	}
	
	.service-modal-footer {
		padding: 0.75rem 1rem 1rem;
	}
	
	.service-info-box {
		padding: 1.5rem 1rem;
	}
}

/* =============================================================================
   Accessibility Improvements
   ============================================================================= */

/* Focus styles */
.service-card:focus-within,
.service-modal-btn:focus,
.load-more-btn:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.service-card {
		border: 2px solid #000;
	}
	
	.services-hero,
	.services-cta {
		background: #000;
		color: #fff !important;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.service-card,
	.load-more-btn,
	.service-modal-content {
		transition: none;
	}
	
	.loading-spinner i {
		animation: none;
	}
	
	@keyframes modalSlideIn {
		from, to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
	.services-hero,
	.services-cta,
	.services-filters,
	.service-actions,
	.service-sidebar .service-actions,
	.services-load-more {
		display: none;
	}
	
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	
	.service-card {
		box-shadow: none;
		border: 1px solid #000;
		page-break-inside: avoid;
	}
	
	.service-info-box {
		box-shadow: none;
		border: 1px solid #000;
	}
	
	.related-service-item {
		break-inside: avoid;
		box-shadow: none;
		border: 1px solid #000;
	}
}

/* =============================================================================
   Service Details Modal
   ============================================================================= */

/* Modal CSS Variables */
:root {
	--modal-z-index: 9999;
	--modal-overlay-bg: rgba(0, 0, 0, 0.5);
	--modal-border-radius: 12px;
	--modal-max-width: 800px;
	--modal-animation-duration: 0.3s;
	--modal-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Modal Overlay */
.service-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--modal-overlay-bg);
	z-index: var(--modal-z-index);
	overflow-y: auto;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity var(--modal-animation-duration) ease;
}

.service-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 1;
}

.service-modal.opening {
	opacity: 1;
}

.service-modal.closing {
	opacity: 0;
}

/* Modal Content Container */
.service-modal-content {
	background: white;
	border-radius: var(--modal-border-radius);
	max-width: var(--modal-max-width);
	width: 100%;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	box-shadow: var(--modal-shadow);
	transform: translateY(50px) scale(0.95);
	transition: all var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e5e7eb;
}

.service-modal.active .service-modal-content {
	transform: translateY(0) scale(1);
}

.service-modal.opening .service-modal-content {
	animation: modalSlideIn var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-modal.closing .service-modal-content {
	animation: modalSlideOut var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Modal Animations */
@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes modalSlideOut {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateY(-30px) scale(0.95);
	}
}

/* Modal Header */
.service-modal-header {
	padding: 2rem 2rem 1rem;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	position: relative;
}

.service-modal-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.service-modal-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
	flex: 1;
}

.service-modal-close {
	background: none;
	border: none;
	color: #6b7280;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: all 0.3s ease;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}

.service-modal-close:hover {
	background: #f3f4f6;
	color: #374151;
	transform: rotate(90deg);
}

.service-modal-close:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

/* Modal Body */
.service-modal-body {
	padding: 2rem;
	overflow-y: auto;
	max-height: calc(90vh - 200px);
}

.service-modal-image {
	margin-bottom: 2rem;
	text-align: center;
}

.service-modal-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-modal-description {
	margin-bottom: 2rem;
	color: #6b7280;
	line-height: 1.7;
	font-size: 1.1rem;
}

.service-modal-features {
	margin-bottom: 2rem;
}

.service-modal-features h4 {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.service-modal-features h4 i {
	color: #3b82f6;
	font-size: 1rem;
}

.service-modal-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.service-modal-features li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	transition: all 0.3s ease;
}

.service-modal-features li:hover {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	border-color: #cbd5e1;
	transform: translateX(4px);
}

.service-modal-features li i {
	color: #10b981;
	font-size: 1rem;
	flex-shrink: 0;
	width: 1.25rem;
	text-align: center;
}

/* Modal Info Section */
.service-modal-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

.service-modal-price,
.service-modal-areas,
.service-modal-duration {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.service-modal-price h5,
.service-modal-areas h5,
.service-modal-duration h5 {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.service-modal-price .price-value,
.service-modal-duration .duration-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
}

.service-modal-areas .areas-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.service-modal-areas .area-tag {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 500;
}

/* Modal Footer */
.service-modal-footer {
	padding: 1.5rem 2rem 2rem;
	border-top: 1px solid #e5e7eb;
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	position: relative;
}

.service-modal-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.service-modal-btn {
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	overflow: hidden;
}

.service-modal-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.service-modal-btn:hover::before {
	left: 100%;
}

.service-modal-btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.service-modal-btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.service-modal-btn-secondary {
	background: white;
	color: #6b7280;
	border: 2px solid #e5e7eb;
}

.service-modal-btn-secondary:hover {
	background: #f8fafc;
	color: #374151;
	border-color: #d1d5db;
	transform: translateY(-1px);
}

/* Modal Loading State */
.service-modal-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	text-align: center;
}

.service-modal-loading .loading-spinner {
	margin-bottom: 1.5rem;
}

.service-modal-loading .loading-spinner i {
	font-size: 2.5rem;
	color: #3b82f6;
	animation: spin 1s linear infinite;
}

.service-modal-loading .loading-text {
	font-size: 1.1rem;
	color: #6b7280;
	margin: 0;
}

/* Modal Error State */
.service-modal-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem 2rem;
	text-align: center;
}

.service-modal-error .error-icon {
	margin-bottom: 1.5rem;
}

.service-modal-error .error-icon i {
	font-size: 3rem;
	color: #ef4444;
}

.service-modal-error .error-message {
	font-size: 1.1rem;
	color: #6b7280;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.service-modal-error .error-retry-btn {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	border: none;
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.service-modal-error .error-retry-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	transform: translateY(-2px);
}

/* Prevent Background Scroll */
body.modal-open {
	overflow: hidden;
	padding-right: var(--scrollbar-width, 0);
}

/* =============================================================================
   Modal Responsive Design
   ============================================================================= */

/* Tablet Styles */
@media (max-width: 768px) {
	.service-modal {
		padding: 0.5rem;
	}
	
	.service-modal-content {
		max-height: 95vh;
		border-radius: 8px;
	}
	
	.service-modal-header {
		padding: 1.5rem 1.5rem 1rem;
	}
	
	.service-modal-title {
		font-size: 1.5rem;
	}
	
	.service-modal-body {
		padding: 1.5rem;
		max-height: calc(95vh - 180px);
	}
	
	.service-modal-footer {
		padding: 1rem 1.5rem 1.5rem;
		flex-direction: column;
	}
	
	.service-modal-btn {
		width: 100%;
		justify-content: center;
	}
	
	.service-modal-info {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
	}
}

/* Mobile Styles */
@media (max-width: 480px) {
	.service-modal {
		padding: 0;
		align-items: flex-end;
	}
	
	.service-modal-content {
		max-height: 90vh;
		border-radius: 16px 16px 0 0;
		width: 100%;
		max-width: none;
	}
	
	.service-modal.active .service-modal-content {
		animation: modalSlideUp var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
	}
	
	.service-modal-header {
		padding: 1rem 1rem 0.75rem;
		position: relative;
	}
	
	.service-modal-header::before {
		content: '';
		position: absolute;
		top: 0.5rem;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 4px;
		background: #d1d5db;
		border-radius: 2px;
	}
	
	.service-modal-title {
		font-size: 1.25rem;
		margin-top: 1rem;
	}
	
	.service-modal-close {
		width: 2rem;
		height: 2rem;
		font-size: 1.25rem;
	}
	
	.service-modal-body {
		padding: 1rem;
		max-height: calc(90vh - 160px);
	}
	
	.service-modal-footer {
		padding: 1rem;
	}
	
	.service-modal-features ul {
		gap: 0.5rem;
	}
	
	.service-modal-features li {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
}

/* Mobile Slide Up Animation */
@keyframes modalSlideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.service-modal {
		background: rgba(0, 0, 0, 0.8);
	}
	
	.service-modal-content {
		border: 2px solid #000;
	}
	
	.service-modal-btn-primary {
		background: #000;
		border: 2px solid #000;
	}
	
	.service-modal-btn-secondary {
		border: 2px solid #000;
		color: #000;
	}
}

/* Reduced Motion Support for Modal */
@media (prefers-reduced-motion: reduce) {
	.service-modal,
	.service-modal-content,
	.service-modal-btn,
	.service-modal-features li {
		transition: none;
		animation: none;
	}
	
	.service-modal-close:hover {
		transform: none;
	}
	
	@keyframes modalSlideIn {
		from, to {
			opacity: 1;
			transform: translateY(0) scale(1);
		}
	}
	
	@keyframes modalSlideOut {
		from, to {
			opacity: 0;
			transform: translateY(0) scale(1);
		}
	}
	
	@keyframes modalSlideUp {
		from, to {
			transform: translateY(0);
		}
	}
}
/* ====
=========================================================================
   Service Details Button Loading State
   ============================================================================= */

.service-details-btn.loading {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
	position: relative;
}

.service-details-btn.loading:hover {
	transform: none;
	background: #3b82f6;
	color: white !important;
}

.service-details-btn.loading i.fa-spinner {
	animation: spin 1s linear infinite;
}

/* Enhanced click feedback for service buttons */
.service-details-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.service-order-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

/* Improved button focus states for accessibility */
.service-details-btn:focus,
.service-order-btn:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

/* Button loading animation */
@keyframes buttonPulse {
	0%, 100% {
		opacity: 0.7;
	}
	50% {
		opacity: 0.9;
	}
}

.service-details-btn.loading {
	animation: buttonPulse 1.5s ease-in-out infinite;
}
/* =
============================================================================
   Mobile Price Display Optimizations
   ============================================================================= */

@media (max-width: 480px) {
	/* Service Card Price Adjustments for Mobile */
	.service-card .service-price-container {
		margin-top: 0.5rem;
		padding-top: 0.375rem;
		gap: 0.125rem;
	}
	
	.service-card .service-price-container .service-price-primary {
		font-size: 1rem;
		font-weight: 700;
	}
	
	.service-card .service-price-container .service-price-secondary {
		font-size: 0.7rem;
		opacity: 0.7;
	}
	
	/* Service Modal Price Adjustments for Mobile */
	.service-modal .service-price-container .service-price-primary {
		font-size: 1.25rem;
		font-weight: 700;
	}
	
	.service-modal .service-price-container .service-price-secondary {
		font-size: 0.875rem;
		opacity: 0.75;
	}
	
	/* Service Info Box Price Adjustments for Mobile */
	.service-info-box .service-price-container {
		padding: 0.75rem 0;
		margin: 0.75rem 0;
	}
	
	.service-info-box .service-price-container .service-price-primary {
		font-size: 1.125rem;
	}
	
	.service-info-box .service-price-container .service-price-secondary {
		font-size: 0.8rem;
	}
}

/* =============================================================================
   Language-Specific Price Display Consistency
   ============================================================================= */

/* Ensure consistent spacing for different languages */
.service-price-container .service-price-secondary {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* Enhanced readability for Chinese characters */
html[lang*="zh"] .service-price-container .service-price-secondary,
html[lang*="hk"] .service-price-container .service-price-secondary {
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}

/* Enhanced readability for English */
html[lang="en"] .service-price-container .service-price-secondary {
	font-size: 0.8rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

/* =============================================================================
   Price Display Accessibility Enhancements
   ============================================================================= */

/* High contrast mode support for prices */
@media (prefers-contrast: high) {
	.service-price-container .service-price-primary {
		color: #000;
		font-weight: 800;
	}
	
	.service-price-container .service-price-secondary {
		color: #333;
		opacity: 1;
		font-weight: 600;
	}
}

/* Reduced motion support for price hover effects */
@media (prefers-reduced-motion: reduce) {
	.service-price-container .service-price-secondary {
		transition: none;
	}
	
	.service-price-container:hover .service-price-secondary {
		opacity: 0.75;
	}
}

/* Focus styles for keyboard navigation */
.service-card:focus-within .service-price-container .service-price-secondary {
	opacity: 0.9;
}