/* ==========================================================================
   Nejat Split Cards Widget
   Two-column split: left = content + 2-col service cards; right = sticky image
   ========================================================================== */

.nejat-split-cards {
	width: 100%;
}

/* Inner container */
.nejat-split-cards__inner {
	width: 100%;
	max-width: var(--nejat-max-width);
	margin: 0 auto;
	padding: var(--nejat-section-pad-v) var(--nejat-gutter);
	box-sizing: border-box;
}

/* ----------------------------------
   Two-column layout
---------------------------------- */
.nejat-split-cards__columns {
	display: flex;
	align-items: flex-start;
	gap: 64px;
	width: 100%;
}

/* ----------------------------------
   Image column
---------------------------------- */
.nejat-split-cards__image-col {
	flex: 0 0 40%;
	min-width: 0;
}

.nejat-split-cards__image-col.order-last {
	order: 2;
}

.nejat-split-cards__image {
	width: 100%;
}

.nejat-split-cards__image.is-sticky {
	position: sticky;
	top: 40px;
}

.nejat-split-cards__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	object-fit: cover;
}

/* ----------------------------------
   Content column
---------------------------------- */
.nejat-split-cards__content {
	flex: 1;
	min-width: 0;
}

/* ----------------------------------
   Eyebrow
---------------------------------- */
.nejat-split-cards__eyebrow {
	display: block;
	font-size: 14px;
	font-style: italic;
	font-weight: 400;
	color: #888888;
	letter-spacing: 0.03em;
	margin: 0 0 10px 0;
	padding: 0;
	line-height: 1.4;
}

/* ----------------------------------
   Main Heading
---------------------------------- */
.nejat-split-cards__headline {
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	color: #1a1a1a;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 20px 0;
	padding: 0;
}

/* ----------------------------------
   Body text
---------------------------------- */
.nejat-split-cards__body {
	font-size: 16px;
	color: #555555;
	line-height: 1.75;
}

.nejat-split-cards__body p {
	margin: 0 0 1em 0;
	color: inherit;
	line-height: inherit;
}

.nejat-split-cards__body p:last-child {
	margin-bottom: 0;
}

.nejat-split-cards__body a {
	color: #4ab3c8;
	text-decoration: none;
}

.nejat-split-cards__body a:hover {
	color: #31bcc8;
	text-decoration: underline;
}

/* ----------------------------------
   Sub-section
---------------------------------- */
.nejat-split-cards__sub-section {
	margin-top: 32px;
}

.nejat-split-cards__subheadline {
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0 0 14px 0;
	padding: 0;
}

/* ----------------------------------
   Service Cards Grid
---------------------------------- */
.nejat-split-cards__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--nejat-gap-sm);
	margin-top: 28px;
}

/* ----------------------------------
   Individual Card — horizontal layout:
   small image left, title + desc right
---------------------------------- */
.nejat-split-cards__card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	background-color: #f0f0f0;
	border-radius: var(--nejat-radius);
	overflow: hidden;
	padding: 14px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nejat-split-cards__card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
	transform: translateY(-3px);
}

/* Clickable card — reset <a> tag appearance */
a.nejat-split-cards__card.nejat-split-cards__card--link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

/* Card image — small fixed square on the left */
.nejat-split-cards__card-image {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
}

.nejat-split-cards__card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	transition: transform 0.35s ease;
}

.nejat-split-cards__card:hover .nejat-split-cards__card-image img {
	transform: scale(1.06);
}

/* Card icon — same slot as the image, SVG centred on a tinted background */
.nejat-split-cards__card-icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 50%;
	background-color: rgba(74, 179, 200, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s ease;
}

.nejat-split-cards__card:hover .nejat-split-cards__card-icon {
	background-color: rgba(74, 179, 200, 0.22);
}

.nejat-split-cards__card-icon svg {
	width: 24px;
	height: 24px;
	color: #4ab3c8;
	flex-shrink: 0;
}

/* Card body (title + description) */
.nejat-split-cards__card-body {
	flex: 1;
	min-width: 0;
	padding: 2px 0 0;
}

.nejat-split-cards__card-title {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
	margin: 0 0 6px 0;
	padding: 0;
}

.nejat-split-cards__card-desc {
	font-size: 14px;
	color: #555555;
	line-height: 1.55;
	margin: 0;
	padding: 0;
}

/* ----------------------------------
   CTA Button
---------------------------------- */
.nejat-split-cards__cta {
	margin-top: 32px;
}

.nejat-split-cards__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 4px 5px 4px 20px;
	background-color: #1a1a1a;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 30px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.nejat-split-cards__cta-btn::after {
	content: '';
	display: inline-block;
	width: 32px;
	height: 32px;
	background-color: #ffffff;
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11L11 5M11 5H5M11 5V11' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

.nejat-split-cards__cta-btn:hover {
	background-color: #4ab3c8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 179, 200, 0.3);
	color: #ffffff;
	text-decoration: none;
}

.nejat-split-cards__cta-btn:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 11L11 5M11 5H5M11 5V11' stroke='%234ab3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.nejat-split-cards__columns {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.nejat-split-cards__columns {
		flex-direction: column;
		gap: 32px;
	}

	.nejat-split-cards__image.is-sticky {
		position: static;
	}

	.nejat-split-cards__image-col {
		flex: none;
		width: 100%;
		order: 0 !important;
	}

	.nejat-split-cards__image img {
		max-height: 380px;
		object-fit: cover;
	}

	/* Keep 2 columns on tablet */
	.nejat-split-cards__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	/* Cards: 1 column on mobile */
	.nejat-split-cards__grid {
		grid-template-columns: 1fr;
	}

	.nejat-split-cards__cta-btn {
		width: 100%;
		justify-content: space-between;
		padding: 4px 5px 4px 20px;
	}
}
