/* GLOBAL STYLES */
:root {
	--color-primary: #0a2647;
	--color-secondary: #1c6758;
	--color-background-light: #f5f5f5;
	--color-white: #ffffff;
	--color-text: #1b1b1b;

	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'Lato', sans-serif;

	--container-width: 1200px;
	--container-padding: 1.5rem;

	--transition-speed: 0.3s ease;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-secondary);
	color: var(--color-text);
	background-color: var(--color-white);
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-primary);
	color: var(--color-primary);
	line-height: 1.2;
	margin-bottom: 1rem;
}

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

a:hover {
	color: var(--color-primary);
}

ul {
	list-style: none;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* HEADER */
.header {
	background-color: var(--color-white);
	padding: 1rem 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-primary);
}

.header__logo span {
	color: var(--color-primary);
}

.nav__list {
	display: flex;
	gap: 2rem;
}

.nav__link {
	font-weight: 600;
	color: var(--color-primary);
	position: relative;
	padding: 0.25rem 0;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-secondary);
	transition: width var(--transition-speed);
}

.nav__link:hover::after {
	width: 100%;
}

/* BURGER MENU */
.burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
}

.burger__line {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--color-primary);
	margin: 5px 0;
	transition: all var(--transition-speed);
}

/* MAIN CONTENT - Placeholder */
.main {
	padding-top: 80px; /* Adjust based on header height */
}

/* FOOTER */
.footer {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 4rem 0 2rem;
	margin-top: 4rem;
}

.footer a {
	color: #a7b7d7;
}

.footer a:hover {
	color: var(--color-white);
}

.footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
	gap: 2.5rem;
	margin-bottom: 3rem;
}

.footer__col--brand .logo {
	margin-bottom: 1rem;
}
.footer__logo span {
	color: var(--color-white);
}

.footer__text {
	color: #a7b7d7;
	max-width: 300px;
}

.footer__title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-white);
	margin-bottom: 1.25rem;
}

.footer__list li {
	margin-bottom: 0.75rem;
}

.footer__list--contacts li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.footer__list--contacts .lucide {
	flex-shrink: 0;
	margin-top: 4px;
	width: 18px;
	height: 18px;
}

.footer__bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	color: #a7b7d7;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.nav {
		padding-top: 80px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--color-white);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right var(--transition-speed);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	}

	.nav.is-active {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		text-align: center;
		gap: 2.5rem;
	}

	.nav__link {
		font-size: 1.2rem;
	}

	.burger {
		display: block;
	}

	.burger.is-active .burger__line:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.burger.is-active .burger__line:nth-child(2) {
		opacity: 0;
	}
	.burger.is-active .burger__line:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer__col--brand .logo,
	.footer__list--contacts li {
		justify-content: center;
	}

	.footer__text {
		margin: 0 auto 2rem;
	}
}

/* GENERAL PURPOSE CLASSES */
.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 1rem;
	color: var(--color-white);
	background-color: var(--color-secondary);
	border-radius: 50px;
	text-align: center;
	border: 2px solid transparent;
	transition: all var(--transition-speed);
}

.btn:hover {
	background-color: transparent;
	border-color: var(--color-secondary);
	color: var(--color-secondary);
}

/* HERO SECTION */
.hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: 120px 0 60px;
	overflow: hidden;
	background-color: #f9fafb;
}

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

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3rem;
}

.hero__content {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero__content.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.hero__description {
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	max-width: 550px;
	color: #4b5563;
}

.hero__cta {
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
}

.hero__image-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

/* RESPONSIVE FOR HERO */
@media (max-width: 992px) {
	.hero__title {
		font-size: 1.5rem;
	}
	.hero__description {
		font-size: 1.1rem;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 100px 0 40px;
		min-height: auto;
		text-align: center;
	}
	.hero__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.hero__description {
		margin-left: auto;
		margin-right: auto;
	}
	.hero__image-wrapper {
		order: -1; /* Image will be on top on mobile */
		margin-bottom: 2rem;
	}
}
/* GENERAL SECTION STYLES */
.section {
	padding: 5rem 0;
}

.section__title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	text-align: center;
}

.section__description {
	font-size: 1.1rem;
	color: #4b5563;
	max-width: 700px;
	margin: 0 auto 3rem auto;
	text-align: center;
}

/* TECHNOLOGY SECTION */
.tech {
	background-color: var(--color-white);
}

.tech__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 4rem;
}

.tech__image-wrapper {
	width: 100%;
}

.tech__image {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(10, 38, 71, 0.1);
}

.tech__content .section__title,
.tech__content .section__description {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.tech__content .section__description {
	margin-bottom: 2.5rem;
}

.tech__features-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.tech__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.tech__feature-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	color: var(--color-secondary);
	background-color: #e8f5e9;
	padding: 8px;
	border-radius: 50%;
}

.tech__feature-item h3 {
	margin-bottom: 0.25rem;
	color: var(--color-primary);
	font-size: 1.2rem;
}

.tech__feature-item p {
	color: #4b5563;
}

/* RESPONSIVE FOR TECHNOLOGY SECTION */
@media (max-width: 992px) {
	.section {
		padding: 4rem 0;
	}
	.section__title {
		font-size: 2.2rem;
	}
	.tech__grid {
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.tech__grid {
		grid-template-columns: 1fr;
	}
	.tech__content {
		margin-top: 2rem;
	}
	.tech__content .section__title,
	.tech__content .section__description {
		text-align: center;
	}
}

/* BENEFITS SECTION */
.benefits {
	background-color: var(--color-background-light);
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 4rem;
}

.benefit-card {
	background-color: var(--color-white);
	padding: 2.5rem 2rem;
	border-radius: 16px;
	text-align: center;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 12px rgba(10, 38, 71, 0.05);
	transition: transform var(--transition-speed),
		box-shadow var(--transition-speed);
}

.benefit-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(10, 38, 71, 0.1);
}

.benefit-card__icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var(--color-secondary);
	color: var(--color-white);
	margin-bottom: 1.5rem;
}

.benefit-card__icon .lucide {
	width: 32px;
	height: 32px;
}

.benefit-card__title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--color-primary);
}

.benefit-card__description {
	color: #4b5563;
	line-height: 1.7;
}

/* RESPONSIVE FOR BENEFITS SECTION */
@media (max-width: 992px) {
	.benefits__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.benefit-card {
		padding: 2rem 1.5rem;
	}
	.benefit-card__title {
		font-size: 1.3rem;
	}
}

/* PROCESS SECTION */
.process {
	background-color: var(--color-white);
}

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 4rem auto 0;
	padding: 2rem 0;
}

/* The vertical line */
.process__timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: var(--color-secondary);
	opacity: 0.2;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

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

/* The circle on the timeline */
.process__item::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: var(--color-white);
	border: 4px solid var(--color-secondary);
	top: 30px;
	border-radius: 50%;
	z-index: 1;
}

/* Positioning items */
.process__item:nth-child(odd) {
	left: 0;
}

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

/* Positioning circles for even items */
.process__item:nth-child(even)::after {
	left: -10px;
}

.process__content {
	padding: 1.5rem 2rem;
	background-color: var(--color-background-light);
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	position: relative;
}

.process__step {
	display: inline-block;
	font-family: var(--font-primary);
	font-weight: 600;
	color: var(--color-secondary);
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.process__title {
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}

.process__text {
	color: #4b5563;
}

/* RESPONSIVE FOR PROCESS SECTION */
@media (max-width: 768px) {
	.process__timeline::after {
		left: 20px;
	}

	.process__item {
		width: 100%;
		padding-left: 50px;
		padding-right: 15px;
	}

	.process__item:nth-child(odd),
	.process__item:nth-child(even) {
		left: 0;
	}

	.process__item::after,
	.process__item:nth-child(even)::after {
		left: 10px;
	}
}

/* FAQ SECTION */
.faq {
	background-color: var(--color-background-light);
}

.faq__accordion {
	max-width: 800px;
	margin: 4rem auto 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq__item {
	background-color: var(--color-white);
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	overflow: hidden;
}

.faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 600;
	font-family: var(--font-primary);
	color: var(--color-primary);
	list-style: none; /* Remove default marker */
}

.faq__question::-webkit-details-marker {
	display: none; /* Hide for Chrome, Safari */
}

.faq__icon {
	transition: transform var(--transition-speed);
	color: var(--color-secondary);
}

.faq__item[open] .faq__icon {
	transform: rotate(45deg);
}

.faq__answer {
	padding: 0 1.5rem 1.5rem;
	color: #4b5563;
	line-height: 1.7;
	overflow: hidden;
	transition: all var(--transition-speed);
}

/* Accordion animation */
details .faq__answer {
	max-height: 0;
	opacity: 0;
	transform: translateY(-10px);
	transition: max-height 0.5s ease-out, opacity 0.5s ease-out,
		transform 0.5s ease-out;
}

details[open] .faq__answer {
	max-height: 500px; /* Adjust if content is longer */
	opacity: 1;
	transform: translateY(0);
}

/* CONTACT SECTION */
.contact {
	background-color: var(--color-white);
}

.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 4rem;
	background-color: var(--color-background-light);
	padding: 4rem;
	border-radius: 20px;
}

.contact__info .section__title,
.contact__info .section__description {
	text-align: left;
	margin: 0;
}

.contact__info .section__title {
	margin-bottom: 1.5rem;
}

.contact__form-wrapper {
	position: relative;
}

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

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

.form-label {
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-primary);
}

.form-control {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	font-family: var(--font-secondary);
	transition: border-color var(--transition-speed),
		box-shadow var(--transition-speed);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 3px rgba(28, 103, 88, 0.2);
}

.form-group--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
}

.form-group--checkbox input[type='checkbox'] {
	width: 1.2em;
	height: 1.2em;
	accent-color: var(--color-secondary);
}

.form-group--checkbox label {
	margin: 0;
	color: #4b5563;
}

.contact__btn {
	width: 100%;
	padding: 1rem;
	font-size: 1.1rem;
	margin-top: 1rem;
}

.success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 2rem;
}

.success-message.is-visible {
	display: block;
}

.success-message .lucide {
	width: 60px;
	height: 60px;
	color: var(--color-secondary);
	margin-bottom: 1rem;
}

.success-message h3 {
	font-size: 1.8rem;
	color: var(--color-primary);
}

.success-message p {
	font-size: 1.1rem;
	color: #4b5563;
}

/* RESPONSIVE FOR CONTACT SECTION */
@media (max-width: 992px) {
	.contact__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding: 2.5rem;
	}
	.contact__info .section__title,
	.contact__info .section__description {
		text-align: center;
	}
}

/* GENERAL PURPOSE CLASSES - Add modifier */
.btn--light {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-white);
}

.btn--light:hover {
	background-color: transparent;
	color: var(--color-white);
}

/* COOKIE POPUP */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 1rem 0;
	z-index: 1100;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(100%);
	transition: transform 0.5s ease-in-out;
}

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

.cookie-popup__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.cookie-popup__text {
	margin: 0;
}

.cookie-popup__text a {
	color: var(--color-white);
	text-decoration: underline;
	font-weight: 600;
}

.cookie-popup__text a:hover {
	text-decoration: none;
}

.cookie-popup__btn {
	flex-shrink: 0; /* Prevent button from shrinking */
}

/* RESPONSIVE FOR COOKIE POPUP */
@media (max-width: 768px) {
	.cookie-popup__container {
		flex-direction: column;
		text-align: center;
	}
}

/* ======================================== */
/* STATIC PAGES STYLES             */
/* (privacy.html, terms.html, etc.)       */
/* ======================================== */

.pages {
	padding: 120px 0 80px; /* Extra top padding for the fixed header */
	background-color: var(--color-white);
}

.pages .container {
	max-width: 800px; /* Optimal width for reading text */
}

.pages h1 {
	font-size: 1.5rem;
	font-family: var(--font-primary);
	text-align: center;
	margin-bottom: 2.5rem;
	color: var(--color-primary);
}

.pages h2 {
	font-size: 1.5rem;
	font-family: var(--font-primary);
	color: var(--color-primary);
	margin-top: 3rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e5e7eb;
}

.pages p,
.pages li {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: 1.25rem;
}

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

.pages strong {
	font-weight: 700;
	color: var(--color-primary);
}

.pages a {
	color: var(--color-secondary);
	text-decoration: underline;
	font-weight: 600;
}

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

@media (max-width: 768px) {
	.pages {
		padding: 100px 0 60px;
	}
	.pages h1 {
		font-size: 2.2rem;
	}
	.pages h2 {
		font-size: 1.6rem;
	}
	.pages p,
	.pages li {
		font-size: 1rem;
	}
}
