@import url("./style.css");

/* Hero */

.swiper-slide__wrapper {
	height: calc(100vh - 116px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

h1,
.hero__title {
	font-size: 46px;
	font-weight: 700;
	max-width: 690px;
	line-height: 100%;
}

.hero p {
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 30px;
	max-width: 560px;
}

.hero__swiper-1 {
	background: url("../assets/img/hero-1.webp") center center/cover no-repeat;
}
.hero__swiper-2 {
	background: url("../assets/img/hero-2.webp") center center/cover no-repeat;
}

.hero__swiper-3 {
	background: url("../assets/img/hero-3.webp") center center/cover no-repeat;
}

@media all and (max-width: 1400px) {
	.swiper-button-next,
	.swiper-button-prev {
		opacity: 0 !important;
		z-index: -1;
	}
}

@media all and (max-width: 1024px) {
	h1,
	.hero__title {
		font-size: 30px;
		max-width: 480px;
	}

	.hero p {
		font-size: 16px;
		max-width: 460px;
	}
}

@media all and (max-width: 768px) {
	h1,
	.hero__title {
		max-width: 72%;
		font-size: 28px;
	}

	.hero p {
		max-width: 72%;
	}
}

/* About */

.about {
	margin: 100px 0;
}

.about .container {
	max-width: 1200px;
}

.about h2 {
	color: #4d4de3;
}

.about__top p {
	font-size: 18px;
	margin: 20px 0 30px 0;
}

.about__top {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 80px;
}

.about__bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 100px;
	flex-wrap: wrap;
}

.about__bottom p,
.about__bottom h3 {
	font-size: 18px;
}

.about__bottom-card {
	max-width: 320px;
	text-align: center;
}

.about__bottom-card img {
	height: 160px;
	width: auto;
	margin-bottom: 15px;
}

@media all and (max-width: 1024px) {
	.about {
		margin: 80px 0;
	}

	.about__top {
		flex-direction: column-reverse;
	}

	.about__top img {
		width: 100%;
		height: auto;
		max-width: 560px;
	}

	.about__bottom {
		gap: 40px;
	}

	.about__top p {
		font-size: 16px;
	}

	.about__bottom p,
	.about__bottom h3 {
		font-size: 16px;
	}
}

/* Connect */

.connect {
	margin: 100px 0;
	padding: 80px 0;
	background: url("/src/assets/img/home-form.webp") center center/cover no-repeat;
}

.connect__wrapper {
	display: flex;
	gap: 60px;
	justify-content: space-between;
}

@media all and (max-width: 1024px) {
	.connect {
		margin: 80px 0;
	}
}

@media all and (max-width: 900px) {
	.connect__wrapper {
		justify-content: center;
	}
	.connect .contact-info {
		display: none;
	}
}

@media all and (max-width: 680px) {
	.connect {
		padding: 0;
		background: #4d4de3;
	}
	.connect .contact-info {
		display: none;
	}
}

/* Partners */

.partners {
	margin: 100px 0;
}

.partners h2 {
	margin-bottom: 30px;
	text-align: center;
}

.partners__wrapper {
	display: flex;
	justify-content: space-between;
	row-gap: 30px;
	column-gap: 20px;
	flex-wrap: wrap;
}

.partners__wrapper img {
	width: 160px;
	height: auto;
}

@media all and (max-width: 1024px) {
	.partners {
		margin: 80px 0;
	}

	.partners__wrapper {
		justify-content: center;
	}

	.partners__wrapper img {
		width: 100px;
	}
}
