/* FAQ Accordion for Elementor - Frontend Styles */

.faqae-wrap {
	--faqae-accent: #e2434b;
	--faqae-title: #151d3b;
	--faqae-text: #5c6273;
	width: 100%;
	box-sizing: border-box;
}

.faqae-wrap *,
.faqae-wrap *::before,
.faqae-wrap *::after {
	box-sizing: border-box;
}

/* Make sure Elementor's SVG-type icons (custom uploaded SVGs) also
   pick up the accent/icon color instead of staying stuck on black. */
.faqae-image-badge svg,
.faqae-item-icon svg,
.faqae-toggle svg,
.faqae-contact-icon svg {
	fill: currentColor !important;
	stroke: none;
	width: 1em;
	height: 1em;
}

.faqae-image-badge svg *,
.faqae-item-icon svg *,
.faqae-toggle svg *,
.faqae-contact-icon svg * {
	fill: currentColor !important;
}

.faqae-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 50px;
	align-items: start;
}

.faqae-image-pos-right .faqae-grid {
	grid-template-columns: 1.15fr 0.85fr;
}

.faqae-image-pos-right .faqae-image-wrap {
	order: 2;
}

.faqae-image-pos-right .faqae-list {
	order: 1;
}

/* ---------- Left Column ---------- */
.faqae-image-wrap {
	position: relative;
}

.faqae-badge-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 18px;
}

.faqae-badge-align-left .faqae-badge-wrap { justify-content: flex-start; }
.faqae-badge-align-center .faqae-badge-wrap { justify-content: center; }
.faqae-badge-align-right .faqae-badge-wrap { justify-content: flex-end; }

.faqae-image-badge {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--faqae-accent);
	color: var(--faqae-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	position: relative;
}

.faqae-image-badge::before,
.faqae-image-badge::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 26px;
	height: 2px;
	background: var(--faqae-accent);
}

.faqae-image-badge::before { right: 100%; margin-right: 10px; }
.faqae-image-badge::after { left: 100%; margin-left: 10px; }

.faqae-header-text {
	text-align: left;
}

.faqae-header-align-left .faqae-header-text { text-align: left; }
.faqae-header-align-center .faqae-header-text { text-align: center; }
.faqae-header-align-right .faqae-header-text { text-align: right; }

.faqae-header-align-center .faqae-divider { margin-left: auto; margin-right: auto; }
.faqae-header-align-right .faqae-divider { margin-left: auto; margin-right: 0; }

.faqae-header-align-center .faqae-subtitle { margin-left: auto; margin-right: auto; }
.faqae-header-align-right .faqae-subtitle { margin-left: auto; margin-right: 0; }

.faqae-title {
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--faqae-title);
	margin: 0 0 14px;
}

.faqae-divider {
	width: 56px;
	height: 3px;
	background: var(--faqae-accent);
	margin-bottom: 18px;
}

.faqae-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: var(--faqae-text);
	margin: 0 0 30px;
	max-width: 380px;
}

.faqae-image-inner {
	position: relative;
}

.faqae-image-wrap img {
	max-width: 90%;
	height: auto;
	display: block;
	border-radius: 20px;
}

/* ---------- Right Column: FAQ List ---------- */
.faqae-list {
	display: flex;
	flex-direction: column;
}

.faqae-item {
	background: #ffffff;
	border: 1px solid #ecedf3;
	border-radius: 10px;
	margin-bottom: 16px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.faqae-item.faqae-active {
	box-shadow: 0 6px 20px rgba(20, 20, 40, 0.06);
}

.faqae-question {
	width: 100%;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	text-align: left;
	font: inherit;
	outline: none;
}

.faqae-question:hover,
.faqae-question:focus,
.faqae-question:active {
	background: transparent;
	color: inherit;
}

.faqae-item:hover {
	background-color: inherit;
}

.faqae-item-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.faqae-item-icon {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid var(--faqae-accent);
	color: var(--faqae-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.faqae-question-text {
	font-size: 16px;
	font-weight: 600;
	color: var(--faqae-title);
	line-height: 1.4;
}

.faqae-toggle {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--faqae-accent);
	color: var(--faqae-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.faqae-icon-plus,
.faqae-icon-minus {
	position: absolute;
	width: 10px;
	height: 10px;
}

.faqae-icon-plus::before,
.faqae-icon-plus::after,
.faqae-icon-minus::before {
	content: "";
	position: absolute;
	background: currentColor;
}

.faqae-icon-plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faqae-icon-plus::after { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; }
.faqae-icon-minus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }

.faqae-item .faqae-icon-minus { display: none; }
.faqae-item.faqae-active .faqae-icon-plus { display: none; }
.faqae-item.faqae-active .faqae-icon-minus { display: block; }

.faqae-answer-inner {
	background: #f4f6fb;
	margin: 0 22px 20px;
	padding: 16px 18px;
	border-radius: 8px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--faqae-text);
}

.faqae-answer-inner p {
	margin: 0 0 10px;
}

.faqae-answer-inner p:last-child {
	margin-bottom: 0;
}

/* ---------- Contact Box ---------- */
.faqae-contact-box {
	margin-top: 8px;
	background: #151d3b;
	color: #ffffff;
	border-radius: 12px;
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.faqae-contact-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.faqae-contact-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--faqae-accent);
	color: var(--faqae-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.faqae-contact-text {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 1.4;
}

.faqae-contact-text strong {
	font-size: 15px;
	font-weight: 700;
}

.faqae-contact-mid {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.faqae-contact-link {
	color: inherit;
	text-decoration: none;
}

.faqae-contact-link:hover,
.faqae-contact-link:focus {
	color: inherit;
	text-decoration: underline;
}

.faqae-contact-btn {
	background: var(--faqae-accent);
	color: #ffffff;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.faqae-title { font-size: 34px; }
	.faqae-grid { gap: 34px; }
}

@media (max-width: 767px) {
	.faqae-grid,
	.faqae-image-pos-right .faqae-grid {
		grid-template-columns: 1fr;
	}

	.faqae-image-wrap,
	.faqae-image-pos-right .faqae-image-wrap,
	.faqae-image-pos-right .faqae-list {
		order: initial;
	}

	.faqae-image-wrap {
		text-align: center;
		margin-bottom: 30px;
	}

	.faqae-image-wrap img {
		max-width: 70%;
		margin: 0 auto;
	}

	.faqae-subtitle {
		max-width: 100%;
	}

	.faqae-title { font-size: 28px; }

	.faqae-contact-box {
		flex-direction: column;
		align-items: flex-start;
	}

	.faqae-contact-right {
		width: 100%;
	}

	.faqae-contact-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.faqae-image-wrap img { max-width: 85%; }
	.faqae-question { padding: 16px; }
	.faqae-answer-inner { margin: 0 16px 16px; }
}
