* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: #1d2733;
	background-color: #f7f9fc;
}

.wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
}

.hero-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(3, 15, 31, 0.82), rgba(0, 79, 145, 0.58));
}

.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 90%;
	max-width: 900px;
	transform: translate(-50%, -50%);
	color: #fff;
	text-align: center;
}

.hero-text span,
.brand span {
	color: #0a8dff;
}

.hero-text h1 {
	margin-bottom: 12px;
	font-size: 42px;
	letter-spacing: 1px;
	text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.45);
}

.hero-text p {
	font-size: 16px;
	line-height: 1.6;
}

.hero-label {
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 12px;
	font-weight: 700;
	color: #b8dcff;
}

.hero-btn {
	display: inline-block;
	margin-top: 24px;
	padding: 12px 28px;
	border-radius: 30px;
	background-color: #0a8dff;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	transition: background-color 0.3s, transform 0.3s;
}

.hero-btn:hover {
	background-color: #0070d4;
	transform: translateY(-2px);
}

.section-title {
	position: relative;
	margin-bottom: 28px;
	text-transform: uppercase;
	text-align: center;
	font-size: 26px;
	letter-spacing: 1px;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 70px;
	height: 3px;
	transform: translateX(-50%);
	background-color: #0a8dff;
}

section {
	scroll-margin-top: 90px;
}

/* NAVIGATION */

nav {
	position: sticky;
	top: 0;
	z-index: 10;
	min-height: 64px;
	background-color: rgba(255, 255, 255, 0.96);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	padding: 0 20px;
}

.brand {
	text-decoration: none;
	color: #1d2733;
	font-size: 23px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.burger-icon {
	display: block;
	background: none;
	border: none;
	color: #1d2733;
	font-size: 32px;
	cursor: pointer;
}

.nav-items {
	display: none;
	position: absolute;
	top: 64px;
	left: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 16px 20px rgba(0, 0, 0, 0.08);
}

.nav-items.active {
	display: block;
}

.nav-items a {
	display: block;
	padding: 16px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	color: #1d2733;
	transition: color 0.3s, background-color 0.3s;
}

.nav-items a:hover {
	color: #0a8dff;
	background-color: #f0f7ff;
}

/* HEADER */

.header {
	position: relative;
	height: 520px;
	background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80');
	background-size: cover;
	background-position: center;
}

/* MAIN */

main {
	margin: 70px 0;
}

/* ABOUT */

.about-us {
	padding: 0 20px;
}

.about-us-info {
	margin: 0 auto 14px;
	max-width: 900px;
	text-align: center;
	line-height: 1.8;
	color: #435265;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 38px;
}

.about-card {
	padding: 28px 22px;
	text-align: center;
	background-color: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(18, 38, 63, 0.08);
}

.about-card i {
	font-size: 42px;
	color: #0a8dff;
}

.about-card h3 {
	margin: 14px 0 8px;
	text-transform: uppercase;
	font-size: 17px;
}

.about-card p {
	line-height: 1.6;
	color: #546478;
}

/* SERVICES */

.services {
	margin: 80px auto;
	padding: 0 20px;
}

.services-box {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(18, 38, 63, 0.12);
}

.service {
	position: relative;
	height: 320px;
	background-size: cover;
	background-position: center;
	text-align: center;
	overflow: hidden;
}

.service .hero-text {
	max-width: 480px;
}

.service h3 {
	margin-bottom: 12px;
	text-transform: uppercase;
	font-size: 20px;
	transition: transform 0.3s;
}

.service p {
	font-size: 14px;
	line-height: 1.6;
	color: #e9f4ff;
}

.service:hover h3 {
	transform: scale(1.08);
}

.first-service {
	background-image: url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=1200&q=80');
}

.second-service {
	background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80');
}

.third-service {
	background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1200&q=80');
}

.fourth-service {
	background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80');
}

/* TECHNOLOGIES */

.technologies {
	padding: 70px 20px;
	background: linear-gradient(135deg, #061529, #0c3158);
	color: #fff;
}

.technologies .section-title::after {
	background-color: #6bbdff;
}

.tech-info {
	margin: 0 auto;
	max-width: 900px;
	text-align: center;
	line-height: 1.8;
	color: #dcecff;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 34px;
}

.tech-tags span {
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 30px;
	background-color: rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

/* CONTACT */

.contact {
	padding: 70px 20px 10px;
	text-align: center;
}

.contact-intro {
	margin: 0 auto 34px;
	max-width: 760px;
	line-height: 1.8;
	color: #435265;
}

.contact-form {
	margin: 0 auto;
	max-width: 720px;
	padding: 34px 28px;
	text-align: left;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(18, 38, 63, 0.08);
}

.hidden-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.form-group {
	margin-bottom: 18px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #1d2733;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #1d2733;
	background-color: #f9fbfd;
	outline: none;
	transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.form-group textarea {
	resize: vertical;
	min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #0a8dff;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(10, 141, 255, 0.13);
}

.form-btn {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 14px 24px;
	border: none;
	border-radius: 30px;
	background-color: #0a8dff;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.3s;
}

.form-btn:disabled {

	background-color: #8bbfe9;
	cursor: not-allowed;
	transform: none;

}

.form-btn:not(:disabled):hover {
	background-color: #0070d4;
	transform: translateY(-2px);
}

/* POPUP MESSAGE */

.popup-message {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: rgba(6, 21, 41, 0.68);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.popup-message.active {
	opacity: 1;
	visibility: visible;
}

.popup-content {
	position: relative;
	width: 100%;
	max-width: 460px;
	padding: 36px 28px 30px;
	text-align: center;
	background-color: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
	transform: translateY(18px) scale(0.96);
	transition: transform 0.3s;
}

.popup-message.active .popup-content {
	transform: translateY(0) scale(1);
}

.popup-close {
	position: absolute;
	top: 12px;
	right: 16px;
	border: none;
	background: none;
	color: #7a8795;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.3s;
}

.popup-close:hover {
	color: #1d2733;
}

.popup-icon {
	margin-bottom: 14px;
	font-size: 54px;
}

.popup-message.success .popup-icon {
	color: #22a35a;
}

.popup-message.error .popup-icon {
	color: #d93025;
}

.popup-content h3 {
	margin-bottom: 10px;
	font-size: 22px;
	color: #1d2733;
}

.popup-content p {
	line-height: 1.7;
	color: #435265;
}

/* FOOTER */

footer {
	padding: 30px 10px;
	text-align: center;
	background-color: #101b29;
	color: #cfd9e6;
}

footer p {
	margin: 5px 0;
}

footer a {
	color: #8ecbff;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 420px) {

	.hero-text h1 {
		font-size: 36px;
	}
	.hero-label {
		letter-spacing: 2px;
	}
	.contact-form {
		padding: 28px 20px;
	}

}

@media (min-width: 768px) {
	.burger-icon {
		display: none;
	}

	.nav-items {
		position: static;
		display: flex;
		width: auto;
		background: none;
		box-shadow: none;
	}

	.nav-items a {
		display: inline-block;
		padding: 0 16px;
		line-height: 64px;
		background: none;
	}

	.nav-items a:hover {
		background: none;
	}

	.header {
		height: 560px;
	}

	.hero-text h1 {
		font-size: 58px;
	}

	.hero-text p {
		font-size: 18px;
	}

	.about-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.service h3 {
		font-size: 24px;
	}

	.service p {
		font-size: 15px;
	}
}

@media (min-width: 992px) {
	.services-box {
		font-size: 0;
	}

	.service {
		display: inline-block;
		width: 50%;
		vertical-align: top;
	}
}

@media (min-width: 1200px) {
	.hero-text h1 {
		font-size: 68px;
	}

	.hero-text p {
		font-size: 20px;
	}
}