/* FlyOra Services — styles for the JS-rendered UI (request form, chooser answer card, journey
   route) and interaction states. Layout, typography and section styling live in Elementor
   (fy-* / fx-* / sv-* global classes). */

/* ---------- Anchors ---------- */
.elementor .sv-services,
.elementor .sv-air,
.elementor .sv-visa,
.elementor .sv-hotel,
.elementor .sv-tours,
.elementor .sv-umrah,
.elementor .sv-custom,
.elementor .sv-journey,
.elementor .sv-helper,
.elementor .sv-enquiry,
.sv-answer {
	scroll-margin-top: 96px;
}

/* Service the navigator jumped to: one soft orange pulse */
@keyframes svFlash {
	0% { box-shadow: 0 0 0 0 rgba(241, 90, 34, 0); }
	25% { box-shadow: 0 0 0 6px rgba(241, 90, 34, .22); }
	100% { box-shadow: 0 0 0 18px rgba(241, 90, 34, 0); }
}
.elementor .sv-flash {
	animation: svFlash 1.8s var(--fx-ease, ease) 1;
}

/* ---------- Service navigator ---------- */
.elementor .sv-nav-item {
	transition: border-color .3s ease, background-color .3s ease, box-shadow .35s ease, transform .45s var(--fx-spring, ease);
}
.elementor .sv-nav-item .sv-ico {
	transition: background-color .3s ease, color .3s ease, transform .5s var(--fx-spring, ease);
}
.elementor .sv-nav-item:hover,
.elementor .sv-nav-item:focus-visible {
	border-color: rgba(241, 90, 34, .45);
	box-shadow: 0 18px 34px -20px rgba(241, 90, 34, .55);
	transform: translate3d(0, -3px, 0);
}
.elementor .sv-nav-item:hover .sv-ico,
.elementor .sv-nav-item:focus-visible .sv-ico {
	background-color: var(--fy-orange, #F15A22);
	color: #fff;
	transform: rotate(-8deg) scale(1.06);
}
.elementor .sv-nav-item:focus-visible,
.elementor .sv-pick:focus-visible,
.sv-btn:focus-visible,
.sv-link:focus-visible {
	outline: 3px solid rgba(241, 90, 34, .35);
	outline-offset: 3px;
}

.elementor .sv-nav-item:hover,
.elementor .sv-nav-item:focus-visible {
	background-color: #fff;
}

/* ---------- Cross-link pathways ---------- */
.elementor .sv-path .sv-path-go {
	transition: background-color .3s ease, border-color .3s ease, transform .6s var(--fx-spring, ease);
}
.elementor .sv-path:hover .sv-path-go,
.elementor .sv-path:focus-visible .sv-path-go {
	background-color: var(--fy-orange, #F15A22);
	border-color: var(--fy-orange, #F15A22);
	transform: rotate(45deg);
}
.elementor .sv-path:focus-visible {
	outline: 3px solid rgba(241, 90, 34, .45);
	outline-offset: 4px;
}

/* ---------- Grid spacing Elementor does not output for e-grid (row gaps, rules) ---------- */
.elementor .sv-feats.sv-feats {
	row-gap: 14px;
	border-width: 1px 0;
	border-style: solid;
	border-color: var(--fy-border, #E4E6EF);
}
.elementor .sv-umrah .sv-feats.sv-feats {
	border-color: rgba(255, 255, 255, .14);
}
@media (max-width: 1024px) {
	.elementor .sv-split.sv-split {
		row-gap: 40px;
	}
	.elementor .sv-steps.sv-steps {
		row-gap: 26px;
	}
}
@media (max-width: 767px) {
	.elementor .sv-feats.sv-feats {
		row-gap: 12px;
	}
	.elementor .sv-split.sv-split {
		row-gap: 28px;
	}
	.elementor .sv-steps.sv-steps {
		row-gap: 22px;
	}
	.elementor .sv-why.sv-why {
		row-gap: 0;
	}
}

/* ---------- Service features: small check list ---------- */
.elementor .sv-feat .fy-icon {
	transition: transform .5s var(--fx-spring, ease);
}
.elementor .sv-feat:hover .fy-icon {
	transform: scale(1.15);
}

/* ---------- Connected journey ---------- */
.elementor .sv-steps {
	position: relative;
}
.elementor .sv-steps > .sv-step {
	position: relative;
	z-index: 1;
}
.elementor .fx-route.sv-route {
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.fx-route.sv-route.is-in .fx-mask-path {
	animation-duration: 3.6s;
}
.fx-route.sv-route.is-done .fx-mask-path {
	animation: none;
	stroke-dashoffset: 0;
}
.fx-route.sv-route .fx-path {
	opacity: .9;
}
.elementor .sv-step .sv-step-ico {
	transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.elementor .sv-step.is-lit .sv-step-ico {
	background-color: var(--fy-orange, #F15A22);
	border-color: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 16px 30px -14px rgba(241, 90, 34, .8);
	animation: svLit .7s var(--fx-spring, ease);
}
.elementor .sv-step:last-child.is-lit .sv-step-ico {
	background-color: var(--fy-blue, #2C2B7C);
	border-color: var(--fy-blue, #2C2B7C);
	box-shadow: 0 16px 30px -14px rgba(44, 43, 124, .8);
}
@keyframes svLit {
	0% { transform: scale(1); }
	45% { transform: scale(1.14); }
	100% { transform: scale(1); }
}
/* Vertical journey on tablet + mobile: dotted flight path down the icon column */
@media (max-width: 1024px) {
	.elementor .sv-steps > .sv-step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: 60px;
		bottom: -22px;
		left: 27px;
		width: 2px;
		background: repeating-linear-gradient(180deg, #F15A22 0 3px, transparent 3px 11px);
		opacity: .7;
		pointer-events: none;
	}
}
@media (max-width: 767px) {
	.elementor .sv-steps > .sv-step:not(:last-child)::before {
		top: 52px;
		bottom: -18px;
		left: 23px;
	}
}

/* ---------- Chooser ---------- */
.elementor .sv-pick {
	cursor: pointer;
	transition: border-color .3s ease, background-color .3s ease, box-shadow .35s ease, transform .45s var(--fx-spring, ease);
}
.elementor .sv-pick .sv-pick-dot {
	transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.elementor .sv-pick:hover {
	border-color: rgba(241, 90, 34, .5);
	transform: translate3d(0, -2px, 0);
}
.elementor .sv-pick.is-active {
	border-color: var(--fy-orange, #F15A22);
	background-color: #fff;
	box-shadow: 0 18px 34px -22px rgba(241, 90, 34, .7);
}
.elementor .sv-pick.is-active .sv-pick-dot {
	border-color: var(--fy-orange, #F15A22);
	background-color: var(--fy-orange, #F15A22);
	box-shadow: inset 0 0 0 4px #fff;
}

/* Answer card */
.sv-ans {
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	box-sizing: border-box;
	padding: 30px;
	border-radius: 24px;
	background: var(--fy-blue, #2C2B7C);
	background-image: radial-gradient(circle at 100% 0%, rgba(241, 90, 34, .28) 0%, rgba(241, 90, 34, 0) 45%);
	color: #fff;
	box-shadow: 0 30px 60px -34px rgba(29, 28, 90, .8);
}
.sv-ans.is-new {
	animation: svAns .55s var(--fx-ease, ease);
}
@keyframes svAns {
	from { opacity: 0; transform: translate3d(0, 14px, 0); }
	to { opacity: 1; transform: none; }
}
.sv-ans-ico {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .12);
	color: #FF9A70;
}
.sv-ans-ico svg {
	width: 26px;
	height: 26px;
}
.sv-ans-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sv-ans-kicker {
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #FF9A70;
}
.sv-ans-title {
	margin: 0;
	font-family: var(--fy-font-heading), sans-serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.15;
	color: #fff;
}
.sv-ans-text {
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .8);
}
.sv-ans-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: auto;
}
.sv-ans .sv-link {
	color: #fff;
}
.sv-ans .sv-link:hover {
	color: #FFB08F;
}
.sv-ans .sv-btn-outline {
	border-color: rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .06);
	color: #fff;
}
.sv-ans .sv-btn-outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .16);
}
@media (max-width: 767px) {
	.sv-ans {
		padding: 24px 20px;
		border-radius: 20px;
	}
	.sv-ans-title {
		font-size: 22px;
	}
	.sv-ans-actions .sv-btn {
		width: 100%;
	}
}

/* ---------- Buttons used inside JS-rendered UI (mirror fy-btn) ---------- */
.sv-btn {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .35s var(--fx-spring, ease);
}
.sv-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}
.sv-btn-primary {
	background: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(241, 90, 34, .7);
}
.sv-btn-primary:hover {
	background: var(--fy-orange-dark, #D8491A);
	color: #fff;
	transform: translateY(-2px);
}
.sv-btn-primary svg:last-child {
	transition: transform .4s var(--fx-spring, ease);
}
.sv-btn-primary:hover svg:last-child {
	transform: translateX(4px);
}
.sv-btn-outline {
	border-color: var(--fy-border, #E4E6EF);
	background: #fff;
	color: var(--fy-blue, #2C2B7C);
}
.sv-btn-outline:hover {
	border-color: var(--fy-blue, #2C2B7C);
	transform: translateY(-2px);
}
.sv-link {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--fy-orange-dark, #D8491A);
	cursor: pointer;
}
.sv-link svg {
	width: 16px;
	height: 16px;
	transition: transform .4s var(--fx-spring, ease);
}
.sv-link:hover svg {
	transform: translateX(4px);
}

/* ==========================================================
   Service request form (mirrors the Tours & Umrah enquiry forms)
   ========================================================== */
.sv-request {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.sv-request[hidden],
.sv-form-done[hidden],
.sv-form-error[hidden] {
	display: none;
}
.sv-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.sv-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}
.sv-field.is-full {
	grid-column: 1 / -1;
}
.sv-field > span:first-child {
	font-family: var(--fy-font-body), sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--fy-blue, #2C2B7C);
}
.sv-field em {
	font-style: normal;
	font-weight: 500;
	color: var(--fy-muted, #80849C);
}
.sv-field-sel {
	position: relative;
	display: block;
}
.sv-field-sel > svg {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	color: var(--fy-blue, #2C2B7C);
	pointer-events: none;
}
.sv-field input,
.sv-field select,
.sv-field textarea {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--fy-border, #E4E6EF);
	border-radius: 14px;
	background: var(--fy-bg, #F6F7FB);
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--fy-ink, #181A33);
	transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.sv-field select {
	padding-right: 40px;
	font-weight: 600;
	cursor: pointer;
	text-overflow: ellipsis;
}
.sv-field textarea {
	height: auto;
	min-height: 96px;
	padding: 14px 16px;
	line-height: 1.55;
	resize: vertical;
}
.sv-field input::placeholder,
.sv-field textarea::placeholder {
	color: var(--fy-muted, #80849C);
	opacity: 1;
}
.sv-field input:focus,
.sv-field select:focus,
.sv-field textarea:focus {
	outline: none;
	border-color: var(--fy-orange, #F15A22);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(241, 90, 34, .12);
}
.sv-field.is-invalid input,
.sv-field.is-invalid select {
	border-color: #D83A2B;
	background: #FFF6F5;
}
.sv-form-error {
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #C0321F;
}
.sv-form-submit {
	width: 100%;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: 16px;
}
.sv-form-assure {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fy-muted, #80849C);
}
.sv-form-assure svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--fy-orange, #F15A22);
}
.sv-form-done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	outline: none;
}
.sv-done-ico {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fy-orange, #F15A22);
	color: #fff;
	animation: svPop .6s var(--fx-spring, ease);
}
.sv-done-ico svg {
	width: 28px;
	height: 28px;
}
@keyframes svPop {
	from { transform: scale(.4); opacity: 0; }
	to { transform: none; opacity: 1; }
}
.sv-form-done h3 {
	margin: 0;
	font-family: var(--fy-font-heading), sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--fy-blue, #2C2B7C);
}
.sv-form-done p {
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--fy-text, #4B4F68);
}
.sv-form-done a {
	color: var(--fy-orange-dark, #D8491A);
	font-weight: 700;
}
@media (max-width: 767px) {
	.sv-form-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.elementor .sv-flash,
	.sv-ans.is-new,
	.elementor .sv-step.is-lit .sv-step-ico,
	.sv-done-ico {
		animation: none !important;
	}
	.elementor .sv-nav-item:hover,
	.elementor .sv-pick:hover {
		transform: none;
	}
}
