:root {
	--bs-secondary: #fd7e14;
	--bs-body-color: #000 !important;
	--bs-navbar-color: #004a8f !important;
	--blue-color: #004a8f;
	--orange-color: #f08718;
	--red-color: #d70000;
	--gap-y: 0px;
	--accordion-border-color: var(--bs-body-color);
	--accordion-button-color: var(--bs-body-color);
	--accordion-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.blur-div {
	background: rgba(255, 255, 255, 0.2); /* Полупрозрачный фон */
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px); /* Поддержка Safari */
	border-radius: 15px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
	background-color: var(--blue-color);
}

.text-blue {
	color: var(--blue-color);
}

.text-orange {
	color: var(--orange-color);
}

.form-label {
	color: #6c757d;
	font-size: 14px;
}

.bold-red {
	color: var(--red-color);
	font-weight: 800;
}

.bold-blue {
	color: var(--red-color);
	font-weight: 800;
}

body {
	position: relative;
	scroll-padding-top: 87px;
	margin-top: 87px;
	/* margin: 0; */
	font-family: 'Manrope', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 18px;
}

/* Navbar */
.navbar {
	z-index: 900;
}

.navbar-nav .nav-link {
	color: var(--blue-color);
	cursor: pointer;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
	/* color: #ffae00 !important; */
	color: var(--blue-color);
	font-weight: 600;
}

.navbar-brand img {
	height: 60px;
	margin-right: 10px;
}

/* Кнопка "↑ Top" */
#btnTop {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	display: none;
	background-color: var(--red-color);
	border: none;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	font-size: 1.5rem;
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 4px 8px rgb(0 0 0 / 0.3);
	transition: opacity 0.3s ease;
	z-index: 1100;
	user-select: none;
}

#btnTop.show {
	display: block;
	opacity: 1;
}

#btnTop.hide {
	opacity: 0;
	pointer-events: none;
}

/* Футер */
footer {
	background-color: var(--blue-color);
	color: #ccc;
	padding: 1rem 1rem 1rem;
	font-size: 0.9rem;
}

footer a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
	color: #ffae00;
	text-decoration: underline;
}

.footer-col {
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.footer-col {
		margin-bottom: 0;
	}
}

.top-work {
	font-weight: 700;
	font-size: calc(1.25rem + 2.5vw) !important;
	/* font-size: 96px; */
	/* line-height: 131px; */
	-webkit-text-stroke: 1px #e3e3e3;
	color: #d70000;

	/* border: 1px solid #3f3f3f; */
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

.top1 {
	font-weight: 700;
	font-size: calc(1.25rem + 2.5vw) !important;
	/* font-size: 96px; */
	/* line-height: 131px; */
	-webkit-text-stroke: 1px #e3e3e3;
	color: #d70000;

	/* border: 1px solid #3f3f3f; */
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

.top2 {
	font-weight: 700;
	font-size: 48px;
	line-height: 250px;
	-webkit-text-stroke: 1px #424242;

	color: #ffffff;

	/* border: 2px solid #424242; */
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

section,
header {
	margin-top: var(--gap-y);
	margin-bottom: var(--gap-y);
	min-height: 100vh;
	/* padding: 5rem 1rem 3rem; */
	display: flex;
	align-items: center;
}

section#error {
	min-height: 0;
	margin-top: 100px;
	margin-bottom: 100px;
}

/* Фон затемнение для читаемости текста */
/* section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 0;
} */

section > div {
	position: relative;
	z-index: 1;
}

section h1 {
	margin-bottom: 1rem;

	color: var(--red-color);
	/* -webkit-text-stroke: 1px #a85f13; */
	font-size: 32px;
	font-weight: 800;
	line-height: 44px;
}

section p {
	color: var(--bs-body-color);

	font-weight: 500;
	font-size: 18px;
	line-height: 25px;
}

.list-head {
	font-weight: 600;
}

#header {
	background: url('../img/top-page-bg.jpg') no-repeat center center;
	/* background-image: url('../img/top-page-bg.jpg') no-repeat right center; */
	background-size: cover;
}

#company {
	/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/04.jpg') no-repeat right center;
	background-size: cover;
}

#expertise {
	/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/expertise-bg-r.jpg') no-repeat right center;
	background-size: cover;
}

#experience {
	/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/experience-bg-r.jpg') no-repeat right center;
	background-size: cover;
}

#services {
	/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/03.jpg') no-repeat center bottom;
	background-size: cover;
}

#projects {
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/10.jpg') no-repeat center center;
	background-size: cover;
}

#certificates {
	background:
		linear-gradient(to right, white 40%, rgba(255, 255, 255, 0) 80%),
		/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
		linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 5%),
		/* linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 5%), */
		url('../img/07.jpg') no-repeat center center;
	background-size: cover;
}

#career {
	/* background-color: rgba(255, 255, 255, 0.8); */
	background:
		linear-gradient(
			90deg,
			#f5f9fc 12.53%,
			rgba(255, 255, 255, 0.65) 18.68%,
			rgba(255, 255, 255, 0.65) 80.93%,
			#f5f9fc 89.15%
		),
		/* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 70%), */
		url('../img/05.jpg') no-repeat center center/cover;
	background-attachment: fixed;
}

.form-label {
	font-weight: 300;
	font-size: 14px;
	line-height: 17px;
	color: #000000;
}

.form-control {
	background: #ffffff;
	border: 1px solid #848484;
	border-radius: 8px;
}

/* Мобильная версия */
@media (max-width: 576px) {
	section[id] {
		display: block;
		padding-top: 20px;
		/* padding-bottom: 40px; */
		text-align: center;
		min-height: 0;
		background: none !important;
	}

	/* header {
		display: block;
		padding-top: 40px;
		padding-bottom: 40px;
		text-align: center;
		min-height: 0;
	} */

	/* ul {
		list-style: none;
	} */

	.top1 {
		/* color: #0e5da7; */
		font-size: calc(1.325rem + 0.9vw) !important;
		/* line-height: 28px; */
		/* -webkit-text-stroke: 1px #6c9dca; */
	}

	.top2 {
		/* color: #f08718; */
		/* font-size: 24px;
		line-height: 28px; */
		/* -webkit-text-stroke: 1px #a85f13; */
	}

	/* #company {
		background: linear-gradient(to bottom,
				white 40%,
				rgba(255, 255, 255, 0.1) 80%),
			url('../img/company-bg.jpg') no-repeat center bottom;
		background-size: cover;
	}

	#expertise {
		background: linear-gradient(to bottom,
				white 40%,
				rgba(255, 255, 255, 0.1) 80%),
			url('../img/expertise-bg.jpg') no-repeat left bottom;
		background-size: cover;
	}

	#experience {
		background: linear-gradient(to bottom,
				white 40%,
				rgba(255, 255, 255, 0.1) 80%),
			url('../img/experience-bg.jpg');
		background-size: cover;
	} */

	/* #services {
		background: linear-gradient(to bottom,
				white 40%,
				rgba(255, 255, 255, 0.1) 80%),
			url('../img/services-bg.jpg') no-repeat left bottom;
		background-size: cover;
	} */

	/* section#services {
		background-image: none;
	} */

	/* #header {
		background: url('../img/top-page-bg-m.jpg') no-repeat center / contain;
		/* background-image: url('../img/top-page-bg-m.jpg');
		background-size: cover;
		width: 100%;
		aspect-ratio: 3 / 2;
	} */

	#company::before {
		content: '';
		display: block;
		width: 100%;
		height: auto;
		background: url('../img/company-bg.jpg') no-repeat center / contain;
		padding-top: 66.67%;
	}

	#expertise::before {
		content: '';
		display: block;
		width: 100%;
		height: auto;
		background: url('../img/expertise-bg.jpg') no-repeat center / contain;
		padding-top: 66.67%;
	}

	#experience::before {
		content: '';
		display: block;
		width: 100%;
		height: auto;
		background: url('../img/experience-bg.jpg') no-repeat center / contain;
		padding-top: 66.67%;
	}

	#services::before {
		content: '';
		display: block;
		width: 100%;
		height: auto;
		background: url('../img/services-bg.jpg') no-repeat center / contain;
		padding-top: 66.67%;
	}

	#projects::before {
		content: '';
		display: block;
		width: 100%;
		height: auto;
		background: url('../img/projects-bg.jpg') no-repeat center / contain;
		padding-top: 66.67%;
	}

	/* #projects {
		background: linear-gradient(to bottom,
				white 40%,
				rgba(255, 255, 255, 0.1) 80%),
			url('../img/projects-bg.jpg');
		background-size: cover;
	} */
}

/* Стили для прозрачного аккордеона */
.accordion-flush .accordion-item:first-child {
	border-top: 1px solid var(--accordion-border-color);
}

.accordion-item {
	background-color: transparent;
	border: none;
	border-top: 1px solid var(--accordion-border-color);
	border-bottom: 1px solid var(--accordion-border-color);
}

.accordion-button {
	color: var(--accordion-button-color);
	background-color: transparent;
	box-shadow: none;
	font-weight: bold;

	padding: 12px 0;
}

.accordion-button:not(.collapsed) {
	color: var(--accordion-button-color);
	background-color: transparent;
	box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
	background: var(--accordion-icon);
}

.accordion-body {
	background-color: transparent;

	padding: 0 0 12px 0;
}
