/*=============== GLOBAL STYLES ===============*/
:root {
	--background-color: #ffffff;
	--text-color: #1a1a1a;
	--primary-color: #4f46e5;
	--secondary-color: #f3f4f6;
	--muted-color: #6b7280;
	--header-height: 4.5rem;
	--font-family: 'Inter', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

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

.container {
	max-width: 1120px;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	z-index: 100;
	border-bottom: 1px solid var(--secondary-color);
}

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

.header__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--text-color);
	transition: color 0.3s;
}

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

.header__logo span {
	font-size: 1.25rem;
}

.header__burger {
	position: relative;
	z-index: 999;
	display: none;
	cursor: pointer;
	background: none;
	border: none;
	color: var(--text-color);
}

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

.nav__link {
	position: relative;
	font-weight: 500;
	color: var(--muted-color);
	transition: color 0.3s;
}

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

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

.footer__container {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 3rem;
	grid-template-columns: repeat(1, 1fr);
}

.footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.footer__tagline {
	font-size: 0.9rem;
	color: var(--muted-color);
	max-width: 250px;
}

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

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

.footer__list--contacts {
	gap: 1rem;
}

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

.footer__list--contacts .lucide {
	color: var(--primary-color);
	flex-shrink: 0;
}

.footer__link {
	color: var(--muted-color);
	transition: color 0.3s, padding-left 0.3s;
}

.footer__link:hover {
	color: var(--primary-color);
	padding-left: 0.25rem;
}

.footer__bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
	font-size: 0.875rem;
	color: var(--muted-color);
}

/*=============== RESPONSIVE TYPOGRAPHY & LAYOUT ===============*/
@media screen and (min-width: 768px) {
	.container {
		margin-left: auto;
		margin-right: auto;
	}
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 767px) {
	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--background-color);
		padding: 4rem 2rem 2rem;
		transition: right 0.4s ease;
		box-shadow: -4px 0px 20px rgba(0, 0, 0, 0.1);
	}
	.nav--open {
		z-index: 100;
		right: 0;
	}
	.nav__list {
		flex-direction: column;
		gap: 2.5rem;
	}
	.nav__link {
		font-size: 1.2rem;
		color: var(--text-color);
	}
	.header__burger {
		display: block;
	}
	.header__burger .lucide-x {
		display: none;
	}
	.header__burger--open .lucide-menu {
		display: none;
	}
	.header__burger--open .lucide-x {
		display: block;
	}
}

@media screen and (min-width: 1024px) {
	.footer__container {
		grid-template-columns: 2fr 1fr 1fr 2fr;
	}
}

/*=============== BUTTON ===============*/
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	background-color: var(--primary-color);
	color: var(--background-color);
	font-weight: 500;
	border-radius: 0.5rem;
	transition: background-color 0.3s, transform 0.3s;
	border: none;
	cursor: pointer;
}

.button:hover {
	background-color: #4338ca; /* Slightly darker shade of primary */
	transform: translateY(-2px);
}

/*=============== HERO SECTION ===============*/
.hero {
	padding-top: calc(var(--header-height) + 3rem);
	padding-bottom: 4rem;
	overflow: hidden; /* To contain AOS animations */
}

.hero__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

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

.hero__description {
	font-size: 1.125rem;
	color: var(--muted-color);
	margin-bottom: 2.5rem;
	max-width: 500px;
}

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

.hero__image {
	width: 100%;
	max-width: 450px;
	border-radius: 1rem;
}

/*=============== RESPONSIVE (Hero) ===============*/
@media screen and (min-width: 768px) {
	.hero__container {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (min-width: 1024px) {
	.hero {
		padding-top: calc(var(--header-height) + 4rem);
		padding-bottom: 5rem;
	}
	.hero__title {
		font-size: 2.5rem;
	}
	.hero__description {
		font-size: 1.2rem;
	}
}

/*=============== REUSABLE SECTION STYLES ===============*/
.section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.section:nth-of-type(odd) {
	background-color: var(--secondary-color);
}

.section__header {
	text-align: center;
	margin-bottom: 3rem;
}

.section__title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.section__subtitle {
	font-size: 1.125rem;
	color: var(--muted-color);
	max-width: 600px;
	margin: 0 auto;
}

/*=============== CREATIVITY SECTION (TABS) ===============*/
.creativity__tabs {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.creativity__tab-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid #e5e7eb;
	background-color: var(--background-color);
	color: var(--muted-color);
	border-radius: 999px; /* Pill shape */
	cursor: pointer;
	font-weight: 500;
	transition: all 0.3s;
}

.creativity__tab-button:hover {
	background-color: var(--secondary-color);
	color: var(--text-color);
}

.creativity__tab-button--active {
	background-color: var(--primary-color);
	color: var(--background-color);
	border-color: var(--primary-color);
}

.creativity__content-wrapper {
	position: relative;
}

.creativity__content {
	display: none; /* Hidden by default */
	grid-template-columns: 1fr;
	align-items: center;
	gap: 3rem;
	animation: fadeIn 0.5s;
}

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

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

.creativity__content-text h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.creativity__content-text p {
	color: var(--muted-color);
	line-height: 1.7;
}

.creativity__content-image img {
	border-radius: 0.75rem;
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
}

/*=============== RESPONSIVE (Creativity) ===============*/
@media screen and (min-width: 768px) {
	.section {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	.creativity__content {
		grid-template-columns: 1fr 1fr;
	}
	.creativity__content-image {
		order: 1; /* Image on the right */
	}
	.creativity__content:nth-child(odd) .creativity__content-image {
		order: -1; /* Image on the left for variety */
	}
}

/*=============== DAILY LIFE SECTION (ACCORDION) ===============*/
.daily-life__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.accordion__item {
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.accordion__item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.accordion__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 0.5rem 0;
}

.accordion__header h3 {
	font-size: 1.25rem;
	font-weight: 500;
}

.accordion__icon {
	transition: transform 0.4s;
}

.accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out;
}

.accordion__content p {
	padding-top: 0.5rem;
	color: var(--muted-color);
}

/* Accordion open state */
.accordion__item--open .accordion__icon {
	transform: rotate(180deg);
}

.daily-life__image {
	width: 100%;
	max-width: 450px;
	border-radius: 0.75rem;
	margin: 0 auto;
}

/*=============== RESPONSIVE (Daily Life) ===============*/
@media screen and (min-width: 768px) {
	.daily-life__container {
		grid-template-columns: 1fr 1fr;
	}
}

/*=============== WORK SECTION (CARDS) ===============*/
.work__container {
	display: grid;
	gap: 2rem;
}

.work__card {
	background-color: var(--background-color);
	padding: 2.5rem 2rem;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

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

.work__card-icon {
	display: inline-flex;
	padding: 1rem;
	background-color: var(--secondary-color);
	border-radius: 50%;
	margin-bottom: 1.5rem;
}

.work__card-icon .lucide {
	width: 28px;
	height: 28px;
	color: var(--primary-color);
}

.work__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.work__card-description {
	color: var(--muted-color);
	line-height: 1.6;
}

/*=============== RESPONSIVE (Work) ===============*/
@media screen and (min-width: 768px) {
	.work__container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*=============== LEARNING SECTION (FEATURE LIST) ===============*/
.learning__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.learning__image {
	width: 100%;
	max-width: 450px;
	border-radius: 0.75rem;
	margin: 0 auto;
}

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

.learning__item {
	display: flex;
	gap: 1.5rem;
}

.learning__item-icon {
	flex-shrink: 0;
}

.learning__item-icon .lucide {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
}

.learning__item-text h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.learning__item-text p {
	color: var(--muted-color);
}

/*=============== RESPONSIVE (Learning) ===============*/
@media screen and (min-width: 768px) {
	.learning__container {
		grid-template-columns: 1fr 1fr;
	}
}

/*=============== CONTACT SECTION (FORM) ===============*/
.contact__container {
	display: grid;
	gap: 3rem;
}

.contact__info h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.contact__info p {
	color: var(--muted-color);
	margin-bottom: 2rem;
}

.contact__info-image img {
	border-radius: 0.75rem;
	width: 100%;
	max-width: 350px;
}

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

.form__group {
	display: flex;
	flex-direction: column;
}

.form__label {
	font-weight: 500;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.form__input {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: var(--font-family);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input::placeholder {
	color: #9ca3af;
}

.form__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form__group--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
}

.form__checkbox-input {
	display: none; /* Hide default checkbox */
}

.form__checkbox-box {
	width: 20px;
	height: 20px;
	border: 2px solid #e5e7eb;
	border-radius: 0.25rem;
	display: inline-block;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
	position: relative;
}

.form__checkbox-input:checked + .form__checkbox-label .form__checkbox-box {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form__checkbox-input:checked
	+ .form__checkbox-label
	.form__checkbox-box::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.form__checkbox-label {
	/* display: flex; */
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: var(--muted-color);
	cursor: pointer;
}

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

.contact__button {
	width: 100%;
}

.form__message {
	text-align: center;
	font-weight: 500;
}

.form__message--success {
	color: #16a34a;
}

.form__message--error {
	color: #dc2626;
}

/*=============== RESPONSIVE (Contact) ===============*/
@media screen and (min-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr 1.2fr;
		align-items: center;
	}
}

/*=============== COOKIE BANNER ===============*/
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--background-color);
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
	padding: 1rem 0;
	transform: translateY(0);
	transition: transform 0.4s ease-out;
	z-index: 200;
}

.cookie-banner--hidden {
	transform: translateY(100%);
}

.cookie-banner__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.cookie-banner__text {
	color: var(--muted-color);
	font-size: 0.9rem;
}

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

.cookie-banner__button {
	padding: 0.6rem 1.2rem;
	flex-shrink: 0;
}

/*=============== POLICY PAGES STYLES ===============*/
.pages {
	padding-top: calc(var(--header-height) + 3rem);
	padding-bottom: 4rem;
}

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

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

.pages p {
	color: var(--muted-color);
	line-height: 1.7;
	margin-bottom: 1rem;
}

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

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

.pages li {
	margin-bottom: 0.5rem;
	color: var(--muted-color);
}

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

@media screen and (min-width: 768px) {
	.pages {
		padding-top: calc(var(--header-height) + 4rem);
		padding-bottom: 6rem;
	}
}
