/* ============================================
   Labrix Template - Modular CSS
   Colors and fonts defined in variables.css
   ============================================ */

/*** 	   02. General css		  ***/
/************************************/

body{
	position: relative;
	font-family: var(--default-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1em;
	color: var(--text-color);
	background: var(--bg-color);
}

::-webkit-scrollbar-track{
	background-color: var(--secondary-color);
	border-left: 1px solid var(--secondary-color);
}
::-webkit-scrollbar{
	width: 7px;
	background-color: var(--secondary-color);
}
::-webkit-scrollbar-thumb{
	background: var(--primary-color);
}

::selection{
	color: var(--primary-color);
	background-color: var(--accent-color);
	filter: invert(1);
}

p{
	line-height: 1.6em;
	margin-bottom: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6{
	margin :0;
	font-family: var(--accent-font);
	font-weight: 600;
	line-height: 1.2em;
	color: var(--primary-color);
}

figure{
	margin: 0;
}

img{
	max-width: 100%;
}

a{
	text-decoration: none;
}

a:hover{
	text-decoration: none;
	outline: 0;
}

a:focus{
	text-decoration: none;
	outline: 0;
}

html,
body{
	width: 100%;
	overflow-x: clip;
}

.container{
	max-width: 1300px;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl{
    padding-right: 15px;
    padding-left: 15px;
}

.image-anime{
	position: relative;
	overflow: hidden;
}

.image-anime:after{
	content: "";
	position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255,255,255,.3);
    transform: translate(-50%,-50%) rotate(-45deg);
    z-index: 1;
}

.image-anime:hover:after{
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}

.reveal{
	position: relative;
    display: block;
    visibility: visible;
    overflow: hidden;
    width: 100%;
}

.reveal img{
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transform-origin: left;
    transform-origin: left;
}

.row{
    margin-right: -15px;
    margin-left: -15px;
}

.row > *{
	padding-right: 15px;
	padding-left: 15px;
}

.row.no-gutters{
    margin-right: 0px;
    margin-left: 0px;
}

.row.no-gutters > *{
    padding-right: 0px;
    padding-left: 0px;
}

.btn-default{
	position: relative;
    display: inline-block;
    background: var(--accent-color);
	border-radius: 10px;
	font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1em;
    text-transform: capitalize;
    color: var(--primary-color);
    border: none;
    padding: 17px 50px 17px 20px;
    overflow: hidden;
	transition: all 0.4s ease-in-out;
    z-index: 0;
}

.btn-default:hover{
	color: var(--white-color);
}

.btn-default::before{
	content: '';
	position: absolute;
	top: 50%;
    right: 20px;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMy43MzY0IDQuODg1NjVDMTIuMzU3MyA2LjI2NDc5IDkuNzkxNTYgNi4yMTMwMSA4LjM1NDM2IDQuNzc1ODFMNy43NjUxMSA0LjE4NjU2TDYuNjMzNzMgNS4zMTc5M0w3LjIyMjk5IDUuOTA3MThDOC4yNjgzMyA2Ljk1MjUyIDkuNjg4OTUgNy40OTI5NCAxMS4wOTk3IDcuNTIyMzFMNC4xMTk3NCAxNC41MDIzTDUuMjk4MjUgMTUuNjgwOEwxMi4yNzgyIDguNzAwODNDMTIuMzA3NiAxMC4xMTE2IDEyLjg0OCAxMS41MzIyIDEzLjg5MzQgMTIuNTc3NkwxNC40ODI2IDEzLjE2NjhMMTUuNjE0IDEyLjAzNTRMMTUuMDI0NyAxMS40NDYyQzEzLjU4NzUgMTAuMDA5IDEzLjUzNTggNy40NDMzMSAxNC45MTQ5IDYuMDY0MTdMMTUuNDgwNiA1LjQ5ODQ4TDE0LjMwMjEgNC4zMTk5N0wxMy43MzY0IDQuODg1NjVaIiBmaWxsPSIjMTcyQzQ1Ii8+Cjwvc3ZnPgo=");
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
	transform: translateY(-50%);
	transition: all 0.4s ease-in-out;
	z-index: 1;
}

.btn-default:hover::before{
	transform: translateY(-50%) rotate(45deg);
	filter: brightness(0) invert(1);
}

.btn-default::after{
	content: '';
	position: absolute;
	left: 0;
	bottom: 0%;
	width: 102%;
	height: 100%;
	background-color: var(--primary-color);
	transition: all 0.5s ease-in-out;
	z-index: -1;
	transform: skewY(9.3deg) scaleY(0);
}

.btn-default:hover::after{
	transform: skewY(0deg) scaleY(2);
}

.btn-default.btn-highlighted:hover{
	color: var(--primary-color);
}

.btn-default.btn-highlighted:hover::before{
	filter: none;
}

.btn-default.btn-highlighted::after{
	background-color: var(--white-color);
}

.btn-default.btn-border{
	background: transparent;
	color: var(--white-color);
	border: 1px solid var(--white-color);
	padding: 16px 50px 16px 20px;
}

.btn-default.btn-border:hover{
	color: var(--primary-color);
}

.btn-default.btn-border::before{
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMy43MzYgNC44ODU1M0MxMi4zNTY5IDYuMjY0NjcgOS43OTExOSA2LjIxMjg4IDguMzUzOTkgNC43NzU2OUw3Ljc2NDc0IDQuMTg2NDNMNi42MzMzNyA1LjMxNzhMNy4yMjI2MiA1LjkwNzA2QzguMjY3OTYgNi45NTI0IDkuNjg4NTkgNy40OTI4MiAxMS4wOTk0IDcuNTIyMTlMNC4xMTkzNyAxNC41MDIyTDUuMjk3ODggMTUuNjgwN0wxMi4yNzc5IDguNzAwN0MxMi4zMDcyIDEwLjExMTUgMTIuODQ3NyAxMS41MzIxIDEzLjg5MyAxMi41Nzc0TDE0LjQ4MjMgMTMuMTY2N0wxNS42MTM2IDEyLjAzNTNMMTUuMDI0NCAxMS40NDYxQzEzLjU4NzIgMTAuMDA4OSAxMy41MzU0IDcuNDQzMTggMTQuOTE0NSA2LjA2NDA0TDE1LjQ4MDIgNS40OTgzNkwxNC4zMDE3IDQuMzE5ODVMMTMuNzM2IDQuODg1NTNaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K");
}

.btn-default.btn-border:hover:before{
	filter: brightness(0) invert(0);
}

.btn-default.btn-border::after{
	background: var(--white-color);
}

.readmore-btn{
	position: relative;
	font-family: var(--accent-font);
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
	color: var(--primary-color);
	padding-right: 26px;
}

.readmore-btn::before{
	content: '';
    position: absolute;
    top: 0;
    right: 0;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMy43MzY0IDQuODg1NjVDMTIuMzU3MyA2LjI2NDc5IDkuNzkxNTYgNi4yMTMwMSA4LjM1NDM2IDQuNzc1ODFMNy43NjUxMSA0LjE4NjU2TDYuNjMzNzMgNS4zMTc5M0w3LjIyMjk5IDUuOTA3MThDOC4yNjgzMyA2Ljk1MjUyIDkuNjg4OTUgNy40OTI5NCAxMS4wOTk3IDcuNTIyMzFMNC4xMTk3NCAxNC41MDIzTDUuMjk4MjUgMTUuNjgwOEwxMi4yNzgyIDguNzAwODNDMTIuMzA3NiAxMC4xMTE2IDEyLjg0OCAxMS41MzIyIDEzLjg5MzQgMTIuNTc3NkwxNC40ODI2IDEzLjE2NjhMMTUuNjE0IDEyLjAzNTRMMTUuMDI0NyAxMS40NDYyQzEzLjU4NzUgMTAuMDA5IDEzLjUzNTggNy40NDMzMSAxNC45MTQ5IDYuMDY0MTdMMTUuNDgwNiA1LjQ5ODQ4TDE0LjMwMjEgNC4zMTk5N0wxMy43MzY0IDQuODg1NjVaIiBmaWxsPSIjMTcyQzQ1Ii8+Cjwvc3ZnPgo=");
	background-repeat: no-repeat;
	background-size: cover;
	width: 20px;
	height: 20px;
    transition: all 0.3s ease-in-out;
}

.readmore-btn:hover::before{
	transform: rotate(45deg);
}

.cb-cursor:before{
	background: var(--accent-color);
}

.preloader{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-container,
.loading{
	height: 100px;
	position: relative;
	width: 100px;
	border-radius: 100%;
}

.loading-container{
	margin: 40px auto;
}

.loading{
	border: 1px solid transparent;
	border-color: transparent var(--accent-color) transparent var(--accent-color);
	animation: rotate-loading 1.5s linear 0s infinite normal;
	transform-origin: 50% 50%;
}

.loading-container:hover .loading,
.loading-container .loading{
	transition: all 0.5s ease-in-out;
}

#loading-icon{
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 66px;
	transform: translate(-50%, -50%);
}

@keyframes rotate-loading{
	0%{
		transform: rotate(0deg);
	}

	100%{
		transform: rotate(360deg);
	}
}

.bg-section{
	width: 100%;
	max-width: 1820px;
	background-color: var(--secondary-color);
	border-radius: 20px;
	margin: 0 auto;
}

.dark-section{
	background-color: var(--primary-color);
}

.section-row{
	margin-bottom: 80px;
}

.section-row .section-title{
	margin-bottom: 0;
}

.section-row .section-title.section-title-center{
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.section-btn{
	text-align: right;
}

.section-content-btn .section-btn{
	margin-top: 30px;
	text-align: left;
}

.section-title-content p{
	margin-bottom: 20px;
}

.section-title-content p:last-child{
	margin-bottom: 0;	
}

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

.section-title h3{
	position: relative;
	display: inline-block;
	border: 1px solid var(--divider-color);
	border-radius: 100px;
	font-size: 14px;
    font-weight: 500;
	text-transform: capitalize;
    color: var(--primary-color);
	padding: 8px 16px 8px 32px;
    margin-bottom: 10px;
}

.section-title h3::before{
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--accent-color);
	border-radius: 50%;
	width: 6px;
	height: 6px;
}

.section-title h1{
	font-size: 60px;
	font-weight: 400;
	line-height: 1.2em;
	letter-spacing: -0.02em;
	margin-bottom: 0;
	cursor: pointer;
}

.section-title h2{
	font-size: 46px;
	font-weight: 400;
	line-height: 1.2em;
	letter-spacing: -0.02em;
	margin-bottom: 0;
	cursor: pointer;
}

.section-title p{
	margin-top: 20px;
	margin-bottom: 0;
}

.bg-section .section-title h3{
	border-color: var(--primary-color);
}

.bg-section .section-title h3::before{
	background: var(--primary-color);
}

.dark-section .section-title h3,
.dark-section .section-title h1,
.dark-section .section-title h2,
.dark-section .section-title p,
.dark-section .section-title-content p{
	color: var(--white-color);
}

.dark-section .section-title h3{
	border-color: var(--dark-divider-color);
}

.dark-section .section-title h3::before{
	background: var(--accent-color);
}

.help-block.with-errors ul{
	margin: 0;
	text-align: left;
}

.help-block.with-errors ul li{
	color: var(--error-color);
	font-weight: 500;
	font-size: 14px;
}

/************************************/
/* Fallback: ensure text-anime elements are visible even if GSAP fails */
.text-anime-style-1,
.text-anime-style-2,
.text-anime-style-3 {
	opacity: 1 !important;
	visibility: visible !important;
}
