* {
	margin: 0;
	padding: 0;    
	transition: 0.5s;
}

@media (prefers-reduced-motion: no-preference) {
	:has(:target) {
		scroll-behavior: smooth;
		scroll-padding-top: 0rem;
	}
}

@font-face {
	font-family: 'Vazir';
	src: url('/fonts/Vazirmatn.ttf') format('truetype');
}

.progress-container {
	position: fixed;
	left: 0px;
	width: 8px;
	height: 100%;
	border-radius: 2px;
	z-index: 100;
}

.progress-bar {
	width: 8px;
	background: #9f70f0;
	border-radius: 2px;
    transition: none;
}

.progress-bar:before {
	height: 1%;
}

body::-webkit-scrollbar {
	display: none;
}

body {
	font-family: 'Vazir';
	height: 100vh;
	background-color: #222;
	color: #fff;
	overflow-x: clip;
}

footer {
	width: 100%;
	background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
	position: relative;
	top: -2rem;
}

footer p {
	text-align: center;
	padding: 10px;
	font-size: 1.5rem;
	color: #151515;
	font-weight: 700;
}

.w100 {
	width: 100%;
}

.form-control {
	font-size: 1.5em;
	font-family: 'Vazir';
	padding: 10px;
	margin-bottom: 20px;
	border-width: 5px;
	border-style: solid;
	border-color: #9f70f0;
	background-color: #222;
	color: #fff;
	box-shadow:  12px 12px 24px #1c1c1c,
	-12px -12px 24px #282828;}

.btn {
	font-size: 16px;
	font-weight: 500;
	padding: 12px 35px;
	color: #151515;
	font-weight: 600;
	border-radius: 40px;
	display: inline-block;
	white-space: nowrap;
	border: none;
	background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow:  6px 6px 12px #1c1c1c,
	-6px -6px 12px #282828;	
	font-family: 'Vazir';
}
.btn:hover{
	box-shadow:  16px 16px 32px #171717,
             -16px -16px 32px #2d2d2d;
}

.diagonal-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	background-color: black;

	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.container {
	width: 1000px;
	display: flex;
	align-items: center;
	flex-direction: column;
	margin: 50px auto;
    max-width: 1000px;
}

.row {
	flex-direction: row;
}

.m-auto {
	margin: auto;
}

.letter {
	display: block;
	position: relative;
	top: -17rem;
	right: -5rem;
	font-size: 8rem;
	color: #aaa;
	margin-bottom: 0rem;
}

.hero-bg {
	height: 300px;
	justify-content: center;
	bottom: -30px; position: relative;
}

.hero-txt {
	text-shadow: 5px 5px 30px rgba(0, 0, 0, 0.80);
}
h2.hero-txt {
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.80);
}

h1 {
	font-size: 7rem;
}

h2 {
	font-size: 2rem
}

.faq-container{
	display: flex;
	flex-direction: row;
	gap: 24px;
}
.faq-inside{
	display: flex;
gap: 24px;
flex-wrap: wrap;
margin-top: 2rem;
}
.faq-answer {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	width: 100%;
  }

.faq-item {
	width: 100%;
	background-color: #222;
	display: flex;
	align-items: center;
    justify-content: space-between;
	padding: 16px 24px;
	border-radius: 20px;
	box-shadow:  12px 12px 24px #1c1c1c,
             -12px -12px 24px #282828;
			 flex-wrap: wrap;
}
.faq-item p{
	width: 70%;
	margin: auto;
	direction: rtl;
	
}
.faq-answer p{
	margin-top: 16px;
	font-size: 16px;
	color: #f4f5f5d3;
	text-align: justify;
	
}

.faq-question {
background-color: transparent;
border: none;
cursor: pointer;
text-align: left;
}

@media (min-width: 700px){
.faq-inside {
	width: 50%;
}
}


.tool {
	width: 145px;
	height: 145px;
	background-color: #222;
	display: flex;
	align-items: center;
    justify-content: center;
	margin-bottom: 26px;
	border-radius: 20px;
	box-shadow:  12px 12px 24px #1c1c1c,
             -12px -12px 24px #282828;
	z-index: 1;
}
.tool:hover{
	box-shadow:  40px 40px 80px #171717,
             -40px -40px 80px #2d2d2d;
	z-index: 100;
}
.tool > svg{
	width: 90px;
	height: 90px;
}
.card-container {
	min-width: 300px;
	height: 300px;
	position: relative;
	border-radius: 10px;
	box-shadow:  12px 12px 24px #1c1c1c,
	-12px -12px 24px #282828;	overflow: hidden;
}

.card {
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.card .front-content {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1)
}

.card .front-content p {
	font-size: 32px;
	font-weight: 700;
	opacity: 1;
	background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1)
}

.card .content {
	color: #222;
	position: absolute;
	top: 0;
	left: 0;
	min-width: 87%;
	height: 87%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
	padding: 20px;
	line-height: 1.5;
	border-radius: 5px;
	pointer-events: none;
	transform: translatex(96%);
	transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card .content .heading {
	font-size: 32px;
	font-weight: 700;
}

.card:hover .content {
	transform: translateY(0);
}

.card:hover .front-content {
	transform: translateX(20%);
}

.card:hover .front-content p {
	opacity: 0;
}

.card-sizing {
	width: 33.33%;
	display: flex;
	justify-content: center;
}

.contentha {
	display: flex;
	margin-top: 1rem;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	position: relative;
	flex-wrap: wrap;
}

.jcc {
	justify-content: center;
}

.d50m100 {
	width: 50%;
}

.m-none {}

.aboutdiv {
	width: 60%;
}

.contacti {
	font-size: 2em;
	direction: ltr;
	text-align: right;
}

.slider {
	overflow-x: hidden;
	font-size: 1.5rem;
	width: 100%;
	margin-inline: auto;
	display: flex;
	align-items: center;
	height: 30rem;
	position: relative;
}

.slider:hover .slider-list {
	animation-play-state: paused;
}

.slider-list {
	--width: 150rem;
	--speed: 120s;
	position: absolute;
	display: flex;
	width: var(--width);
}

.slider-list>* {
	flex-grow: 1;
	text-align: center;
}

.slider-list:nth-child(1) {
	animation: slider1 var(--speed) linear infinite;
}

@keyframes slider1 {
	0% {
		transform: translateX(0rem);
	}

	50% {
		transform: translateX(calc(-1 * var(--width)));
	}

	50.01% {
		transform: translateX(calc(+1 * var(--width)));
	}

	100% {
		transform: translateX(0rem);
	}
}

.slider-list:nth-child(2) {
	animation: slider2 var(--speed) linear infinite;
}

@keyframes slider2 {
	0% {
		transform: translateX(calc(+1 * var(--width)));
	}

	100% {
		transform: translateX(calc(-1 * var(--width)));
	}
}

.slider-p {
	font-size: 1.2rem;
}

a {
	color: #616cff;
}


.timeline {
	position: relative;
	width: 660px;
	margin: 0 auto;
	margin-top: 20px;
	padding: 1em 0;
	list-style-type: none;
}

.timeline:before {
	position: absolute;
	left: 50%;
	top: 0;
	content: ' ';
	display: block;
	width: 6px;
	height: 100%;
	margin-left: -3px;
	background: #9f70f0;
	background: -moz-linear-gradient(top, rgb(0, 157, 221, 0) 0%, rgb(159, 121, 240) 8%, rgb(159, 121, 240) 92%, rgb(0, 157, 221, 0) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 11285213240)));
	background: -webkit-linear-gradient(top, rgb(0, 157, 221, 0) 0%, rgb(159, 121, 240) 8%, rgb(159, 121, 240) 92%, rgb(0, 157, 221, 0) 100%);
	background: -o-linear-gradient(top, rgb(0, 157, 221, 0) 0%, rgb(159, 121, 240) 8%, rgb(159, 121, 240) 92%, rgb(0, 157, 221, 0) 100%);
	background: -ms-linear-gradient(top, rgb(0, 157, 221, 0) 0%, rgb(159, 121, 240) 8%, rgb(159, 121, 240) 92%, rgb(0, 157, 221, 0) 100%);
	background: linear-gradient(to bottom, rgb(0, 157, 221, 0) 0%, rgb(159, 121, 240) 8%, rgb(159, 121, 240) 92%, rgb(0, 157, 221, 0) 100%);

	z-index: 5;
}

.timeline li {
	padding: 1em 0;
}

.timeline li:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.direction-l {
	position: relative;
	width: 300px;
	float: left;
	text-align: right;
}

.direction-r {
	position: relative;
	width: 300px;
	float: right;
}

.flag-wrapper {
	position: relative;
	display: inline-block;

	text-align: center;
}

.flag {
	position: relative;
	display: inline;
	background: #fff;
	padding: 6px 10px;
	border-radius: 5px;

	font-size: 24px;
	font-weight: 700;
	text-align: left;
}

.direction-l .flag {
	-webkit-box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
	box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-r .flag {
	-webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
	box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
	position: absolute;
	top: 50%;
	right: -40px;
	content: ' ';
	display: block;
	width: 12px;
	height: 12px;
	margin-top: -10px;
	background: #F4F5F5;
	border-radius: 10px;
	border: 4px solid #9f70f0;
	z-index: 10;
}

.direction-l .flag.xl:before {
	position: absolute;
	top: 50%;
	right: -47.5px;
	content: ' ';
	display: block;
	width: 25px;
	height: 25px;
	margin-top: -15px;
	background: #F4F5F5;
	border-radius: 20px;
	border: 5px solid #9f70f0;
	z-index: 10;
}

.direction-r .flag:before {
	left: -40px;
}

.direction-l .flag:after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	height: 0;
	width: 0;
	margin-top: -8px;
	border: solid transparent;
	border-left-color: rgb(248, 248, 248);
	border-width: 8px;
	pointer-events: none;
}

.direction-r .flag:after {
	content: "";
	position: absolute;
	right: 100%;
	top: 50%;
	height: 0;
	width: 0;
	margin-top: -8px;
	border: solid transparent;
	border-right-color: rgb(248, 248, 248);
	border-width: 8px;
	pointer-events: none;
}

.flag.wbg {
	background: transparent;
	border: none;
	box-shadow: none;
}


.time-wrapper {
	display: inline;

	line-height: 1em;
	font-size: 0.66666em;
	color: rgb(250, 80, 80);
	vertical-align: middle;
}

.direction-l .time-wrapper {
	float: left;
}

.direction-r .time-wrapper {
	float: right;
}

.time {
	display: inline-block;
	padding: 4px 6px;
	background: rgb(248, 248, 248);
}

.desc {
	margin: 1em 0.75em 0 0;
	text-align: justify;
	font-size: 16px;
	line-height: 1.5em;
	direction: rtl;
}

.direction-r .desc {
	margin: 1em 0 0 0.75em;
}
footer > a{
	text-decoration: none;
}


.error-message {
  display: none;
  color: red;
}

.error-border {
  border-color: red !important;
}


@media (max-width: 1250px) {
	.container {
		width: 90%;
		margin: 50px auto;
	}

	.m-auto {
		margin: auto;
	}

	.letter {
		display: none;
	}

	.contentha {
		top: 0;
		margin-bottom: 0;
		margin-top: 1rem;
	}

}

@media (max-width: 1000px) {
	.card-sizing {
		width: 50%;
		padding: 15px 0;
	}

	.d50m100 {
		width: 100%;
	}

	.card-container {
		width: 90%;
	}

	.card-container .content {
		width: 89%;
	}
	.tool{
		width: 130px;
		height: 130px;
	}
	.tool > svg{
		width: 80px;
		height: 80px;
	}
}
@media (max-width: 870px) {
	.tool{
		width: 20vw;
		height: 20vw;
		margin-bottom: 3vw;
	}
	.tool > svg{
		width: 13vw;
		height: 13vw;
	}
}

@media (max-width: 768px) {
	.diagonal-hero-bg, .hero-bg {
		height: 240px;
	}

	h1 {
		font-size: 5rem;
	}

	h2 {
		font-size: 1.5rem
	}

	.m-none {
		display: none;
		width: 0 !important;
	}

	.aboutdiv {
		width: 100%;
	}

	.slider-list {
		--width: 100rem;
	}

	.slider {
		height: 23rem;
	}
}

@media (max-width: 670px) {
	.card-sizing {
		width: 100%;
		padding: 15px 0;
	}

	.card-container {
		width: 90%;
	}

	.card-container .content {
		width: 93%;
	}

	.timeline {
		color: #222;
		width: 100%;
		padding: 4em 0 1em 0;
	}

	.timeline li {
		padding: 2em 0;
	}

	.direction-l,
	.direction-r {
		float: none;
		width: 100%;

		text-align: center;
	}

	.flag-wrapper {
		text-align: center;
	}

	.flag {
		background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
		z-index: 15;
	}

	.direction-l .flag:before,
	.direction-r .flag:before {
		position: absolute;
		top: -30px;
		left: 50%;
		content: ' ';
		display: block;
		width: 12px;
		height: 12px;
		margin-left: -9px;
		background: #fff;
		border-radius: 10px;
		border: 4px solid #9f70f0;
		z-index: 10;
	}

	.direction-l .flag.xl:before {
		left: calc(50% - 7.5px);
		top: -35px;
	}

	.direction-l .flag:after,
	.direction-r .flag:after {
		content: "";
		position: absolute;
		left: 50%;
		top: -8px;
		height: 0;
		width: 0;
		margin-left: -8px;
		border: solid transparent;
		border-bottom-color: #9f70f0;
		border-width: 8px;
		pointer-events: none;
	}

	.time-wrapper {
		display: block;
		position: relative;
		margin: 4px 0 0 0;
		z-index: 14;
	}

	.direction-l .time-wrapper {
		float: none;
	}

	.direction-r .time-wrapper {
		float: none;
	}

	.flag.wbg {
		background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
		border-radius: 10px;
		-webkit-box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
		-moz-box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
		box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
	}


	.desc {
		position: relative;
		margin: 1em 0 0 0;
		padding: 1em;
		background: rgb(245, 245, 245);
		-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
		-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
		box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
		background: linear-gradient(-45deg, #7079f0 0%, #b270f0 100%);
		border-radius: 10px;
		z-index: 15;
		box-shadow:  12px 12px 24px #1c1c1c,
		-12px -12px 24px #282828;	}

	.direction-l .desc,
	.direction-r .desc {
		position: relative;
		margin: 1em 1em 0 1em;
		padding: 1em;

		z-index: 15;
	}

	.hide {
		display: none !important;
	}
}

@media (max-width: 540px) {
	.card-sizing {
		width: 100%;
		padding: 15px 0;
	}

	.card-container {
		width: 90%;
	}

	.card-container .content {
		width: 90%;
	}

	.skill {
		width: 50%;
	}

	form {
		width: 93%;
	}

	.slider-list {
		--width: 80rem;
	}

	.slider {
		height: 19rem;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 4rem;
	}

	.contacti {
		font-size: 1.6em;
	}

	h2 {
		font-size: 1.4rem;
	}

	h3 {
		font-size: 1em;
	}

	.diagonal-hero-bg, .hero-bg {
		height: 200px;
	}
}

@media (max-width: 370px) {
	.contacti {
		font-size: 1.3em;
	}

	.btn {
		padding: 12px 30px;
	}

	form {
		width: 90%;
	}

	.slider-list {
		--width: 70rem;
	}

	.slider {
		height: 19rem;
	}
	.tool{
		width: 26vw;
		height: 26vw;
		margin-bottom: 12px;
	}
	.tool > svg{
		width: 16vw;
		height: 16vw;
	}
}