/**
 * JT Premium FAQ widget styles.
 *
 * Extracted verbatim from the widget's own inline <style> block - entirely
 * static, including the --jt-faq-primary/--jt-faq-heading/--jt-faq-text/
 * --jt-faq-bg custom-property defaults (Elementor's own color controls set
 * the same variables via {{WRAPPER}}, unaffected by this move). Scoped by
 * the widget's stable wrapper class (.jt-faq-wrapper, always present)
 * instead of the per-instance Elementor element ID.
 *
 * .jt-fade-in also appears in About Us and Contact Us with different
 * animation timing values in each - a legitimate per-widget customization,
 * not a shared duplicate, so left as its own rule here.
 */

/* Scoped Variables */
.jt-faq-wrapper {
	--jt-faq-primary: #FA3434;
	--jt-faq-heading: #0f172a;
	--jt-faq-text: #475569;
	--jt-faq-bg: #ffffff;
	width: 100%; max-width: 1920px; margin: 0 auto; position: relative;
}

/* Grid Layout */
.jt-faq-wrapper .jt-faq-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 60px;
	align-items: flex-start;
}

/* Section Header */
.jt-faq-wrapper .jt-section-header { margin-bottom: 32px; text-align: left; }
.jt-faq-wrapper .jt-section-title { font-size: 30px; font-weight: 800; color: var(--jt-faq-heading); margin: 0 0 10px 0; letter-spacing: -0.5px; line-height: 1.3; }
.jt-faq-wrapper .jt-section-subtitle { font-size: 15px; color: var(--jt-faq-text); margin: 0; font-weight: 500; line-height: 1.6; }

/* Support Card */
.jt-faq-wrapper .jt-faq-support-card {
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%); border-radius: 24px; padding: 32px; border: 1px solid #f1f5f9; text-align: left; box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05); position: relative; overflow: hidden;
}
.jt-faq-wrapper .jt-faq-support-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 150px; height: 150px; background: radial-gradient(circle, var(--jt-faq-primary) 0%, transparent 60%); opacity: 0.05; border-radius: 50%; pointer-events: none; }
.jt-faq-wrapper .jt-fsc-icon { width: 52px; height: 52px; background: #ffffff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--jt-faq-primary); margin-bottom: 24px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); border: 1px solid #f1f5f9; position: relative; z-index: 1; }
.jt-faq-wrapper .jt-faq-support-card h4 { font-size: 18px; font-weight: 800; color: var(--jt-faq-heading); margin: 0 0 8px 0; letter-spacing: -0.3px; position: relative; z-index: 1; }
.jt-faq-wrapper .jt-faq-support-card p { font-size: 14px; color: var(--jt-faq-text); margin: 0 0 24px 0; line-height: 1.6; position: relative; z-index: 1; }
.jt-faq-wrapper .jt-fsc-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #f1f5f9; position: relative; z-index: 1; }
.jt-faq-wrapper .jt-fsc-contact span { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--jt-faq-heading); }
.jt-faq-wrapper .jt-fsc-contact span i { color: var(--jt-faq-primary); font-size: 16px; }
.jt-faq-wrapper .jt-fsc-contact a { color: inherit; text-decoration: none; transition: color 0.2s; }
.jt-faq-wrapper .jt-fsc-contact a:hover { color: var(--jt-faq-primary); }
.jt-faq-wrapper .jt-fsc-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--jt-faq-heading); color: #ffffff; padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; width: 100%; box-shadow: 0 8px 16px rgba(15,23,42,0.12); position: relative; z-index: 1; }
.jt-faq-wrapper .jt-fsc-btn:hover { background: var(--jt-faq-primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(250,52,52,0.25); color: #ffffff; }

/* Accordion Items */
.jt-faq-wrapper .jt-faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.jt-faq-wrapper .jt-faq-item {
	background: var(--jt-faq-bg); border-radius: 16px; border: 1px solid #f1f5f9;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; overflow: hidden;
}
.jt-faq-wrapper .jt-faq-item:hover { border-color: #e2e8f0; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.jt-faq-wrapper .jt-faq-item.active { border-color: var(--jt-faq-primary); box-shadow: 0 10px 30px rgba(250,52,52,0.08); }

/* Accordion Header */
.jt-faq-wrapper .jt-faq-header {
	width: 100%; text-align: left; background: transparent; border: none; padding: 24px 30px;
	display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all 0.3s ease;
}
.jt-faq-wrapper .jt-faq-title {
	font-size: 16px; font-weight: 700; color: var(--jt-faq-heading); margin: 0; padding-right: 20px; line-height: 1.4; transition: color 0.3s ease;
}
.jt-faq-wrapper .jt-faq-item.active .jt-faq-title { color: var(--jt-faq-primary); }

/* Accordion Icon */
.jt-faq-wrapper .jt-faq-icon {
	display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
	border-radius: 50%; background: #f8fafc; color: var(--jt-faq-heading); font-size: 12px;
	flex-shrink: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.jt-faq-wrapper .jt-faq-item.active .jt-faq-icon {
	background: var(--jt-faq-primary); color: #ffffff; transform: rotate(135deg);
}

/* Accordion Content */
.jt-faq-wrapper .jt-faq-content {
	max-height: 0; overflow: hidden; visibility: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
}
/* Open panels are visible to everyone; closed ones are out of the
   accessibility tree too (max-height alone left them readable). */
.jt-faq-wrapper .jt-faq-item.active .jt-faq-content {
	max-height: none; visibility: visible; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
.jt-faq-wrapper .jt-faq-q { margin: 0; font: inherit; }
.jt-faq-wrapper .jt-faq-title { display: block; }
.jt-faq-wrapper .jt-faq-header:focus-visible { outline: 2px solid var(--jt-faq-primary); outline-offset: -2px; }
.jt-faq-wrapper .jt-faq-body {
	padding: 0 30px 24px 30px; font-size: 15px; color: var(--jt-faq-text); line-height: 1.65;
}
.jt-faq-wrapper .jt-faq-body p:last-child { margin-bottom: 0; }
.jt-faq-wrapper .jt-faq-body a { color: var(--jt-faq-primary); font-weight: 600; text-decoration: none; }

/* Animations */
.jt-faq-wrapper.jt-js-anim .jt-fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.jt-faq-wrapper.jt-js-anim .jt-fade-in.visible,
.elementor-editor-active .jt-faq-wrapper .jt-fade-in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991px) {
	.jt-faq-wrapper .jt-faq-grid { grid-template-columns: 1fr; gap: 40px; }
	.jt-faq-wrapper .jt-section-header { text-align: center; }
	.jt-faq-wrapper .jt-faq-support-card { text-align: center; }
	.jt-faq-wrapper .jt-fsc-icon { margin: 0 auto 20px auto; }
	.jt-faq-wrapper .jt-fsc-contact span { justify-content: center; }
}
@media (max-width: 768px) {
	.jt-faq-wrapper .jt-section-header { margin-bottom: 24px; }
	.jt-faq-wrapper .jt-section-title { font-size: 24px; }
	.jt-faq-wrapper .jt-section-subtitle { font-size: 14px; }
	.jt-faq-wrapper .jt-faq-header { padding: 20px; }
	.jt-faq-wrapper .jt-faq-title { font-size: 15px; }
	.jt-faq-wrapper .jt-faq-body { padding: 0 20px 20px 20px; font-size: 14px; }
}
