/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@600;700&display=swap');

/* --- CSS Variables --- */
:root {
	--color-background: #f7f7f7;
	--color-text: #2e2e2e;
	--color-primary: #00a79d;
	--color-light-gray: #e0e0e0;
	--color-white: #ffffff;

	--font-headings: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;

	--header-height: 80px;
}

/* --- Global Styles & Resets --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-headings);
	font-weight: 600;
}

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

a:hover {
	color: #007a72; /* Darker shade of primary */
}

ul {
	list-style: none;
}

.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* --- Header --- */
.header {
	background-color: var(--color-white);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
}

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

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--color-text);
	font-family: var(--font-headings);
	font-size: 1.5rem;
	font-weight: 700;
}

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

.logo__icon {
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav__link {
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text);
	position: relative;
	padding: 5px 0;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--color-primary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.header__burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
}

.header__burger-line {
	display: block;
	width: 25px;
	height: 2px;
	background-color: var(--color-text);
	margin: 5px 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Main Content Placeholder --- */
.main {
	padding-top: var(--header-height);
	min-height: calc(100vh - 200px); /* Temp height */
}

/* --- Footer --- */
.footer {
	background-color: #242424;
	color: var(--color-background);
	padding-top: 60px;
}

.footer__container {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 40px;
	padding-bottom: 60px;
}

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

.footer__column--brand .logo {
	color: var(--color-white);
}

.footer__tagline {
	margin-top: 15px;
	color: #cccccc;
	max-width: 250px;
}

.footer__heading {
	font-size: 1.1rem;
	margin-bottom: 20px;
	color: var(--color-white);
}

.footer__list li {
	margin-bottom: 10px;
}

.footer__address {
	color: #cccccc;
	line-height: 1.7;
}

.footer__bottom {
	border-top: 1px solid #444;
	padding: 20px 0;
	text-align: center;
	font-size: 0.9rem;
	color: #cccccc;
}

/* --- Responsive (Mobile-First approach) --- */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px 30px;
	}
}

@media (max-width: 768px) {
	.header__nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: var(--color-white);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
	}

	.header__nav--mobile-active {
		transform: translateX(0);
	}

	.nav__list {
		margin-top: 80px;
		flex-direction: column;
		gap: 40px;
	}

	.nav__link {
		font-size: 1.5rem;
	}

	.header__burger {
		display: block;
	}

	.header__burger--active .header__burger-line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.header__burger--active .header__burger-line:nth-child(2) {
		opacity: 0;
	}
	.header__burger--active .header__burger-line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

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

	.footer__column--brand {
		align-items: center;
	}
	.footer__tagline {
		margin-left: auto;
		margin-right: auto;
	}
}

/* --- Button --- */
.btn {
	display: inline-block;
	padding: 14px 32px;
	font-family: var(--font-headings);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
}

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.btn--primary:hover {
	color: var(--color-white);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 167, 157, 0.2);
}

/* --- Hero Section --- */
.hero {
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--header-height));
	padding: 80px 0;
}

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

.hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
}

.hero__subtitle {
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 40px;
	max-width: 500px;
	color: #555;
}

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

.hero__img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
	.hero__title {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero {
		min-height: auto;
		padding: 60px 0;
		text-align: center;
	}

	.hero__container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__visual {
		order: -1; /* Image appears above text on mobile */
	}

	.hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}
}

/* --- Reusable Section Styles --- */
.section {
	padding: 80px 0;
}

.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.section-header__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 15px;
}

.section-header__subtitle {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.7;
}

/* --- Audit Section --- */
.audit {
	background-color: var(--color-white);
}

.audit__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.audit-card {
	background-color: var(--color-background);
	padding: 40px;
	border-radius: 12px;
	border: 1px solid var(--color-light-gray);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.audit-card__icon {
	color: var(--color-primary);
	margin-bottom: 20px;
}

.audit-card__icon svg {
	width: 48px;
	height: 48px;
}

.audit-card__title {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.audit-card__description {
	font-size: 1rem;
	color: #555;
}

/* --- Responsive Adjustments for Sections --- */
@media (max-width: 992px) {
	.section {
		padding: 70px 0;
	}

	.audit__grid {
		grid-template-columns: 1fr; /* Stack on tablets as well for better readability */
	}
}

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

	.section-header {
		margin-bottom: 40px;
	}

	.section-header__title {
		font-size: 2rem;
	}
}

/* --- Reusable Section Modifier --- */
.section-header--left-aligned {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

/* --- Strategy Section --- */
.strategy__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr; /* Give more space to text */
	align-items: center;
	gap: 60px;
}

.strategy__visual {
	width: 100%;
}

.strategy__img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

.strategy-list {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.strategy-list__item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.strategy-list__icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 167, 157, 0.1); /* Light primary color */
	color: var(--color-primary);
	border-radius: 50%;
}

.strategy-list__icon svg {
	width: 24px;
	height: 24px;
}

.strategy-list__text h4 {
	font-family: var(--font-headings);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 5px;
}

.strategy-list__text p {
	color: #555;
	line-height: 1.6;
}

/* --- Responsive Adjustments for Strategy Section --- */
@media (max-width: 992px) {
	.strategy__grid {
		gap: 40px;
		grid-template-columns: 1fr;
	}

	.strategy__visual {
		max-width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.section-header--left-aligned {
		text-align: center;
	}
}

/* --- Cases Section --- */
.cases {
	background-color: var(--color-white);
}

.cases-slider {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
}

.cases-slider__wrapper {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cases-slider__slide {
	flex: 0 0 100%;
	width: 100%;
	padding: 40px;
	background-color: var(--color-background);
	border: 1px solid var(--color-light-gray);
	border-radius: 12px;
}

.cases-slider__title {
	font-size: 1.5rem;
	font-family: var(--font-headings);
	text-align: center;
	margin-bottom: 30px;
}

.cases-slider__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cases-slider__point strong {
	font-family: var(--font-headings);
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 5px;
	display: block;
}

.cases-slider__point p {
	color: #555;
}

.cases-slider__nav {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	left: -5px;
	right: -5px;
	transform: translateY(-50%);
	pointer-events: none; /* Allows clicks to go through the container */
}

.cases-slider__btn {
	pointer-events: all; /* Make buttons clickable */
	background-color: var(--color-white);
	border: 1px solid var(--color-light-gray);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--color-text);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.cases-slider__btn:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.cases-slider__pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.cases-slider__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background-color: var(--color-light-gray);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.cases-slider__dot--active {
	background-color: var(--color-primary);
}

/* Responsive for Cases Section */
@media (max-width: 992px) {
	.cases-slider__nav {
		left: -10px;
		right: -10px;
	}
}
@media (max-width: 768px) {
	.cases-slider__slide {
		padding: 30px;
	}
	.cases-slider__nav {
		display: none; /* Hide arrows on mobile, use pagination dots */
	}
}

/* --- Button Secondary Style --- */
.btn--secondary {
	background-color: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 167, 157, 0.15);
}

/* --- Blog Section --- */
.blog {
	/* No specific background, uses default body background */
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.blog-card {
	display: block;
	text-decoration: none;
	background-color: var(--color-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--color-light-gray);
	color: var(--color-text);
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	color: var(--color-text);
}

.blog-card__image-wrapper {
	overflow: hidden;
}

.blog-card__image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
	transform: scale(1.05);
}

.blog-card__content {
	padding: 25px;
}

.blog-card__category {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 10px;
}

.blog-card__title {
	font-family: var(--font-headings);
	font-size: 1.25rem;
	line-height: 1.4;
	margin-bottom: 15px;
	/* To prevent title from breaking card layout if it's too long */
	min-height: 100px;
}

.blog-card__date {
	font-size: 0.875rem;
	color: #777;
}

.blog__footer {
	text-align: center;
	margin-top: 60px;
}

/* --- Responsive for Blog Section --- */
@media (max-width: 992px) {
	.blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.blog__grid {
		grid-template-columns: 1fr;
	}
	.blog-card__title {
		min-height: auto;
	}
}

/* --- Contact Section --- */
.contact {
	background-color: var(--color-white);
}

.contact__wrapper {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

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

.form-label {
	font-weight: 500;
	margin-bottom: 8px;
	font-size: 0.9rem;
}

.form-input {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--color-light-gray);
	border-radius: 8px;
	font-size: 1rem;
	font-family: var(--font-body);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.2);
}

.form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.form-checkbox {
	margin-top: 5px;
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
}

.form-label-checkbox {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.5;
}
.form-label-checkbox a {
	text-decoration: underline;
}

.btn--full-width {
	width: 100%;
	padding-top: 16px;
	padding-bottom: 16px;
	margin-top: 10px;
}

/* Success Message */
.form-success-message {
	display: none; /* Initially hidden */
	text-align: center;
	padding: 40px;
	border: 1px solid var(--color-light-gray);
	border-radius: 12px;
}
.form-success-message--visible {
	display: block;
}

.form-success-message__icon {
	color: var(--color-primary);
	margin-bottom: 20px;
}
.form-success-message__icon svg {
	width: 60px;
	height: 60px;
}
.form-success-message__title {
	font-size: 1.8rem;
	margin-bottom: 10px;
}
.form-success-message__text {
	font-size: 1.1rem;
	color: #555;
}

/* --- Cookie Pop-up --- */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	max-width: 400px;
	background-color: #2e2e2e;
	color: var(--color-white);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	z-index: 2000;
	display: flex;
	align-items: center;
	gap: 20px;

	/* Initial state for animation */
	visibility: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cookie-popup--visible {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

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

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

.btn--small {
	padding: 8px 16px;
	font-size: 0.9rem;
	flex-shrink: 0; /* Prevents button from shrinking */
}

@media (max-width: 768px) {
	.cookie-popup {
		left: 15px;
		right: 15px;
		bottom: 15px;
		max-width: none;
	}
}

/* --- Static Pages (Privacy, Terms, etc.) --- */
.pages {
	background-color: var(--color-white);
	padding: 120px 0;
}

.pages .container {
	max-width: 800px; /* Narrower container for better readability */
}

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

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

.pages p,
.pages li {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #444;
}

.pages p {
	margin-bottom: 20px;
}

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

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

.pages li {
	margin-bottom: 10px;
}

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