/* IWRKS Pro Widgets Global Variables */
:root {
	--iwrks-primary-color: #000000;
	--iwrks-secondary-color: #ffffff;
	--iwrks-accent-color: #ff3366;
}

/* Global Reset for Widgets */
.iwrks-widget-wrapper {
	position: relative;
	width: 100%;
}

/* Common Overlay */
.iwrks-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	pointer-events: none;
	transition: background-color 0.3s ease;
}

/* Flex utilities */
.iwrks-flex {
	display: flex;
}

.iwrks-flex-col {
	flex-direction: column;
}

.iwrks-flex-center {
	justify-content: center;
	align-items: center;
}

/* Top Bar Styles */
.iwrks-top-bar-outer {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
	position: relative;
}

.iwrks-top-bar {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 0;
	/* Removing horizontal padding to align exactly with logo/menu edge */
	font-family: 'Heebo', sans-serif;
	font-size: 15px;
	color: #ffffff;
}

.iwrks-header-master-container.is-overlay .iwrks-top-bar-outer {
	background: transparent;
}

.iwrks-top-bar-links a {
	color: #ffffff;
	text-decoration: none;
	margin-right: 25px;
	transition: opacity 0.3s ease;
}

.iwrks-top-bar-links a:hover {
	opacity: 0.7;
}

.iwrks-top-bar-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	margin-left: 20px;
	transition: color 0.3s ease;
	font-size: 14px;
}

.iwrks-top-bar-socials a svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.iwrks-top-bar-socials a i {
	font-size: 1em;
}

.iwrks-top-bar-socials a:hover {
	color: var(--iwrks-accent-color);
}

/* Header Navigation Baseline */
.iwrks-header-nav {
	display: flex;
	width: 100%;
}

.iwrks-header-nav ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

.iwrks-header-nav ul li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
}

.iwrks-header-nav ul a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 30px 0;
	/* Add block padding so the link grows to touch the header border */
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
}

.iwrks-header-nav>ul>li>a::after {
	content: '';
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	/* Base thickness, overridden by Elementor controls when Classic preset is active */
	height: 2px;
	background-color: var(--iwrks-accent-color);
	transition: width 0.3s ease;
}

/* Hide underline completely if the widget setting is toggled off, or if not using the classic preset */
.iwrks-header-nav:not(.iwrks-nav-preset-classic)>ul>li>a::after,
.iwrks-header-nav.iwrks-nav-no-underline>ul>li>a::after {
	display: none !important;
}

.iwrks-header-nav>ul>li>a:hover::after,
.iwrks-header-nav>ul>li.current-menu-item>a::after {
	width: calc(100% - 30px);
}

/* Button Icons Sizing */
.iwrks-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
}

.iwrks-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.iwrks-btn-icon i {
	font-size: 1em;
}

/* Dropdown Sub-menus */
.iwrks-header-nav ul ul.sub-menu,
.iwrks-header-nav ul ul.children {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background-color: #1a1a1a;
	box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
	border-radius: 0;
	padding: 15px 0 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all 0.3s ease;
	z-index: 999;
	display: block;
	/* Force block in case theme sets flex */
	gap: 0;
}


.iwrks-header-nav ul li:hover>ul.sub-menu,
.iwrks-header-nav ul li:hover>ul.children {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.iwrks-header-nav ul ul.sub-menu ul,
.iwrks-header-nav ul ul.children ul {
	top: 0;
	left: 100%;
}

.iwrks-header-nav ul ul a {
	padding: 12px 25px;
	color: #ffffff;
	font-size: 0.9em;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0;
}

.iwrks-header-nav ul ul a:hover {
	background-color: #333333;
	color: var(--iwrks-accent-color);
}

/* --------------------------------------------------------------------------
 * HEADER MENU PRESETS
 * -------------------------------------------------------------------------- */

/* Balloon Preset Dropdown Styling */
.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.sub-menu,
.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.children {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
	min-width: 220px;
}

/* The Balloon "Tail" (Arrow pointing up) */
.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.sub-menu::before,
.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.children::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 30px;
	/* Adjust based on alignment, assuming left alignment for now */
	width: 12px;
	height: 12px;
	background-color: #ffffff;
	transform: rotate(45deg);
	border-top-left-radius: 2px;
	z-index: -1;
	/* Keep shadow from overlapping tail by disabling it on the before pseudo or hiding overflow */
}

/* Balloon Item Styling */
.iwrks-header-nav.iwrks-nav-preset-balloon ul ul a {
	color: #333333;
	padding: 10px 20px;
	font-weight: 500;
	border-radius: 4px;
}

.iwrks-header-nav.iwrks-nav-preset-balloon ul ul a:hover {
	background-color: #f5f5f5;
	color: var(--iwrks-accent-color);
}

/* Submenu Indicator (Icon Replacement) */
/* Hide the CSS chevron if an Elementor icon span is present */
.iwrks-header-nav ul li.menu-item-has-children>a:has(.iwrks-submenu-indicator)::before {
	display: none !important;
}

.iwrks-submenu-indicator {
	display: inline-flex;
	margin-left: 8px;
	font-size: 0.9em;
	transition: transform 0.3s ease;
	transform: translateY(var(--submenu-indicator-offset-y, 0px));
}

/* Desktop Hover Rotation for custom icon */
@media (min-width: 1025px) {
	.iwrks-header-nav ul li.menu-item-has-children:hover>a .iwrks-submenu-indicator {
		transform: translateY(var(--submenu-indicator-offset-y, 0px)) rotate(180deg);
	}
}

/* Mobile Rotation for custom icon */
@media (max-width: 1024px) {
	.iwrks-header-nav ul li.menu-item-has-children>a .iwrks-submenu-indicator {
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(calc(-50% + var(--submenu-indicator-offset-y, 0px)));
		margin-left: 0;
		font-size: 1.2em;
	}

	.iwrks-header-nav ul li.menu-item-has-children.is-open>a .iwrks-submenu-indicator {
		transform: translateY(calc(-50% + var(--submenu-indicator-offset-y, 0px))) rotate(180deg);
	}

	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.sub-menu::before,
	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.children::before {
		display: none !important;
		/* No tail on mobile */
	}

	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.sub-menu,
	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul.children {
		background-color: transparent !important;
		/* Reset to transparent inherited bg */
		box-shadow: none !important;
	}

	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul a {
		color: inherit;
		/* Inherit mobile item color */
		background-color: rgba(255, 255, 255, 0.05);
		/* Slight contrast */
	}

	.iwrks-header-nav.iwrks-nav-preset-balloon ul ul a:hover {
		background-color: rgba(255, 255, 255, 0.1);
	}
}


/* --------------------------------------------------------------------------
 * WIDGET DEFAULT STYLES 
 * Base structural styling if no Elementor styles are set.
 * -------------------------------------------------------------------------- */

/* Testimonials Widget Base */
.iwrks-testimonial-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding-bottom: 20px;
	scroll-snap-type: x mandatory;
}

.iwrks-testimonial-item {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	flex: 0 0 calc(33.333% - 14px);
	scroll-snap-align: start;
}

@media (max-width: 768px) {
	.iwrks-testimonial-item {
		flex: 0 0 100%;
	}
}

.iwrks-testimonial-content {
	font-size: 16px;
	line-height: 1.6;
	font-style: italic;
	margin-bottom: 20px;
	color: #444;
}

.iwrks-testimonial-author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.iwrks-testimonial-image {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.iwrks-testimonial-name {
	font-weight: bold;
	font-size: 16px;
	margin: 0;
	color: #111;
}

.iwrks-testimonial-title {
	font-size: 14px;
	color: #777;
	margin: 0;
}

/* Pricing Tables Widget Base */
.iwrks-pricing-table {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: transform 0.3s;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #eaeaea;
}

.iwrks-pricing-table:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.iwrks-pricing-header {
	padding: 40px 30px;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}

.iwrks-pricing-title {
	margin: 0 0 15px;
	font-size: 22px;
	font-weight: 700;
	color: #222;
}

.iwrks-pricing-price {
	font-size: 48px;
	font-weight: 800;
	color: var(--iwrks-accent-color);
	margin: 0;
	line-height: 1;
}

.iwrks-pricing-currency {
	font-size: 24px;
	vertical-align: top;
	font-weight: 600;
	margin-right: 2px;
}

.iwrks-pricing-period {
	font-size: 14px;
	color: #777;
	display: block;
	margin-top: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.iwrks-pricing-features {
	padding: 30px;
	margin: 0;
	list-style: none;
	flex-grow: 1;
}

.iwrks-pricing-features li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	color: #555;
}

.iwrks-pricing-features li:last-child {
	border-bottom: none;
}

.iwrks-pricing-footer {
	padding: 30px;
	background: #fff;
}

.iwrks-pricing-button {
	display: inline-block;
	width: 100%;
	padding: 15px 30px;
	background: var(--iwrks-primary-color);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

.iwrks-pricing-button:hover {
	background: var(--iwrks-accent-color);
	color: #fff;
}

.iwrks-pricing-ribbon {
	position: absolute;
	top: 20px;
	right: -40px;
	background: var(--iwrks-accent-color);
	color: #fff;
	padding: 7px 40px;
	transform: rotate(45deg);
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Team Profiles Widget Base */
.iwrks-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.iwrks-team-profile {
	text-align: center;
}

.iwrks-team-image-wrap {
	margin-bottom: 25px;
	overflow: hidden;
	border-radius: 12px;
	position: relative;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.iwrks-team-image {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.iwrks-team-profile:hover .iwrks-team-image {
	transform: scale(1.08);
}

.iwrks-team-name {
	font-size: 22px;
	margin: 0 0 5px;
	font-weight: 700;
	color: #222;
}

.iwrks-team-position {
	color: var(--iwrks-accent-color);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.iwrks-team-bio {
	font-size: 15px;
	color: #666;
	margin-bottom: 20px;
	line-height: 1.7;
}

.iwrks-team-socials {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.iwrks-team-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f5f5f5;
	color: #444;
	transition: all 0.3s;
	text-decoration: none;
}

.iwrks-team-socials a:hover {
	background: var(--iwrks-accent-color);
	color: #fff;
	transform: translateY(-3px);
}

/* -------------------------------------------------------------------------
 * Team Profiles – Hover Reveal Layout
 * ------------------------------------------------------------------------- */
.iwrks-layout-hover-reveal {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
}

.iwrks-layout-hover-reveal .iwrks-hover-photo {
	position: relative;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 3 / 4;
}

.iwrks-layout-hover-reveal .iwrks-hover-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: filter 0.5s ease, transform 0.5s ease;
}

/* Grayscale default */
.iwrks-layout-hover-reveal.iwrks-hover-grayscale .iwrks-hover-photo img {
	filter: grayscale(100%);
}

.iwrks-layout-hover-reveal:hover .iwrks-hover-photo img {
	filter: grayscale(0%) !important;
	transform: scale(1.05);
}

/* Overlay */
.iwrks-hover-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 2;
}

.iwrks-layout-hover-reveal:hover .iwrks-hover-overlay {
	opacity: 1;
}

/* Social icons – vertical stack top-left */
.iwrks-hover-socials {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.iwrks-hover-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.3s ease, transform 0.3s ease;
	opacity: 0;
	transform: translateX(-20px);
}

.iwrks-layout-hover-reveal:hover .iwrks-hover-social-icon {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.3s ease calc(0.1s + var(--delay, 0s)),
		transform 0.3s ease calc(0.1s + var(--delay, 0s)),
		background 0.3s ease;
}

.iwrks-hover-social-icon:hover {
	background: rgba(255, 255, 255, 0.35);
	transform: translateX(0) scale(1.1);
}

/* Info block – bottom-left */
.iwrks-hover-info {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.iwrks-layout-hover-reveal:hover .iwrks-hover-info {
	opacity: 1;
	transform: translateY(0);
}

.iwrks-hover-role {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 10px;
	margin-bottom: 0;
}

.iwrks-hover-name {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	padding: 10px 15px;
	line-height: 1.3;
}

/* Services Box Widget Base */
.iwrks-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.iwrks-service-box {
	background: transparent;
	padding: 50px 40px;
	border-radius: 12px;
	text-align: center;
	transition: transform var(--iwrks-sb-anim-duration, 0.4s) ease, box-shadow var(--iwrks-sb-anim-duration, 0.4s) ease, border-color var(--iwrks-sb-anim-duration, 0.4s) ease;
	border: 1px solid transparent;
	display: flex;
	flex-direction: column;
}

/* Equal Height Support */
.iwrks-sb-equal-height-yes,
.iwrks-sb-equal-height-yes .elementor-widget-container {
	height: 100%;
}

.iwrks-sb-equal-height-yes .iwrks-service-box {
	height: 100%;
}

/* Services Box Layouts */
.iwrks-sb-layout-top {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.iwrks-sb-layout-left {
	flex-direction: row;
	align-items: flex-start;
	text-align: left;
}

.iwrks-sb-layout-right {
	flex-direction: row-reverse;
	align-items: flex-start;
	text-align: right;
}

/* Services Box - Hover Animations (Lift, Scale, Fill) */
.iwrks-service-box {
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: transform var(--iwrks-sb-anim-duration, 0.4s) ease, box-shadow var(--iwrks-sb-anim-duration, 0.4s) ease, border-color var(--iwrks-sb-anim-duration, 0.4s) ease;
}

.iwrks-service-box.iwrks-sb-anim-lift:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.iwrks-service-box.iwrks-sb-anim-scale:hover {
	transform: scale(1.03);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

/* Fill Animations Logic */
.iwrks-service-box[class*="iwrks-sb-anim-fill-"]::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--iwrks-sb-fill, rgba(0, 0, 0, 0.05));
	z-index: -1;
	/* Behind content */
	transition: transform var(--iwrks-sb-anim-duration, 0.4s) ease;
}

/* 1) Fill Right */
.iwrks-service-box.iwrks-sb-anim-fill-right::before {
	transform: scaleX(0);
	transform-origin: left;
}

.iwrks-service-box.iwrks-sb-anim-fill-right:hover::before {
	transform: scaleX(1);
}

/* 2) Fill Left */
.iwrks-service-box.iwrks-sb-anim-fill-left::before {
	transform: scaleX(0);
	transform-origin: right;
}

.iwrks-service-box.iwrks-sb-anim-fill-left:hover::before {
	transform: scaleX(1);
}

/* 3) Fill Up */
.iwrks-service-box.iwrks-sb-anim-fill-up::before {
	transform: scaleY(0);
	transform-origin: bottom;
}

.iwrks-service-box.iwrks-sb-anim-fill-up:hover::before {
	transform: scaleY(1);
}

/* 4) Fill Down */
.iwrks-service-box.iwrks-sb-anim-fill-down::before {
	transform: scaleY(0);
	transform-origin: top;
}

.iwrks-service-box.iwrks-sb-anim-fill-down:hover::before {
	transform: scaleY(1);
}

/* Preset: none — intentionally no styles */

/* Service Media base */
.iwrks-sb-media {
	font-size: 48px;
	margin-bottom: 25px;
	display: inline-block;
	transition: transform var(--iwrks-sb-anim-duration, 0.4s) ease;
}

.iwrks-service-box:hover .iwrks-sb-media {
	transform: scale(1.05);
}


.iwrks-sb-title {
	font-size: 22px;
	margin: 0 0 15px;
	font-weight: 700;
	color: #222;
}

.iwrks-service-desc {
	font-size: 16px;
	color: #666;
	line-height: 1.7;
	margin: 0;
}

/* Progress Builder Widget Base */
.iwrks-progress-item {
	margin-bottom: 30px;
}

.iwrks-progress-title {
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
	color: #333;
	font-size: 15px;
}

.iwrks-progress-bar-wrap {
	background: #eef0f2;
	border-radius: 10px;
	height: 8px;
	overflow: hidden;
	position: relative;
}

.iwrks-progress-bar-fill {
	background: var(--iwrks-accent-color);
	height: 100%;
	border-radius: 10px;
	transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
	width: 0;
}

.iwrks-progress-percentage {
	position: absolute;
	right: 0;
	top: -28px;
	font-size: 15px;
	font-weight: 700;
	color: #444;
}

/* Advanced Posts Widget Base */
.iwrks-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}

.iwrks-post-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: all var(--iwrks-post-anim-duration, 0.4s) ease;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

/* Featured Main: ensure fill stays inside the post box */
.iwrks-post-featured-main {
	overflow: hidden !important;
	position: relative !important;
}

/* Clickable Card Overlay Link */
.iwrks-post-overlay-link {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
}

/* Post Child Elements Z-Index for Fill Animations */
.iwrks-post-item>* {
	position: relative;
	z-index: 2;
}

/* Lift Animation */
.iwrks-post-item.iwrks-post-anim-lift:hover {
	transform: translateY(-5px);
}

/* Scale Animation */
.iwrks-post-item.iwrks-post-anim-scale:hover {
	transform: scale(1.03);
}

/* Fill Animations Common */
.iwrks-post-item[class*="iwrks-post-anim-fill-"]::before {
	content: '';
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--iwrks-post-fill, rgba(0, 0, 0, 0.05));
	z-index: 1;
	transition: transform var(--iwrks-post-anim-duration, 0.4s) ease;
}

/* 1) Fill Right */
.iwrks-post-item.iwrks-post-anim-fill-right::before {
	transform: scaleX(0);
	transform-origin: left;
}

.iwrks-post-item.iwrks-post-anim-fill-right:hover::before {
	transform: scaleX(1);
}

/* 2) Fill Left */
.iwrks-post-item.iwrks-post-anim-fill-left::before {
	transform: scaleX(0);
	transform-origin: right;
}

.iwrks-post-item.iwrks-post-anim-fill-left:hover::before {
	transform: scaleX(1);
}

/* 3) Fill Up */
.iwrks-post-item.iwrks-post-anim-fill-up::before {
	transform: scaleY(0);
	transform-origin: bottom;
}

.iwrks-post-item.iwrks-post-anim-fill-up:hover::before {
	transform: scaleY(1);
}

/* 4) Fill Down */
.iwrks-post-item.iwrks-post-anim-fill-down::before {
	transform: scaleY(0);
	transform-origin: top;
}

.iwrks-post-item.iwrks-post-anim-fill-down:hover::before {
	transform: scaleY(1);
}

.iwrks-post-thumbnail img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s;
}

.iwrks-post-item:hover .iwrks-post-thumbnail img {
	transform: scale(1.05);
}

.iwrks-post-content {
	padding: 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.iwrks-post-meta {
	font-size: 13px;
	color: #888;
	margin-bottom: 15px;
	font-weight: 500;
	display: flex;
	gap: 15px;
}

.iwrks-post-title {
	margin: 0 0 15px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
}

.iwrks-post-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.3s;
}

.iwrks-post-title a:hover {
	color: var(--iwrks-accent-color);
}

.iwrks-post-excerpt {
	color: #666;
	margin-bottom: 25px;
	line-height: 1.7;
	font-size: 15px;
	flex-grow: 1;
}

.iwrks-post-readmore {
	display: inline-block;
	font-weight: 700;
	color: var(--iwrks-accent-color);
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 1px;
	transition: color 0.3s;
	align-self: flex-start;
}

.iwrks-post-readmore:hover {
	color: var(--iwrks-primary-color);
}

/* Advanced Buttons Widget Base */
.iwrks-btn {
	transition: all var(--iwrks-btn-anim-duration, 0.3s) ease;
}

/* Button Animations Base */
.iwrks-btn-wrapper .iwrks-btn[class*="iwrks-btn-anim-fill-"]::before {
	content: "";
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	/* Note: changed from -1 to 1 to ensure it shows above background but below text (z-index: 2) */
	background: var(--iwrks-btn-fill, rgba(0, 0, 0, 0.1));
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Fill Right */
.iwrks-btn-wrapper .iwrks-btn-anim-fill-right::before {
	transform: translateX(-101%);
}

.iwrks-btn-wrapper .iwrks-btn-anim-fill-right:hover::before {
	transform: translateX(0);
}

/* Fill Left */
.iwrks-btn-wrapper .iwrks-btn-anim-fill-left::before {
	transform: translateX(101%);
}

.iwrks-btn-wrapper .iwrks-btn-anim-fill-left:hover::before {
	transform: translateX(0);
}

/* Fill Up */
.iwrks-btn-wrapper .iwrks-btn-anim-fill-up::before {
	transform: translateY(101%);
}

.iwrks-btn-wrapper .iwrks-btn-anim-fill-up:hover::before {
	transform: translateY(0);
}

/* Fill Down */
.iwrks-btn-wrapper .iwrks-btn-anim-fill-down::before {
	transform: translateY(-101%);
}

.iwrks-btn-wrapper .iwrks-btn-anim-fill-down:hover::before {
	transform: translateY(0);
}

/* Lift */
.iwrks-btn-wrapper .iwrks-btn-anim-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Scale */
.iwrks-btn-wrapper .iwrks-btn-anim-scale:hover {
	transform: scale(1.05);
}

/* Legacy Advanced Button (can be safely refactored out if not used elsewhere, but kept for safety) */
.iwrks-advanced-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 35px;
	background: var(--iwrks-primary-color);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s;
	gap: 12px;
	font-size: 16px;
	border: 2px solid transparent;
}

.iwrks-advanced-button:hover {
	background: var(--iwrks-accent-color);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.iwrks-button-icon {
	font-size: 1.2em;
	display: inline-block;
}

/* Advanced Banner Widget Base */
.iwrks-banner {
	position: relative;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
}

.iwrks-banner-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

.iwrks-banner-title {
	font-size: 56px;
	margin: 0 0 25px;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.iwrks-banner-subtitle {
	font-size: 22px;
	margin: 0 0 40px;
	opacity: 0.9;
	line-height: 1.6;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.iwrks-banner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
	z-index: 1;
}

@media (max-width: 768px) {
	.iwrks-banner-title {
		font-size: 36px;
	}

	.iwrks-banner-subtitle {
		font-size: 18px;
	}
}

/* Accordion Widget Base */
.iwrks-accordion {
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.iwrks-accordion-item {
	border-bottom: 1px solid #eee;
}

.iwrks-accordion-item:last-child {
	border-bottom: none;
}

.iwrks-accordion-title {
	padding: 20px 25px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.3s;
	margin: 0;
	font-size: 16px;
}

.iwrks-accordion-content {
	padding: 20px 25px;
	line-height: 1.7;
	font-size: 15px;
}

.iwrks-accordion-icon {
	font-size: 14px;
	transition: transform 0.3s ease;
	color: #888;
}

.iwrks-accordion-title.active .iwrks-accordion-icon {
	transform: rotate(180deg);
	color: var(--iwrks-accent-color);
}

/* Tabs Widget Base */
.iwrks-tabs-wrapper {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
	overflow: hidden;
}

.iwrks-tabs-nav {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	border-bottom: 2px solid #f0f0f0;
	overflow-x: auto;
	scrollbar-width: none;
	background: #fafafa;
}

.iwrks-tabs-nav::-webkit-scrollbar {
	display: none;
}

.iwrks-tab-title {
	padding: 18px 30px;
	cursor: pointer;
	font-weight: 600;
	color: #666;
	transition: all 0.3s;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	white-space: nowrap;
	font-size: 15px;
}

.iwrks-tab-title:hover {
	color: var(--iwrks-primary-color);
	background: rgba(0, 0, 0, 0.02);
}

.iwrks-tab-title.active {
	color: var(--iwrks-accent-color);
	border-bottom-color: var(--iwrks-accent-color);
	background: #fff;
}

.iwrks-tab-title i {
	margin-right: 10px;
	font-size: 1.1em;
	opacity: 0.8;
}

.iwrks-tab-content {
	padding: 35px;
	display: none;
	line-height: 1.8;
	color: #555;
	animation: fadeIn 0.5s ease;
	font-size: 15px;
}

.iwrks-tab-content.is-active {
	display: block;
}

/* Mobile Tabs Layouts */
@media (max-width: 768px) {

	/* Horizontal scroll (default) */
	.iwrks-tabs-mobile-scroll .iwrks-tabs-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Stack vertically */
	.iwrks-tabs-mobile-stack .iwrks-tabs-nav {
		flex-direction: column !important;
		width: 100%;
	}

	.iwrks-tabs-mobile-stack .iwrks-tabs-nav .iwrks-tab-title {
		width: 100%;
		border-bottom: 1px solid #eee;
		text-align: left;
		justify-content: flex-start;
		border-radius: 0;
	}

	.iwrks-tabs-mobile-stack .iwrks-tabs-nav .iwrks-tab-title:last-child {
		border-bottom: none;
	}

	.iwrks-tabs-mobile-stack .iwrks-tabs-nav .iwrks-tab-title.is-active {
		border-bottom: 2px solid var(--iwrks-accent-color);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Advanced Gallery Widget Base */
.iwrks-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.iwrks-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
}

.iwrks-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
	display: block;
}

.iwrks-gallery-item:hover img {
	transform: scale(1.1);
}

.iwrks-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.iwrks-gallery-item:hover .iwrks-gallery-overlay {
	opacity: 1;
}

.iwrks-gallery-caption {
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	padding: 20px;
	transform: translateY(20px);
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
	margin: 0;
}

.iwrks-gallery-item:hover .iwrks-gallery-caption {
	transform: translateY(0);
}

/* Custom Sidebar Widget Base */
.iwrks-sidebar {
	background: #fafafa;
	padding: 35px;
	border-radius: 12px;
	border: 1px solid #f0f0f0;
}

.iwrks-sidebar .widget {
	margin-bottom: 40px;
}

.iwrks-sidebar .widget:last-child {
	margin-bottom: 0;
}

.iwrks-sidebar .widget-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--iwrks-accent-color);
	display: inline-block;
	color: #222;
}

.iwrks-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.iwrks-sidebar ul li {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eaeaea;
}

.iwrks-sidebar ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.iwrks-sidebar ul li a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 15px;
}

.iwrks-sidebar ul li a:hover {
	color: var(--iwrks-accent-color);
	padding-left: 5px;
}

/* Form Wrapper Widget Base */
.iwrks-form-wrapper {
	background: #fff;
	padding: 45px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
	border: 1px solid #f5f5f5;
}

.iwrks-form-wrapper input[type="text"],
.iwrks-form-wrapper input[type="email"],
.iwrks-form-wrapper input[type="url"],
.iwrks-form-wrapper input[type="password"],
.iwrks-form-wrapper input[type="search"],
.iwrks-form-wrapper input[type="number"],
.iwrks-form-wrapper input[type="tel"],
.iwrks-form-wrapper input[type="range"],
.iwrks-form-wrapper input[type="date"],
.iwrks-form-wrapper input[type="month"],
.iwrks-form-wrapper input[type="week"],
.iwrks-form-wrapper input[type="time"],
.iwrks-form-wrapper input[type="datetime"],
.iwrks-form-wrapper input[type="datetime-local"],
.iwrks-form-wrapper input[type="color"],
.iwrks-form-wrapper textarea,
.iwrks-form-wrapper select {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-sizing: border-box;
	margin-bottom: 20px;
	font-family: inherit;
	font-size: 15px;
	transition: all 0.3s;
	background: #fafafa;
	color: #444;
}

.iwrks-form-wrapper input:focus,
.iwrks-form-wrapper textarea:focus,
.iwrks-form-wrapper select:focus {
	border-color: var(--iwrks-accent-color);
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

.iwrks-form-wrapper input[type="submit"],
.iwrks-form-wrapper button[type="submit"] {
	background: var(--iwrks-primary-color);
	color: #fff;
	padding: 16px 35px;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	width: 100%;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 10px;
}

.iwrks-form-wrapper input[type="submit"]:hover,
.iwrks-form-wrapper button[type="submit"]:hover {
	background: var(--iwrks-accent-color);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.iwrks-form-wrapper label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

/* Image Hotspots Widget Base */
.iwrks-hotspots-wrapper {
	position: relative;
	display: inline-block;
	max-width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.iwrks-hotspots-image {
	display: block;
	width: 100%;
	height: auto;
}

.iwrks-hotspot-item {
	position: absolute;
	transform: translate(-15px, -15px);
	z-index: 10;
	cursor: pointer;
}

.iwrks-hotspot-icon {
	width: 30px;
	height: 30px;
	background: var(--iwrks-accent-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
	animation: hotspot-pulse 2s infinite;
	transition: transform 0.3s;
}

.iwrks-hotspot-item:hover .iwrks-hotspot-icon {
	transform: scale(1.15);
	animation: none;
}

@keyframes hotspot-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(255, 51, 102, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
	}
}

.iwrks-hotspot-tooltip {
	position: absolute;
	bottom: calc(100% + 15px);
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: #222;
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px;
	width: max-content;
	max-width: 250px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	z-index: 20;
	text-align: center;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	font-size: 14px;
	line-height: 1.6;
	pointer-events: none;
}

.iwrks-hotspot-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 8px;
	border-style: solid;
	border-color: #222 transparent transparent transparent;
}

.iwrks-hotspot-item:hover .iwrks-hotspot-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* ========================================
   Header – Mobile / Hamburger
   ======================================== */
.iwrks-header-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 9999;
	flex-shrink: 0;
}

.iwrks-header-mobile-toggle span {
	display: block;
	width: 26px;
	height: 2px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

/* Animated X when active */
.iwrks-header-mobile-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.iwrks-header-mobile-toggle.is-active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.iwrks-header-mobile-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@keyframes iwrks-slide-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.iwrks-header-mobile-toggle {
		display: flex;
	}

	.iwrks-header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #111111;
		z-index: 9998;
		flex-direction: column !important;
		align-items: flex-start !important;
		padding: 20px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		display: none;
	}

	.iwrks-header-nav.iwrks-mobile-open {
		display: flex;
		animation: iwrks-slide-in 0.25s ease forwards;
	}

	.iwrks-header-nav ul {
		flex-direction: column !important;
		width: 100% !important;
		gap: 0 !important;
	}

	.iwrks-header-nav ul li {
		width: 100%;
	}

	.iwrks-header-nav ul a {
		padding: 14px 24px !important;
		width: 100%;
	}

	/* Hide underline hover on mobile */
	.iwrks-header-nav>ul>li>a::after {
		display: none;
	}

	/* Sub-menus: stack under parent on mobile, hidden by default */
	.iwrks-header-nav ul ul.sub-menu,
	.iwrks-header-nav ul ul.children {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		box-shadow: none !important;
		background-color: #1a1a1a !important;
		padding: 0 !important;
		display: none !important;
	}

	/* Disable desktop hover trigger on mobile — only JS .is-open opens submenus */
	.iwrks-header-nav ul li:hover>ul.sub-menu,
	.iwrks-header-nav ul li:hover>ul.children {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}

	/* Only open submenus via JS tap on mobile, not hover */
	.iwrks-header-nav ul li.is-open>ul.sub-menu,
	.iwrks-header-nav ul li.is-open>ul.children {
		display: block !important;
	}

	/* Chevron for parent items with submenus */
	.iwrks-header-nav ul li.menu-item-has-children>a::before {
		content: '›';
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(calc(-50% + var(--submenu-indicator-offset-y, 0px)));
		font-size: 1.2em;
		transition: transform 0.2s ease;
	}

	.iwrks-header-nav ul li.menu-item-has-children.is-open>a::before {
		transform: translateY(calc(-50% + var(--submenu-indicator-offset-y, 0px))) rotate(90deg);
	}

	/* Wrapper needs relative for the absolute nav dropdown */
	.iwrks-header-wrapper {
		position: relative;
	}

	/* Top bar also stacks */
	.iwrks-top-bar {
		flex-direction: column !important;
		gap: 8px;
		text-align: center;
	}
}

/* ============================================================
   Testimonials Carousel
   ============================================================ */
.iwrks-tc-outer {
	position: relative;
}

.iwrks-tc-track-wrap {
	overflow: hidden;
}

.iwrks-tc-track {
	display: flex;
	will-change: transform;
}

/* Arrows */
.iwrks-tc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.2s, transform 0.2s;
	z-index: 10;
	color: #333;
	font-size: 14px;
}

.iwrks-tc-arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.08);
}

.iwrks-tc-prev {
	left: -20px;
}

.iwrks-tc-next {
	right: -20px;
}

/* Dots */
.iwrks-tc-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.iwrks-tc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.2);
	cursor: pointer;
	padding: 0;
	transition: background 0.25s, transform 0.25s;
}

.iwrks-tc-dot.is-active {
	background: currentColor;
	transform: scale(1.25);
}

/* ================================================
   PLAY BUTTON WIDGET
   ================================================ */

/* Pulse rings via ::before and ::after */
.iwrks-play-btn::before,
.iwrks-play-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-color: currentColor;
	opacity: var(--iwrks-pulse-opacity, 0.4);
	animation: iwrks-pulse 2s ease-out infinite;
	z-index: -1;
	pointer-events: none;
}

/* Only show ::after when double-pulse is on */
.iwrks-play-pulse::after {
	display: none;
}

.iwrks-play-pulse-double::after {
	display: block;
	animation-delay: calc(var(--iwrks-pulse-duration, 2s) / 2);
}

/* No pulse rings when class not present */
.iwrks-play-btn:not(.iwrks-play-pulse)::before,
.iwrks-play-btn:not(.iwrks-play-pulse)::after {
	display: none;
}

@keyframes iwrks-pulse {
	0% {
		transform: scale(1);
		opacity: var(--iwrks-pulse-opacity, 0.4);
	}

	70% {
		transform: scale(var(--iwrks-pulse-scale, 1.6));
		opacity: 0;
	}

	100% {
		transform: scale(var(--iwrks-pulse-scale, 1.6));
		opacity: 0;
	}
}

/* Modal overlay */
.iwrks-video-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	animation: iwrks-modal-fade-in 0.25s ease;
}

.iwrks-video-modal-overlay.is-open {
	display: flex !important;
}

@keyframes iwrks-modal-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.iwrks-modal-inner {
	animation: iwrks-modal-scale-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 100%;
}

@keyframes iwrks-modal-scale-in {
	from {
		transform: scale(0.85);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.iwrks-modal-video-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.iwrks-modal-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.iwrks-modal-close {
	line-height: 1;
	transition: opacity 0.2s, transform 0.2s;
}

.iwrks-modal-close:hover {
	opacity: 0.7;
	transform: scale(1.1);
}

/* --------------------------------------------------------------------------
 * Back To Top Widget
 * -------------------------------------------------------------------------- */
.iwrks-back-to-top {
	position: fixed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	/* Defaults that Elementor can override: */
	background-color: var(--e-global-color-primary, #000);
	color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 5px;
	bottom: 30px;
	right: 30px;
	z-index: 9999;
}

.iwrks-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.iwrks-back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.iwrks-back-to-top i {
	font-size: 18px;
	line-height: 1;
}

.iwrks-back-to-top svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* --------------------------------------------------------------------------
 * Advanced Gallery Carousel
 * -------------------------------------------------------------------------- */
.iwrks-gallery-carousel {
	/* Base SPV fallback if JS hasn't set it */
	--spv: 3;
}

.iwrks-gallery-carousel .iwrks-gc-track {
	display: flex;
	align-items: stretch;
}

.iwrks-gallery-carousel .iwrks-gc-slide {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	margin-right: var(--iwrks-carousel-gap, 0px) !important;
	width: calc((100% - ((var(--spv, 3) - 1) * var(--iwrks-carousel-gap, 0px))) / var(--spv, 3)) !important;
	height: auto;
	/* Let flex stretch dictate height */
}

.iwrks-gallery-carousel .iwrks-gallery-item {
	flex-grow: 1;
	height: 100%;
}

/* --------------------------------------------------------------------------
 * Elementor Footer Widget (v2.0)
 * -------------------------------------------------------------------------- */
.iwrks-footer-widget {
	width: 100%;
	display: block;
	position: relative;
	color: #4a4a4a;
	/* Fallback */
}

.iwrks-footer-widget a {
	text-decoration: none;
	transition: all 0.3s ease;
}

.iwrks-footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.iwrks-footer-widget p {
	margin-top: 0;
}

.iwrks-footer-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Base sections */
.iwrks-footer-main {
	padding: 60px 0;
	background-color: #f9f9f9;
}

.iwrks-footer-bottom-bar {
	background-color: #eee;
	font-size: 0.9em;
}

.iwrks-footer-heading {
	margin-top: 0;
	font-size: 1.25em;
	font-weight: 600;
}

.iwrks-footer-link-list li {}

.iwrks-footer-link-list li:last-child {
	margin-bottom: 0;
}

.iwrks-footer-logo img {
	height: auto;
	display: block;
}

/* -----------------------------------
 * LAYOUT: Classic (4 Columns)
 * ----------------------------------- */
.iwrks-footer-classic .iwrks-footer-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

/* -----------------------------------
 * LAYOUT: Minimal
 * ----------------------------------- */
.iwrks-footer-minimal-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
}

.iwrks-footer-minimal .iwrks-footer-social {
	display: flex;
	justify-content: center;
	gap: 16px;
	font-size: 1.2em;
}

/* -----------------------------------
 * LAYOUT: Split (2 Blocks)
 * ----------------------------------- */
.iwrks-footer-split-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.iwrks-footer-split-left {
	width: 35%;
	padding: 80px 60px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.iwrks-footer-split-right {
	width: 65%;
	padding: 80px 60px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

.iwrks-footer-split-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

/* -----------------------------------
 * Bottom Flex Bar
 * ----------------------------------- */
.iwrks-bottom-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.iwrks-footer-social {
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 1.1em;
}

/* -----------------------------------
 * Link Lists & Contact Lists
 * ----------------------------------- */
.iwrks-footer-link-list,
.iwrks-footer-contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.iwrks-footer-link-list li,
.iwrks-footer-contact-list li {
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
}

.iwrks-footer-link {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.iwrks-footer-link:hover {
	opacity: 0.8;
}

.iwrks-link-icon,
.iwrks-contact-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2em;
	height: 1.2em;
}

.iwrks-link-icon svg,
.iwrks-contact-icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.iwrks-link-icon {
	margin-right: 8px;
	font-size: 16px;
}

.iwrks-footer-contact-list li {
	gap: 12px;
}

.iwrks-contact-content {
	line-height: 1.5;
}

.iwrks-contact-content a {
	color: inherit;
	text-decoration: none;
}

.iwrks-contact-content a:hover {
	text-decoration: underline;
}

.iwrks-footer-logo img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* -----------------------------------
 * Responsive Breakdown
 * ----------------------------------- */
@media (max-width: 1024px) {
	.iwrks-footer-classic .iwrks-footer-container {
		grid-template-columns: 1fr 1fr;
	}

	.iwrks-footer-split-left {
		width: 45%;
		padding: 60px 40px;
	}

	.iwrks-footer-split-right {
		width: 55%;
		padding: 60px 40px;
	}
}

@media (max-width: 768px) {
	.iwrks-footer-classic .iwrks-footer-container {
		grid-template-columns: 1fr !important;
		gap: 32px;
	}

	.iwrks-footer-split-wrapper {
		flex-direction: column !important;
	}

	.iwrks-footer-split-left,
	.iwrks-footer-split-right {
		width: 100% !important;
		padding: 40px 20px !important;
	}

	.iwrks-footer-split-grid {
		grid-template-columns: 1fr !important;
	}

	.iwrks-bottom-flex {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: center !important;
	}
}