/********** Template CSS **********/
:root {
	--primary: #8e193e;
	--light: #f8fff3;
	--dark: #340b2a;
}

.fw-medium {
	font-weight: 500 !important;
}

.fw-semi-bold {
	font-weight: 600 !important;
}

.error-message {
	color: #dc3545;
	font-size: 0.875rem;
	margin-top: 0.5rem;
	margin-bottom: 0;
	min-height: 1.2rem;
	display: block;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.error-message:not(:empty) {
	opacity: 1;
}

/* Додатковий стиль для полів з помилками */
.form-control.error {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.back-to-top {
	position: fixed;
	display: none;
	right: 45px;
	bottom: 45px;
	z-index: 99;
}

/*** Spinner ***/
#spinner {
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.5s ease-out,
		visibility 0s linear 0.5s;
	z-index: 99999;
}

#spinner.show {
	transition:
		opacity 0.5s ease-out,
		visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

/*** Button ***/
.btn {
	font-weight: 500;
	text-transform: uppercase;
	transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
	color: #ffffff;
}

.btn-square {
	width: 38px;
	height: 38px;
}

.btn-sm-square {
	width: 32px;
	height: 32px;
}

.btn-lg-square {
	width: 48px;
	height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
	border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
	margin-right: 30px;
	padding: 25px 0;
	color: #ffffff;
	font-size: 15px;
	text-transform: uppercase;
	outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
	color: #dc3545;
}

@media (max-width: 991.98px) {
	.navbar-dark .navbar-nav .nav-link {
		margin-right: 0;
		padding: 10px 0;
	}
}
:root {
	--bg-color: #f8fffc;
	--accent-color: #19428e;
	--text-color: #666565;
	--white: #ffffff;
}

/* Footer Styles */
.footer {
	background-color: var(--dark) !important;
	color: #ffffff;
	padding: 3rem 0 1rem;
}

.footer-brand {
	color: #ffffff !important;
	font-size: 1.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-brand:hover {
	color: #ffffff !important;
	transform: translateY(-2px);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.btn-link {
	color: #ffffff !important;
	text-decoration: none;
	padding: 0.5rem 0;
	border: none;
	text-align: left;
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

.btn-link:hover {
	color: #dc3545 !important;
	transform: translateX(5px);
}

.footer-email {
	color: #ffffff;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-email-icon {
	color: var(--accent-color);
	font-size: 1.2rem;
}

.footer-section-title {
	color: #e7e7e7;
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

/* Copyright section */
.footer-bottom {
	border-top: 1px solid #34495e;
	padding-top: 1.5rem;
	margin-top: 2rem;
	text-align: center;
	color: #bdc3c7;
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	.footer {
		padding: 2rem 0 1rem;
	}

	.footer-brand {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.footer-links {
		margin-bottom: 1.5rem;
	}
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
	.cookie-wrapper {
		width: 100%;
	}
}

.cookie-wrapper {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 420px;
	max-width: 95vw;
	background: #fff;
	border-radius: 18px;
	box-shadow:
		0 8px 32px rgba(25, 66, 142, 0.12),
		0 1.5px 6px rgba(25, 66, 142, 0.08);
	padding: 28px 32px 22px;
	border: 1.5px solid #e1e8ed;
	transition:
		box-shadow 0.3s,
		right 0.3s,
		bottom 0.3s;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cookie-wrapper.thanks {
	border: 2.5px solid #19428e;
	box-shadow:
		0 8px 32px rgba(25, 66, 142, 0.18),
		0 1.5px 6px rgba(25, 66, 142, 0.1);
}

.cookie-wrapper .bx-cookie,
.cookie-wrapper i.bx-cookie {
	font-size: 2.5rem;
	color: #19428e;
	margin-bottom: 8px;
}

.cookie-wrapper h2 {
	color: #19428e;
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: center;
}

.cookie-wrapper .data {
	text-align: center;
	margin-bottom: 18px;
}

.cookie-wrapper .data p {
	color: #333;
	font-size: 1rem;
	margin-bottom: 0;
}

.cookie-wrapper .data p a {
	color: #19428e;
	text-decoration: underline;
	font-weight: 500;
}

.cookie-wrapper .buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	width: 100%;
	margin-top: 10px;
}

.cookie-wrapper .cookie-button {
	border: none;
	color: #fff;
	background: #19428e;
	font-weight: 600;
	font-size: 1rem;
	padding: 10px 28px;
	border-radius: 6px;
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s,
		box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(25, 66, 142, 0.08);
	outline: none;
}

.cookie-wrapper .cookie-button#acceptBtn:hover {
	background: #fff;
	color: #19428e;
	border: 1.5px solid #19428e;
}

.cookie-wrapper .cookie-button#declineBtn {
	background: #fff;
	color: #19428e;
	border: 1.5px solid #19428e;
}

.cookie-wrapper .cookie-button#declineBtn:hover {
	background: #19428e;
	color: #fff;
}

@media (max-width: 600px) {
	.cookie-wrapper {
		right: 0;
		left: 0;
		bottom: 0;
		width: 100vw;
		max-width: 100vw;
		border-radius: 0;
		padding: 18px 8px 14px;
	}
	.cookie-wrapper .buttons {
		flex-direction: column;
		gap: 10px;
	}
	.cookie-wrapper .cookie-button {
		width: 100%;
		font-size: 1rem;
		padding: 12px 0;
	}
}

.hidden {
	display: none;
}

header i {
	color: #19428e;
	font-size: 32px;
	text-align: center;
}

header h2 {
	color: #19428e;
	font-weight: 500;
	text-align: center;
}

.data {
	text-align: center;
}

.data p a {
	color: #19428e;
	text-decoration: none;
	text-align: center !important;
}

.data p a:hover {
	text-decoration: underline;
}

.buttons {
	padding: 20px 0px;
	text-align: center;
}

.buttons .cookie-button {
	border: 2px solid #19428e;
	color: #fff;
	padding: 8px 0;
	background: #19428e;
	cursor: pointer;
	width: calc(100% / 2 - 10px);
	transition: all 0.5s ease;
	max-width: 150px;
	border-radius: 0;
}

.buttons #acceptBtn:hover {
	background-color: transparent;
	color: #19428e;
}

#declineBtn {
	background-color: #fff;
	color: #19428e;
}

#declineBtn:hover {
	background-color: #19428e;
	color: #fff;
}

/* new styles  */
/* Загальні стилі */
:root {
	--primary: #19428e;
	--background: #f8fcff;
	--text-dark: #333333;
	--text-light: #ffffff;
	--light-gray: #f0f4f8;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--transition: all 0.3s ease;
}

.section-title {
	color: var(--primary);
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	position: relative;
}

.section-subtitle {
	font-size: 1.4rem;
	font-weight: 500;
	margin-bottom: 2rem;
}

/* Стилі для блоку 1: Hero Section */
.hero-section {
	position: relative;
	height: 80vh;
	min-height: 500px;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero-content-wrapper {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.hero-content {
	/* background-color: rgba(255, 255, 255, 0.95); */
	padding: 3rem 4rem;
	max-width: 950px;
	/* box-shadow: var(--box-shadow); */
}

.hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-light);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	color: var(--text-light);
}

.hero-description {
	margin-bottom: 2rem;
	font-size: 1rem;
	color: var(--text-light);
}

.cta-button {
	display: inline-block;
	background-color: var(--primary);
	color: var(--text-light);
	font-weight: 600;
	text-decoration: none;
	padding: 0.875rem 2rem;
	border: 2px solid var(--primary);
	transition: var(--transition);
}

.cta-button:hover {
	background-color: transparent;
	color: var(--primary);
}

/* Стилі для блоку 2: Notre philosophie */
.philosophy-section {
	padding: 5rem 0;
	background-color: rgb(199, 191, 191);
	border-bottom: 3px solid brown;
}

.philosophy-content {
	max-width: 900px;
	margin: 0 auto;
}

.values-grid {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.value-item {
	background-color: #ffffff;
	padding: 2rem;
	height: 100%;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.value-item:hover {
	transform: translateY(-5px);
}

.value-title {
	color: var(--primary);
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.philosophy-conclusion {
	font-style: italic;
	background-color: var(--light-gray);
	padding: 2rem;
	border-left: 4px solid var(--primary);
	margin-top: 2rem;
}

/* Стилі для блоку 3: Parcours de développement */
.parcours-section {
	padding: 5rem 0;
	background-color: #ffffff;
	border-bottom: 3px solid brown;
}

.theme-card {
	background-color: var(--background);
	padding: 2rem;
	height: 100%;
	transition: var(--transition);
	box-shadow: var(--box-shadow);
	position: relative;
}

.theme-card:hover {
	transform: translateY(-5px);
}

.theme-icon {
	color: var(--primary);
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.theme-title {
	color: var(--primary);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.steps-container {
	position: relative;
	padding: 3rem 0;
}

.step-item {
	position: relative;
	padding-left: 2.5rem;
	margin-bottom: 2rem;
}

.step-number {
	position: absolute;
	left: 0;
	top: 0;
	width: 1.8rem;
	height: 1.8rem;
	background-color: var(--primary);
	color: var(--text-light);
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.step-title {
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.parcours-images {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.parcours-image {
	height: 200px;
	object-fit: cover;
	margin-bottom: 1.5rem;
	box-shadow: var(--box-shadow);
}

.parcours-cta {
	text-align: center;
	margin-top: 3rem;
}

/* Медіа-запити для адаптивності */
@media (max-width: 768px) {
	.hero-content {
		padding: 2rem;
		max-width: 100%;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.section-subtitle {
		font-size: 1.2rem;
	}

	.value-item {
		margin-bottom: 1rem;
	}

	.theme-card {
		margin-bottom: 1rem;
	}
}

@media (max-width: 576px) {
	.hero-content {
		padding: 1.5rem;
	}

	.hero-title {
		font-size: 1.75rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.cta-button {
		width: 100%;
		text-align: center;
	}

	.step-item {
		padding-left: 2rem;
	}
}

/* Загальні стилі залишаються без змін */
/* Доповнюємо CSS для нових блоків */

/* Стилі для блоку 4: Témoignages */
.testimonials-section {
	padding: 5rem 0;
	background-color: rgb(199, 191, 191);
	border-bottom: 3px solid brown;
}

.testimonials-container {
	max-width: 900px;
	margin: 0 auto;
}

.testimonial-card {
	padding: 2.5rem;
	position: relative;
	margin-bottom: 2rem;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.testimonial-card:hover {
	transform: translateY(-5px);
}

.testimonial-text {
	font-style: italic;
	font-size: 1.1rem;
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.testimonial-text::before {
	content: '❝';
	position: absolute;
	left: 0;
	top: -0.5rem;
	font-size: 2rem;
	color: var(--primary);
	opacity: 0.7;
}

.testimonial-author {
	font-weight: 700;
	text-align: right;
	color: var(--primary);
}

/* Стилі для блоку 5: Avantages */
.advantages-section {
	padding: 5rem 0;
	background-color: #ffffff;
}

.advantage-item {
	display: flex;
	margin-bottom: 3.5rem;
	align-items: center;
}

.advantage-image-container {
	flex: 0 0 40%;
	padding-right: 2rem;
}

.advantage-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	box-shadow: var(--box-shadow);
}

.advantage-content {
	flex: 0 0 60%;
}

.advantage-title {
	font-size: 1.4rem;
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 1.2rem;
	position: relative;
	padding-bottom: 1rem;
}

.advantage-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background-color: var(--primary);
}

/* Стилі для блоку 6: En chiffres */
.stats-section {
	padding: 5rem 0;
	background-color: var(--primary);
	color: var(--text-light);
}

.stats-container {
	max-width: 1000px;
	margin: 0 auto;
}

.stat-item {
	text-align: center;
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	height: 100%;
}

.stat-number {
	font-size: 2.7rem;
	font-weight: 700;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.stat-number::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background-color: var(--text-light);
}

.stat-text {
	font-size: 1.1rem;
}

/* Медіа-запити для адаптивності */
@media (max-width: 991px) {
	.advantage-item {
		flex-direction: column;
	}

	.advantage-image-container {
		flex: 0 0 100%;
		padding-right: 0;
		margin-bottom: 1.5rem;
	}

	.advantage-content {
		flex: 0 0 100%;
	}
}

@media (max-width: 768px) {
	.testimonial-card {
		padding: 1.5rem;
	}

	.stat-number {
		font-size: 2.5rem;
	}

	.stat-text {
		font-size: 1rem;
	}

	.stat-item {
		margin-bottom: 1rem;
	}
}

@media (max-width: 576px) {
	.testimonial-text {
		font-size: 1rem;
	}

	.advantage-title {
		font-size: 1.2rem;
	}

	.advantage-image {
		height: 200px;
	}

	.stat-number {
		font-size: 2rem;
	}
}
/* Загальні стилі залишаються без змін */
/* Доповнюємо CSS для нових блоків */

/* Стилі для блоку 7: Programmes */
.programmes-section {
	padding: 5rem 0;
	background-color: var(--background);
}

.programme-card {
	background-color: #ffffff;
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.programme-card:hover {
	transform: translateY(-5px);
}

.programme-image-container {
	height: 200px;
	overflow: hidden;
}

.programme-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.programme-card:hover .programme-image {
	transform: scale(1.05);
}

.programme-content {
	padding: 2rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.programme-title {
	color: var(--primary);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.programme-duration {
	color: var(--primary);
	font-size: 0.9rem;
	font-weight: 500;
	font-style: italic;
	margin-bottom: 1rem;
}

.programme-description {
	margin-bottom: 1.5rem;
}

.programme-objective {
	background-color: var(--light-gray);
	padding: 1rem;
	margin-top: auto;
	position: relative;
}

.programme-objective-label {
	font-weight: 700;
	display: inline-block;
	margin-right: 0.5rem;
}

.programme-cta {
	text-align: center;
	padding-top: 1rem;
}

/* Стилі для блоку 8: Offres d'abonnement / Tarifs */
.pricing-section {
	padding: 5rem 0;
	background-color: #ffffff;
}

.pricing-card {
	background-color: var(--background);
	border: 1px solid rgba(25, 66, 142, 0.1);
	padding: 2.5rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: var(--transition);
	box-shadow: var(--box-shadow);
}

.pricing-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
	border: 2px solid var(--primary);
}

.pricing-icon {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.pricing-title {
	font-size: 1.5rem;
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 1rem;
}

.pricing-price {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--text-dark);
}

.pricing-description {
	margin-bottom: 1.5rem;
}

.pricing-features {
	margin-bottom: 2rem;
}

.pricing-feature {
	margin-bottom: 0.75rem;
	position: relative;
	padding-left: 1.5rem;
}

.pricing-feature::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--primary);
}

.pricing-cta {
	margin-top: auto;
	text-align: center;
}

.featured-label {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: var(--primary);
	color: white;
	padding: 0.35rem 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Медіа-запити для адаптивності */
@media (max-width: 768px) {
	.programme-card,
	.pricing-card {
		margin-bottom: 2rem;
	}

	.programme-title,
	.pricing-title {
		font-size: 1.25rem;
	}

	.pricing-price {
		font-size: 2rem;
	}
}

@media (max-width: 576px) {
	.programme-image-container {
		height: 180px;
	}

	.programme-content,
	.pricing-card {
		padding: 1.5rem;
	}
}

/* Загальні стилі залишаються без змін */
/* Доповнюємо CSS для блоку форми та контактів */

/* Стилі для блоку 9: Contact / Formulaire */
.contact-section {
	padding: 40px 0;
	background-image: url('../img/contact.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.contact-container {
	max-width: 1000px;
	margin: 0 auto;
}

.contact-form-container {
	background-color: #ffffff;
	box-shadow: var(--box-shadow);
	padding: 3rem;
	border: 1px solid rgba(25, 66, 142, 0.1);
}

.contact-title {
	color: var(--primary);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.contact-description {
	margin-bottom: 2rem;
}

.form-floating {
	margin-bottom: 1.5rem;
}

.form-floating .form-control {
	border: 1px solid rgba(25, 66, 142, 0.2);
	padding-left: 1rem;
	height: 60px;
}

.form-floating .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 0.25rem rgba(25, 66, 142, 0.25);
}

.form-floating label {
	padding-left: 1rem;
	color: #666;
}

.form-floating label .material-icons-outlined {
	font-size: 1.1rem;
}

.error-message {
	color: #dc3545;
	font-size: 0.85rem;
	margin-top: 0.25rem;
	display: none;
}

.btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
	font-weight: 600;
	font-size: 1.1rem;
	transition: var(--transition);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--primary);
}

.contact-info {
	padding: 3rem;
	background-color: var(--primary);
	color: var(--text-light);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-info-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.contact-info-text {
	margin-bottom: 2rem;
	font-size: 1.05rem;
	line-height: 1.7;
}

.contact-email {
	display: flex;
	align-items: center;
	margin-top: 1rem;
	font-size: 1.1rem;
}

.contact-email .material-icons {
	margin-right: 1rem;
	font-size: 1.5rem;
}

.contact-email a {
	color: var(--text-light);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	transition: var(--transition);
}

.contact-email a:hover {
	border-bottom-color: var(--text-light);
}

/* Медіа-запити для адаптивності */
@media (max-width: 991px) {
	.contact-info {
		margin-top: 2rem;
	}
}

@media (max-width: 768px) {
	.contact-form-container,
	.contact-info {
		padding: 2rem;
	}

	.contact-title,
	.contact-info-title {
		font-size: 1.6rem;
	}
}

@media (max-width: 576px) {
	.contact-form-container,
	.contact-info {
		padding: 1.5rem;
	}

	.form-floating .form-control {
		height: 55px;
	}
}
