/* Typography & base */
:root {
	--bg-start: #000000;
	--bg-end: #0c0f14;
	--text: #e9eef6;
	--muted: #b9c2cf;
	--accent-start: #ff5acd;
	--accent-end: #5aa8ff;
	--card: rgba(255, 255, 255, 0.06);
	--border: rgba(255, 255, 255, 0.12);
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
	margin: 0;
	font-family: 'Poppins', system-ui, -apple-system, sans-serif;
	color: var(--text);
	background: linear-gradient(160deg, var(--bg-start), var(--bg-end));
	min-height: 100vh;
	overflow-x: hidden;
}

.container {
	width: min(1280px, 92%);
	margin: 0 auto;
}

/* Header / Nav */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.8);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
}

.nav { display: flex; justify-content: center; }
.nav__list {
	list-style: none;
	display: flex;
	gap: clamp(18px, 4vw, 48px);
	margin: 0;
	padding: 14px 0;
}
.nav__link {
	position: relative;
	text-decoration: none;
	color: #ffffff;
	letter-spacing: 0.08em;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
	display: inline-block;
}

.nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -4px;
	right: -4px;
	bottom: -2px;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	opacity: 0;
	border-radius: 4px;
	z-index: -1;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover {
	color: #ffffff;
	transform: translateY(-2px);
}

.nav__link:hover::after {
	transform: scaleX(1);
}

.nav__link:hover::before {
	opacity: 0.1;
}

.nav__link:active {
	transform: translateY(-1px);
}


/* Hero */
.hero {
	padding-top: 120px;
	padding-bottom: 64px;
	padding-left: clamp(40px, 8vw, 100px);
	padding-right: clamp(40px, 8vw, 100px);
	width: 100%;
	/* Enable absolute positioning for the toggle button */
	position: relative;
}
.hero__row{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: clamp(20px, 4vw, 40px);
	flex-wrap: nowrap;
	min-height: 0;
}
.hero__title {
	font-size: clamp(60px, 10vw, 120px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	background: #bdbdbd;
background: linear-gradient(180deg,rgba(189, 189, 189, 1) 0%, rgba(232, 232, 232, 1) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-align: center;
}
.hero__text {
	margin: 0 0 8px 0;
	font-size: clamp(14px, 1.8vw, 16px);
	line-height: 1.7;
	color: var(--muted);
}
.hero__content{
	width: clamp(250px, 30%, 400px);
	flex-shrink: 0;
	min-width: 0;
}
.avatar {
	width: clamp(120px, 25vw, 648px);
	height: clamp(120px, 25vw, 648px);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	border: 1px solid var(--border);
	position: relative;
	z-index: 1;
	flex-shrink: 1;
	min-width: 0;
	-webkit-box-shadow:0px 0px 39px 10px rgba(255,255,255,0.35);
-moz-box-shadow: 0px 0px 39px 10px rgba(255,255,255,0.35);
box-shadow: 0px 0px 39px 10px rgba(255,255,255,0.35);
	/* Cursor follow optimization */
	will-change: transform;
	transform: translate3d(0, 0, 0);
}
.cta-btn {
	display: inline-block;
	padding: 14px 40px;
	min-width: clamp(200px, 25%, 300px);
	text-align: center;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffffff;
	background: var(--accent-start);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
	border: 2px solid transparent;
}

.cta-btn::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;
}

.cta-btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	opacity: 0;
	border-radius: inherit;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.cta-btn:hover {
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	box-shadow: 0 12px 30px rgba(255, 90, 205, 0.5);
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.2);
}

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

.cta-btn:hover::after {
	opacity: 1;
}

.cta-btn:active {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255, 90, 205, 0.4);
}

/* Sections */
.placeholder-section { 
	padding: 64px 0 88px; 
	position: relative;
	z-index: 2;
}

/* Services Container - Full Width */
.services-container {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* Services Section */
.services-section {
	padding: 64px 0 88px;
	position: relative;
	z-index: 2;
}

.services-section .section-title {
	font-size: clamp(80px, 10vw, 120px);
	font-weight: 800;
	text-align: left;
	margin-bottom: 24px;
	letter-spacing: -0.02em;
	line-height: 1.1;
	position: relative;
	z-index: 10;
	color: #ffffff;
}


/* General Section Styles */
.section-title { 
	font-size: clamp(24px, 3.2vw, 36px); 
	margin: 0 0 12px 0; 
}

.section-text { 
	color: var(--muted); 
}


.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
	margin-top: 48px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	/* Ensure perfect grid alignment */
	align-items: start;
	grid-auto-rows: 1fr;
}

/* Service card text content */
.service-card-text-content {
	opacity: 1;
	transform: translate(0px, 0px);
	overflow: hidden;
	/* Ensure no positioning offset */
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Lower z-index to appear underneath service cards */
	z-index: 1;
	position: relative;
}

.service-card-text-content p {
	margin: 0;
	color: var(--muted);
	line-height: 1.7;
	font-size: clamp(14px, 2vw, 16px); /* Responsive font size */
	text-align: center;
	/* Ensure text fits within card dimensions */
	max-width: 100%;
	word-wrap: break-word;
	hyphens: auto;
	/* Match service card content positioning exactly */
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Text cards styling */
.service-card--text {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: clamp(28px, 4vw, 40px); /* Match service-card padding exactly */
	display: flex;
	flex-direction: column; /* Match service-card flex direction exactly */
	align-items: center;
	justify-content: center; /* Match service-card justify-content exactly */
	/* Match service-card dimensions EXACTLY */
	height: 400px; /* Fixed height to match service cards */
	min-height: 400px; /* Override min-height */
	max-height: 400px; /* Prevent overflow */
	/* Ensure consistent sizing with other cards */
	box-sizing: border-box;
	/* Grid alignment - match service-card exactly */
	align-self: stretch;
	/* Position matching - identical to service-card */
	position: relative;
	overflow: hidden;
	/* Remove any default margins that might cause offset */
	margin: 0;
	/* Always visible */
	opacity: 1;
	/* Higher z-index to appear above text slides */
	z-index: 10;
	/* Hover effects */
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
	cursor: pointer;
}

.service-card--text:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 90, 205, 0.2);
}

/* Mobile-first responsive grid */
@media (max-width: 768px) {
	.services-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		/* Ensure grid automatically adjusts when empty cards are hidden */
		grid-auto-flow: row;
		/* Force single column layout */
		grid-template-areas: 
			"card1"
			"card2" 
			"card3"
			"card4";
	}
	
	
	/* Mobile text content adjustments */
	.service-card-text-content {
		margin-top: 24px;
		padding: 20px;
	}
}

.service-card {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: clamp(28px, 4vw, 40px);
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
	/* Ensure ALL cards have EXACTLY the same dimensions */
	height: 400px; /* Fixed height for consistency */
	min-height: 400px; /* Override min-height */
	max-height: 400px; /* Prevent any overflow */
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* Always visible */
	opacity: 1;
	/* Grid alignment */
	align-self: stretch;
	/* Higher z-index to appear above text slides */
	z-index: 10;
	/* Hover effects */
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
	cursor: pointer;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 90, 205, 0.05), rgba(90, 168, 255, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	background: rgba(255, 255, 255, 1);
	border-color: rgba(255, 90, 205, 0.4);
}

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


.service-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	background: var(--accent-start);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1);
	position: relative;
	overflow: hidden;
}

.service-icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: inherit;
}

.service-card:hover .service-icon {
	transform: scale(1.15) rotate(5deg);
	box-shadow: 0 8px 25px rgba(255, 90, 205, 0.5);
}

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

.service-title {
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 700;
	color: var(--bg-start);
	margin: 0 0 14px 0;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.service-description {
	font-size: clamp(13px, 1.4vw, 15px);
	line-height: 1.6;
	color: var(--muted);
	margin: 0;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}




.service-card--empty::before {
	display: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
	/* Change grid layout to single column on mobile */
	.services-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
	
	/* Reduce hover effects on mobile for better performance */
	.service-card:hover,
	.service-card--text:hover {
		transform: translateY(-6px); /* Reduced from -10px */
	}
	
	.slider1 img:hover,
	.slider2 img:hover {
		transform: scale(1.04) rotate(0.5deg); /* Reduced from 1.08 */
	}
	
	.service-decoration:hover {
		transform: scale(1.08) rotate(1.5deg); /* Reduced from 1.15 */
	}
	
	.service-card:hover .service-icon {
		transform: scale(1.08) rotate(3deg); /* Reduced from 1.15 */
	}
}

/* iOS-specific optimizations */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
	/* Ensure single column layout on iOS */
	.services-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
}


/* Additional mobile performance optimizations */
@media (max-width: 768px) {
	/* Ensure proper spacing without empty cards */
	.services-grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
	
	/* Touch-friendly active effects */
	.service-card:active,
	.service-card--text:active {
		transform: translateY(-3px);
		transition: transform 0.1s ease;
	}
	
	.slider1 img:active,
	.slider2 img:active {
		transform: scale(1.02) rotate(0.5deg);
		transition: transform 0.1s ease;
	}
	
	.service-decoration:active {
		transform: scale(1.05) rotate(1deg);
		transition: transform 0.1s ease;
	}
	
	.service-card:active .service-icon {
		transform: scale(1.05) rotate(2deg);
		transition: transform 0.1s ease;
	}
	
	/* Disable hover effects on touch devices */
	@media (hover: none) {
		.service-card:hover,
		.service-card--text:hover,
		.slider1 img:hover,
		.slider2 img:hover,
		.service-decoration:hover {
			transform: none;
		}
	}
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
	@media (max-width: 768px) {
		.service-card--empty {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			height: 0 !important;
			min-height: 0 !important;
			margin: 0 !important;
			padding: 0 !important;
			overflow: hidden !important;
			position: absolute !important;
			left: -9999px !important;
			top: -9999px !important;
			z-index: -9999 !important;
			pointer-events: none !important;
			/* iOS Safari specific - ensure complete removal from layout */
			grid-column: unset !important;
			grid-row: unset !important;
			clip: rect(0 0 0 0) !important;
			/* Force hardware acceleration */
			transform: translate3d(0, 0, 0) !important;
			will-change: auto !important;
		}
		
		/* Force single column layout on iOS Safari */
		.services-grid {
			grid-template-columns: 1fr !important;
			gap: 24px !important;
		}
	}
}


/* Responsive adjustments for services */
@media (max-width: 1024px) {
	.services-grid {
		gap: 40px;
		margin-top: 40px;
		max-width: 900px;
	}
	
	/* Ensure service title animation works well on tablets */
	.services-section .section-title {
		font-size: clamp(60px, 8vw, 100px);
	}
}

@media (max-width: 768px) {
	/* Mobile service title adjustments */
	.services-section .section-title {
		font-size: clamp(40px, 12vw, 80px);
		margin-bottom: 20px;
		/* Ensure proper spacing for mobile */
		line-height: 1.05;
	}
	
	/* Optimize mask animation for mobile performance */
	.services-section .section-title::before {
		/* Reduce transition duration on mobile for better performance */
		transition: -webkit-mask 0.05s ease-out, mask 0.05s ease-out;
	}
}

@media (max-width: 768px) {
	.services-grid {
		grid-template-columns: 1fr; /* Switch to single column on mobile */
		gap: 32px;
		margin-top: 32px;
		max-width: 600px;
	}
	
	.service-card {
		padding: clamp(24px, 5vw, 32px);
	}
	
	.service-icon {
		width: 64px;
		height: 64px;
		margin-bottom: 20px;
	}
	
	.service-icon svg {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 520px) {
	.services-section {
		padding: 48px 0 64px;
	}
	
	.services-grid {
		gap: 24px;
		margin-top: 24px;
	}
	
	.service-card {
		padding: 20px;
	}
	
	.service-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 16px;
	}
	
	.service-icon svg {
		width: 28px;
		height: 28px;
	}
}

/* Footer */
.site-footer { padding: 24px 0 48px; color: var(--muted); text-align: center; }

/* Contact Form */
.contact-section {
	padding: 64px 0 88px;
	position: relative;
	z-index: 2;
}

.contact-form {
	max-width: 600px;
	margin: 48px auto 0;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: clamp(32px, 6vw, 48px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.form-group {
	margin-bottom: 24px;
}

.form-group:last-of-type {
	margin-bottom: 32px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--text);
	font-size: 14px;
	letter-spacing: 0.02em;
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label {
	color: var(--accent-start);
}

/* Form group focus state */
.form-group:focus-within .form-label {
	color: var(--accent-start);
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	font-family: inherit;
	font-size: 16px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
	position: relative;
}

.form-input::before,
.form-textarea::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 90, 205, 0.05), rgba(90, 168, 255, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: inherit;
	z-index: -1;
}

.form-input:hover,
.form-textarea:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 90, 205, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-input:hover::before,
.form-textarea:hover::before {
	opacity: 1;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--accent-start);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(255, 90, 205, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: var(--muted);
	opacity: 0.6;
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

.submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 16px 32px;
	background: var(--accent-start);
	border: 2px solid transparent;
	border-radius: 999px;
	color: #ffffff;
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(0);
}

.submit-btn::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;
}

.submit-btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	opacity: 0;
	border-radius: inherit;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.submit-btn:hover {
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	box-shadow: 0 12px 30px rgba(255, 90, 205, 0.5);
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.2);
}

.submit-btn:hover .submit-icon {
	transform: translateX(6px) scale(1.1);
}

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

.submit-btn:hover::after {
	opacity: 1;
}

.submit-btn:active {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255, 90, 205, 0.4);
}

.submit-icon {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Responsive form adjustments */
@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.contact-form {
		padding: clamp(24px, 5vw, 32px);
		margin-top: 32px;
	}
}

@media (max-width: 520px) {
	.contact-form {
		padding: 20px;
		margin-top: 24px;
	}
	
	.form-input,
	.form-textarea {
		padding: 12px 16px;
		font-size: 15px;
	}
	
	.submit-btn {
		padding: 14px 24px;
		font-size: 15px;
	}
}



/* Showcase Slider */
.showcase {
	position: relative;
	overflow: hidden;
	padding: 80px 0;
	background: rgba(0,0,0,0.1);
	/* Ensure sliders can move */
	width: 100%;
}





.showcase__subtitle {
	color: var(--muted);
	font-size: 16px;
	margin: 0;
	opacity: 0.8;
}

.slider1 {
	display: flex;
	gap: 20px;
	width: max-content; /* Ensure all images are in a single row */
	padding: 0 5px; /* Reduced padding for tighter ending */
	/* Parallax optimization */
	will-change: transform;
	/* Smooth transitions for scroll-based movement */
	transition: transform 0.1s ease-out;
}

.slider1 img {
	width: 500px;
	height: 250px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	border: 1px solid var(--border);
	flex-shrink: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.slider1 img::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 90, 205, 0.1), rgba(90, 168, 255, 0.1));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.slider1 img:hover {
	transform: scale(1.08) rotate(1deg);
	box-shadow: 0 12px 30px rgba(0,0,0,0.4);
	border-color: rgba(255, 90, 205, 0.5);
}

.slider1 img:hover::before {
	opacity: 1;
}

/* Second slider - opposite direction */
.slider2-container {
	overflow: hidden;
	margin-top: 40px; /* Space between the two sliders */
	text-align: right; /* Align content to the right */
	direction: rtl; /* Right-to-left direction for the container */
}

.slider2 {
	display: flex;
	gap: 20px;
	width: max-content; /* Ensure all images are in a single row */
	padding: 0 5px; /* Reduced padding for tighter ending */
	direction: rtl; /* Right-to-left direction like Arabic text */
	/* Parallax optimization */
	will-change: transform;
	/* Smooth transitions for scroll-based movement */
	transition: transform 0.1s ease-out;
}

.slider2 img {
	width: 500px;
	height: 250px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	border: 1px solid var(--border);
	flex-shrink: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.slider2 img::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 90, 205, 0.1), rgba(90, 168, 255, 0.1));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.slider2 img:hover {
	transform: scale(1.08) rotate(-1deg);
	box-shadow: 0 12px 30px rgba(0,0,0,0.4);
	border-color: rgba(255, 90, 205, 0.5);
}

.slider2 img:hover::before {
	opacity: 1;
}

@media (max-width: 1024px) {
	.hero__row {
		flex-direction: column;
		text-align: center;
		gap: clamp(30px, 6vw, 50px);
	}
	.hero__content {
		width: 100%;
		max-width: 600px;
	}
	.avatar {
		width: clamp(150px, 30vw, 300px);
		height: clamp(150px, 30vw, 300px);
	}
	.cta-btn {
		min-width: clamp(200px, 60%, 300px);
		padding: 14px 40px;
	}
}

@media (max-width: 768px) {
	.hero {
		padding-top: 100px;
		padding-bottom: 40px;
	}
	.hero__title {
		font-size: clamp(40px, 12vw, 80px);
	}
	.hero__row {
		gap: clamp(25px, 5vw, 40px);
	}
	.hero__content {
		width: 100%;
		max-width: 500px;
	}
	.avatar {
		width: clamp(120px, 40vw, 200px);
		height: clamp(120px, 40vw, 200px);
	}
	.cta-btn {
		min-width: clamp(180px, 70%, 250px);
		padding: 12px 30px;
		font-size: 14px;
	}
	
	/* Responsive slider */
	.slider1 img {
		width: 300px;
		height: 150px;
	}
	.slider2 img {
		width: 300px;
		height: 150px;
	}
}

@media (max-width: 520px) {
	.nav__list { gap: 20px; padding: 10px 0; }
	.hero { padding-top: 96px; }
	.hero__row {
		gap: 20px;
	}
	.hero__content {
		width: 100%;
		max-width: 400px;
	}
	.avatar {
		width: clamp(100px, 50vw, 150px);
		height: clamp(100px, 50vw, 150px);
	}
	.cta-btn {
		min-width: clamp(150px, 80%, 200px);
		padding: 10px 25px;
		font-size: 13px;
	}
	
	/* Mobile slider */
	.slider1 img {
		width: 250px;
		height: 125px;
	}
	.slider2 img {
		width: 250px;
		height: 125px;
	}
	.showcase {
		padding: 40px 0;
	}
} 

/* Service decoration images */
.service-decoration {
	position: absolute;
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	z-index: 1;
	opacity: 1;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1);
	cursor: pointer;
	overflow: hidden;
	/* Animation properties */
	will-change: transform, opacity;
}

.service-decoration::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 90, 205, 0.2), rgba(90, 168, 255, 0.2));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.service-decoration:hover {
	transform: scale(1.15) rotate(3deg);
	box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

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

.service-decoration--left {
	top: 20px;
	right: 20px;
	/* Enhanced animation properties */
	transform-origin: center center;
}

.service-decoration--right {
	bottom: 20px;
	left: 20px;
	/* Enhanced animation properties */
	transform-origin: center center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.service-decoration {
		width: 150px;
		height: 150px;
	}
}

@media (max-width: 768px) {
	.service-decoration {
		width: 120px;
		height: 120px;
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		right: auto;
		margin: 20px auto;
		display: block;
		/* Reduce animation intensity on mobile */
		transition: all 0.3s ease;
	}
	
	.service-decoration--left,
	.service-decoration--right {
		transform: rotate(0deg);
		opacity: 1;
		/* Mobile-specific animation properties */
		will-change: auto;
	}
} 