* {
	box-sizing: border-box;
}
html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	line-height: 1.6;
}
::-webkit-scrollbar {
	display: none;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #003c71;
	color: white;
	padding: 15px 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: transform 0.3s ease;
}

.logo {
	width: 40px;
	height: 70px;
}

nav ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

nav ul li {
	margin: 0 20px;
}

nav ul li a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: #ffdd57;
}

.apply-button {
	background-color: #ffdd57;
	color: #003c71;
	border: none;
	padding: 10px 25px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 30px;
	transition: background-color 0.3s ease;
}

.apply-button:hover {
	background-color: #ffcb45;
}

.hero {
	width: 100%;
	background: linear-gradient(rgba(0, 60, 113, 0.8), rgba(0, 60, 113, 0.8)),
		url('https://example.com/hero-bg.jpg') center/cover no-repeat;
	color: white;
	padding: 100px 20px;
	text-align: center;
	position: relative;
}

.hero h1 {
	font-size: 2.8rem;
}

.hero p {
	font-size: 1.2rem;
}

.learn-more {
	position: absolute;
	transform: translate(-50%);
	margin-top: 20px;
	background-color: #ffdd57;
	color: #003c71;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 30px;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.learn-more:hover {
	background-color: #ffcb45;
}

section {
	padding: 20px 20px;
	margin: 20px 0;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
	color: #003c71;
	font-size: 2rem;
	margin-bottom: 20px;
}

h3 {
	color: #003c71;
}

#second__title {
	font-size: 1.5rem;
}

ul {
	padding: 0;
	list-style-type: none; /* Убираем точки */
}

ul li {
	font-size: 1.1rem;
	margin: 10px 0;
}

ul li a {
	color: #003c71; /* Цвет ссылок */
	text-decoration: none;
}

ul li a:hover {
	text-decoration: underline; /* Подчеркнут при наведении */
}

footer {
	background-color: #003c71;
	color: white;
	text-align: center;
	padding: 30px 0;
}

footer p {
	margin: 0;
	font-size: 1rem;
}

.social-media a {
	margin: 0 15px;
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	transition: color 0.3s ease;
}

.social-media a:hover {
	color: #ffdd57;
}

.compound__items {
	display: block;
	color: #003c71;
	text-decoration: none;
}

.compound__items ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.compound__items li {
	display: inline-block;
	padding: 5px 0;
	border-bottom: 1px solid #e0e0e0;
	transition: background-color 0.3s ease;
}

.compound__items li:last-child {
	border-bottom: none;
}

.compound__items li a {
	color: #003c71;
	text-decoration: none;
}

.compound__items li:hover {
	background-color: #ffdd575e;
	cursor: pointer;
}

.news-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
}

.news-card {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transition: transform 0.3s ease;
	perspective: 1000px;
	text-decoration: none;
	color: inherit;
}

.news-card:hover {
	transform: scale(1.05) rotateY(10deg);
	background-color: #f0f0f0;
}

.news-card h3 {
	margin: 0 0 10px;
	color: #003c71;
}

.news-card p {
	margin: 0;
	color: #555;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}

.modal-content {
	background-color: #fff;
	padding: 20px;
	border: 1px solid #888;
	width: 300px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	position: relative;
}

.close {
	color: #aaa;
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

form {
	display: flex;
	flex-direction: column;
}

input {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
}

button {
	padding: 10px 20px;
	background-color: #003c71;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

button:hover {
	background-color: #005b9f;
}

#success-message {
	margin-top: 10px;
	font-size: 16px;
	color: green;
	display: none;
}

.burger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	transition: transform 0.3s ease;
	width: 30px;
}

.burger.active .line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger.active .line:nth-child(2) {
	opacity: 0;
}

.burger.active .line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.burger .line {
	height: 4px;
	width: 100%;
	background: white;
	margin: 2px 0;
	transition: all 0.3s ease;
}

#vk_comments {
	max-width: 100%;
	margin: 0 auto;
}
.vk_comments_cont {
	width: 100%;
}


@media (max-width: 1000px) {
	header {
		position: absolute;
		width: 100%;
		box-sizing: border-box;
	}
	nav ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background-color: #003c71;
	}
	nav ul.active {
		top: 0;
		position: absolute;
		display: flex;
	}
	#nav-links li {
		margin: 10px 20px;
	}

	.burger {
		z-index: 1000;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.apply-button {
		display: none;
	}

	.hero {
		width: 100%;
		background: linear-gradient(rgba(0, 60, 113, 0.8), rgba(0, 60, 113, 0.8)),
			url('https://example.com/hero-bg.jpg') center/cover no-repeat;
		color: white;
		padding: 100px 20px;
		text-align: center;
		position: relative;
	}

	.compound__items li {
		display: inline-block;
	}
	#links__id {
		position: relative;
		margin-top: 10px;
	}
}

@media (max-width: 600px) {
	.hero h1 {
		font-size: 1.8rem;
	}

	.hero p {
		font-size: 1rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	h3 {
		font-size: 1.2rem;
	}

	ul li {
		font-size: 1rem;
	}

	footer p {
		font-size: 0.9rem;
	}

	.news-card h3 {
		font-size: 1.5rem;
	}
}

@media (min-width: 601px) and (max-width: 1024px) {
	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	ul li {
		font-size: 1.1rem;
	}

	footer p {
		font-size: 1rem;
	}

	.news-card h3 {
		font-size: 1.8rem;
	}
}

@media (min-width: 1025px) {
	.hero h1 {
		font-size: 2.8rem;
	}

	.hero p {
		font-size: 1.2rem;
	}
	h2 {
		font-size: 2rem;
	}

	h3 {
		font-size: 1.6rem;
	}

	ul li {
		font-size: 1.1rem;
	}

	footer p {
		font-size: 1rem;
	}

	.news-card h3 {
		font-size: 2rem;
	}
}
