/* =======================dựng base */
@font-face {
	font-family: "Sora";
	src: url(../fonts/Sora-VariableFont_wght.ttf) format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Open Sans";
	src: url(../fonts/OpenSans-VariableFont_wdth.ttf) format("truetype");
	font-weight: normal;
	font-style: normal;
}

:root {
	--color-1: #10375c;
	--color-2: #2e80ce;
	--color-3: #575f66;
	--color-4: #fff;
	--color-5: #fff;

	--font-1: "Sora", sans-serif;
	--font-2: "Open Sans", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	font-family: var(--font-1);
	font-style: normal;
	font-weight: normal;
}

/* ===========================common */

.container {
	width: 1170px;
	max-width: calc(100% - 48px);
	margin: 0 auto;
}

a {
	text-decoration: none;
}

.btn {
	display: inline-block;
	width: 205px;
	height: 60px;
	border-radius: 999px;
	background: var(--color-2);
	color: #fff;
	text-align: center;
	line-height: 60px;
	font-size: 18px;
	font-weight: 400;
}

.btn:hover {
	opacity: 0.9;
}

.desc {
	color: #575f66;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.67;
	letter-spacing: -1px;
}

.heading-lv2 {
	color: var(--color-1);
	font-size: 50px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -1px;
}

.control {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 18px;
}

.control__btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid #575f66;
	color: #575f66;
}

.control__btn:hover {
	background: var(--color-2);
	color: #fff;
	border-color: transparent;
}

.control__next {
	rotate: 180deg;
}

/* ===========================header */

/* header top */

.header {
	background: var(--color-1);
	min-height: 100vh;
}

.header-top {
	padding-top: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-menu {
	display: flex;
	column-gap: 42px;
}

.header-menu__link {
	color: #c9d2da;
	font-weight: 300;
	line-height: 1.75;
}

.header-menu__link:hover {
	color: #fff;
	font-weight: 400;
	line-height: 1.75;
}

.header-menu__link--active {
	color: #fff;
	font-weight: 400;
	line-height: 1.75;
}

.header-menu__link--active::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	margin-right: 11px;
	margin-bottom: 3px;
}

.header-cta {
	display: flex;
	align-items: center;
	column-gap: 28px;
}

.header-cta__login {
	color: #c9d2da;
	font-weight: 300;
	line-height: 1.75;
}

.header-cta__signup {
	width: 104px;
	height: 44px;
	font-size: 16px;
	line-height: 44px;
}

/* hero */

/* hero left */

.hero {
	margin-top: 84px;
	display: flex;
	align-items: center;
	column-gap: 113px;
}

.hero-content__heading {
	color: #fff;
	font-size: 70px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -1.4px;
}

.hero-content__desc {
	margin-top: 28px;
	color: #c9d2da;
}

.hero-content__cta {
	margin-top: 38px;
	display: flex;
	align-items: center;
}

.hero-content__call {
	margin-left: 38px;
	color: #fff;
	font-size: 18px;
	line-height: 1.67;
}

/* hero right */

.hero-media__img {
	display: flex;
	align-items: center;
}
.hero-media__img--big {
	width: 330px;
	height: 540px;
	border-radius: 6px;
	object-fit: cover;
	z-index: 1;
}
.hero-media__img--small {
	width: 210px;
	height: 410px;
	border-radius: 6px;
	object-fit: cover;
	margin-left: -6px;
}

/* ===========================main */

/* services */
/* service top */

.services {
	padding: 85px 0;
	margin: 85px 0;
}

.service-top {
	text-align: center;
}

.service-top__desc {
	width: 475px;
	margin: 18px auto 0;
}

/* service row */

.service-row {
	margin-top: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.service-row__img {
	width: 570px;
	height: 570px;
	border-radius: 12px;
	object-fit: cover;
	display: block;
}

.service-row__item {
	width: 470px;
	height: 128px;
	display: flex;
	padding: 22px;
	transition: 0.3s;
}

.service-row__item:hover {
	border-radius: 10px;
	box-shadow: 0px 14px 28px 0px rgba(0, 0, 0, 0.05);
}

.service-row__item:hover .service-row__icon {
	background: #2e80ce;
	color: #fff;
}

.service-row__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #eff6fd;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0; /* new */
	margin-right: 19px;
	color: var(--color-1);
	transition: 0.3s;
}

.service-row__heading {
	color: #10375c;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
}

.service-row__desc {
	margin-top: 8px;
	font-size: 16px;
}

.service__btn {
	margin-top: 55px;
	margin-left: 20px;
}
/* ============================work */

.work {
	padding: 100px 0;
	margin: 85px 0;
	background: #f6fbff;
}

/* work top */

.work-top__desc {
	margin-top: 18px;
	width: 475px;
}

/* work-list */

.work-list {
	margin-top: 86px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
}

.work-item {
	border: 16px solid #eaf6ff;
	border-radius: 4px;
	background: #fff;
	padding: 43px;
	transition: all 0.3s;
}

.work-item:hover {
	transform: translateY(-16px);
	border-color: var(--color-2);
}

.work-item__heading {
	margin-top: 18px;
	color: var(--color-1);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.39;
}

.work-item__desc {
	margin-top: 28px;
}

.work-item__more {
	margin-top: 18px;
	display: inline-block;
	color: #2e80ce;
	line-height: 1.75;
}

/* about */

.about {
	padding: 85px 0;
	margin: 85px 0 0;
}

.about-body {
	display: flex;
	align-items: center;
	column-gap: 188px;
}

/* about left */

.about-media {
	position: relative;
	padding-bottom: 121px;
}
.about-media__img {
	border-radius: 6px;
}

.about-media__img--big {
	width: 512px;
	height: 370px;
	box-shadow: 0px 14px 28px 0px rgba(0, 0, 0, 0.07);
	object-fit: cover;
	display: block;
}

.about-media__img--small {
	width: 332px;
	height: 370px;
	object-fit: cover;
	position: absolute;
	left: 238px;
	top: 121px;
}

.about-content__desc {
	margin-top: 18px;
	letter-spacing: 0;
}

.about-content__btn {
	margin-top: 38px;
}

/* team */

.team {
	padding: 85px 0;
}

/* team top */

.team-top {
	text-align: center;
}

.team-top__btn {
	margin-top: 38px;
}

/* team list */

.team-list {
	margin-top: 70px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 30px;
}

.team-item__bg {
	width: 100%;
	height: 318px;
	border-radius: 6px;
	background: #eaf6ff;
	/* position: relative; */
	overflow: hidden;
}

.team-item__img {
	display: block;
	height: 290px;
	width: auto;
	object-fit: cover;
	/* position: absolute; */

	transition: all 0.3s;
	margin: 30px auto 0;
}

.team-item__img:hover {
	transform: scale(1.1);
}

.team-item__name {
	margin-top: 12px;
	color: var(--color-1);
	text-align: center;
	line-height: 1.75;
}

.team-item__desc {
	color: #575f66;
	text-align: center;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.86;
}

/* team bottom */

.team-control {
	margin-top: 38px;
}

/* cta */

.cta {
	margin: 180px 0 85px;
}

.cta-inner {
	height: 427px;
	border-radius: 4px;
	background: var(--color-2);
	display: flex;
	align-items: center;
	padding: 0 70px;
	column-gap: 444px;
	position: relative;
}

/* cta left */

.cta-media__img {
	width: 284px;
	height: 522px;
	position: absolute;
	bottom: 0;
}

/* cta right */

.cta-content__heading {
	width: 489px;
	color: #fff;
}

.cta-content__desc {
	margin-top: 18px;
	color: #fff;
	letter-spacing: 0;
	font-weight: 300;
}

.cta-row {
	margin-top: 38px;
	display: flex;
	column-gap: 28px;
}

/* ============================blog */

.blog-inner {
	padding: 85px 0;
	display: flex;
	column-gap: 130px;
	align-items: center;
}

/* blog left */

.blog-content__read {
	display: inline-block;
	margin-top: 28px;
	color: var(--color-1);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.56;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.blog-content__read:hover {
	color: var(--color-2);
}

.blog-control {
	margin-top: 28px;
	justify-content: flex-start;
}

/* blog right */

.blog-list {
	display: flex;
	column-gap: 30px;
}

.blog-item {
	width: 270px;
	border-radius: 12px;
	border: 1px solid #e8ebee;
	overflow: hidden;
}

.blog-item:hover {
	border-color: transparent;
	border-radius: 12px;
	box-shadow: 0px 18px 50px 0px rgba(0, 0, 0, 0.05);
}

.blog-item:hover .blog-item__more {
	color: var(--color-2);
}

.blog-item:hover .blog-item__img {
	transform: scale(1.1);
}

.blog-item__img {
	width: 270px;
	height: 172px;
	object-fit: cover;
	border-radius: 12px 12px 0px 0px;
	transition: 0.3s;
}

.blog-item__body {
	padding: 18px 22px 21px;
}

.blog-item__heading {
	color: var(--color-1);
	font-weight: 600;
	line-height: 1.63;
}

.blog-item__desc {
	margin-top: 10px;
	color: #575f66;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.72;
}

.blog-item__more {
	display: inline-block;
	margin-top: 12px;
	color: var(--color-1);
	font-size: 14px;
}

/* ========================welcome */

.welcome-inner {
	padding: 100px 0;
	margin: 85px 0;
	text-align: center;
	background: #f6fbff;
}

.welcome-inner__heading::after {
	content: "";
	display: block;
	width: 136px;
	height: 2px;
	background: var(--color-2);
	margin: 18px auto 0;
}

.welcome-inner__desc {
	width: 620px;
	margin: 38px auto 0;
}

.welcome-inner__btn {
	margin-top: 38px;
}

/* ==========================footer */

/* footer top */

.footer {
	padding: 100px 0 42px;
	margin-top: 85px;
	background: var(--color-1);
	font-family: "Open Sans";
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 0.4fr 0.4fr 1fr;
	column-gap: 78px;
}

.footer-column__desc {
	margin-top: 21px;
	color: #a9b3bb;
	line-height: 1.75;
}

.footer-column__heading {
	color: #fff;
	font-weight: 600;
	line-height: 1.75;
}

.footer-column__list {
	margin: 10px 0 28px;
}

.footer-column__link {
	display: inline-block;
	margin-top: 10px;
	color: #a9b3bb;
	font-size: 14px;
	line-height: 1.86;
	white-space: nowrap; /* new */
}

.footer-column__link:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.foot-column__social {
	margin: 20px 0 28px;
	display: flex;
	align-items: center;
	column-gap: 10px;
}

.foot-column__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--color-2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.foot-column__icon:hover {
	background: var(--color-2);
	color: #fff;
}

.footer-form {
	margin-top: 10px;
	display: flex;
	column-gap: 12px;
}

.footer-form__input {
	width: 212px;
	height: 46px;
	background: none;
	border: 1px solid #406181;
	padding-left: 10px;
	outline: none;
	color: #fff;
	font-size: 16px;
}

.footer-form__input::placeholder {
	color: #9ca8b1;
	font-size: 14px;
	line-height: 1.86;
}

.footer-form__submit {
	width: 108px;
	height: 46px;
	border-radius: 4px;
	background: #2e80ce;
	border-color: transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.86;
	cursor: pointer;
}

.footer-form__submit:hover {
	opacity: 0.9;
}

/* hr {
	border: none;
	width: 1170px;
	height: 1px;
	background: #406181;
} */

.copyright {
	border-top: 1px solid #406181;
	text-align: center;
}

.copyright__text {
	margin-top: 28px;
	color: #aab3ba;
	font-size: 14px;
	line-height: 1.86;
}
