/* G L O B A L S */
:root {
	--color-bg: #0d1b2a;
	--color-text: #e0e1dd;
	--color-text-secondary: #778da9;
	--color-primary: #415a77;
	--color-accent: #00b4d8;
	--font-family-base: 'Inter', sans-serif;
	--font-family-heading: 'Manrope', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family-base);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-heading);
	color: var(--color-text);
	line-height: 1.2;
	font-weight: 600;
}

a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.3s ease;
}

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

ul {
	list-style: none;
}

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

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* H E A D E R */
.header {
	padding: 20px 0;
	background-color: var(--color-bg);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	border-bottom: 1px solid var(--color-primary);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-family-heading);
	font-weight: 800;
	font-size: 24px;
}

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

.nav__list {
	display: flex;
	gap: 30px;
}

.nav__link {
	font-size: 16px;
	font-weight: 500;
	position: relative;
	padding-bottom: 5px;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--color-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease-out;
}

.nav__link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* B U R G E R */
.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 10;
}

.burger__line {
	width: 100%;
	height: 3px;
	background-color: var(--color-text);
	border-radius: 3px;
	transition: all 0.3s ease;
}

/* F O O T E R */
.footer {
	padding: 60px 0 0;
	background-color: #08121e; /* Slightly darker than body bg */
	border-top: 1px solid var(--color-primary);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer__description {
	color: var(--color-text-secondary);
	margin-top: 15px;
	max-width: 250px;
}

.footer__title {
	font-size: 20px;
	margin-bottom: 20px;
	color: var(--color-text);
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__link {
	color: var(--color-text-secondary);
}

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

.footer__item--contact {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.footer__icon {
	width: 20px;
	height: 20px;
	color: var(--color-accent);
	flex-shrink: 0;
	margin-top: 2px;
}

.footer__address {
	font-style: normal;
	color: var(--color-text-secondary);
}

.footer__bottom {
	padding: 20px 0;
	border-top: 1px solid var(--color-primary);
	text-align: center;
}

.footer__copyright {
	font-size: 14px;
	color: var(--color-text-secondary);
}

/* R E S P O N S I V E */
@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: var(--color-bg);
		transform: translateX(-100%);
		transition: transform 0.3s ease-in-out;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.nav--open {
		transform: translateX(0);
	}

	.nav__list {
		flex-direction: column;
		text-align: center;
		gap: 40px;
	}

	.nav__link {
		font-size: 24px;
	}

	.burger {
		display: flex;
	}

	/* Burger animation */
	.burger--active .burger__line:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.burger--active .burger__line:nth-child(2) {
		opacity: 0;
	}
	.burger--active .burger__line:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}

/* H E R O */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	padding-top: 80px; /* Header height */
	overflow: hidden;
}

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

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

.hero__content {
	max-width: 1000px;
	margin: 0 auto;
	opacity: 0; /* For JS fade-in */
	animation: fadeIn 1s 0.5s forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero__title {
	font-size: 52px;
	font-weight: 800;
	margin-bottom: 20px;
}

.hero__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
	margin-bottom: 40px;
	max-width: 500px;
}

.btn {
	display: inline-block;
	padding: 15px 35px;
	background-color: var(--color-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border-radius: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

/* R E S P O N S I V E for Hero */
@media (max-width: 768px) {
	.hero {
		text-align: center;
		min-height: 700px;
	}

	.hero__content {
		max-width: 100%;
	}

	.hero__title {
		font-size: 36px;
	}

	.hero__subtitle {
		font-size: 16px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* G E N E R A L  S E C T I O N  S T Y L E S */
.section {
	padding: 80px 0;
}

.section__title {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 15px;
	line-height: 1.3;
}

.section__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
	max-width: 600px;
}

.section__subtitle a {
	color: var(--color-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* A B O U T */
.about {
	background-color: #08121e; /* Slightly darker than body bg for contrast */
}

.about__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.card {
	background-color: var(--color-bg);
	padding: 25px;
	border-radius: 12px;
	border: 1px solid var(--color-primary);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card__icon-wrapper {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: rgba(0, 180, 216, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.card__icon {
	width: 24px;
	height: 24px;
	color: var(--color-accent);
}

.card__title {
	font-size: 22px;
	margin-bottom: 10px;
}

.card__text {
	color: var(--color-text-secondary);
	font-size: 15px;
}

/* R E S P O N S I V E for About */
@media (max-width: 992px) {
	.about__container {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.about__content {
		text-align: center;
	}

	.section__subtitle {
		margin: 0 auto;
	}
}

@media (max-width: 576px) {
	.section {
		padding: 60px 0;
	}

	.section__title {
		font-size: 32px;
	}

	.section__subtitle {
		font-size: 16px;
	}
}

/* F E A T U R E S (TABS) */
.features {
	background-color: var(--color-bg);
}

.section__header {
	text-align: center;
	margin-bottom: 50px;
}

.section__header .section__subtitle {
	margin: 0 auto;
}

.tabs__nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 40px;
}

.tabs__btn {
	padding: 12px 25px;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text-secondary);
	background-color: transparent;
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tabs__btn:hover {
	background-color: var(--color-primary);
	color: var(--color-text);
}

.tabs__btn--active {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

.tabs__panel {
	display: none; /* Hidden by default */
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
	animation: fadeIn 0.5s ease-in-out;
}

.tabs__panel--active {
	display: grid; /* Shown when active */
}

.tabs__panel-title {
	font-size: 32px;
	margin-bottom: 20px;
}

.tabs__panel-text {
	color: var(--color-text-secondary);
	margin-bottom: 30px;
}

.tabs__panel-image img {
	border-radius: 12px;
}

/* R E S P O N S I V E for Features */
@media (max-width: 992px) {
	.tabs__panel {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tabs__panel-image {
		grid-row: 1 / 2; /* Move image to the top */
		margin-bottom: 30px;
	}

	.tabs__panel-content {
		max-width: 600px;
		margin: 0 auto;
	}
}

@media (max-width: 576px) {
	.tabs__nav {
		flex-direction: column;
		align-items: stretch;
	}

	.tabs__btn {
		width: 100%;
	}

	.tabs__panel-title {
		font-size: 26px;
	}
}

/* B E N E F I T S */
.benefits {
	background-color: #08121e; /* Alternating background color */
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.benefit-item {
	position: relative;
	padding: 30px;
	background-color: var(--color-bg);
	border: 1px solid var(--color-primary);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-item__number {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 80px;
	font-weight: 800;
	color: rgba(65, 90, 119, 0.2);
	z-index: 1;
	line-height: 1;
	user-select: none;
}

.benefit-item__content {
	position: relative;
	z-index: 2;
}

.benefit-item__title {
	font-size: 24px;
	margin-bottom: 15px;
}

.benefit-item__text {
	color: var(--color-text-secondary);
}

/* R E S P O N S I V E for Benefits */
@media (max-width: 992px) {
	.benefits__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 576px) {
	.benefits__grid {
		grid-template-columns: 1fr;
	}

	.benefit-item__title {
		font-size: 22px;
	}
}

/* R E V I E W S */
.reviews {
	background-color: var(--color-bg);
}

.swiper {
	width: 100%;
	padding: 20px 0 50px; /* Extra padding for pagination */
}

.swiper-slide {
	display: flex;
	justify-content: center;
}

.review-card {
	background-color: #08121e;
	border: 1px solid var(--color-primary);
	border-radius: 12px;
	padding: 30px;
	/* max-width: 800px; */
	width: 100%;
}

.review-card__icon {
	color: var(--color-accent);
	width: 32px;
	height: 32px;
	margin-bottom: 20px;
}

.review-card__text {
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 30px;
	color: var(--color-text);
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.review-card__avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.review-card__author-name {
	font-size: 18px;
	font-weight: 700;
}

.review-card__author-location {
	font-size: 14px;
	color: var(--color-text-secondary);
}

/* Swiper custom styles */
.swiper-pagination-bullet {
	background-color: var(--color-primary);
	opacity: 0.7;
}

.swiper-pagination-bullet-active {
	background-color: var(--color-accent);
	opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
	color: var(--color-accent);
	width: 50px !important;
	height: 50px !important;
	background-color: rgba(65, 90, 119, 0.3);
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background-color: rgba(65, 90, 119, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 20px !important;
	font-weight: bold;
}

@media (max-width: 768px) {
	.swiper-button-next,
	.swiper-button-prev {
		display: none !important;
	}

	.review-card__text {
		font-size: 16px;
	}
}

/* C O N T A C T */
.contact {
	background-color: #08121e;
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	background-color: var(--color-bg);
	padding: 50px;
	border-radius: 12px;
	border: 1px solid var(--color-primary);
}

.contact__info-title {
	font-size: 28px;
	margin-bottom: 20px;
}

.contact__info-text {
	color: var(--color-text-secondary);
	margin-bottom: 30px;
}

.contact__info-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.contact__info-item a {
	font-size: 18px;
}

.contact__info-icon {
	width: 24px;
	height: 24px;
	color: var(--color-accent);
}

/* FORM STYLES */
.form__group {
	position: relative;
	margin-bottom: 25px;
}

.form__input {
	width: 100%;
	padding: 15px;
	background-color: #08121e;
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	color: var(--color-text);
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form__input:focus {
	outline: none;
	border-color: var(--color-accent);
}

.form__label {
	position: absolute;
	top: 16px;
	left: 15px;
	color: var(--color-text-secondary);
	pointer-events: none;
	transition: all 0.3s ease;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
	top: -10px;
	left: 12px;
	font-size: 12px;
	color: var(--color-accent);
	background-color: var(--color-bg);
	padding: 0 5px;
}

.form__btn {
	width: 100%;
	border: none;
	cursor: pointer;
}

/* Custom Checkbox */
.form__group--checkbox {
	display: flex;
	align-items: center;
	gap: 12px;
}
.form__checkbox-input {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid var(--color-primary);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	top: -2px;
	flex-shrink: 0;
}
.form__checkbox-input:checked {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
}
.form__checkbox-input:checked::after {
	content: '✔';
	color: #fff;
	font-size: 14px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.form__checkbox-label {
	color: var(--color-text-secondary);
	font-size: 14px;
}
.form__checkbox-label a {
	color: var(--color-accent);
	text-decoration: underline;
}

/* Success Message */
.form__success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 40px;
}
.form__success-icon {
	width: 60px;
	height: 60px;
	color: #2ecc71;
	margin-bottom: 20px;
}
.form__success-title {
	font-size: 28px;
	margin-bottom: 10px;
}
.form__success-text {
	color: var(--color-text-secondary);
}

/* R E S P O N S I V E for Contact */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 576px) {
	.contact__wrapper {
		padding: 30px 20px;
	}
}

/* C O O K I E  P O P - U P */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Hidden by default */
	left: 0;
	width: 100%;
	background-color: #08121e;
	padding: 20px;
	border-top: 1px solid var(--color-primary);
	z-index: 1100;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup--show {
	bottom: 0; /* Shown when active */
}

.cookie-popup__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	gap: 20px;
}

.cookie-popup__text {
	color: var(--color-text-secondary);
}

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

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

@media (max-width: 768px) {
	.cookie-popup__content {
		flex-direction: column;
		text-align: center;
	}
}

/* P O L I C Y / T E R M S  P A G E S */
.pages {
	padding: 120px 0 80px; /* Extra top padding to account for fixed header */
}

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

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
}

.pages p {
	color: var(--color-text-secondary);
	margin-bottom: 20px;
	line-height: 1.8;
}

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

.pages li {
	margin-bottom: 10px;
	color: var(--color-text-secondary);
}

.pages a {
	color: var(--color-accent);
	text-decoration: underline;
}

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