/* VERSIONE 3: Movimenti LENTI ma durata BREVE */
p {
	font-size:14px !IMPORTANT;
}

.hero-section {
	background: linear-gradient(135deg, #eeeeee 0%, #ffffff 10%, #eeeeee 50%, #ccccff 100%);
	position: relative;
	padding: 15px 0 30px 0;
	margin-bottom: 0;
	overflow: hidden;
	animation: gradientShift 6s ease-in-out 1; /* ⏱️ RIDOTTO DA 8s A 6s */
	animation-fill-mode: forwards;
}

/* Animazione del gradiente di sfondo - MOVIMENTO LENTO */
@keyframes gradientShift {
	0%, 100% {
		background: linear-gradient(135deg, #eeeeee 0%, #ffffff 10%, #eeeeee 50%, #ccccff 100%);
	}
	50% {
		background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 10%, #f0f0f0 50%, #ccccff 100%);
	}
}

.hero-section::before {
	content: '';
	position: absolute;
	top: -20%;
	right: -10%;
	width: 70%;
	height: 140%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="20" height="20" fill="%233b82f6" opacity="0.05"/><rect x="40" y="40" width="20" height="20" fill="%23808080" opacity="0.05"/><rect x="70" y="70" width="20" height="20" fill="%236366f1" opacity="0.05"/></svg>');
	background-size: 100px 100px;
	transform: rotate(-20deg) scale(0.8) translateX(-15px) translateY(10px);
	opacity: 0.4;
	animation: morphingSquares 6s cubic-bezier(0.165, 0.84, 0.44, 1) 1; /* ⏱️ RIDOTTO A 6s + curva PIÙ LENTA */
	animation-fill-mode: forwards;
}

/* Animazione morfologica dei quadratini - MOVIMENTO LINEARE FLUIDO */
@keyframes morphingSquares {
	0% {
		transform: rotate(-20deg) scale(0.8) translateX(-15px) translateY(10px);
		opacity: 0.4;
		filter: hue-rotate(0deg);
	}
	100% {
		transform: rotate(-10deg) scale(1.1) translateX(25px) translateY(-15px);
		opacity: 0.8;
		filter: hue-rotate(45deg);
	}
}

/* Secondo layer con animazione indipendente - MOVIMENTO PIÙ LENTO E DURATA RIDOTTA */
/* .hero-section::after { */
	/* content: ''; */
	/* position: absolute; */
	/* top: -30%; */
	/* left: -15%; */
	/* width: 60%; */
	/* height: 120%; */
	/* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="20" cy="20" r="8" fill="%236366f1" opacity="0.06"/><circle cx="50" cy="50" r="8" fill="%233b82f6" opacity="0.08"/><polygon points="10,60 20,70 5,70" fill="%23808080" opacity="0.05"/></svg>'); */
	/* background-size: 80px 80px; */
	/* transform: rotate(15deg) translateX(-20px) translateY(15px) scale(0.9); */
	/* opacity: 0.3; */
	/* animation: geometricDance 6s cubic-bezier(0.19, 1, 0.22, 1) 1; /* ⏱️ RIDOTTO A 6s + curva ULTRA-LENTA */ */
	/* animation-fill-mode: forwards; */
	/* z-index: -1; */
/* } */

/* Animazione geometrica per forme diverse - MOVIMENTO LINEARE FLUIDO */
@keyframes geometricDance {
	0% {
		transform: rotate(15deg) translateX(-20px) translateY(15px) scale(0.9);
		opacity: 0.3;
	}
	100% {
		transform: rotate(25deg) translateX(30px) translateY(-20px) scale(1.2);
		opacity: 0.7;
	}
}

/* Animazione del contenuto hero */
.hero-content {
	animation: heroFadeIn 2s ease-out;
}

@keyframes heroFadeIn {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Animazione del titolo con effetto typewriter */
.hero-title {
	animation: slideInFromLeft 1.5s ease-out 0.5s both;
}

@keyframes slideInFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Animazione del sottotitolo */
.hero-subtitle {
	animation: slideInFromRight 1.5s ease-out 1s both;
}

@keyframes slideInFromRight {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Animazione della descrizione */
.hero-description {
	animation: fadeInUp 1.5s ease-out 1.5s both;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes popIn {
	0% {
		opacity: 0;
		transform: scale(0.3) rotateY(-180deg);
	}
	50% {
		transform: scale(1.1) rotateY(-90deg);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotateY(0deg);
	}
}

/* Animazione floating per le icone delle feature cards - MOVIMENTO LENTO */
.feature-card i {
	animation: iconFloat 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1; /* ⏱️ STESSO TEMPO ma movimento più dolce */
	animation-fill-mode: forwards;
}

.feature-card:nth-child(1) i {
	animation-delay: 0s;
}

.feature-card:nth-child(2) i {
	animation-delay: 0.5s; /* ⏱️ DELAY RIDOTTI per finire prima */
}

.feature-card:nth-child(3) i {
	animation-delay: 1s; /* ⏱️ DELAY RIDOTTI per finire prima */
}

@keyframes iconFloat {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-8px) rotate(3deg); /* ⏱️ MOVIMENTO PIÙ PICCOLO = più lento visivamente */
	}
}

/* Animazione dei bottoni */
.button-container .btn {
	position: relative;
	overflow: hidden;
}

@keyframes buttonSlideIn {
	0% {
		opacity: 0;
		transform: translateY(50px) scale(0.8);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Effetto shimmer sui bottoni */
.button-container .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.8s ease;
}

.button-container .btn:hover::before {
	left: 100%;
}

/* Animazione delle transizioni header - MOVIMENTO LENTO E DOLCE */
.header-transition {
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 40%, #f0f4ff 100%);
	height: 20px;
	margin-bottom: 0;
	position: relative;
	animation: waveMotion 4s cubic-bezier(0.23, 1, 0.32, 1) 1; /* ⏱️ DURATA BREVE: 4s, MOVIMENTO LENTISSIMO */
	animation-fill-mode: forwards;
}

.header-transition-2 {
	background: linear-gradient(180deg, #f0f4ff 0%, #f8f9fa 60%, #ffffff 100%);
	height: 20px;
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
	animation: waveMotion 4s cubic-bezier(0.23, 1, 0.32, 1) 1 reverse; /* ⏱️ DURATA BREVE: 4s, MOVIMENTO LENTISSIMO */
	animation-fill-mode: forwards;
}

@keyframes waveMotion {
	0%, 100% {
		transform: scaleY(1);
		opacity: 1;
	}
	50% {
		transform: scaleY(1.1); /* ⏱️ MOVIMENTO PIÙ PICCOLO = più lento visivamente */
		opacity: 0.9;
	}
}

/* Animazione al caricamento della pagina - OTTIMIZZATO */
@keyframes pageLoad {
	0% {
		opacity: 0;
		transform: scale(0.98); /* ⏱️ MOVIMENTO PIÙ PICCOLO = più lento */
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.hero-section {
	animation: pageLoad 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), gradientShift 6s ease-in-out 1 1s; /* ⏱️ GRADIENTE RIDOTTO A 6s */
	animation-fill-mode: forwards;
}

/* Aggiunta di micro-animazioni per interattività */
.feature-card {
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.feature-card:hover i {
	animation-duration: 1s;
	color: #3b82f6;
	transform: scale(1.2) rotate(360deg);
}

.hero-title {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 10px;
	color: #1a2332;
	text-shadow: none;
	letter-spacing: -0.5px;
}

.hero-subtitle {
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 15px;
	color: #4a5568;
	letter-spacing: 0.2px;
}

.hero-description {
	font-size: 16px;
	margin-bottom: 20px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	color: #6b7280;
	line-height: 1.5;
}

.feature-cards {
	display: flex;
	gap: 20px;
	margin-top: 25px;
	flex-wrap: wrap;
}

.feature-card {
	flex: 1;
	min-width: 280px;
	background: #ffffff;
	padding: 15px 20px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
	border: 1px solid rgba(204, 204, 255, 0.2);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 160px;
	transition: all 0.3s ease;
}

.feature-card:hover {
	box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
	transform: translateY(-2px);
	border-color: rgba(204, 204, 255, 0.4);
}

.feature-card i {
	font-size: 32px;
	color: #6366f1;
	margin-bottom: 12px;
	display: block;
}

.feature-card h3 {
	color: #1a2332;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
}

.feature-card p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.why-choose-section {
	background: #ffffff;
	padding: 35px;
	border-radius: 16px;
	margin: 20px 0;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(204, 204, 255, 0.2);
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.why-choose-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(204, 204, 255, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.section-title {
	font-size: 28px;
	margin-bottom: 20px;
	color: #1a2332;
	text-align: center;
	font-weight: 700;
}

.section-description {
	font-size: 16px;
	color: #6b7280;
	margin-bottom: 30px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	line-height: 1.6;
}

.service-cards {
	display: flex;
	gap: 20px;
	margin: 30px 0;
	flex-wrap: wrap;
}

.service-card {
	flex: 1;
	min-width: 300px;
	padding: 25px;
	border-radius: 16px;
	color: white;
	position: relative;
	overflow: hidden;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.service-card-1 {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.service-card-2 {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 150px;
	height: 150px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card:hover::before {
	transform: scale(1.2);
}

.service-card h3 {
	color: white;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
	position: relative;
	z-index: 2;
}

.service-card p {
	color: rgba(255,255,255,0.95);
	font-size: 15px;
	line-height: 1.6;
	position: relative;
	z-index: 2;
	margin: 0;
}

.characteristic-cards {
	display: flex;
	gap: 20px;
	margin: 25px 0;
	flex-wrap: wrap;
}

.characteristic-card {
	flex: 1;
	min-width: 250px;
	background-color: #fafbfc;
	padding: 22px;
	border-radius: 12px;
	text-align: center;
	border: 1px solid #e5e7eb;
	transition: all 0.3s ease;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.characteristic-card:hover {
	border-color: rgba(99, 102, 241, 0.3);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	background-color: #ffffff;
}

.characteristic-card i {
	font-size: 38px;
	margin-bottom: 15px;
	display: block;
}

.characteristic-card h4 {
	color: #1a2332;
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: 600;
}

.characteristic-card p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.integration-section {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	padding: 30px;
	border-radius: 16px;
	color: white;
	text-align: center;
	margin: 30px 0;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.integration-section::before {
	content: '';
	position: absolute;
	top: -30%;
	left: -10%;
	width: 200px;
	height: 200px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
}

.integration-section h3 {
	color: white;
	margin-bottom: 15px;
	font-size: 22px;
	position: relative;
	z-index: 2;
	font-weight: 600;
}

.integration-section p {
	color: rgba(255,255,255,0.95);
	font-size: 16px;
	line-height: 1.6;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.btn.v-btn.v-third-dark {
	border-radius: 8px;
	background-color: #fefefe;
}

.btn.v-btn.v-third-dark:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn.v-btn.v-third-dark.blue-hover:hover {
	background: linear-gradient(135deg, #6d9bf4 0%, #6d9bf4 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn.v-btn.v-third-dark.green-hover:hover {
	background: linear-gradient(135deg, #5fc4a3 0%, #5fc4a3 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.button-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.button-container .btn.v-btn.v-third-dark {
	padding: 12px 35px;
	font-size: 16px;
	border-radius: 8px;
	white-space: nowrap;
	min-width: 200px;
	text-align: center;
}

.faq {
	background-color: #f0f8ff;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.faq h3 {
	margin-bottom: 15px;
	flex-shrink: 0;
}

.faq p {
	flex-grow: 1;
	display: flex;
	align-items: center;
}

.row.faq-container {
	display: flex;
	flex-wrap: wrap;
}

.row.faq-container > [class*="col-"] {
	display: flex;
	margin-bottom: 20px;
}

.characteristic-cards-row {
	display: flex;
	gap: 20px;
	margin: 25px 0 15px 0;
	justify-content: center;
	flex-wrap: wrap;
}

.characteristic-cards-row .characteristic-card {
	flex: 1;
	max-width: 400px;
}

.growth-card-container {
	margin: 30px auto;
	max-width: 600px;
	position: relative;
}

.growth-card {
	background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
	border: 2px solid #3b82f6;
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
	padding: 30px;
	min-height: auto;
	transition: all 0.3s ease;
}

.growth-card:hover {
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.growth-card i {
	color: #3b82f6;
	font-size: 48px;
}

.growth-card h4 {
	font-size: 20px;
	color: #1a2332;
}

.growth-arrow {
	text-align: center;
	margin: 20px 0;
	color: #3b82f6;
	font-size: 24px;
	animation: bounce 2s infinite;
	cursor: pointer;
	transition: color 0.3s ease;
}

.growth-arrow:hover {
	color: #2563eb;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(10px);
	}
	60% {
		transform: translateY(5px);
	}
}

.caratteristiche-container {
	display: flex;
	gap: 30px;
	margin-top: 30px;
}

.caratteristiche-box {
	flex: 1;
	background: #ffffff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 4px solid #3b82f6;
}

.caratteristiche-box:nth-child(2) {
	border-left-color: #10b981;
}

.caratteristiche-box h3 {
	color: #1a2332;
	margin-bottom: 20px;
	font-size: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.caratteristiche-box h3::before {
	content: "⚖️";
	font-size: 24px;
}

.caratteristiche-box:nth-child(2) h3::before {
	content: "🏨";
}

.v-list-v2 {
	margin-left: 0;
}

.v-list-v2 li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.v-list-v2 li:hover {
	transform: translateX(5px);
}

.v-list-v2 li i {
	position: absolute;
	left: 0;
	top: 3px;
	color: #3b82f6;
}

.v-call-to-action.certificazioni-cta {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}

.v-call-to-action.certificazioni-cta::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="20" height="20" fill="rgba(255,255,255,0.05)"/><rect x="40" y="40" width="20" height="20" fill="rgba(255,255,255,0.05)"/><rect x="70" y="70" width="20" height="20" fill="rgba(255,255,255,0.05)"/></svg>');
	background-size: 100px 100px;
	opacity: 0.5;
}

.certificazioni-cta .v-call-to-action-inner h3 {
	color: #ffffff;
	font-size: 24px;
	margin-bottom: 10px;
}

.certificazioni-cta .v-call-to-action-inner p {
	color: rgba(255,255,255,0.9);
	font-size: 16px;
	line-height: 1.6;
}

.certificazioni-cta .btn {
	background: #3b82f6;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.certificazioni-cta .btn:hover {
	background: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.funzionamento-section {
	position: relative;
	padding: 40px 0;
}

.funzionamento-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
}

.funzionamento-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(180deg, #3b82f6 0%, #3B82F6 100%);
}

.funzionamento-card:nth-child(even)::before {
	background: linear-gradient(180deg, #3B82F6 0%, #3B82F6 100%);
}

.funzionamento-card h3 {
	color: #1a2332;
	font-size: 22px;
	margin-bottom: 20px;
	font-weight: 600;
}

.v-single-img figure {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	position: relative;
}

.v-single-img figure:hover::after {
	opacity: 1;
}

.moduli-section {
	background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
	padding: 60px 40px;
	border-radius: 20px;
}

.moduli-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.modulo-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid #e5e7eb;
}

.modulo-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border-color: #3b82f6;
}

.modulo-card img {
	border-radius: 8px;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.modulo-card:hover img {
	transform: scale(1.05);
}

.modulo-card h3 {
	color: #1a2332;
	margin-bottom: 15px;
}

.modulo-card .btn {
	margin-top: 20px;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	border: none;
	padding: 10px 25px;
	border-radius: 6px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.button-container {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	
	.button-container .btn.v-btn.v-third-dark {
		width: 100%;
		max-width: 280px;
		padding: 12px 20px;
		font-size: 13px;
	}
	
	.feature-cards,
	.service-cards,
	.characteristic-cards {
		flex-direction: column;
	}
	
	.hero-title {
		font-size: 32px;
	}
	
	.hero-subtitle {
		font-size: 18px;
	}
	
	.section-title {
		font-size: 24px;
	}
	
	.hero-section {
		padding: 30px 0 25px 0;
	}
	
	.btn.v-btn.v-third-dark {
		white-space: normal;
		line-height: 1.3;
		padding: 10px 15px;
		font-size: 14px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.caratteristiche-container {
		flex-direction: column;
	}
}

@media (max-width: 380px) {
	.button-container .btn.v-btn.v-third-dark {
		white-space: wrap;
		font-size: 13px;
		min-width: auto;
	}
	
	.button-container .btn i {
		display: none;
	}
}

.custom-slider-container {
	position: relative;
	width: 100%;
	height: 570px;
	overflow: hidden;
	background-color: #0a0a0a;
}

.slider-progress-hyksos {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background-color: #dddddd;
	z-index: 50;
	transition: width 10s linear;
	box-shadow: 0 2px 15px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.4);
	opacity: 0.9;
}

.slider-progress-hyksos.active {
	width: 100% !important;
}

.slider-progress-hyksos.paused {
	transition-play-state: paused;
}

.custom-slide {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	overflow: hidden;
}

.custom-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 5;
}

.slide-staytour {
	background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6faefa 100%);
}

.slide-mapcontrol {
	background: linear-gradient(135deg, #5c0a0a 0%, #8b1a1a 50%, #b83030 100%);
}

.slide-portaltour {
	background: linear-gradient(135deg, #14532d 0%, #16a34a 50%, #4ade80 100%);
}

.shape-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.square {
	position: absolute;
	width: 1500px;
	height: 1500px;
	background: rgba(255,255,255,0.1);
	border: 2px solid rgba(255,255,255,0.2);
	animation: rotateFloat 20s linear infinite;
	opacity: 0.2;
}

.square:nth-of-type(1) {
	top: 10%;
	left: 10%;
	animation-duration: 105s;
	transform: rotate(45deg);
}

.square:nth-of-type(2) {
	top: 70%;
	right: 15%;
	animation-duration: 100s;
	animation-direction: reverse;
	width: 1060px;
	height: 1060px;
}

.square:nth-of-type(3) {
	bottom: 20%;
	left: 30%;
	animation-duration: 115s;
	width: 1000px;
	height: 1000px;
	background: rgba(255,255,255,0.05);
}

.triangle {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	border-bottom: 70px solid rgba(255,255,255,0.08);
	animation: triangleFloat 22s ease-in-out infinite;
	opacity: 0.1;
}

.triangle:nth-of-type(1) {
	top: 50%;
	right: 10%;
	animation-duration: 28s;
}

.triangle:nth-of-type(2) {
	top: 20%;
	left: 50%;
	transform: rotate(180deg);
	animation-duration: 32s;
	border-bottom-color: rgba(255,255,255,0.05);
}

.lines-pattern {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background-image: 
		linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 49%, rgba(255,255,255,0.05) 51%, transparent 52%),
		linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.05) 49%, rgba(255,255,255,0.05) 51%, transparent 52%);
	background-size: 30px 30px;
	animation: diagonalMove 40s linear infinite;
	z-index: 1;
	pointer-events: none;
}

@keyframes rotateFloat {
	0% { transform: rotate(0deg) translateY(0); }
	25% { transform: rotate(90deg) translateY(-20px); }
	50% { transform: rotate(180deg) translateY(0); }
	75% { transform: rotate(270deg) translateY(20px); }
	100% { transform: rotate(360deg) translateY(0); }
}

@keyframes triangleFloat {
	0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
	33% { transform: translateX(30px) translateY(-30px) rotate(120deg); }
	66% { transform: translateX(-30px) translateY(30px) rotate(240deg); }
}

@keyframes diagonalMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(30px, 30px); }
}

.light-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	pointer-events: none;
}

.particle {
	position: absolute;
	width: 5px;
	height: 5px;
	background: white;
	border-radius: 50%;
	opacity: 0;
	animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1s; }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 7s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

@keyframes particleFloat {
	0% {
		transform: translateY(100vh) scale(0);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-100vh) scale(1);
		opacity: 0;
	}
}

.gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, 
		transparent 0%, 
		rgba(255,255,255,0.03) 50%, 
		transparent 100%);
	background-size: 200% 200%;
	animation: gradientShift 15s ease infinite;
	z-index: 4;
	pointer-events: none;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.slide-content {
	text-align: center;
	color: #ffffff;
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.slide-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 60px;
	color: #444444;
	letter-spacing: 7px;
	margin-bottom: 20px;
	line-height: 1.2;
	animation: titleGlow 3s ease-in-out infinite alternate;
	text-shadow: 
        2px 2px 6px rgba(0,0,0,0.9),
        0px 0px 30px rgba(0,0,0,0.5);
	font-weight: 700;
}

@keyframes titleGlow {
	0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
	100% { text-shadow: 2px 2px 20px rgba(255,255,255,0.3), 2px 2px 4px rgba(0,0,0,0.3); }
}

.slide-subtitle {
	font-size: 23px;
	color: #eeeeee;
	letter-spacing: 3px;
	line-height: 1.4;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-button {
	display: inline-block;
	padding: 12px 30px;
	background-color: #444444;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	position: relative;
	z-index: 10;
	overflow: hidden;
}

.slide-mapcontrol .slide-title,
.slide-mapcontrol .slide-subtitle {
    color: #eeeeee;
}

.slide-button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255,255,255,0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.slide-button:hover {
	background-color: #0f172a;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.2);
	text-decoration: none;
	color: #ffffff;
}

.slide-button:hover::before {
	width: 300px;
	height: 300px;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: rgba(255,255,255,0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255,255,255,0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 20;
}

.slider-nav:hover {
	background-color: rgba(255,255,255,0.2);
	border-color: white;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.slider-nav.prev {
	left: 30px;
}

.slider-nav.next {
	right: 30px;
}

.slider-nav::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
}

.slider-nav.prev::after {
	border-width: 8px 12px 8px 0;
	border-color: transparent white transparent transparent;
	margin-right: 3px;
}

.slider-nav.next::after {
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent white;
	margin-left: 3px;
}

.slider-indicators {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 20;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.indicator:hover {
	transform: scale(1.2);
	background-color: rgba(255,255,255,0.7);
}

.indicator.active {
	background-color: #ffffff;
	transform: scale(1.3);
	border-color: rgba(255,255,255,0.5);
	box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.slide-content-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px 60px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 600px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.slide-content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
	.custom-slider-container {
		height: 500px;
	}
	
	.slide-title {
		font-size: 32px;
		letter-spacing: 3px;
	}
	
	.slide-subtitle {
		font-size: 18px;
		letter-spacing: 2px;
	}
	
	.slide-button {
		padding: 10px 24px;
		font-size: 16px;
	}
	
	.slider-nav {
		width: 40px;
		height: 40px;
	}
	
	.slider-nav.prev {
		left: 15px;
	}
	
	.slider-nav.next {
		right: 15px;
	}
	
	.square, .triangle {
		opacity: 0.05 !important;
	}
	
	.slide-content-box {
        width: 450px;
        min-height: 280px;
        padding: 40px 45px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
	.custom-slider-container {
		height: 450px;
	}
	
	.slide-title {
		font-size: 28px;
		letter-spacing: 2px;
		margin-bottom: 15px;
	}
	
	.slide-subtitle {
		font-size: 16px;
		letter-spacing: 1px;
		margin-bottom: 25px;
	}
	
	.slide-button {
		padding: 10px 20px;
		font-size: 14px;
	}
	
	.slide-content {
		padding: 0 15px;
	}
	
	.slider-nav {
		width: 35px;
		height: 35px;
	}
	
	.slider-nav.prev {
		left: 10px;
	}
	
	.slider-nav.next {
		right: 10px;
	}
	
	.slider-nav.prev::after {
		border-width: 6px 8px 6px 0;
	}
	
	.slider-nav.next::after {
		border-width: 6px 0 6px 8px;
	}
	
	.slider-progress-hyksos {
		height: 3px;
	}
	
	.slide-content-box {
        width: 320px;
        min-height: 250px;
        padding: 30px 30px;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .slide-content-box {
        width: 280px;
        min-height: 240px;
        padding: 25px 20px;
    }
}

.faq-element {
	padding: 20px; background-color: white; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; flex-direction: column; height: 100%; flex: 1;
}

/* ================================== */
/* FIX SEMPLICE OVERFLOW FAQ */
/* Aggiungere a hyksos-style.css */
/* ================================== */

/* 1. Container principale FAQ sicuro */
.faq-main-container {
	overflow-x: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-wrapper {
	overflow-x: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

/* 2. Grid responsive sicura */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* 3. Elementi FAQ sicuri */
.faq-item {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.faq-element {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 20px;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

.faq-element h4 {
	width: 100%;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
	line-height: 1.4;
	margin: 0 0 15px 0;
}

.faq-element p {
	width: 100%;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
	line-height: 1.6;
	margin: 0;
}

/* 4. Mobile ottimizzazioni */
@media (max-width: 768px) {
	.faq-grid {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 0 10px;
	}
	
	.faq-element {
		padding: 15px;
	}
	
	.faq-element h4 {
		font-size: 16px;
		margin-bottom: 12px;
	}
	
	.faq-element p {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.faq-grid {
		padding: 0 5px;
		gap: 10px;
	}
	
	.faq-element {
		padding: 12px;
	}
	
	.faq-element h4 {
		font-size: 15px;
		margin-bottom: 10px;
	}
	
	.faq-element p {
		font-size: 13px;
	}
}

/* 5. CTA sicura */
.faq-cta {
	width: 100%;
	max-width: 100%;
	text-align: center;
	margin-top: 30px;
	padding: 0 10px;
	box-sizing: border-box;
}

.faq-cta p {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* ================================== */
/* SEZIONE "PERCHÉ SCEGLIERE HYKSOS" */
/* ================================== */

.why-choose-hyksos {
	position: relative;
	overflow: hidden;
}

.why-choose-hyksos::before {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
	border-radius: 50%;
	z-index: 1;
}

.why-choose-header {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	z-index: 2;
}

.why-choose-header h2 {
	color: #1e293b;
	margin-bottom: 20px;
	font-size: 2.2rem;
	font-weight: 700;
}

.why-choose-subtitle {
	color: #4b5563;
	font-size: 1.1rem;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto;
}

.why-choose-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 30px;
	position: relative;
	z-index: 2;
}

.why-choose-item {
	display: flex;
	align-items: flex-start;
	padding: 25px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border-radius: 12px;
	border-left: 4px solid #3b82f6;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.why-choose-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.why-choose-item:hover::before {
	opacity: 1;
}

.why-choose-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	border-left-color: #10b981;
}

.why-choose-item:nth-child(even) {
	border-left-color: #10b981;
}

.why-choose-item:nth-child(even):hover {
	border-left-color: #3b82f6;
}

.why-icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
}

.why-choose-item:nth-child(even) .why-icon {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.why-icon i {
	color: white;
	font-size: 20px;
}

.why-choose-item:hover .why-icon {
	transform: scale(1.1);
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.why-choose-item:nth-child(even):hover .why-icon {
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.why-content {
	flex: 1;
	position: relative;
	z-index: 2;
}

.why-content h4 {
	color: #1e293b;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.why-content p {
	color: #6b7280;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.why-choose-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.why-choose-item {
		padding: 20px;
	}
	
	.why-choose-header h2 {
		font-size: 1.8rem;
	}
	
	.why-choose-subtitle {
		font-size: 1rem;
	}
	
	.why-icon {
		width: 45px;
		height: 45px;
		margin-right: 15px;
	}
	
	.why-icon i {
		font-size: 18px;
	}
	
	.why-content h4 {
		font-size: 1.1rem;
	}
	
	.why-content p {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.why-choose-item {
		padding: 15px;
		flex-direction: column;
		text-align: center;
	}
	
	.why-icon {
		margin: 0 auto 15px auto;
	}
	
	.why-content h4 {
		font-size: 1rem;
	}
	
	.why-content p {
		font-size: 0.85rem;
	}
}