:root {
	--white-text-color: #fff;
	--grey-text-color: #656565;
	--light-gray-text: #cbcbcb;
	--blue-text-color: #575dff;
	--white-bg-color: #fff;
	--bg-color-1: #bbbeee;
	--card-gradient-1: #9ca1e2;
	--card-gradient-2: #bbbeee;
	--card2-gradient-1: rgba(42, 179, 255, 0.49);
	--card2-gradient-2: rgba(117, 32, 255, 0.49);
	--card2-gradient-3: rgba(255, 66, 179, 0.49);
	--li-circle-bg: #908ccd;
	--li-circle-border: #8882d2;
	--li-circle2-bg: #7771cd;
	--li-between-circles: #9492be;
	--toggle-bg: #908ccd;
	--toggle-text: #dcdcdc;
	--toggle-hover-bg: #8984cf;
	--toggle-hover-text: #e5e5e5;
	--toggle-active-bg: #837fbe;
	--toggle-active-text: #fff;
}

body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Graphik Trial, sans-serif;
}

.first-panel {
	min-height: 110vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--bg-color-1);
	padding: 0 10rem;
	color: var(--white-text-color);
	gap: 5rem;
}

.first-panel .panel-title {
	min-width: 22rem;
	flex: 1.1;
	align-self: flex-start;
	margin-top: 8.5rem;
}

.first-panel .panel-title > h2 {
	color: var(--blue-text-color);
	font-family: 'Nanum Pen Script', cursive;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25em;
	margin: 0;
}

.first-panel .panel-title > h1 {
	width: 90%;
	font-family: graphik, Sans-serif;
	font-size: 50px;
	font-weight: bold;
	line-height: 1.1em;
	letter-spacing: 0em;
	margin: 0.5rem 0 2rem 0;
}

.first-panel .panel-title > p {
	color: var(--grey-text-color);
	line-height: 27px;
	font-size: 18px;
}

.first-panel .panel-cards {
	min-width: 60%;
	flex: 2;
	display: flex;
	gap: 1rem;
	margin-top: 5rem;
}

.first-panel .panel-cards .card {
	min-width: 15rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: wrap;
	width: 47%;
	height: 85vh;
	border-radius: 1rem;
	padding: 1rem 2.4rem;
	background: var(--card-gradient-1);
	background: linear-gradient(
		180deg,
		var(--card-gradient-1) 0%,
		var(--card-gradient-2) 99%
	);
}

.first-panel .panel-cards .card img {
	margin-top: 1rem;
	width: 60%;
}

.first-panel .panel-cards .card .toggle-text {
	display: none;
	align-self: flex-start;
}

.first-panel .panel-cards .card .toggle-text.active {
	display: block;
}

.first-panel .panel-cards .card .toggle-text h2 {
	font-size: 22px;
	margin-bottom: 0.5rem;
}

.first-panel .panel-cards .card .toggle-text span {
	color: var(--grey-text-color);
	font-size: 1rem;
}

.first-panel .panel-cards .card ul {
	list-style: none;
	align-self: flex-start;
	padding: 0;
}

.first-panel .panel-cards .card ul li {
	position: relative;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
	margin-top: 1.5rem;
	padding-left: 1.6875rem;
}

.first-panel .panel-cards .card ul li::before {
	position: absolute;
	content: '';
	display: block;
	top: 0.5rem;
	left: -0.1875rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: var(--li-circle-bg);
	border: 0.125rem solid var(--li-circle-border);
	z-index: 1;
}

.first-panel .panel-cards .card ul li:not(:last-child)::after {
	position: absolute;
	content: '';
	display: block;
	width: 1px;
	height: calc(100% + 0.75rem);
	background-color: var(--li-between-circles);
	top: 1.1875rem;
	left: 0.15625rem;
	-webkit-transform: translate(-50%);
	-ms-transform: translate(-50%);
	transform: translate(-50%);
}

.first-panel .panel-cards .card-1 .toggle-btns {
	display: flex;
	margin-top: 2rem;
	gap: 0.7rem;
}

.first-panel .panel-cards .card-1 .toggle-btns button {
	background: var(--toggle-bg);
	color: var(--toggle-text);
	padding: 0.3rem 0.8rem;
	border-radius: 0.5rem;
	border: none;
	font-size: 14px;
	font-weight: bold;
	transition: all 0.2s;
}

.first-panel .panel-cards .card-1 .toggle-btns button.active {
	background: var(--toggle-active-bg);
	color: var(--white-text-color);
}

.first-panel .panel-cards .card-1 .toggle-btns button:not(.active):hover {
	background: var(--toggle-hover-bg);
	color: var(--toggle-hover-text);
	cursor: pointer;
}

.first-panel .panel-cards .card-2 {
	background: linear-gradient(0deg, var(--bg-color-1), rgba(21, 19, 50, 0)),
		linear-gradient(
			282.66deg,
			var(--card2-gradient-1) -6.68%,
			var(--card2-gradient-2) 51.39%,
			var(--card2-gradient-3) 106.96%
		);
}

.first-panel .panel-cards .card-2::before {
	position: absolute;
	top: 3rem;
	content: '';
	width: 6rem;
	height: 4rem;
	background-image: url('../images/bot.PNG'); 
	background-repeat: no-repeat;
}

.first-panel .panel-cards .card-2 img {
	width: 100%;
	margin: 0;
}

.first-panel .panel-cards .card-2 h2 {
	position: relative;
	top: -3.1rem;
	align-self: flex-start;
	font-size: 22px;
	margin-bottom: 0.5rem;
}

.first-panel .panel-cards .card-2 span {
	position: relative;
	top: -3.1rem;
	align-self: flex-start;
	color: var(--light-gray-text);
	font-size: 1rem;
}

.first-panel .panel-cards .card-2 ul {
	position: relative;
	top: -3.1rem;
}

.first-panel .panel-cards .card-2 ul li::before {
	background-color: var(--li-circle2-bg);
}

.first-panel .panel-cards .card-2 .start-learning {
	position: relative;
	top: -2rem;
	width: 100%;
	padding: 1rem 0;
	background: var(--white-bg-color);
	border-radius: 1.8rem;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border: 0.1rem solid var(--white-bg-color);
	transition: all 0.15s;
}

.first-panel .panel-cards .card-2 .start-learning:hover {
	background: #575dff2d;
	border-color: #575dff;
}

.first-panel .panel-cards .card-2 .start-learning:hover span {
	background: #575dff;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.first-panel .panel-cards .card-2 .start-learning span {
	background: linear-gradient(
		271.61deg,
		#2ab3ff -13.99%,
		#7520ff 49.75%,
		#c242ff 110.74%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: rgba(0, 0, 0, 0);
	background-clip: text;
	top: -0.15rem;
	width: 100%;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.02rem;
	transition: all 0.15s;
}

.second-panel {
	min-height: 100vh;
	background: var(--white-bg-color);
	padding: 0 10rem;
}

.second-panel h2 {
	position: relative;
	padding-top: 6.5rem;
	font-size: 32px;
	font-weight: 500;
}

.second-panel h2::before {
	content: '';
	position: absolute;
	top: 7.5rem;
	left: -1.3rem;
	display: block;
	width: 3.8rem;
	height: 3.8rem;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(https://uilearn.com/wp-content/uploads/2023/02/heading-dec.svg);
	z-index: 1;
	-webkit-transform: translate(-20%, -90%);
	-ms-transform: translate(-20%, -90%);
	transform: translate(-20%, -90%);
}

.second-panel .cards-container {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
	padding-bottom: 5rem;
}

.second-panel .cards-container .card {
	min-width: 23rem;
	max-width: 23rem;
	flex: 1;
}

.second-panel .cards-container .card img {
	width: 100%;
	height: 16.5rem;
	border-radius: 1rem;
	border: 0.05rem solid rgba(128, 128, 128, 0.193);
}

.second-panel .cards-container .card h3 {
	margin-top: 2rem;
	font-size: 24px;
	font-weight: 500;
	margin-top: 1rem;
	margin-bottom: 0;
}

.second-panel .cards-container .card p {
	color: var(--grey-text-color);
	font-size: 17.5px;
	margin-top: 0.5rem;
	line-height: 1.8rem;
	letter-spacing: 0.02rem;
}

.third-panel {
	min-height: 95vh;
	background: var(--bg-color-1);
	padding: 0 10rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.third-panel .text-container {
	min-width: 21rem;
	flex: 0.85;
	margin-top: 7.5rem;
	padding-right: 5rem;
}

.third-panel .cards-wrapper {
	flex: 2;
}

.third-panel .text-container span {
	position: relative;
	font-size: 52px;
	color: var(--white-text-color);
	line-height: 4rem;
	font-weight: 500;
}

.third-panel .text-container span::before {
	content: '';
	z-index: 1;
	position: absolute;
	display: block;
	top: -3rem;
	left: -3.5rem;
	width: 366px;
	height: 295px;
	object-fit: cover;
	background-image: url(https://uilearn.com/wp-content/uploads/2023/02/circle-dec.svg);
	background-repeat: no-repeat;
	background-size: cover;
}

.third-panel .text-container p {
	width: 80%;
	color: var(--grey-text-color);
	line-height: 27px;
	font-size: 20px;
}

.third-panel .cards-container {
	flex: 1;
	display: flex;
	gap: 5.5rem;
}

.third-panel .cards-container:first-child {
	margin-top: 8.2rem;
}

.third-panel .cards-container:last-child {
	margin-top: 2.8rem;
}

.third-panel .cards-container .card {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.third-panel .cards-container .card span {
	color: var(--white-text-color);
	font-size: 24px;
	font-weight: 500;
	margin-top: 0.8rem;
}

.third-panel .cards-container .card p {
	color: var(--grey-text-color);
	font-size: 18px;
	margin-top: 0.8rem;
}

@media only screen and (max-width: 1350px) {
	.first-panel {
		flex-direction: column;
		padding-bottom: 5rem;
	}
}

@media only screen and (max-width: 1350px) and (min-width: 1225px) {
	.first-panel .panel-cards .card-2::before {
		top: 30rem;
	}
	.first-panel .panel-cards .card {
		height: 50rem;
	}
}

@media only screen and (max-width: 1200px) {
	.first-panel .panel-cards .card-2::before {
		top: 30rem;
	}
	.third-panel {
		flex-direction: column;
		padding-bottom: 10rem;
	}
}

@media only screen and (max-width: 950px) {
	.first-panel,
	.second-panel,
	.third-panel {
		padding: 0 2rem;
	}

	.third-panel {
		flex-direction: column;
		padding-bottom: 10rem;
	}
}

@media only screen and (max-width: 710px) {
	.first-panel .panel-cards {
		flex-direction: column;
		align-items: center;
		margin: 0;
	}

	.first-panel .panel-cards .card {
		min-width: 70%;
		min-height: 50rem;
	}

	.first-panel .panel-cards .card-2::before {
		top: 80rem;
	}
}

@media only screen and (max-width: 600px) {
	.first-panel .panel-title {
		margin-bottom: 5rem;
	}

	.first-panel .panel-cards .card-1 img {
		width: 50%;
	}

	.first-panel .panel-cards .card-2::before {
		top: 80rem;
	}
}

@media only screen and (max-width: 500px) {
	.first-panel .panel-cards .card-2::before {
		top: 90rem;
	}
}

@media only screen and (max-width: 455px) {
	.first-panel,
	.second-panel,
	.third-panel {
		padding: 0 2rem;
	}

	.first-panel .panel-title {
		min-width: 100%;
		margin-bottom: 0;
	}

	.first-panel .panel-cards .card {
		height: 40rem;
		min-height: 40rem;
	}

	.third-panel .text-container {
		padding-right: 0;
		min-width: 90%;
	}

	.third-panel .cards-wrapper {
		padding-bottom: 5rem;
	}

	.third-panel .cards-container {
		flex-direction: column;
	}

	.first-panel .panel-cards .card-2::before {
		top: 78rem;
	}

	.first-panel .panel-cards .card .toggle-btns {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media only screen and (max-width: 410px) {
	.first-panel .panel-cards .card-2::before {
		top: 80rem;
	}
}

@media only screen and (max-width: 380px) {
	.first-panel .panel-cards .card-2::before {
		top: 85rem;
	}
}
