:root {
	--primary-color: #2c3e50;
	--secondary-color: #3498db;
	--accent-color: #e74c3c;
	--success-color: #28a745;
	--text-color: #333;
	--background-color: #f4f6f7;
	--table-border-color: #ddd;
	--table-header-bg: #1a2238;
	--table-header-color: white;
	--table-odd-row: #f9f9f9;
	--table-hover-color: #f0f7fc;
	--category-header-bg: #eaeaea;
}

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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--background-color);
}

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

/* Header */
header {
	background-color: var(--primary-color);
	color: white;
	padding: 1rem 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

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

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.logo img {
	height: 50px;
	margin-right: 15px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	color: white;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

nav ul li a:hover {
	color: var(--secondary-color);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Hero Section */
.hero {
	display: flex;
	align-items: center;
	padding: 8rem 0 4rem;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('images/header-1.jpg') no-repeat center center;
	background-size: cover;
	opacity: 0.15;
	z-index: 0;
}

.hero .container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
}

.hero-content {
	flex: 1;
}

.hero-image {
	flex: 1;
	text-align: right;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	background-color: var(--accent-color);
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
	border: 2px solid var(--accent-color);
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}

.btn:hover {
	background-color: #c0392b;
	border-color: #c0392b;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.btn-outline {
	background-color: transparent;
	color: white;
	border: 2px solid white;
	margin-left: 10px;
}

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

.hero-buttons {
	margin-bottom: 2rem;
}

.hero-features {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.hero-feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 8px 16px;
	border-radius: 20px;
	backdrop-filter: blur(5px);
}

.feature-icon {
	font-size: 1.2rem;
}

/* Section Headers */
section {
	padding: 5rem 0;
}

section h2 {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2.2rem;
	color: var(--primary-color);
	position: relative;
	padding-bottom: 15px;
}

section h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--accent-color);
}

/* Services Section */
.services {
	background-color: white;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
}

.service-card {
	background-color: var(--background-color);
	padding: 2rem;
	text-align: center;
	border-radius: 10px;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	height: 100%;
	position: relative;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	border-color: var(--secondary-color);
}

.service-card img {
	width: 200px;
	height: 200px;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	padding: 10px;
	background-color: var(--primary-color);
	transition: all 0.3s ease;
}

.service-card:hover img {
	background-color: var(--secondary-color);
	transform: scale(1.1);
}

.service-card h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.service-card p {
	color: #666;
}

.service-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	padding: 15px;
	background-color: var(--primary-color);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

.service-icon i {
	font-size: 32px;
	color: white;
}

.service-card:hover .service-icon {
	background-color: var(--secondary-color);
	transform: scale(1.1);
}

.coming-soon-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: var(--secondary-color);
	color: white;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
}

.coming-soon {
	opacity: 0.7;
	position: relative;
}

.price-info {
	margin-top: 10px;
	font-weight: bold;
	color: var(--primary-color);
}

/* Pricing Section */
.pricing {
	background-color: var(--background-color);
}

/* Pricing Tabs */
.pricing-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.tab-btn {
	padding: 10px 20px;
	margin: 0 10px;
	background-color: white;
	border: 2px solid var(--primary-color);
	border-radius: 30px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
}

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

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

/* Tarif Tables */
.tarif-section-title {
	text-align: center;
	margin: 2rem 0 1rem;
	color: var(--primary-color);
	font-size: 1.5rem;
}

.tarif-table {
	overflow-x: auto;
	margin-bottom: 2rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

.tarif-table table {
	width: 100%;
	border-collapse: collapse;
	background-color: white;
}

.tarif-table th,
.tarif-table td {
	padding: 12px 15px;
	text-align: center;
	border: 1px solid var(--table-border-color);
}

.tarif-table th {
	background-color: var(--table-header-bg);
	color: var(--table-header-color);
	font-weight: bold;
}

.tarif-table th:first-child,
.tarif-table td:first-child {
	text-align: left;
}

.article-col {
	min-width: 220px;
}

.tarif-table tr:nth-child(even) {
	background-color: var(--table-odd-row);
}

.tarif-table tr:hover {
	background-color: var(--table-hover-color);
}

.category-header {
	background-color: var(--category-header-bg);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 1px;
}

.checkmark {
	color: var(--success-color);
	font-weight: bold !important;
	font-size: 1.2rem !important;
}

.cross {
	color: var(--accent-color);
	font-weight: bold !important;
	font-size: 1.2rem !important;
}

/* Services Bonus Section */
.services-bonus {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.bonus-item {
	background-color: white;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	flex: 1;
	min-width: 200px;
	max-width: 300px;
	transition: all 0.3s ease;
}

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

.bonus-item .icon {
	font-size: 2rem;
	margin-bottom: 1rem;
	display: block;
}

.bonus-item h4 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

/* Price Estimator */
.price-estimator {
	margin-top: 3rem;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 2rem;
}

.estimator-container {
	max-width: 600px;
	margin: 0 auto;
}

.options-group {
	margin-bottom: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.estimate-result {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.price-result {
	margin-top: 1.5rem;
	padding: 1.5rem;
	background-color: var(--background-color);
	border-radius: 10px;
	text-align: center;
}

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

.price-result #estimated-price {
	color: var(--accent-color);
	font-weight: bold;
	font-size: 1.8rem;
}

.price-result p {
	font-size: 0.9rem;
	color: #666;
	margin-top: 1rem;
}


/* Process Section */
.process {
	background-color: var(--background-color);
	position: relative;
	overflow: hidden;
	padding-bottom: 6rem;
}

.process::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(44, 62, 80, 0.05), rgba(52, 152, 219, 0.1));
	z-index: 0;
}

.process .container {
	position: relative;
	z-index: 1;
}

.process-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 50px;
	color: var(--gray);
	font-size: 1.2rem;
}

.process-circle {
	position: relative;
	max-width: 800px;
	margin: 120px auto;
	height: 500px;
}

.circle-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 300px;
	border: 3px dashed var(--secondary-color);
	border-radius: 50%;
	opacity: 0.5;
}

.process-steps {
	position: relative;
	width: 100%;
	height: 100%;
}

.process-step {
	position: absolute;
	width: 200px;
	background-color: white;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: center;
	z-index: 2;
}

.process-step:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Positioning the steps around the circle with more distance */
.process-step:nth-child(1) {
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
}

.process-step:nth-child(2) {
	top: 50%;
	right: -30px;
	transform: translateY(-50%);
}

.process-step:nth-child(3) {
	bottom: -100px;
	left: 50%;
	transform: translateX(-50%);
}

.process-step:nth-child(4) {
	top: 50%;
	left: -30px;
	transform: translateY(-50%);
}

.step-number {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-icon {
	font-size: 2.5rem;
	margin: 15px 0;
	color: var(--secondary-color);
}

.process-step h3 {
	margin-bottom: 10px;
	color: var(--primary-color);
	font-size: 1.2rem;
}

.process-step p {
	color: var(--text-color);
	font-size: 0.9rem;
}

/* Arrows between steps */
.process-arrow {
	position: absolute;
	width: 100px;
	height: 30px;
	z-index: 1;
}

/* Animation des flèches avec effet de va-et-vient */
.arrow-1 {
    top: 30%;
    right: 20%;
    transform: rotate(45deg);
    animation: pulse-arrow-1 2s ease-in-out infinite;
}

.arrow-2 {
    bottom: 30%;
    right: 20%;
    transform: rotate(135deg);
    animation: pulse-arrow-2 2s ease-in-out infinite;
}

.arrow-3 {
    bottom: 30%;
    left: 20%;
    transform: rotate(225deg);
    animation: pulse-arrow-3 2s ease-in-out infinite;
}

.arrow-4 {
    top: 30%;
    left: 20%;
    transform: rotate(315deg);
    animation: pulse-arrow-4 2s ease-in-out infinite;
}


.arrow-line {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--accent-color);
}

.arrow-head {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid var(--accent-color);
}

.process-cta {
	text-align: center;
	margin-top: 40px;
}

.process-cta .btn {
	padding: 15px 30px;
	font-size: 1.1rem;
}

/* Responsive adjustments for the process section */
@media (max-width: 992px) {
	.process-circle {
		height: auto;
		margin: 30px auto;
	}

	.circle-bg {
		display: none;
	}

	.process-arrow {
		display: none;
	}

	.process-steps {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
	}

	.process-step {
		position: relative;
		/* Changed from static to relative */
		width: 100%;
		transform: none !important;
		margin-top: 30px;
		/* Increased margin for better spacing */
	}

	.step-number {
		position: absolute;
		top: -20px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 3;
		/* Ensure it appears above other elements */
	}

	.process-step:hover {
		transform: translateY(-10px) !important;
	}

	/* Reset individual positioning for mobile */
	.process-step:nth-child(1),
	.process-step:nth-child(2),
	.process-step:nth-child(3),
	.process-step:nth-child(4) {
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		transform: none;
	}
}

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

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 3px dashed var(--secondary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* Définition des animations de pulsation pour chaque flèche */
@keyframes pulse-arrow-1 {
    0%, 100% { transform: rotate(45deg) translateX(0); }
    50% { transform: rotate(45deg) translateX(10px); }
}

@keyframes pulse-arrow-2 {
    0%, 100% { transform: rotate(135deg) translateX(0); }
    50% { transform: rotate(135deg) translateX(10px); }
}

@keyframes pulse-arrow-3 {
    0%, 100% { transform: rotate(225deg) translateX(0); }
    50% { transform: rotate(225deg) translateX(10px); }
}

@keyframes pulse-arrow-4 {
    0%, 100% { transform: rotate(315deg) translateX(0); }
    50% { transform: rotate(315deg) translateX(10px); }
}

/* About Section */
.about {
	background-color: white;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.about-text {
	flex: 1;
}

.about-image {
	flex: 1;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	color: var(--primary-color);
}

.about-features {
	margin-top: 2rem;
}

.about-feature {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.about-feature i {
	margin-right: 1rem;
	font-size: 1.5rem;
	color: var(--accent-color);
}

/* Testimonials */
.testimonials {
	background-color: var(--background-color);
}

.testimonial-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	height: 100%;
}

.testimonial-card::before {
	content: "" ";
 position: absolute;
	top: 10px;
	left: 10px;
	font-size: 5rem;
	color: rgba(0, 0, 0, 0.1);
	font-family: serif;
	line-height: 1;
}

.testimonial-content {
	position: relative;
	z-index: 1;
	padding-left: 20px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	margin-top: 1.5rem;
}

.testimonial-author img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-right: 1rem;
}

.testimonial-author .author-info h4 {
	margin-bottom: 0.2rem;
}

.testimonial-author .author-info p {
	font-size: 0.9rem;
	color: #666;
}

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

.contact-container {
	display: flex;
	gap: 3rem;
	align-items: stretch;
}

.contact-info {
	flex: 1;
	background-color: var(--primary-color);
	color: white;
	padding: 2rem;
	border-radius: 10px;
}

.contact-form-container {
	flex: 2;
}

.contact-info h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.contact-item i {
	font-size: 1.2rem;
	margin-right: 1rem;
	color: var(--secondary-color);
}

.contact-form {
	background-color: var(--background-color);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: border-color 0.3s ease;
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: var(--secondary-color);
	outline: none;
}

.form-group input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
}

.form-row {
	display: flex;
	gap: 1rem;
}

.form-row .form-group {
	flex: 1;
}

.contact-form .btn {
	width: 100%;
	cursor: pointer;
}

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

.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-col {
	flex: 1;
	min-width: 200px;
}

.footer-col h3 {
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 10px;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--secondary-color);
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 0.8rem;
}

.footer-col ul li a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-col ul li a:hover {
	color: var(--secondary-color);
}

.social-media {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.social-media a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-media a:hover {
	background-color: var(--secondary-color);
	transform: translateY(-5px);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background-color: var(--accent-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 999;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: var(--primary-color);
	transform: translateY(-5px);
}

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

	.about-content {
		flex-direction: column;
	}

	.contact-container {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.header-content {
		position: relative;
	}

	.mobile-menu-btn {
		display: block;
	}

	nav ul {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		flex-direction: column;
		background-color: var(--primary-color);
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		padding: 1rem 0;
		display: none;
	}

	nav ul.show {
		display: flex;
	}

	nav ul li {
		margin: 0;
		text-align: center;
		padding: 0.5rem 0;
	}

	.hero {
		padding-top: 6rem;
	}

	.hero .container {
		flex-direction: column;
	}

	.hero-content {
		text-align: center;
		margin-bottom: 2rem;
	}

	.hero-features {
		justify-content: center;
	}

	.tarif-table {
		margin: 0 -15px;
		border-radius: 0;
	}

	.pricing-tabs {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.tab-btn {
		width: 100%;
		text-align: center;
	}

	.tarif-table th,
	.tarif-table td {
		padding: 8px;
		font-size: 0.9rem;
	}

	.services-bonus {
		flex-direction: column;
		align-items: center;
	}

	.bonus-item {
		width: 100%;
		max-width: 100%;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 576px) {
	.hero h1 {
		font-size: 1.8rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.hero-buttons {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.btn-outline {
		margin-left: 0;
	}

	section h2 {
		font-size: 1.8rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.footer-col {
		flex: 100%;
	}
}