@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
	--primary-color: #0158AB;
	--black: #000;
	--light-black: #444;
	--white: #fff;
	--light-gray: #f6f6f6;
	--semi-light-gray: #eee;
	--dark-gray: #bbb;
	--font-family: "Josefin Sans" Sans-serif;
	--font-family-body: "Open Sans", Sans-serif;
	--font-size: 16px;
	--line-height: 1.5;
}

/* Custom button style 
===============================*/
.button-p {
	pointer-events: auto !important;
	cursor: pointer !important;
	background: #e7e7e7 !important;
	border: none !important;
	padding: 1.5rem 3rem !important;
	margin: 0 !important;
	font-family: inherit !important;
	font-size: inherit !important;
	position: relative !important;
	display: inline-block !important;
}

.button-p::before,
.button-p::after {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

.button--pandora {
	background: var(--black) !important;
	font-weight: 500 !important;
	padding: 0 !important;
	border-radius: 5px !important;
}

.button--pandora span {
	display: block !important;
	background-color: var(--primary-color) !important;
	padding: 8px 20px !important;
	border: 1px solid var(--black) !important;
	border-radius: 5px !important;
	transform: translate3d(-4px, -4px, 0) !important;
	transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1) !important;
	color: var(--white) !important;
	font-weight: 500 !important;
	cursor: pointer !important;
}

.button--pandora:hover span {
	transform: translate3d(-8px, -8px, 0) !important;
}

/* ========================= */

/* Service Box
======================= */

.service-box {
	position: relative;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0px 0px 15px #F2F9FD;
	overflow: hidden;
	transition:
		color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
		box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

	.image {
		width: 80px;
		height: 80px;
		border-radius: 50%;
		background: #F2F9FD;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 20px;
		z-index: 1;
		position: relative;

		img {
			width: 50px !important;
		}
	}

	h4 {
		font-weight: 700;
		font-size: 20px;
		margin-bottom: 10px !important;
		position: relative;
		z-index: 1;
		transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	p {
		position: relative;
		z-index: 1;
		transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	&::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		background-color: var(--primary-color);
		border-radius: 50%;
		transform: translate(-50%, -50%);
		transition:
			width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
			height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
		z-index: 0;
	}

	&:hover {
		color: var(--white);
		box-shadow: 0px 0px 15px var(--primary-color);
		border-color: var(--primary-color) !important;

		&::before {
			width: 300%;
			height: 300%;
		}

		h4,
		p {
			color: var(--white) !important;
		}
	}
}

/* ======================== */

/* Protfolio
======================= */
.portfolio {
	color: #fff;
	padding: 60px 20px;

	.portfolio-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 40px;
		max-width: 1200px;
		margin: auto;

		@media (max-width: 768px) {
			flex-direction: column;
		}

		.portfolio-tabs {
			flex: 1 1 300px;

			.portfolio-buttons {
				display: flex;
				flex-wrap: wrap;
				gap: 10px;

				.tab-btn {
					background: var(--black);
					border: none;
					border-radius: 5px;
					padding: 0;
					font-weight: 500;
					cursor: pointer;
					font-family: inherit;
					font-size: 16px;
					display: inline-block;
					position: relative;
					margin: 0 5px;

					& span {
						display: block;
						padding: 8px 20px;
						border: 1px solid var(--black);
						background-color: var(--primary-color);
						color: var(--white);
						border-radius: 5px;
						color: var(--white);
						transform: translate3d(-4px, -4px, 0);
						transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
						font-weight: 500;
						user-select: none;
					}

					&:hover span,
					&.active span {
						transform: translate3d(-8px, -8px, 0);
					}
				}

			}
		}

		.portfolio-preview {
			flex: 1 1 500px;
			position: relative;

			.preview-content {
				display: none;
				opacity: 0;
				transform: translateY(20px);
				transition: all 0.4s ease;
				text-align: center;
				position: relative;

				&.show {
					display: block;
					opacity: 1;
					transform: translateY(0);
				}

				.img {
					img {
						width: 100%;
						max-height: 500px;
						border-radius: 12px;
						box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
					}
				}

				.visit-site {
					background: var(--black);
					border: none;
					border-radius: 5px;
					padding: 0;
					cursor: pointer;
					display: inline-block;
					position: absolute;
					margin: 20px 0;
					right: 20px;
					bottom: 20px;

					& span {
						display: block;
						padding: 8px 20px;
						border: 1px solid var(--black);
						background-color: var(--primary-color);
						color: var(--white);
						border-radius: 5px;
						transform: translate3d(-4px, -4px, 0);
						transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
						font-weight: 500;
						user-select: none;
					}

					&:hover span {
						transform: translate3d(-8px, -8px, 0);
					}
				}


			}
		}
	}
}


/* ======================== */

/* Blogs
======================== */
.blogs {
	box-shadow: 0px 0px 15px #F2F9FD;

	.content {
		h5 {
			font-size: 18px;

			a{
				font-family: var(--font-family);
			}
		}
	}
}

/*======================== */

/* Contact Page
======================== */
.contact_form {

	.wpforms-field-container {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;

		.full_name,
		.organization,
		.email,
		.phone {
			width: 48%;
			padding: 0px;
		}

		.message {
			width: 100%;
			padding: 0px;
		}

	}

	.btn_submit {
		width: 100% !important;
		margin-top: 30px !important;
	}
}

/* Elementor fixing
======================== */
.elementor-control-type-repeater {

	.elementor-repeater-row-tools {
		button {
			color: #fff !important;
		}
	}
}

/* ======================== */

/* Responsive
======================= */
@media (max-width: 1200px) {}

@media (max-width: 992px) {}

@media (max-width: 768px) {}