/*
Template Name: HTML Education Template
Author: yaminncco

Colors:
	Body 		: var(--text-color)
	Headers 	: var(--secondary-color)
	Primary 	: var(--primary-color)
	Grey 		: var(--grey-color)

Fonts: Lato & Montserrat

Table OF Contents
------------------------------------
1 > General
2 > Logo
3 > Navigation
4 > Hero Area
5 > About & Why Us (Feature)
6 > Courses
7 > Footer
8 > Contact Page
9 > Blog Page
10 > Blog Page Sidebar
11 > Single Post Page
12 > Responsive
13 > Preloader
------------------------------------*/

/*------------------------------------*\
	General
\*------------------------------------*/
/* --- typography --- */
:root {
	--primary-color: #0072BC;
	--secondary-color: #374050;
	--text-color: #798696;
	--white-color: #FFF;
	--grey-color: #EBEBEB;
}
html {
	scroll-behavior: smooth !important;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--text-color);
	overflow-x:hidden;
	scroll-behavior: smooth !important;
}

h1,h2,h3,h4,h5,h6 {
	margin-top: 12px;
	margin-bottom: 15px;
	font-weight: 600;
	color: var(--secondary-color);
}

h1 {
	font-size:38px;
}

h2 {
	font-size:30px;
}

h3 {
	font-size:24px;
}

h4 {
	font-size:18px;
}

a {
	font-family: 'Lato', sans-serif;
	color: var(--secondary-color);
	font-weight: 700;
	text-decoration: none;
}

a:hover,
a:focus{
	text-decoration: none;
	outline: none;
	color: var(--secondary-color);
	opacity: 0.9;
}

ul,ol{
	margin: 0;
	padding: 0;
	list-style: none
}

.white-text {
	color: var(--white-color);
}

blockquote {
	position: relative;
	margin: 20px 0px;
	padding: 20px 20px 20px 60px;
	border-left: none;
	color: var(--secondary-color);
}

blockquote:before{
	content:"\f10d";
	font-family: fontAwesome, sans-serif;
	position:absolute;
	left:0;
	top:0;
	color: var(--primary-color);
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	border-radius:50%;
	border:1px solid var(--grey-color);
}

/* --- Section --- */
.section {
	position:relative;
	padding-top:80px;
	padding-bottom:80px;
}

.section-hr {
	margin-top:80px;
	margin-bottom:80px;
	border-color: var(--grey-color);
}

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

/* --- Background Image --- */
.bg-image {
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-position:center;
	background-size:cover;
}

.bg-image.bg-parallax {
	background-attachment:fixed;
}

.bg-image.overlay:after {
	content:"";
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(var(--secondary-color)), to(var(--text-color)));
	background-image: linear-gradient(to bottom, var(--secondary-color) 0%, var(--text-color) 100%);
	opacity: 0.2;
}

/* --- Buttons --- */
.main-button {
	position:relative;
	display:inline-block;
	padding:10px 30px;
	background-color: var(--primary-color);
	border: 2px solid transparent;
	border-radius: 40px;
	color: var(--white-color);
	-webkit-transition:0.2s all;
	transition:0.2s all;
}

.main-button:hover , .main-button:focus {
	background-color:var(--white-color);
	border: 2px solid var(--primary-color);
	color:var(--primary-color);
}

.main-button.icon-button:hover , .main-button.icon-button:focus {
	padding-right: 45px;
}

.main-button.icon-button:after {
	content:"\f178";
	font-family: FontAwesome, sans-serif;
	position:absolute;
	width: 30px;
	right: 15px;
	text-align:center;
	opacity:0;
	-webkit-transition:0.2s all;
	transition:0.2s all;
}

.main-button.icon-button:hover:after , .main-button.icon-button:focus:after {
	opacity:1;
}

/*------------------------------------*\
	Logo
\*------------------------------------*/
.navbar-brand {
	padding: 0;
}

.navbar-brand .logo {
	margin-top: 10px;
	display: inline-block;
}

.navbar-brand .logo > img {
	max-height:30px;
}

@media only screen and (max-width: 767px) {
	.navbar-brand {
		margin-left:15px;
	}
}

/*------------------------------------*\
    Navigation
\*------------------------------------*/
#header {
	position: fixed !important; /* Forçando fixed */
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
	width: 100% !important; /* Garantindo largura total */
	z-index: 1000 !important;
	background-color: rgba(255, 255, 255, 0.9); /* Mantendo a transparência */
	-webkit-transition: 0.2s all; /* Mantendo a transição */
	transition: 0.2s all;
	height: 5.5rem;
}

#header.transparent-nav {
	position: absolute;  /* Mantido, mas com atenção */
	background-color: var(--primary-color);
}

#header.transparent-nav .main-menu li a {
	color: var(--white-color);
}

.main-menu li a {
	text-transform: uppercase;
	-webkit-transition: 0.2s all;
	transition: 0.2s all;
}

.main-menu li a:hover,
.main-menu li a:focus {
	background-color: transparent;
}

.main-menu li a:after {
	content: "";
	display: block;
	height: 2px;
	background-color: var(--primary-color);
	width: 100%;
	-webkit-transform: translateY(5px);
	-ms-transform: translateY(5px);
	transform: translateY(5px);
	opacity: 0;
	-webkit-transition: 0.2s all;
	transition: 0.2s all;
}

.main-menu li a:hover:after,
.main-menu li a:focus:after {
	-webkit-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	opacity: 1;
}

/* -- Mobile Nav -- */
@media only screen and (max-width: 767px) {
	#nav {
		position: fixed;
		top: 0;
		right: 0;
		width: 0%;
		max-width: 250px;
		height: 100vh;
		background: var(--white-color);
		-webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
		box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
		padding-top: 80px;
		padding-bottom: 40px;
		-webkit-transform: translateX(100%);
		-ms-transform: translateX(100%);
		transform: translateX(100%);
		-webkit-transition: 0.4s all cubic-bezier(0.77, 0, 0.18, 1);
		transition: 0.4s all cubic-bezier(0.77, 0, 0.18, 1);
		z-index: 9;
	}

	#header.nav-collapse #nav {
		width: 100%;
		-webkit-transform: translateX(0%);
		-ms-transform: translateX(0%);
		transform: translateX(0%);
	}

	.main-menu {
		margin: 0;
	}

	.main-menu li a {
		color: var(--secondary-color) !important;
		display: inline-block;
		margin-left: 40px;
	}
}

/* -- Mobile Toggle Btn -- */
.navbar-toggle {
	position: fixed;
	right: 0;
	padding: 0;
	height: 40px;
	width: 40px;
	margin-top: 5px;
	z-index: 1000;
}

.navbar-toggle>span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: 0.2s background;
	transition: 0.2s background;
}

.navbar-toggle>span:before,
.navbar-toggle>span:after {
	content: '';
	position: absolute;
	left: 0;
	-webkit-transition: 0.2s -webkit-transform;
	transition: 0.2s -webkit-transform;
	transition: 0.2s transform;
	transition: 0.2s transform, 0.2s -webkit-transform;
}

.navbar-toggle>span,
.navbar-toggle>span:before,
.navbar-toggle>span:after {
	height: 2px;
	width: 25px;
	background-color: var(--white-color);
}

.navbar-toggle>span:before {
	top: -10px;
}

.navbar-toggle>span:after {
	top: 10px;
}

#header.nav-collapse .navbar-toggle>span {
	/*background: transparent;*/
}

#header.nav-collapse .navbar-toggle>span:before {
	-webkit-transform: translateY(10px) rotate(45deg);
	-ms-transform: translateY(10px) rotate(45deg);
	transform: translateY(10px) rotate(45deg);
	background-color: var(--secondary-color);
}

#header.nav-collapse .navbar-toggle>span:after {
	-webkit-transform: translateY(-10px) rotate(-45deg);
	-ms-transform: translateY(-10px) rotate(-45deg);
	transform: translateY(-10px) rotate(-45deg);
	background-color: var(--secondary-color);
}

body {
	padding-top: 3.75rem;
}

/*------------------------------------*\
	Hero Area
\*------------------------------------*/
.hero-area {
	position:relative;
	padding-top: 80px;
	padding-bottom: 80px;
}

#inicio.hero-area {
	height:calc(100vh - 80px);
	padding-top: 0px;
	padding-bottom: 0px;
}

.home-wrapper {
	position:absolute;
	top:50%;
	-webkit-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	transform:translateY(-50%);
	left:0;
	right:0;
}

#home-background {
	background-image: url('../img/home-background.webp');
}

.accordion {
	padding-top: 20px;
}

#home-text-content, .accordion-body {
	background: rgba(0, 0, 0, 0.5);
	padding: 20px;
	border-radius: 10px;
}

/*------------------------------------*\
	About & Why Us (Feature)
\*------------------------------------*/
/* -- Feature -- */
.feature {
	position:relative;
}

.feature + .feature  {
	margin-top:40px;
}

.feature .feature-icon {
	position:absolute;
	left:0;
	top:0;
	width:80px;
	height:80px;
	line-height:80px;
	text-align:center;
	border-radius: 50%;
	font-size:30px;
	border:1px solid var(--grey-color);
	color:var(--primary-color);
}

.feature-content {
	padding-left:100px;
}

/* -- About Img -- */
.about-img {
	margin-top:40px;
}

.about-img > img {
	width:100%;
}

/* -- About Video -- */
.about-video {
	position: relative;
	display: block;
	border-radius: 4px;
	overflow: hidden;
}

.about-video > img {
	width:100%;
}

.about-video .play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50% , -50%);
	-ms-transform: translate(-50% , -50%);
	transform: translate(-50% , -50%);
	width: 80px;
	height: 80px;
	line-height: 80px;
	text-align: center;
	background: var(--white-color);
	border-radius: 50%;
	font-size: 24.027px;
	z-index:10;
	-webkit-animation : 2s play-animation infinite;
	animation : 2s play-animation infinite;
	-webkit-transition:0.2s color;
	transition:0.2s color;
}

.about-video:hover .play-icon {
	color:var(--primary-color);
}

@-webkit-keyframes play-animation {
	from {
		-webkit-box-shadow : 0px 0px 0px 0px var(--white-color);
		box-shadow : 0px 0px 0px 0px var(--white-color);
	}
	to {
		-webkit-box-shadow : 0px 0px 0px 10px transparent;
		box-shadow : 0px 0px 0px 10px transparent;
	}
}

@keyframes play-animation {
	from {
		-webkit-box-shadow : 0px 0px 0px 0px var(--white-color);
		box-shadow : 0px 0px 0px 0px var(--white-color);
	}
	to {
		-webkit-box-shadow : 0px 0px 0px 10px transparent;
		box-shadow : 0px 0px 0px 10px transparent;
	}
}

.about-video:after {
	content:"";
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	background-color:var(--primary-color);
	opacity:0.7;
}
/*------------------------------------*\
	FAQ Section
\*------------------------------------*/
.faq-item {
	cursor: pointer;
}

#faqAccordion .accordion-item .accordion-header .faq-question {
	color: var(--text-color);
	font-size: 1.75rem;
	border: none;
	padding: 0;
	background-color: transparent;
}

#faqAccordion .accordion-item .accordion-collapse .accordion-body {
	background-color: var(--white-color);
	color: var(--primary-color);
	padding: 0;
}

/* Estilo para o botão do acordeão quando está expandido */
#faqAccordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
	color: var(--primary-color); /* Cor do texto quando aberto */
}

/* Estilo para a borda do item do acordeão */
#faqAccordion .accordion-item:first-of-type {
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
}

/*------------------------------------*\
	Courses
\*------------------------------------*/
.course {
	margin-top:20px;
	margin-bottom:20px;
}

.course .course-img {
	position: relative;
	display:block;
	margin-bottom:20px;
	border-radius:4px;
	overflow:hidden;
}

.course .course-img > img {
	width:100%;
}

.course-img:after {
	content:"";
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	background-color:var(--primary-color);
	opacity:0;
	-webkit-transition:0.2s opacity;
	transition:0.2s opacity;
}

.course .course-img:hover:after {
	opacity:0.7;
}

.course .course-img .course-link-icon {
	position:absolute;
	left:50%;
	top:50%;
	-webkit-transform: translate(-50% , calc(-50% - 15px));
	-ms-transform: translate(-50% , calc(-50% - 15px));
	transform: translate(-50% , calc(-50% - 15px));
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	border:2px solid var(--white-color);
	color:var(--white-color);
	border-radius:50%;
	opacity:0;
	z-index:10;
	-webkit-transition:0.2s all;
	transition:0.2s all;
}

.course .course-img:hover .course-link-icon {
	-webkit-transform: translate(-50% , -50%);
	-ms-transform: translate(-50% , -50%);
	transform: translate(-50% , -50%);
	opacity:1;
}

.course .course-title {
	display:block;
	height:42px;
}

.course .course-details {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid var(--grey-color);
}

.course .course-details .course-price {
	float: right;
}

.course .course-details .course-price.course-free {
	color: green;
}

.course .course-details .course-price.course-premium {
	color: var(--primary-color);
}

#courses .center-btn {
	text-align:center;
	margin-top:40px;
}

#cta1-background {
	background-image: url('../img/cta1-background.webp');
}

/*------------------------------------*\
	Footer
\*------------------------------------*/

#bottom-footer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--grey-color);
}

/* -- Footer Logo -- */
.footer-logo  .logo {
	margin-top: 20px;
	display: inline-block;
}

.footer-logo  .logo > img {
	max-height:30px;
}

/* -- Footer Nav -- */
.footer-nav {
	text-align: right;
	padding: 20px 0px;
}

.footer-nav li {
	display:inline-block;
	margin-left:15px
}

.footer-nav li a {
	display:block;
	text-transform:uppercase;
	-webkit-transition:0.2s color;
	transition:0.2s color;
}

.footer-nav li a:hover , .footer-nav li a:focus {
	color:var(--primary-color);
}

.footer-nav li a:after {
	content:"";
	display:block;
	height:2px;
	background-color:var(--primary-color);
	width:100%;
	-webkit-transform: translateY(5px);
	-ms-transform: translateY(5px);
	transform: translateY(5px);
	opacity:0;
	-webkit-transition:0.2s all;
	transition:0.2s all;
}

.footer-nav li a:hover:after , .footer-nav li a:focus:after {
	-webkit-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	opacity:1;
}

/* -- Footer copyright -- */
.footer-copyright {
	line-height:40px;
}

/* -- Footer Social -- */
.footer-social {
	text-align:right;
}

.footer-social li {
	display:inline-block;
	margin-left:10px;
}

.footer-social li a {
	display:block;
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	border-radius:50%;
	color:var(--white-color);
	background-color:var(--grey-color);
	-webkit-transition:0.2s opacity;
	transition:0.2s opacity;
}

.footer-social li a.instagram {
	background-color:#e95950;
}

/* -- Contact Information -- */
.contact-details li  {
	margin-bottom:20px;
}

.contact-details li i {
	color: var(--primary-color);
	margin-right: 15px;
	border: 1px solid var(--grey-color);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.contact-item i {
	width: 20px; /* Ajuste conforme necessário */
	height: 20px;
	margin-right: 10px;
	color: var(--primary-color); /* Cor do ícone, você pode alterar */
}

.contact-item div {
	flex: 1; /* Permite que o texto ocupe o espaço restante */
}

.contact-item strong {
	margin-right: 5px;
}

.contact-item a {
	color: #007bff; /* Cor do link, você pode alterar */
	text-decoration: none;
}

.contact-item a:hover {
	text-decoration: underline;
}

.map-responsive {
	overflow: hidden;
	padding-bottom: 56.25%; /* Proporção 16:9 */
	position: relative;
	height: 0;
}

.map-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	margin-top: 10px;
}

.whatsapp-button {
	background-color: #25d366; /* Cor de fundo do WhatsApp */
	color: white !important; /* Cor do texto */
	padding: 10px 20px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	transition: background-color 0.3s ease;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
}

.whatsapp-button:hover {
	background-color: #128c7e; /* Tom mais escuro na passagem do mouse */
	text-decoration: none !important;
}

.whatsapp-button i {
	width: 100%;
	height: auto;
	color: white !important;
}

/* -- Contact Map -- */
#contact-map {
	height:260px;
	border-radius:4px;
}

/*------------------------------------*\
	Responsive
\*------------------------------------*/
@media only screen and (max-width: 991px) {
	.section-header h2 {
		font-size:24px;
	}

	/*-- Sobre --*/
	#sobre .feature {
		margin-top:40px;
	}

	.about-video {
		margin-top:40px;
	}

	/*-- Call to action --*/
	#cta {
		text-align:center;
	}

	/*-- Footer --*/
	.footer-logo {
		text-align:center;
	}

	.footer-nav {
		text-align:center;
	}
	.footer-nav li {
		margin-top: 10px;
	}

	#footer-social {
		margin-bottom: 50px;
	}
	.footer-social {
		text-align:center;
	}
	.footer-social li {
		margin-top: 10px;
	}

	.footer-copyright {
		text-align:center;
		line-height:inherit;
		margin-top:20px;
	}
}

@media only screen and (max-width: 767px) {
	/*-- Hero area --*/
	.hero-area h1 {
		font-size:30px;
	}

	/* -- Breadcrumb -- */
	.hero-area-tree li {
		font-size:12px;
	}
}

@media only screen and (max-width: 480px) {
	/*-- Courses --*/
	#courses-wrapper [class*='col-xs'] {
		width:100%;
	}
}

/*------------------------------------*\
	Preloader
\*------------------------------------*/
#preloader {
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-color:var(--white-color);
	z-index:9999;
}

#preloader .preloader {
	position:absolute;
	left:50%;
	top:50%;
	-webkit-transform: translate(-50% , -50%);
	-ms-transform: translate(-50% , -50%);
	transform: translate(-50% , -50%);
}

#preloader .preloader:after {
	content:"";
	display:block;
	width:40px;
	height:40px;
	border: 1px solid var(--grey-color);
	border-top: 1px solid var(--primary-color);
	border-radius: 50%;
	-webkit-animation: 1s preloader linear infinite;
	animation: 1s preloader linear infinite;
}

@-webkit-keyframes preloader {
	from { -webkit-transform: rotate(0deg); transform: rotate(0deg);}
	to { -webkit-transform: rotate(360deg); transform: rotate(360deg);}
}

@keyframes preloader {
	from { -webkit-transform: rotate(0deg); transform: rotate(0deg);}
	to { -webkit-transform: rotate(360deg); transform: rotate(360deg);}
}