/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700&family=Inter:wght@400;500&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
	--header-height: 5rem;

	/* Colors */
	--primary-color: #4f46e5;
	--primary-color-hover: #4338ca;
	--text-color: #111827;
	--text-color-light: #6b7280;
	--body-color: #f9fafb;
	--container-color: #ffffff;
	--border-color: #e5e7eb;

	/* Fonts */
	--body-font: 'Inter', sans-serif;
	--title-font: 'Plus Jakarta Sans', sans-serif;
	--normal-font-size: 1rem;
	--small-font-size: 0.875rem;
	--h1-font-size: 2.5rem;
	--h2-font-size: 2rem;
	--h3-font-size: 1.25rem;
}

@media screen and (max-width: 768px) {
	:root {
		--normal-font-size: 0.938rem;
		--h1-font-size: 2rem;
		--h2-font-size: 1.5rem;
		--h3-font-size: 1.125rem;
	}
}

@media screen and (max-width: 480px) {
	:root {
		--normal-font-size: 0.875rem;
		--h1-font-size: 1.75rem;
		--h2-font-size: 1.375rem;
		--h3-font-size: 1rem;
		--small-font-size: 0.8125rem;
	}
}

@media screen and (max-width: 360px) {
	:root {
		--h1-font-size: 1.625rem;
		--h2-font-size: 1.25rem;
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	background-color: var(--body-color);
	color: var(--text-color);
}

h1,
h2,
h3 {
	font-family: var(--title-font);
	color: var(--text-color);
	font-weight: 700;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--text-color);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.container {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media screen and (max-width: 480px) {
	.container {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

@media screen and (max-width: 360px) {
	.container {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

/* ==================== HEADER ==================== */
.header {
	width: 100%;
	background-color: var(--body-color);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	border-bottom: 1px solid var(--border-color);
}

.header__container {
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--title-font);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--text-color);
}

.logo__img {
	width: 32px;
	height: 32px;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.header__nav-link {
	font-size: var(--normal-font-size);
	font-weight: 500;
	color: var(--text-color-light);
	transition: color 0.3s ease;
}

.header__nav-link:hover {
	color: var(--primary-color);
}

.header__nav-link--button {
	background-color: var(--primary-color);
	color: white;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	transition: background-color 0.3s ease;
}

.header__nav-link--button:hover {
	background-color: var(--primary-color-hover);
	color: white;
}

.header__burger {
	display: none;
	cursor: pointer;
	background: none;
	border: none;
	color: var(--text-color);
}

/* Mobile navigation */
@media screen and (max-width: 768px) {
	.header__nav {
		position: fixed;
		top: var(--header-height);
		right: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--body-color);
		padding: 2rem;
		transition: right 0.4s ease;
		z-index: 99;
		border-top: 1px solid var(--border-color);
	}

	.header__nav.header__nav--show {
		right: 0;
	}

	.header__nav-list {
		flex-direction: column;
		gap: 2.5rem;
		text-align: center;
		padding-top: 2rem;
	}

	.header__nav-link {
		font-size: var(--h3-font-size);
		padding: 0.75rem 1rem;
		border-radius: 6px;
		display: block;
		min-height: 44px; /* Touch target size */
		line-height: 1.4;
	}

	.header__nav-link--button {
		padding: 1rem 1.5rem;
		min-height: 48px;
	}

	.header__burger {
		display: block;
		padding: 0.5rem;
		min-height: 44px;
		min-width: 44px;
	}

	.header__burger svg {
		width: 24px;
		height: 24px;
	}
}

@media screen and (max-width: 480px) {
	.header {
		--header-height: 4rem;
	}

	.header__container {
		height: var(--header-height);
	}

	.header__nav {
		padding: 1.5rem;
	}

	.header__nav-list {
		gap: 2rem;
		padding-top: 1.5rem;
	}

	.logo {
		font-size: 1.125rem;
	}

	.logo__img {
		width: 28px;
		height: 28px;
	}
}

@media screen and (max-width: 360px) {
	.header__nav {
		padding: 1rem;
	}

	.header__nav-list {
		gap: 1.5rem;
		padding-top: 1rem;
	}

	.header__nav-link {
		font-size: 1rem;
	}
}

/* ==================== FOOTER ==================== */
.footer {
	background-color: var(--container-color);
	padding-top: 4rem;
	border-top: 1px solid var(--border-color);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	padding-bottom: 3rem;
}

@media screen and (max-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 1.5rem;
		padding-bottom: 2rem;
	}

	.footer {
		padding-top: 3rem;
	}
}

@media screen and (max-width: 480px) {
	.footer__container {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer {
		padding-top: 2.5rem;
	}

	.footer__list--contacts {
		text-align: left;
	}

	.footer__link--icon {
		justify-content: center;
	}
}

@media screen and (max-width: 360px) {
	.footer__container {
		gap: 1.5rem;
	}

	.footer {
		padding-top: 2rem;
	}
}

.footer__column--about .footer__logo {
	margin-bottom: 1rem;
}

.footer__description {
	color: var(--text-color-light);
	font-size: var(--small-font-size);
	line-height: 1.6;
}

.footer__title {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer__link {
	color: var(--text-color-light);
	font-size: var(--small-font-size);
	transition: color 0.3s ease;
}

.footer__link:hover {
	color: var(--primary-color);
}

.footer__link--icon {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.footer__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.footer__bottom {
	padding: 1.5rem 0;
	border-top: 1px solid var(--border-color);
}

.footer__bottom-container {
	text-align: center;
	color: var(--text-color-light);
	font-size: var(--small-font-size);
}

/* ==================== HERO ==================== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding-top: var(--header-height);
	background-color: var(--body-color);
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero__container {
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero__content {
	max-width: 750px;
	margin: 0 auto;
}

.hero__title {
	font-size: 3.5rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero__description {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--text-color-light);
	margin-bottom: 2.5rem;
}

.hero__button {
	display: inline-block;
	background-color: var(--primary-color);
	color: white;
	padding: 1rem 2rem;
	border-radius: 8px;
	font-weight: 500;
	font-size: 1.1rem;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero__button:hover {
	background-color: var(--primary-color-hover);
	transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
	.hero {
		min-height: 500px;
		padding-top: calc(var(--header-height) + 1rem);
		padding-bottom: 2rem;
	}

	.hero__title {
		font-size: 2.5rem;
		margin-bottom: 1rem;
	}

	.hero__description {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.hero__button {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.hero {
		min-height: 400px;
		padding-top: calc(var(--header-height) + 0.5rem);
	}

	.hero__title {
		font-size: var(--h1-font-size);
		line-height: 1.1;
		margin-bottom: 0.75rem;
	}

	.hero__description {
		font-size: var(--normal-font-size);
		margin-bottom: 1.5rem;
	}

	.hero__button {
		padding: 0.75rem 1.25rem;
		font-size: 0.938rem;
		min-height: 44px; /* Touch target size */
	}
}

@media screen and (max-width: 360px) {
	.hero {
		min-height: 350px;
	}

	.hero__content {
		max-width: 100%;
	}
}

/* ==================== REUSABLE SECTION STYLES ==================== */
.section {
	padding: 6rem 0 4rem;
	background-color: var(--container-color);
}

@media screen and (max-width: 768px) {
	.section {
		padding: 4rem 0 3rem;
	}
}

@media screen and (max-width: 480px) {
	.section {
		padding: 3rem 0 2rem;
	}

	.section__header {
		margin-bottom: 2rem;
	}

	.section__title {
		margin-bottom: 0.5rem;
	}
}

@media screen and (max-width: 360px) {
	.section {
		padding: 2.5rem 0 1.5rem;
	}

	.section__header {
		margin-bottom: 1.5rem;
	}
}
.section:nth-of-type(odd) {
	/* Чередуем фон для секций */
	background-color: var(--body-color);
}

.section__header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.section__title {
	font-size: var(--h2-font-size);
	margin-bottom: 0.75rem;
}

.section__subtitle {
	color: var(--text-color-light);
	line-height: 1.6;
}

/* ==================== BIOTECH ==================== */
.biotech__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: 3rem;
}

.biotech__image-wrapper {
	border-radius: 12px;
	overflow: hidden;
}

.biotech__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.biotech__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.biotech__card {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1.5rem;
	background-color: var(--body-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biotech__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.biotech__card-icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	background-color: #eef2ff; /* Light indigo */
	color: var(--primary-color);
	border-radius: 50%;
}

.biotech__card-icon svg {
	width: 24px;
	height: 24px;
}

.biotech__card-title {
	font-size: var(--h3-font-size);
	margin-bottom: 0.5rem;
}

.biotech__card-description {
	color: var(--text-color-light);
	font-size: var(--small-font-size);
	line-height: 1.6;
}

@media screen and (max-width: 992px) {
	.biotech__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media screen and (max-width: 768px) {
	.biotech__grid {
		gap: 1.5rem;
	}

	.biotech__card {
		padding: 1.25rem;
		gap: 1.25rem;
	}

	.biotech__card-icon {
		width: 45px;
		height: 45px;
	}

	.biotech__card-icon svg {
		width: 20px;
		height: 20px;
	}
}

@media screen and (max-width: 480px) {
	.biotech__card {
		padding: 1rem;
		gap: 1rem;
		flex-direction: column;
		text-align: center;
	}

	.biotech__card-icon {
		width: 40px;
		height: 40px;
		align-self: center;
	}

	.biotech__card-title {
		font-size: 1.125rem;
	}
}

@media screen and (max-width: 360px) {
	.biotech__card {
		padding: 0.875rem;
	}

	.biotech__card-icon {
		width: 36px;
		height: 36px;
	}

	.biotech__card-icon svg {
		width: 18px;
		height: 18px;
	}

	.biotech__card-title {
		font-size: 1rem;
	}
}

/* ==================== NEURAL NETWORKS (TABS) ==================== */
.neuro__tabs-header {
	display: flex;
	justify-content: center;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 2rem;
	overflow-x: auto;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}

.neuro__tabs-header::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.neuro__tab-button {
	border: none;
	background: none;
	padding: 1rem 1.5rem;
	font-size: var(--normal-font-size);
	font-weight: 500;
	cursor: pointer;
	color: var(--text-color-light);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px; /* Overlap border */
	transition: color 0.3s ease, border-color 0.3s ease;
	white-space: nowrap;
}

.neuro__tab-button:hover {
	color: var(--text-color);
}

.neuro__tab-button--active {
	color: var(--primary-color);
	border-bottom-color: var(--primary-color);
}

.neuro__content-pane {
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.neuro__content-pane--active {
	display: block;
	opacity: 1;
}

.neuro__pane-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3rem;
}

.neuro__pane-title {
	font-size: var(--h3-font-size);
	margin-bottom: 1rem;
}

.neuro__pane-description {
	color: var(--text-color-light);
	line-height: 1.7;
}

.neuro__pane-image img {
	border-radius: 12px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 768px) {
	.neuro__pane-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.neuro__pane-image {
		order: -1; /* Show image on top on mobile */
	}

	.neuro__tab-button {
		padding: 0.75rem 1rem;
		min-height: 44px; /* Touch target size */
		font-size: 0.938rem;
	}
}

@media screen and (max-width: 480px) {
	.neuro__pane-grid {
		gap: 1.5rem;
	}

	.neuro__tab-button {
		padding: 0.625rem 0.875rem;
		font-size: 0.875rem;
	}

	.neuro__tabs-header {
		justify-content: flex-start;
	}
}

@media screen and (max-width: 360px) {
	.neuro__tab-button {
		padding: 0.5rem 0.75rem;
		font-size: 0.8125rem;
	}
}

/* ==================== FINTECH (TIMELINE) ==================== */
.fintech__timeline {
	position: relative;
	max-width: 800px;
	margin: 2rem auto;
	padding: 2rem 0;
}

.fintech__timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: var(--border-color);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

.fintech__item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
}

/* Position the items */
.fintech__item:nth-child(odd) {
	left: 0;
}

.fintech__item:nth-child(even) {
	left: 50%;
}

/* The point on the timeline */
.fintech__item-point {
	position: absolute;
	width: 50px;
	height: 50px;
	right: -25px;
	top: 32px;
	background-color: var(--container-color);
	border: 3px solid var(--primary-color);
	border-radius: 50%;
	z-index: 10;
	display: grid;
	place-items: center;
	color: var(--primary-color);
}
.fintech__item:nth-child(even) .fintech__item-point {
	left: -25px;
}
.fintech__item-point svg {
	width: 24px;
	height: 24px;
}

/* The content card */
.fintech__item-content {
	padding: 1.5rem;
	background-color: var(--body-color);
	border: 1px solid var(--border-color);
	position: relative;
	border-radius: 10px;
}

.fintech__item-title {
	font-size: var(--h3-font-size);
	margin-bottom: 0.5rem;
}

.fintech__item-description {
	color: var(--text-color-light);
	font-size: var(--small-font-size);
	line-height: 1.6;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
	.fintech__timeline {
		margin: 1.5rem auto;
		padding: 1.5rem 0;
	}

	.fintech__timeline::after {
		left: 31px;
	}

	.fintech__item {
		width: 100%;
		padding-left: 70px;
		padding-right: 15px;
	}

	.fintech__item:nth-child(even) .fintech__item-point {
		left: 0;
	}

	.fintech__item:nth-child(even) {
		left: 0;
	}

	.fintech__item-point {
		left: 6px;
		width: 45px;
		height: 45px;
	}

	.fintech__item-point svg {
		width: 20px;
		height: 20px;
	}

	.fintech__item-content {
		padding: 1.25rem;
	}
}

@media screen and (max-width: 480px) {
	.fintech__timeline {
		margin: 1rem auto;
		padding: 1rem 0;
		max-width: 100%;
	}

	.fintech__timeline::after {
		left: 25px;
		width: 2px;
	}

	.fintech__item {
		padding-left: 60px;
		padding-right: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.fintech__item-point {
		left: 0;
		width: 40px;
		height: 40px;
		top: 20px;
	}

	.fintech__item-point svg {
		width: 18px;
		height: 18px;
	}

	.fintech__item-content {
		padding: 1rem;
	}

	.fintech__item-title {
		font-size: 1.125rem;
	}
}

@media screen and (max-width: 360px) {
	.fintech__timeline::after {
		left: 20px;
	}

	.fintech__item {
		padding-left: 50px;
	}

	.fintech__item-point {
		left: -5px;
		width: 35px;
		height: 35px;
	}

	.fintech__item-point svg {
		width: 16px;
		height: 16px;
	}

	.fintech__item-content {
		padding: 0.875rem;
	}

	.fintech__item-title {
		font-size: 1rem;
	}
}

/* ==================== AEROSPACE ==================== */
.aerospace__layout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 2rem;
	align-items: center;
	margin-top: 4rem;
}

.aerospace__center-image {
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	position: relative;
	aspect-ratio: 1 / 1;
}

.aerospace__center-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 5px solid var(--container-color);
	box-shadow: 0 0 0 5px var(--primary-color);
}

.aerospace__card {
	padding: 1.5rem;
	text-align: center;
	background-color: var(--body-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
}

.aerospace__card-icon {
	margin: 0 auto 1rem;
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	background-color: #eef2ff;
	color: var(--primary-color);
	border-radius: 50%;
}

.aerospace__card-icon svg {
	width: 24px;
	height: 24px;
}

.aerospace__card-title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.aerospace__card-description {
	color: var(--text-color-light);
	font-size: var(--small-font-size);
	line-height: 1.6;
}

/* Positioning the cards */
.aerospace__card--1 {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}
.aerospace__card--2 {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
}
.aerospace__card--3 {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}
.aerospace__card--4 {
	grid-column: 3 / 4;
	grid-row: 2 / 3;
}

@media screen and (max-width: 992px) {
	.aerospace__layout {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
	.aerospace__center-image {
		grid-column: 1 / 3;
		grid-row: 1 / 2;
		width: 50%;
		margin: 0 auto 2rem;
	}
	.aerospace__card--1 {
		grid-column: 1 / 2;
		grid-row: 2 / 3;
	}
	.aerospace__card--2 {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
	.aerospace__card--3 {
		grid-column: 1 / 2;
		grid-row: 3 / 4;
	}
	.aerospace__card--4 {
		grid-column: 2 / 3;
		grid-row: 3 / 4;
	}
}

@media screen and (max-width: 768px) {
	.aerospace__layout {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	.aerospace__center-image {
		width: 60%;
		max-width: 250px;
		margin-bottom: 1rem;
		order: -1; /* Show image first */
	}

	.aerospace__card {
		padding: 1.25rem;
	}

	.aerospace__card-icon {
		width: 45px;
		height: 45px;
		margin-bottom: 0.75rem;
	}

	.aerospace__card-icon svg {
		width: 20px;
		height: 20px;
	}

	.aerospace__card-title {
		font-size: 1.125rem;
	}
}

@media screen and (max-width: 480px) {
	.aerospace__layout {
		gap: 1.25rem;
	}

	.aerospace__center-image {
		width: 70%;
		max-width: 200px;
		margin-bottom: 0.75rem;
	}

	.aerospace__card {
		padding: 1rem;
	}

	.aerospace__card-icon {
		width: 40px;
		height: 40px;
		margin-bottom: 0.625rem;
	}

	.aerospace__card-icon svg {
		width: 18px;
		height: 18px;
	}

	.aerospace__card-title {
		font-size: 1rem;
	}
}

@media screen and (max-width: 360px) {
	.aerospace__center-image {
		width: 80%;
		max-width: 180px;
	}

	.aerospace__card {
		padding: 0.875rem;
	}

	.aerospace__card-icon {
		width: 36px;
		height: 36px;
	}

	.aerospace__card-icon svg {
		width: 16px;
		height: 16px;
	}
}

/* ==================== CONTACT ==================== */
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 3rem;
	align-items: flex-start;
	margin-top: 3rem;
}

.contact__info-title {
	font-size: var(--h3-font-size);
	margin-bottom: 1rem;
}

.contact__info-description {
	color: var(--text-color-light);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.contact__info-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--text-color);
}

.contact__info-item svg {
	color: var(--primary-color);
	width: 24px;
	height: 24px;
}

.contact__form-wrapper {
	background-color: var(--body-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 2.5rem;
}

.contact-form__group {
	margin-bottom: 1.5rem;
}

.contact-form__label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	font-size: var(--small-font-size);
}

.contact-form__input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background-color: var(--container-color);
	font-size: var(--normal-font-size);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px #e0e7ff;
}

.contact-form__group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 1rem;
}

.contact-form__checkbox {
	margin-top: 3px;
}

.contact-form__checkbox-label {
	font-size: var(--small-font-size);
	color: var(--text-color-light);
	line-height: 1.5;
}

.contact-form__checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}

.contact-form__button {
	width: 100%;
	padding: 1rem;
	border: none;
	background-color: var(--primary-color);
	color: white;
	font-size: 1.1rem;
	font-weight: 500;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.contact-form__button:hover {
	background-color: var(--primary-color-hover);
}

.contact-form__success-message {
	display: none; /* Initially hidden */
	text-align: center;
	padding: 2rem;
}

.contact-form__success-message--show {
	display: block; /* Show message */
}

.contact-form__success-icon {
	color: #10b981; /* Green */
	margin: 0 auto 1rem;
}
.contact-form__success-icon svg {
	width: 50px;
	height: 50px;
}
.contact-form__success-title {
	font-size: var(--h3-font-size);
}

@media screen and (max-width: 992px) {
	.contact__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media screen and (max-width: 768px) {
	.contact__form-wrapper {
		padding: 2rem;
	}

	.contact-form__input {
		padding: 0.875rem 1rem;
		min-height: 44px; /* Touch target size */
		font-size: 16px; /* Prevents zoom on iOS */
	}

	.contact-form__button {
		padding: 1rem;
		min-height: 48px;
		font-size: 16px;
	}

	.contact-form__checkbox {
		min-width: 18px;
		min-height: 18px;
	}
}

@media screen and (max-width: 480px) {
	.contact__grid {
		margin-top: 2rem;
		gap: 1.5rem;
	}

	.contact__form-wrapper {
		padding: 1.5rem;
	}

	.contact-form__group {
		margin-bottom: 1.25rem;
	}

	.contact-form__label {
		margin-bottom: 0.375rem;
	}

	.contact-form__group--checkbox {
		margin-top: 0.75rem;
		gap: 0.625rem;
	}

	.contact-form__checkbox-label {
		font-size: 0.8125rem;
	}
}

@media screen and (max-width: 360px) {
	.contact__form-wrapper {
		padding: 1rem;
	}

	.contact-form__group--checkbox {
		align-items: flex-start;
		gap: 0.5rem;
	}

	.contact-form__checkbox {
		margin-top: 2px;
	}
}

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
	position: fixed;
	bottom: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	z-index: 110;
	background-color: var(--container-color);
	color: var(--text-color);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	transform: translateY(200%);
	transition: transform 0.5s ease-in-out;
}

.cookie-popup--show {
	transform: translateY(0);
}

.cookie-popup__text {
	font-size: var(--small-font-size);
	color: var(--text-color-light);
}

.cookie-popup__text a {
	color: var(--primary-color);
	text-decoration: underline;
}

.cookie-popup__button {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.3s ease;
}

.cookie-popup__button:hover {
	background-color: var(--primary-color-hover);
}

@media screen and (max-width: 768px) {
	.cookie-popup {
		flex-direction: column;
		text-align: center;
		gap: 1.25rem;
	}

	.cookie-popup__button {
		min-height: 44px;
		padding: 0.75rem 1.5rem;
	}
}

@media screen and (max-width: 480px) {
	.cookie-popup {
		bottom: 1rem;
		left: 1rem;
		right: 1rem;
		padding: 1rem;
		gap: 1rem;
	}

	.cookie-popup__text {
		font-size: 0.8125rem;
		line-height: 1.5;
	}
}

@media screen and (max-width: 360px) {
	.cookie-popup {
		bottom: 0.75rem;
		left: 0.75rem;
		right: 0.75rem;
		padding: 0.875rem;
	}
}

/* ==================== STATIC PAGES (PRIVACY, TERMS, ETC.) ==================== */
.pages {
	background-color: var(--container-color);
	padding: calc(var(--header-height) + 4rem) 0 4rem; /* Add padding to offset fixed header */
}

.pages .container {
	max-width: 800px;
}

.pages h1,
.pages h2 {
	font-family: var(--title-font);
	margin-bottom: 1rem;
}

.pages h1 {
	font-size: 1.5rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 1rem;
	margin-bottom: 2rem;
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
}

.pages p {
	line-height: 1.8;
	color: var(--text-color-light);
	margin-bottom: 1.5rem;
}

.pages ul {
	list-style-type: disc;
	padding-left: 20px;
	margin-bottom: 1.5rem;
}

.pages li {
	margin-bottom: 0.75rem;
	line-height: 1.8;
	color: var(--text-color-light);
}

.pages a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

.pages a:hover {
	text-decoration: underline;
}

.pages strong {
	color: var(--text-color);
	font-weight: 500;
}
