body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	color: #333;
	position: relative;
}

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('images/background.jpeg');
	background-size: cover;
	background-position: center;
	z-index: -1;
}

main {
	flex: 1;
}

header {
	background: linear-gradient(90deg, #333, #666);
	color: #fff;
	text-align: center;
	padding: 2rem 0;
}

header h1 {
	font-size: 2.5rem;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	margin-bottom: 0.5rem;
	position: relative;
	display: inline-block;
}

header h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 50%;
	height: 3px;
	background: white;
}

header p {
	font-size: 1.2rem;
	font-weight: 300;
}

h2 {
	position: relative;
	font-size: 2rem;
	margin-bottom: 1rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 50px;
	height: 3px;
	background: #007bff;
	transform: translateX(-50%);
}

section {
	opacity: 1;
	transform: translateY(20px);
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
	padding: 2rem;
	text-align: center;
	background: #fff;
	margin: 1rem auto;
	max-width: 800px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
}

section h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

p,
li {
	font-weight: 400;
}

ul {
	list-style: none;
	padding: 0;
}

ul li {
	margin: 0.5rem 0;
}

footer {
	background: #333;
	color: #fff;
	text-align: center;
	padding: 1rem 0;
	margin-top: 1rem;
}

.services-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

#services {
	padding: 2rem;
	background: #f9f9f9;
	text-align: center;
}

#services h2 {
	color: #444;
	margin-bottom: 1rem;
}

.service {
	flex: 1 1 calc(33% - 1rem);
	background: #fff;
	padding: 1rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.service:hover {
	transform: translateY(-10px);
}

.service h3 {
	color: #222;
	margin-bottom: 0.5rem;
}

.service p {
	font-size: 1rem;
	line-height: 1.5;
	color: #555;
}

img {
	max-width: 100%;
	height: auto;
}

.contact-btn {
	display: inline-block;
	background: #007bff;
	color: white;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.contact-btn:hover {
	background: #0056b3;
	transform: scale(1.1);
}

.service i {
	font-size: 2rem;
	color: #007bff;
	margin-bottom: 0.5rem;
}

#cta {
	text-align: center;
	padding: 2rem;
	background: linear-gradient(90deg, #007bff, #0056b3);
	color: white;
}

#cta .contact-btn {
	background: white;
	color: #007bff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
}

#cta .contact-btn:hover {
	background: #f4f4f4;
}

iframe {
	max-width: 100%;
	height: auto;
	border: 0;
}

.projects {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}

.project-card {
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	border-radius: 10px;
	overflow: hidden;
	width: 300px;
	margin: 0 auto;
	text-align: center;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.project-card img {
	width: 100%;
	height: auto;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.project-card h3 {
	margin: 15px 0;
	font-size: 1.5rem;
	text-align: center;
}

.project-card p {
	padding: 0 15px 20px;
	font-size: 1rem;
	text-align: center;
}

.project-card:hover {
	transform: scale(1.15);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	header {
		padding: 1rem;
	}

	header h1 {
		font-size: 2rem;
	}

	header p {
		font-size: 1rem;
	}

	section {
		border-radius: 10px;
		margin: 1rem 0.5rem;
	}

	section h2 {
		font-size: 1.2rem;
	}

	footer {
		padding: 0.5rem;
	}

	.service {
		flex: 1 1 100%;
	}

	.projects {
		padding: 10px;
	}

	.project-card {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 480px) {
	header h1 {
		font-size: 1.2rem;
		text-align: center;
	}

	main {
		padding: 0.5rem;
	}

	.service {
		margin-bottom: 1rem;
	}

	iframe {
		width: 100%;
		height: 200px;
	}
}
