* {
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: #f0f2f5;
	color: #333333;
}


h1,
h2,
h3 {
	font-family: 'Montserrat', sans-serif;
	color: #000000;
}

.content-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 40px;
}

.text-content {
	flex: 1;
}

.image-content {
	flex: 1;
	text-align: center;
}

.main-image {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.header {
	background-color: #ffffff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 20px;
}

.logo {
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
	color: #333333;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 25px;
}

.nav-link {
	text-decoration: none;
	color: #555555;
	font-weight: 700;
	transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
	color: #007bff;
}

/* Block 1 - hero section */
.block-1 {
	background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
	padding: 80px 0;
}

/* Block 2 */
.block-2 {
	background-color: #ffffff;
	padding: 60px 0;
}

.block-2 .content-container {
	flex-direction: row-reverse;
}

/* Block 3 */
.block-3 {
	background: #f0f2f5;
	padding: 60px 0;
}

/* Block 4 - form */
.block-4 {
	background-color: #e6eef5;
	padding: 60px 0;
	text-align: center;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: #ffffff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
	text-align: left;
}

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

.form-group input {
	width: 100%;
	padding: 12px;
	border: 1px solid #cccccc;
	border-radius: 8px;
	font-size: 16px;
}

.contact-form button {
	background-color: #007bff;
	color: #ffffff;
	border: none;
	padding: 15px 30px;
	font-size: 18px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.contact-form button:hover {
	background-color: #0056b3;
}

/* Block 5 - table */
.block-5 {
	background-color: #ffffff;
	padding: 60px 0;
}

.table-container {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.responsive-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 700px;
}

.responsive-table th,
.responsive-table td {
	padding: 15px;
	text-align: left;
	border: 1px solid #e0e0e0;
}

.responsive-table th {
	background-color: #007bff;
	color: #ffffff;
	text-transform: uppercase;
}

.responsive-table tr:nth-child(even) {
	background-color: #f8f9fa;
}

/* Block 6 */
.block-6 {
	background-color: #f0f2f5;
	padding: 60px 0;
}

/* FAQ page styles */
.faq-block-1 {
	background-color: #ffffff;
	padding: 80px 0;
}

.faq-item {
	background-color: #f8f9fa;
	padding: 25px;
	border-left: 2px solid #007bff;
	border-right: 2px solid #007bff;
	margin-bottom: 20px;
	border-radius: 8px;
}

.faq-item h3 {
	margin-top: 0;
	color: #007bff;
	font-size: 20px;
}

.faq-block-2 {
	background: #e3f2fd;
	padding: 60px 0;
}

.faq-block-3 {
	background-color: #ffffff;
	padding: 60px 0;
	text-align: center;
}

.footer {
	background-color: #333333;
	color: #ffffff;
	text-align: center;
	padding: 20px;
}

@media (max-width: 768px) {
	.nav-links {
		padding-left: 0;
	}
	.content-container {
		flex-direction: column;
	}

	.content-container.reverse-order {
		flex-direction: column;
	}

	.navbar {
		flex-direction: column;
		padding: 10px 20px;
	}

	.nav-links {
		margin-top: 10px;
	}

	.hero-section {
		padding: 50px 0;
	}

	.hero-section h1 {
		font-size: 32px;
	}

	.contact-form {
		padding: 20px;
	}

	.faq-block-2 .content-container {
		flex-direction: column;
	}
}
.flex-container {
	max-width: 1280px;
	padding: 40px 15px;
	margin: 0 auto;
}
.flex-container h1 {
	text-align: center;
}
.container {
	text-align: center;
	padding: 20px 15px;
}

@media (max-width: 768px) {
	.responsive-table {
		/* Убираем минимальную ширину, чтобы таблица могла полностью адаптироваться */
		min-width: 100%;
	}

	/* Превращаем таблицу в блочные элементы для вертикального стекирования */
	.responsive-table,
	.responsive-table thead,
	.responsive-table tbody,
	.responsive-table th,
	.responsive-table td,
	.responsive-table tr {
		display: block;
	}

	/* Скрываем заголовки таблицы, так как они будут отображаться в каждой ячейке */
	.responsive-table thead {
		display: none;
	}

	/* Добавляем отступы между строками для лучшей читаемости */
	.responsive-table tr {
		margin-bottom: 20px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		overflow: hidden;
	}

	/* Стили для ячеек, которые теперь выглядят как строки */
	.responsive-table td {
		border-bottom: 1px solid #e0e0e0;
		position: relative;
		padding-left: 50%; /* Добавляем место для псевдоэлемента с заголовком */
		text-align: right;
		font-size: 14px;
		word-wrap: break-word; /* Перенос длинных слов */
	}

	/* Создаем псевдоэлемент, который будет содержать заголовок столбца */
	.responsive-table td:before {
		content: attr(data-label);
		position: absolute;
		left: 15px;
		top: 50%;
		transform: translateY(-50%);
		width: 45%;
		text-align: left;
		font-weight: bold;
		color: #007bff;
		text-transform: uppercase;
	}

	/* Убираем нижнюю границу у последней ячейки в строке */
	.responsive-table tr td:last-child {
		border-bottom: none;
	}
}
