/* ===== Hero ===== */
.hero {
	align-items: stretch;
	gap: 30px;
	margin: 110px auto 80px;
}

.hero .hero-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.2rem;
	padding: 2rem 0;
}

.hero_background {
	flex: 1;
	align-items: center;
	justify-content: center;
}

.hero_background img {
	height: auto;
	width: 100%;
}

.hero h1 {
	font-size: clamp(2rem, 2.5vw, 2.5em);
}

.hero em {
	font-size: 0.7em;
	color: #666
}

.p_primary {
	font-weight: 600;
	font-size: clamp(1.4rem, 2vw, 1.6em);
}

/* ===== Buttons ===== */
.button {
	color: #fff;
	background: linear-gradient(45deg, rgba(25, 83, 230, 1) 0%,
		rgba(86, 131, 245, 1) 100%);
	border-radius: 0.5rem;
	border: 0;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.6rem 1rem;
	cursor: pointer;
	min-width: 200px;
	transition: background-color 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	align-self: flex-start;
	box-shadow: 2px 2px 2px #4061b3;
	transition: transform 0.3s ease;
}

.button:hover {
	background: linear-gradient(45deg, rgba(20, 71, 201, 1) 0%,
		rgba(33, 111, 219, 1) 100%);
	box-shadow: 2px 2px 2px #2061b3;
	transform: scale(1.05);
}

/* ===== Sections ===== */
.section {
	padding: 3rem 0;
	text-align: center;
}

.darker_bg {
	background: linear-gradient(180deg, #f9f9f9 0%, #f4f4f4 100%);
}

.section h2 {
	font-size: clamp(1.5rem, 2vw, 1.7em);
	margin-bottom: 1.2em;
}

/* ===== Services ===== */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.service-item {
	flex: 1 1 220px;
	cursor: default;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1rem;
	transition: transform 0.3s ease;
}

.service-item:hover {
	transform: scale(1.05);
}

.service-item img {
	width: 60px;
	margin-bottom: 1rem;
}

.service-item h3 {
	margin: 0.5rem 0;
}

.service-item p {
	font-size: 0.80rem;
}

/* ===== Contact ===== */
.section_contact p {
	margin: 1.2rem 0;
}

.section_contact form {
	margin: auto;
	max-width: 600px;
	width: 100%;
}

.section_contact form label {
	display: block;
	text-align: left;
	font-weight: 600;
	font-size: 0.8rem;
	margin: 1.5rem 0 0 0;
}

.section_contact form input, .section_contact form textarea {
	display: block;
	width: 100%;
	margin: 0.4rem auto;
	padding: 0.8rem;
	border: 1px solid #AAA;
	border-radius: 10px;
	font-size: 1rem;
	color: #2b65f6;
	outline-color: #2b65f6;
}

.section_contact form button {
	margin: 1.2rem auto;
	padding: 0.8rem;
}

/* ===== Mobile adjustments ===== */
@media ( max-width : 767px) {
	.hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1rem;
	}
	.hero .hero-text {
		padding: 1rem 0;
		align-items: center;
	}
	.hero_background {
		flex: none;
		width: 100%;
		height: 300px;
		order: 2;
	}
	.hero_background img {
		height: 100%;
		width: auto;
	}
	.hero .hero-text .button {
		align-self: center;
	}
	.services-grid {
		flex-direction: column;
	}
}