/* Base styles */
:root {
	--rubik: 'Rubik', sans-serif;
	--primary-brand-color-600: #00a2ff;
}

/* Goals styles */
.fm-tabs-goals {
	display: flex;
	justify-content: center;
	text-align: center;
	padding: 48px 0 0;
	background-color: #fff2df;
	font-family: var(--rubik);
}

.Container_container__Bfh8E {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.fm-tabs-goals-header {
	font-family: 'Bitter', serif;
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 0.75em;
	color: #000;
	line-height: 1.35;
}

@media screen and (min-width: 768px) {
	.fm-tabs-goals-header {
		text-wrap: balance;
		max-width: 1140px;
		margin: auto;
	}
}

@media screen and (min-width: 1180px) {
	.fm-tabs-goals-header {
		font-size: 34px;
	}
}

.fm-tabs-goals-content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex-grow: 1;
}

@media screen and (min-width: 580px) {
	.fm-tabs-goals-content {
		display: grid;
		grid-template-columns: 50% 50%;
	}
}

@media screen and (min-width: 768px) {
	.fm-tabs-goals-content {
		transition: opacity 0.2s ease;
	}
}

@media screen and (min-width: 1180px) {
	.fm-tabs-goals-content {
		grid-template-columns: 600px auto;
	}
}

.fm-tabs-goals-content-animation {
	min-width: 280px;
	max-width: 100%;
	box-sizing: border-box;
}

@media screen and (min-width: 580px) {
	.fm-tabs-goals-content-animation {
		grid-column: 1 / span 1;
	}
}

@media screen and (min-width: 1180px) {
	.fm-tabs-goals-content-animation {
		transform: translate(0);
	}
}

.fm-tabs-goals-content-animation > * {
	max-width: 600px;
	margin: auto;
}

@media screen and (min-width: 1180px) {
	.fm-tabs-goals-content-animation[data-animation='1'] {
		transform: translate(-7px, 20px);
	}
	.fm-tabs-goals-content-animation[data-animation='2'] {
		transform: translate(-26px, -17px);
	}
	.fm-tabs-goals-content-animation[data-animation='2'] > div {
		width: 635px;
		max-width: none;
	}
	.fm-tabs-goals-content-animation[data-animation='3'] {
		transform: translate(-27px, -32px);
	}
	.fm-tabs-goals-content-animation[data-animation='3'] > div {
		max-width: 518px;
	}
}

.fm-tabs-goals-content-text {
	min-width: 200px;
	box-sizing: border-box;
}

@media screen and (min-width: 580px) {
	.fm-tabs-goals-content-text {
		max-width: 270px;
		grid-column: 2 / span 1;
		padding-right: 30px;
	}
}

@media screen and (min-width: 1180px) {
	.fm-tabs-goals-content-text {
		transform: translate(-8px, -40px);
		padding-right: 0;
	}
	.fm-tabs-goals-content-text[data-tab='2'] {
		transform: translate(-8px, -30px);
	}
	.fm-tabs-goals-content-text[data-tab='3'] {
		transform: translate(-8px, -52px);
	}
}

.fm-tabs-goals-content-text ul {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
}

@media screen and (min-width: 580px) {
	.fm-tabs-goals-content-text ul {
		margin-top: 40px;
	}
}

.fm-tabs-goals-content-text ul li {
	font-family: 'Inter', sans-serif;
	padding-left: 17px;
	margin-top: 45px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	color: #343037;
	position: relative;
}

.fm-tabs-goals-content-text ul li .feature-title {
	font-family: 'Bitter', serif;
	font-size: 20px;
	font-weight: 700;
	color: #ff4c49;
	display: flex;
	align-items: center;
	font-style: normal;
	margin-bottom: 8px;
	position: relative;
	padding-left: 24px;
	gap: 8px;
}

/* Adjust padding for larger icons */
.fm-tabs-goals-content-text[data-tab='1'] ul li:first-child .feature-title,
.fm-tabs-goals-content-text[data-tab='1'] ul li:nth-child(2) .feature-title,
.fm-tabs-goals-content-text[data-tab='1'] ul li:nth-child(3) .feature-title,
.fm-tabs-goals-content-text[data-tab='2'] ul li:first-child .feature-title,
.fm-tabs-goals-content-text[data-tab='2'] ul li:nth-child(2) .feature-title,
.fm-tabs-goals-content-text[data-tab='2'] ul li:nth-child(3) .feature-title,
.fm-tabs-goals-content-text[data-tab='3'] ul li:first-child .feature-title,
.fm-tabs-goals-content-text[data-tab='3'] ul li:nth-child(2) .feature-title,
.fm-tabs-goals-content-text[data-tab='3'] ul li:nth-child(3) .feature-title {
	padding-left: 28px;
}

.fm-tabs-goals-content-text ul li .feature-title .feature-icon {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fm-tabs-goals-content-text ul li .feature-title .feature-icon svg {
	width: 100%;
	height: 100%;
}

/* Larger icon for Drag & Drop Editor */
.fm-tabs-goals-content-text[data-tab='1'] ul li:first-child .feature-title .feature-icon {
	width: 24px;
	height: 24px;
}

/* Larger icon for Template Library */
.fm-tabs-goals-content-text[data-tab='1'] ul li:nth-child(2) .feature-title .feature-icon {
	width: 24px;
	height: 20px;
}

/* Larger icon for Personalization Options */
.fm-tabs-goals-content-text[data-tab='1'] ul li:nth-child(3) .feature-title .feature-icon {
	width: 24px;
	height: 25px;
}

/* Larger icon for Workflow Builder */
.fm-tabs-goals-content-text[data-tab='2'] ul li:first-child .feature-title .feature-icon {
	width: 24px;
	height: 24px;
}

/* Larger icon for Behavior-Based Triggers */
.fm-tabs-goals-content-text[data-tab='2'] ul li:nth-child(2) .feature-title .feature-icon {
	width: 24px;
	height: 24px;
}

/* Larger icon for Multi-Step Journeys */
.fm-tabs-goals-content-text[data-tab='2'] ul li:nth-child(3) .feature-title .feature-icon {
	width: 20px;
	height: 24px;
}

/* Larger icon for Campaign Reports */
.fm-tabs-goals-content-text[data-tab='3'] ul li:first-child .feature-title .feature-icon {
	width: 20px;
	height: 29px;
}

/* Larger icon for Subscriber Activity */
.fm-tabs-goals-content-text[data-tab='3'] ul li:nth-child(2) .feature-title .feature-icon {
	width: 24px;
	height: 25px;
}

/* Larger icon for Data-Driven Decisions */
.fm-tabs-goals-content-text[data-tab='3'] ul li:nth-child(3) .feature-title .feature-icon {
	width: 24px;
	height: 22px;
}

.fm-tabs-goals-content-text ul li:first-child {
	margin-top: 0;
}

.fm-tabs-goals-content-text ul li {
	text-align: left;
}

@media screen and (min-width: 580px) {
	.fm-tabs-goals-content-text ul li:first-child {
		margin-top: 45px;
	}
}

.fm-tabs-goals-content-text ul li:before {
	content: '';
	position: absolute;
	width: 32px;
	height: 32px;
	background-size: 32px 32px;
	margin-left: -36px;
	margin-top: -2px;
	background-position: 50%;
	background-repeat: no-repeat;
}

.fm-tabs-goals-content-text[data-tab='1'] li:first-of-type:before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/1_1.c6579dd8.svg);
}

.fm-tabs-goals-content-text[data-tab='1'] li:nth-of-type(2):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/1_2.98d16b91.svg);
}

.fm-tabs-goals-content-text[data-tab='1'] li:nth-of-type(3):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/1_3.2910ccd9.svg);
}

.fm-tabs-goals-content-text[data-tab='2'] li:first-of-type:before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/2_1.beb10020.svg);
}

.fm-tabs-goals-content-text[data-tab='2'] li:nth-of-type(2):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/2_2.a032afb3.svg);
}

.fm-tabs-goals-content-text[data-tab='2'] li:nth-of-type(3):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/2_3.05d8955a.svg);
}

.fm-tabs-goals-content-text[data-tab='3'] li:first-of-type:before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/3_1.69d8b59f.svg);
}

.fm-tabs-goals-content-text[data-tab='3'] li:nth-of-type(2):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/3_2.ee124044.svg);
}

.fm-tabs-goals-content-text[data-tab='3'] li:nth-of-type(3):before {
	background-image: url(https://us-wn-g.gr-cdn.com/_next/static/media/3_3.7008e68d.svg);
}

/* Scrollable tabs styles */
.fm-tabs-scrollable-wrapper {
	display: flex;
	flex-direction: column;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-wrapper {
		flex-direction: row;
		align-items: center;
	}
}

.fm-tabs-scrollable-container {
	display: none;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-container {
		align-self: flex-start;
		margin-top: 290px;
		display: block;
		z-index: 1;
		flex-direction: column;
		position: sticky;
		top: 50vh;
		transform: translateY(-50%);
		gap: 60px;
	}
}

.fm-tabs-scrollable {
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.44;
	text-decoration: none;
	color: #100f1c;
	padding: 20px;
	border: 2px solid #dad1c580;
	border-radius: 8px;
	text-wrap: balance;
	width: 229px;
	display: block;
	align-content: center;
	flex-wrap: wrap;
	transition: all 0.5s;
	background-color: #fdf1e2;
	box-sizing: border-box;
	margin-bottom: 21px;
	cursor: pointer;
}

.fm-tabs-scrollable-tab-active,
.fm-tabs-scrollable:hover {
	background-color: #fff8ef;
}

.fm-tabs-scrollable-tab-active {
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}

.fm-tabs-scrollable-tab-active:hover {
	background-color: #fff;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-content-container {
		flex-grow: 1;
		display: grid;
		grid-template-rows: repeat(3, max(50vh, 600px));
		align-items: stretch;
		margin-bottom: max(25vh, 300px);
	}
}

@media screen and (min-width: 1180px) {
	.fm-tabs-scrollable-content-container {
		transform: translate(20px);
	}
}

.fm-tabs-scrollable-content-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-content-wrapper {
		margin-bottom: 0;
	}
}

.fm-tabs-scrollable-mobile-header {
	text-align: left;
	padding-left: 15px;
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-mobile-header {
		display: none;
	}
}

.fm-tabs-scrollable-content {
	z-index: 1;
	background-color: #fff2df;
	box-sizing: border-box;
}

@media screen and (min-width: 768px) {
	.fm-tabs-scrollable-content {
		display: flex;
		align-items: center;
		position: sticky;
		top: 50vh;
		height: 0;
		opacity: 0.05;
		transition: opacity 0.2s ease;
	}
}

.fm-tabs-scrollable-content:nth-child(2) {
	z-index: 2;
}

.fm-tabs-scrollable-content:nth-child(3) {
	z-index: 3;
}

.fm-tabs-goals-content-animation .tab-image {
	max-width: 100%;
	height: auto;
	display: block;
}
