/* #region Font */

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Black.eot');
	src: url('../fonts/Lato-Black.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Black.woff') format('woff'), url('../fonts/Lato-Black.ttf') format('truetype'),
		url('../fonts/Lato-Black.svg#web_Yekan') format('svg');
	font-weight: 900;
}

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Bold.eot');
	src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Bold.woff') format('woff'), url('../fonts/Lato-Bold.ttf') format('truetype'),
		url('../fonts/Lato-Bold.svg#web_Yekan') format('svg');
	font-weight: 700;
}

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Medium.eot');
	src: url('../fonts/Lato-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Medium.woff') format('woff'), url('../fonts/Lato-Medium.ttf') format('truetype'),
		url('../fonts/Lato-Medium.svg#web_Yekan') format('svg');
	font-weight: 500;
}

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Regular.eot');
	src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Regular.woff') format('woff'), url('../fonts/Lato-Regular.ttf') format('truetype'),
		url('../fonts/Lato-Regular.svg#web_Yekan') format('svg');
	font-weight: 400;
}

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Light.eot');
	src: url('../fonts/Lato-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-Light.woff') format('woff'), url('../fonts/Lato-Light.ttf') format('truetype'),
		url('../fonts/Lato-Light.svg#web_Yekan') format('svg');
	font-weight: 300;
}

@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-LightItalic.eot');
	src: url('../fonts/Lato-LightItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-LightItalic.woff') format('woff'), url('../fonts/Lato-LightItalic.ttf') format('truetype'),
		url('../fonts/Lato-LightItalic.svg#web_Yekan') format('svg');
	font-weight: 300;
	font-style: italic;
}

/* #endregion */

/* #region Reset */

*,
::after,
::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	scroll-behavior: smooth;
}

a,
a:hover {
	text-decoration: none;
}

a,
a:not(href),
select,
button {
	cursor: pointer;
}

ul,
li {
	list-style: none;
}

ol,
ul,
dl {
	margin: 0;
	padding: 0;
}

img {
	display: block;
}

a,
span,
i,
label {
	display: inline-block;
}

button,
button:hover,
button:focus {
	outline: none;
	border: none;
}

.icon {
	vertical-align: middle;
}

/* #endregion */

/* #region Styles */

body {
	font-family: 'lato', sans-serif;
}

.main {
	background: url('../images/bg.png') no-repeat center center;
	background-position-x: 30%;
	background-size: cover;
	min-height: 100vh;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #ffffff;
}

.main::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.main-container {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 70px 0.75rem 35px 0.75rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.left-side {
	width: 100%;
}

.right-side {
	width: 100%;
	margin-top: 120px;
}

.overlay {
	position: absolute;
	height: 100%;
	top: 0;
	right: 0;
	width: 60%;
}

.overlay-mobile {
	position: absolute;
	height: 65%;
	bottom: 0;
	right: 0;
	width: 100%;
}

.title {
	margin-bottom: 20px;
	font-weight: 500;
}

.title span {
	display: block;
}

.title span:nth-child(1) {
	letter-spacing: 0.2rem;
	font-size: 1.75rem;
}
.title span:nth-child(2) {
	letter-spacing: 0.7rem;
	font-size: 4rem;
}

.text-wrapper {
	padding-left: 1rem;
}

.sub-title {
	font-size: 2rem;
	letter-spacing: 0.25rem;
	font-weight: 700;
}

.first-description,
.second-description {
	font-size: 1.25rem;
	margin: 15px 0;
}

.first-description {
	font-weight: 400;
}

.second-description {
	font-weight: 300;
	font-style: italic;
}

.estimate-btn {
	background-color: #9999ff;
	color: #ffffff;
	font-weight: 700;
	font-size: 1.25rem;
	padding: 0.5rem 1rem;
	border-radius: 0.4rem;
	margin-top: 25px;
	transition: all 0.3s ease-in-out;
}

.estimate-btn:hover {
	background-color: #5757e5;
}

.swiper {
	margin-bottom: 50px;
	padding-bottom: 40px;
}

.slide .slide-title {
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: 0.1rem;
	margin-bottom: 5px;
}

.slide .slide-bullet {
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	vertical-align: middle;
}

.slide .slide-img {
	border: 4px solid #ffffff;
	border-radius: 0.4rem;
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
}

.swiper-pagination {
	height: 20px;
	width: 100%;
	right: 0;
	bottom: 0 !important;
}

.swiper-pagination-bullet {
	width: 20px;
	height: 20px;
	background-color: #ffffff;
	border-radius: 0;
	opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: #9999ff;
}

.contactus {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
}

.contactus-tel-itme {
	font-size: 1rem;
	letter-spacing: 0.1rem;
}

.contactus-tel-itme:first-child ~ .contactus-tel-itme {
	margin-top: 10px;
}

.contactus-tel-itme .icon {
	width: 20px;
	height: auto;
	vertical-align: middle;
}

.contactus-social {
	display: flex;
	gap: 10px;
	order: 1;
}

.contactus-social-link {
	width: 28px;
	height: 28px;
	border-radius: 0.4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.contactus-social-link img {
	width: 100%;
	height: 100%;
	border-radius: 0.4rem;
}

.show-in-pc {
	display: none;
}

.show-in-mobile {
	display: block;
}

.modal {
	width: 100%;
	height: 100dvh;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1000;
	display: none;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	animation: fadein 0.3s linear;
}

.modal-header {
	padding: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border-bottom: 1px solid #9999ff;
}

.modal-title {
	font-size: 1.3rem;
}

.modal-close {
	background-color: #9999ff;
	color: #ffffff;
	transition: all 0.3s ease-in-out;
	width: 2rem;
	height: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	border-radius: 8px;
}

.modal-close:hover {
	background-color: #5757e5;
}

.modal-dialog {
	background-color: #ffffff;
	border-radius: 8px;
	color: #333333;
	width: 90%;
}

.modal-body {
	padding: 1.5rem;
}

.modal-body p {
	font-size: 1rem;
	line-height: 1.5;
}

.blog-main {
	color: #333333;
}

.blog-main-container {
	margin: 0 auto;
	padding: 0 0.75rem;
}

.blog-title {
	text-align: center;
	margin: 40px 0;
	font-size: 5rem;
	font-weight: 900;
}

.blog-subtitle {
	text-align: center;
	margin: 40px 0 20px 0;
	font-size: 3.5rem;
	font-weight: 400;
}

.blog-primary-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.blog-primary-card-img {
	display: block;
	border-radius: 40px;
}

.blog-primary-card-title a {
	font-size: 2rem;
	color: #333333;
}

.blog-primary-card-description {
	color: #707eae;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin: 20px 0;
	line-height: 1.5;
	font-size: 1.25rem;
}

.blog-primary-card-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	color: #707eae;
}

.blog-primary-card-info .icon {
	margin-right: 5px;
}

.blog-cards-wrapper{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.blog-card {
	border-radius: 40px;
	box-shadow: -5px 5px 3rem -0.5rem rgba(29, 28, 229, 0.1);
	transition: all 0.35s linear;
	margin-top: 40px;
}

.blog-card:hover{
	box-shadow: -10px 10px 3rem -0.25rem rgba(29, 28, 229, 0.15);
}

.blog-card:hover .blog-card-img img{
	transform: scale(1.25);
}

.blog-card-img{
	overflow: hidden;
	border-radius: 40px 40px 0 0;
}

.blog-card-img img{
	width: 100%;
	border-radius: 40px 40px 0 0;
	transition: all 0.35s linear;
}

.blog-card-content{
	padding: 1rem 1.75rem;
}

.blog-card-title a{
	font-size: 1.25rem;
	color: #333333;
}

.blog-card-info{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	color: #707eae;
	margin-top: 15px;
}

.blog-read-more{
	font-weight: 900;
	color: #333333;
	text-align: center;
	width: 100%;
	padding-top: 1rem;
}

.blog-read-more:hover{
	text-decoration: underline;
}

.blog-read-more .icon{
	transition: all 0.35s linear;
}

.blog-read-more:hover .icon{
	margin-left: 0.5rem;
}

.blog-footer{
	margin-top: 2rem;
	background: url('../images/footer-bg.png');
	padding: 2rem 0;
	color: #ffffff;
	position: relative;
}

.blog-footer::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.blog-footer p{
	position: relative;
	z-index: 1;
	text-align: center;
}

.blog-footer p a{
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
}

.blog-footer-container{
	margin: 0 auto;
}

@media only screen and (max-width: 576px) {
	.blog-title {
		font-size: 4rem;
	}

	.blog-subtitle {
		font-size: 2.75rem;
	}

	.blog-primary-card-img {
		width: 100%;
	}

	.blog-primary-card-content {
		margin-top: 20px;
		width: 100%;
	}

	.blog-card {
		width: 100٪;
	}
}

@media only screen and (min-width: 576px) {
	.main-container,
	.blog-main-container,
	.blog-footer-container {
		max-width: 1320px;
	}

	.blog-title {
		font-size: 4rem;
	}

	.blog-subtitle {
		font-size: 2.75rem;
	}

	.blog-primary-card-img {
		width: 100%;
	}

	.blog-primary-card-content {
		margin-top: 20px;
		width: 100%;
	}

	.blog-card {
		width: 100%;
	}
}

@media only screen and (min-width: 768px) {
	.main-container,
	.blog-main-container,
	.blog-footer-container {
		max-width: 720px;
	}

	.modal-dialog {
		width: 50%;
	}

	.blog-card {
		width: calc(50% - 25px);
	}
}

@media only screen and (min-width: 992px) {
	.main {
		background-position-x: center;
	}

	.main-container,
	.blog-main-container,
	.blog-footer-container {
		max-width: 960px;
	}

	.main-container {
		padding: 35px 0.75rem;
	}

	.left-side {
		width: 40%;
	}

	.right-side {
		width: 60%;
		margin-top: 0;
	}

	.title {
		margin-bottom: 30px;
	}

	.title span:nth-child(1),
	.title span:nth-child(2) {
		font-weight: 900;
	}

	.title span:nth-child(1) {
		font-size: 2rem;
	}

	.title span:nth-child(2) {
		font-size: 5rem;
	}

	.sub-title {
		font-size: 2.75rem;
	}

	.first-description,
	.second-description {
		font-size: 1.75rem;
	}

	.estimate-btn {
		font-size: 1.75rem;
	}

	.swiper {
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.slide {
		width: calc(100% - 30px);
	}

	.slide .slide-title {
		text-align: right;
	}

	.swiper-pagination {
		width: 20px !important;
		height: 100%;
		display: flex;
		flex-direction: column;
		gap: 15px;
		justify-content: center;
		left: unset !important;
		right: 0;
	}

	.swiper-pagination-bullet {
		margin: 0 !important;
	}

	.show-in-pc {
		display: block;
	}

	.show-in-mobile {
		display: none;
	}

	.contactus-social {
		order: 0;
	}

	.contactus {
		justify-content: space-around;
	}

	.contactus-tel {
		text-align: center;
	}

	.contactus-tel-itme {
		font-size: 1.5rem;
	}

	.contactus-tel-itme .icon {
		width: 30px;
	}

	.contactus-social-link {
		width: 45px;
		height: 45px;
	}

	.blog-title {
		font-size: 5rem;
	}

	.blog-subtitle {
		font-size: 3.5rem;
	}

	.blog-primary-card-img {
		width: calc(60% - 10px);
	}

	.blog-primary-card-content {
		width: calc(40% - 10px);
	}
}

@media only screen and (min-width: 1200px) {
	.main-container,
	.blog-main-container,
	.blog-footer-container {
		max-width: 1140px;
	}

	.slide .slide-title {
		padding-right: 10%;
	}
}

@media only screen and (min-width: 1400px) {
	.main-container,
	.blog-main-container,
	.blog-footer-container {
		max-width: 1320px;
	}
}

/* #endregion */

.lights-animate {
	animation: lights 5s 750ms linear infinite;
}

@keyframes lights {
	0% {
		color: hsl(230, 40%, 80%);
		text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2), 0 0 0.125em hsla(320, 100%, 60%, 0.3), -1em -0.125em 0.5em hsla(40, 100%, 60%, 0), 1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
	}

	30% {
		color: hsl(230, 80%, 90%);
		text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 60%, 0.5), -0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2), 0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
	}

	40% {
		color: hsl(230, 100%, 95%);
		text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 90%, 0.5), -0.25em -0.125em 0.125em hsla(40, 100%, 60%, 0.2), 0.25em 0.125em 0.125em hsla(200, 100%, 60%, 0.4);
	}

	70% {
		color: hsl(230, 80%, 90%);
		text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.5), 0 0 0.125em hsla(320, 100%, 60%, 0.5), 0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2), -0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
	}

	100% {
		color: hsl(230, 40%, 80%);
		text-shadow: 0 0 1em hsla(320, 100%, 50%, 0.2), 0 0 0.125em hsla(320, 100%, 60%, 0.3), 1em -0.125em 0.5em hsla(40, 100%, 60%, 0), -1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
	}
}

@keyframes fadein {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
