* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
	font-size: 22px;
}

html,
body {
	overflow-x: hidden;
	max-width: 100%;
}

html {
	scroll-behavior: smooth;

	/* Variables For Storing Colors */
	--primary-clr: #208245;
	--primary-medium-clr: #d8e9df;
	--primary-light-clr: #edfaf1;
	--bg-clr-1: #ffffff;
	--dark-heading-clr: #1d1f22;
	--dark-text-clr: #2b2c2c;
	--light-heading-clr: #efefef;
	--light-text-clr: #cecece;

}

/*   === Global Styling Starts ===   */
button.btn {
	padding: 10px 18px;
	background-color: var(--primary-clr);
	color: var(--light-heading-clr);
	font-size: 15px;
	border: 1px solid transparent;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
}

button.btn:hover {
	background-color: var(--light-heading-clr);
	color: var(--primary-clr);
	border: 1px solid var(--primary-clr);
}

.section-header h1 {
	position: relative;
	font-size: 42px;
	letter-spacing: 1px;
	color: rgb(81, 243, 81);
	margin-bottom: 40px;
	margin-top: -20px;
}

.section-header h1::before {
	position: absolute;
	content: '';
	width: 100px;
	height: 1px;
	left: 0;
	top: calc(100% + 5px);
	background-color: var(--dark-text-clr);
}

.section-header h1::after {
	position: absolute;
	content: '';
	width: 50px;
	height: 3px;
	left: 0;
	top: calc(100% + 4px);
	background-color: var(--primary-clr);
}

.section-header p {
	color: var(--dark-text-clr);
	margin-bottom: 40px;
	max-width: 700px;
}

/*   === Global Styling Ends ===   */
body {
	width: 100%;
	min-height: 100vh;
	background: #f9f9f9
}

.website-container {
	width: 100%;
	max-width: 1400px;
	min-height: 100vh;
	margin: 0px auto;
}

/*   === Home Section Styling Starts ===   */
section.home {
	position: relative;
	width: 100%;
	min-height: 100vh;
	/*background-color: var(--primary-light-clr);*/
}

.home .main-navbar {
	position: absolute;
	width: 100%;
	max-width: 1400px;
	height: 12vh;
	max-height: 180px;
	background-color: var(--primary-clr);
	padding: 0px 8%;
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

.home.active .main-navbar {
	position: fixed;
	top: 0;
	margin: 0px auto;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
	animation: showMenu 0.6s ease-in;
}

@keyframes showMenu {
	from {
		transform: translateY(-100px);
	}

	to {
		transform: translateY(0px);
	}
}

.main-navbar .logo {
	text-decoration: none;
}

.main-navbar .logo img {
	width: 120px;
	height: auto;
}

.main-navbar .nav-list {
	list-style: none;
}

.main-navbar .nav-list li {
	display: inline-block;
	margin: 0px 10px;
}

.main-navbar .nav-list li a {
	position: relative;
	color: var(--light-heading-clr);
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
}

.main-navbar .nav-list li a::after {
	position: absolute;
	content: '';
	width: 100%;
	height: 2px;
	background-color: var(--light-heading-clr);
	left: 0;
	top: calc(100% + 2px);
	transition: all 0.3s;
	transform: scaleX(0);
}

.main-navbar .nav-list li a:hover::after {
	transform: scaleX(1);
}

.main-navbar .get-started-btn {
	background-color: var(--light-heading-clr);
	color: var(--primary-clr);
}

.main-navbar .get-started-btn:hover {
	background-color: var(--primary-clr);
	color: var(--light-heading-clr);
	border: 1px solid var(--light-heading-clr);
}

.main-navbar .menu-btn {
	min-width: 30px;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;
	display: none;
}

.main-navbar .menu-btn span {
	position: relative;
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--light-heading-clr);
	border-radius: 5px;
	transition: all 0.4s;
}

.main-navbar .menu-btn span::before,
.main-navbar .menu-btn span::after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;
	background-color: var(--light-heading-clr);
	transition: all 0.4s;
}

.main-navbar .menu-btn span::before {
	transform: translateY(-9px);
}

.main-navbar .menu-btn span::after {
	transform: translateY(9px);
}

/*   === Home Section Styling Ends ===   */

/*   === Services Section Styling Starts ===   */
section.services {
	width: 100%;
	padding: 25px 3% 20px;

}

.services .services-contents {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.services-contents .service-box {
	flex-basis: calc(calc(100% / 3) - 2%);
	padding: 25px 20px;
	cursor: pointer;
	background-color: var(--primary-light-clr);
}

.services-contents .service-box:hover {
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.service-box .service-icon {
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: var(--primary-clr);
	outline: 1px solid var(--primary-medium-clr);
	outline-offset: 10px;
}

.service-box .service-icon i {
	font-size: 24px;
	color: var(--light-heading-clr);
}

.service-box .service-desc {
	margin-top: 25px;
}

.service-box .service-desc h2 {
	margin-bottom: 10px;
	color: var(--dark-heading-clr);
	font-size: 22px;
}

.service-box .service-desc p {
	line-height: 1.4;
	color: var(--dark-text-clr);
}

.service-box:nth-child(1) .service-icon {
	background-color: #fef0ef;
	outline-color: #fef0ef;
}

.service-box:nth-child(1) .service-icon i {
	color: #f76250;
}

.service-box:nth-child(2) .service-icon {
	background-color: #e8f9ef;
	outline-color: #e8f9ef;
}

.service-box:nth-child(2) .service-icon i {
	color: #2f9355;
}

.service-box:nth-child(3) .service-icon {
	background-color: #f1f0fe;
	outline-color: #f1f0fe;
}

.service-box:nth-child(3) .service-icon i {
	color: #5a49f3;
}

/*   === Services Section Styling Ends ===   */

/*   === Courses Section Styling Starts ===   */
section.courses {
	width: 100%;
	padding: 30px 3% 20px;
}

.courses .section-header {
	position: relative;
	display: flex;
	justify-content: space-between;
}

.courses .section-header .courses-btn {
	position: absolute;
	right: 0;
	bottom: 40px;
	padding: 10px 26px;
}

.courses .course-contents {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;

}

.courses .course-contents .course-card {
	flex-basis: calc(calc(100% / 3) - 1.2%);
	border: 1px solid #eee;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
	cursor: pointer;
	transition: all 0.3s;
	background-color: var(--primary-light-clr);
}

.courses .course-contents .course-card:hover {
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.course-contents .course-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 5px;
}

.course-contents .course-card .category {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 10px 0px;
}

.course-card .category img {
	position: absolute;
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 50%;
	right: 15px;
	top: -50%;
	outline: 1px solid var(--primary-clr);
	outline-offset: 3px;
}

.course-card .category .subject {
	padding: 8px 10px;
	background-color: var(--primary-light-clr);
	border-radius: 5px;
}

.course-card .category .subject h3 {
	font-size: 18px;
	font-weight: 500;
	color: var(--primary-clr);
}

.course-card .course-title {
	font-size: 20px;
	color: var(--dark-heading-clr);
}

/*   === Courses Section Styling Ends ===   */

/*   === Courses Categories Section Styling Starts ===   */
section.categories {
	width: 100%;
	padding: 30px 3% 20px;
}

.categories .categories-contents {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.categories-contents .category-item {
	flex-basis: calc(calc(100% / 4) - 1%);
	background-color: var(--primary-light-clr);
	padding: 25px 15px;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s;
}

.categories-contents .category-item:hover {
	box-shadow: 0px 0px 10px rgba(32, 130, 69, 0.2);
	transform: translateY(-3px);
}

.category-item .category-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-clr);
}

.category-item .category-icon i {
	color: var(--light-heading-clr);
	font-size: 20px;
}

.category-item .category-desc {
	margin-top: 20px;
	text-align: center;
}

.category-item .category-desc h3 {
	color: var(--dark-heading-clr);
	font-size: 20px;
	margin-bottom: 10px;
}

.category-item .category-desc p {
	color: var(--dark-text-clr);
	font-size: 15px;
	line-height: 1.4;
}

/*   === Courses Categories Section Styling Ends ===   */

/*   === Teacher Section Styling Starts ===   */
section.instructor {
	width: 100%;
	padding: 20px 1% 5px;
}

.instructor .instructor-container {
	width: 100%;
	padding: 50px 2%;

}

.instructor-container h2 {
	font-size: 30px;
	color: var(--dark-heading-clr);
}

.instructor-container p {
	margin: 20px 0px 15px;
	color: var(--dark-text-clr);
	font-size: 25px;
	padding: 20px;
}

.platforms-container {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	/* utile pour petits écrans */
	justify-content: center;
	align-items: center;
}

.platforms-container a {
	text-decoration: none;
	color: white;
}

.platforms-container img {
	height: 40px;
}


#platform-link {
	display: flex;
	/* ✅ Flex pour centrer le contenu */
	justify-content: center;
	/* Centrage horizontal */
	align-items: center;
	/* Centrage vertical */
	border: 2px solid #007BFF;
	border-radius: 25px;
	text-decoration: none;
	color: #007BFF;
	font-weight: bold;
	height: 50px;
	width: 150px;
	text-align: center;
	/* Centrage du texte sur plusieurs lignes */
	padding: 0 10px;
	/* Optionnel, espace horizontal intérieur */
	overflow: hidden;
	/* Empêche le débordement */
}

#platform-link span {
	font-size: 15px;
	/* Ajuste la taille du texte */
	line-height: 1.2;
	/* Réduit l'espacement entre les lignes */
}

#platform-link:hover {
	background-color: #007BFF;
	color: white;
}


.platform-link img {
	height: 50px;
	width: 150px;
}

/*   === Teacher Section Styling Ends ===   */

/*   === Testimonials Section Styling Starts ===   */
section.testimonials {
	width: 100%;
	padding: 10px 8% 10px;
}

.testimonials .section-header {
	width: 70%;
	max-width: 700px;
}

.testimonials-slider .testimonials-item {
	position: relative;
	padding: 20px 25px;
	background-color: var(--primary-light-clr);
}

.testimonials-item .profile {
	display: flex;
	align-items: center;
}

.testimonials-item .profile .profile-image {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}

.testimonials-item .profile .profile-image img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.testimonials-item .profile .profile-desc {
	display: flex;
	flex-direction: column;
}

.profile .profile-desc span:nth-child(1) {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-clr);
}

.profile .profile-desc span:nth-child(2) {
	font-size: 15px;
	color: var(--dark-heading-clr);
}

.testimonials-item>p {
	margin: 15px 0px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dark-text-clr);
}

.testimonials-item .quote {
	text-align: center;
}

.testimonials-item .quote i {
	font-size: 25px;
	color: var(--dark-text-clr);
	margin-right: 20px;
}

.testimonials-item .ratings {
	margin-top: 20px;
}

.testimonials-item .ratings i {
	font-size: 17px;
	color: gold;
	cursor: pointer;
}

/*   === Testimonials Section Styling Ends ===   */

/*   === Footer Section Styling Starts ===   */
section.footer {
	width: 100%;
	padding: 70px 8% 30px;
	background-color: var(--primary-clr);
}

.footer .footer-contents {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.footer-contents .footer-col {
	flex-basis: calc(calc(100% / 4) - 20px);
}

.footer-contents .footer-col .col-title {
	min-height: 60px;
	display: flex;
	align-items: flex-end;
	margin-bottom: 30px;
	margin-bottom: 10px;
}

.footer-col .col-title h3 {
	font-size: 24px;
	color: var(--light-heading-clr);
}

.footer-col .col-contents {
	display: flex;
	flex-direction: column;
}

.footer-col-1 .col-contents p {
	color: var(--light-text-clr);
	font-size: 15px;
	line-height: 1.3;
	margin-bottom: 15px;
}

.footer-col-2 .col-contents .contact-row span {
	color: var(--light-text-clr);
	font-size: 16px;
}

.footer-col-2 .col-contents .contact-row span:nth-child(1) {
	color: var(--light-heading-clr);
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 2px;
}

.footer-col-3 .col-contents a {
	text-decoration: none;
	color: var(--light-text-clr);
	margin-bottom: 20px;
	align-self: flex-start;
	transition: all 0.3s;
}

.footer .copy-rights {
	padding: 30px 0 0;
	border-top: 1px solid var(--light-text-clr);
	text-align: center;
	color: white;
	/* texte général en blanc si nécessaire */
}

.footer .footer-link {
	color: white;
	text-decoration: underline;
	margin: 0 5px;
}

.footer .footer-link:hover {
	color: #ccc;
	/* ou autre couleur au survol */
}


/*   === Footer Section Styling Ends ===   */


/*   === Media Query Starts ===   */
@media(max-width: 968px) {

	/* Home Section */
	.main-navbar .menu-btn {
		display: flex;
		margin-left: 40px;
		z-index: 101;
	}

	.main-navbar .menu-btn.active span,
	.main-navbar .menu-btn.active span::before,
	.main-navbar .menu-btn.active span::after {
		width: 100%;
	}

	.main-navbar .menu-btn.active span::before {
		transform: rotate(45deg) translateY(0px);
	}

	.main-navbar .menu-btn.active span::after {
		transform: rotate(-45deg) translateY(0px);
	}

	.main-navbar .menu-btn.active span {
		background-color: transparent;
	}

	.main-navbar .nav-list {
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 0;
		/*right: 0;*/
		right: -100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: var(--primary-clr);
		transition: right 0.3s cubic-bezier(.15, .61, .94, .25);
		z-index: 100;
	}

	.main-navbar .nav-list.active {
		right: 0;
	}

	.main-navbar .nav-list li {
		margin: 25px 0px 0px;
	}

	.main-navbar .nav-list li:nth-child(1) {
		margin-top: 180px;
	}

	.main-navbar .nav-list li a {
		font-size: 20px;
		letter-spacing: 1px;
	}

	.main-navbar .get-started-btn-container {
		margin-left: auto;
	}

	/* Services Section */
	.services-contents .service-box {
		flex-basis: calc(calc(100% / 2) - 2%);
	}

	.services-contents .service-box:not(:last-child) {
		margin-bottom: 20px;
	}

	/* Courses Section */
	.courses .course-contents .course-card {
		flex-basis: calc(calc(100% / 2) - 1.2%);
	}

	.courses .section-header {
		flex-direction: column;
	}

	.courses .section-header .courses-btn {
		position: relative;
		align-self: flex-start;
		margin-top: 0px;
	}

	.footer .contact-row i {
		color: #fff;
		/* icônes en blanc */
		text-decoration: none;
		/* évite les traits */
		margin-right: 8px;
		/* petit espace avant le texte */
	}

	.footer .contact-row a {
		color: #fff;
		/* texte des liens en blanc */
		text-decoration: none;
		/* supprime soulignement */
		font-weight: 500;
	}

	/* Courses Categories Section */
	.categories-contents .category-item {
		flex-basis: calc(calc(100% / 2) - 1%);
		margin-bottom: 15px;
	}

	/* Footer Section */
	.footer-contents .footer-col {
		flex-basis: calc(calc(100% / 2) - 20px);
	}
}

/*
impact
*/

.impact {
	padding: 60px 20px;
	background-color: #f9f9f9;
	text-align: center;
}

.impact .section-header h1 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.impact .section-header p {
	font-size: 1.1rem;
	margin-bottom: 40px;
	color: #555;
}

.impact-contents {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin: 0 -10px;
	/* espace bordure réduit sur petits écrans */
}

.impact-card {
	background: #fff;
	padding: 20px 30px;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	width: 200px;
	transition: transform 0.3s ease;
}

.impact-card h2 {
	font-size: 2rem;
	color: #27ae60;
	margin-bottom: 10px;
}

.impact-card p {
	font-size: 1rem;
	color: #333;
}

/* Responsive impact pour petits écrans */
@media (max-width: 600px) {
	.impact-contents {
		flex-direction: column;
		gap: 15px;
		padding: 0 10px;
		/* ajoute un espace intérieur à gauche et à droite */
	}

	.impact-card {
		width: 100%;
		/* prend toute la largeur disponible */
		margin: 0;
		/* pas besoin de marges */
	}
}


@media(max-width: 768px) {

	/* Home Section */
	.banner-img-container .states .total-courses {
		left: 5px;
		bottom: 10%;
	}

	/* Testimonials Section */
	.testimonials .section-header {
		width: 100%;
		margin-bottom: 70px;
	}
}

@media(max-width: 668px) {

	/* Partners Section */
	.partners h3 {
		margin-right: 150px;
	}

	/* Services Section */
	.services-contents .service-box {
		flex-basis: 100%;
	}

	/* Courses Section */
	.courses .course-contents .course-card {
		flex-basis: 100%;
	}
}

@media(max-width: 568px) {

	/* Courses Categories Section */
	.categories-contents .category-item {
		flex-basis: 100%;
	}

	/* Footer Section */
	.footer-contents .footer-col {
		flex-basis: 100%;
	}
}

@media(max-width: 468px) {
	.main-navbar .get-started-btn-container {
		display: none;
	}

	/* Partners Section */
	.partners h3 {
		margin-right: 0px;
		margin-bottom: 80px;
	}
}

/*   === Media Query Ends ===   */

/*created by stephane*/

/*pour les plateformes*/