/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;500;700&display=swap');

/* Custom Settings */

body {
	position: relative;
	font-family: 'Poppins', sans-serif;
}

.bg-custom {
	background-color: transparent;
}

section {
	padding: 120px 0 120px 0;
	background-color: #FCFCFC;
}

section h2 {
	position: relative;
	margin-top: 30px;
	margin-bottom: 30px;
	text-transform: uppercase;
	padding-bottom: 0.6rem;
}

section h2::before, section h2::after {
	position: absolute;
	left: 0;
	content: '';
	height: 3px;
	background-color: #0D6B68;
}

section h2::before {
	width: 45px;
	bottom: 7px;
}

section h2::after {
	width: 23px;
	bottom: 0;
}

p {
	font-family: 'Open Sans', sans-serif;
}

a {
	color: #212529;
}

a:hover {
	color: #0D6B68;
	text-decoration: none;
}

/* Preloader */

#preloader-container {
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: #FFFFFF;
	z-index: 9999;
}

#preloader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin-left: -30px;
	margin-top: -30px;
	border: 4px solid;
	border-color: #DDDDDD #DDDDDD #0D6B68;
	border-radius: 50%;
	animation: rotate 1s infinite linear;
}

/* Back to top */

#back-to-top {
	display: none;
	position: fixed;
	right: 30px;
	bottom: 40px;
	z-index: 10;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	overflow: hidden;
	color: #FFFFFF;
	background-color: #0D6B68;
	border-radius: 20px;
}

/* Message */

.message {
	background-color: #0D6B68;
	color: #FFFFFF;
}

.message a.btn-primary,
.message a.btn-primary:not(:disabled):not(.disabled):active {
	background-color: transparent;
	border-color: #FFFFFF;
	border-radius: 0;
}

/* Header */

header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

/* Navbar */

.navbar.fixed-top {
	top: -100px;
	background-color: #FFFFFF;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
	transform: translateY(100px);
	transition: transform .5s;
	background-image: url('../images/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.navbar-brand img {
	height: 70px;
}

.navbar .navbar-nav .nav-link {
	font-weight: 700;
	text-transform: uppercase;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link:focus {
	color: rgba(0, 0, 0, .5);
}

.navbar .navbar-nav .nav-link.active {
	color: #0D6B68;
}

.navbar .navbar-nav .nav-link:hover {
	color: #0D6B68;
}

/* Tiny slider */

.tns-controls {
	text-align: center;
	margin-bottom: 10px;
}

.tns-controls [aria-controls] {
	margin: 0 5px;
	padding: 0 1em;
	height: 2.5em;
	color: #FFFFFF;
	background-color: #0D6B68;
	border: 0;
	border-radius: 3px;
}

.tns-nav {
	text-align: center;
	margin: 10px 0;
}

.tns-nav > [aria-controls] {
	width: 9px;
	height: 9px;
	padding: 0;
	margin: 0 5px;
	border-radius: 50%;
	background: #DDDDDD;
	border: 0;
}

.tns-nav > .tns-nav-active {
	background: #999999;
}

/* Home */

#home {
	position: relative;
	margin: 0;
	padding: 0;
	background-image: url('../images/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 1;
	height: calc(100vh + 240px);
}

#home .scroll {
	position: absolute;
	top: 80vh;
	transform: rotate(-90deg);
	letter-spacing: 2px;
	z-index: 3;
}

#home .scroll p {
	font-size: 1.25rem;
	animation: bounce 2s infinite ease-in-out;
}

#home .scroll a {
	color: #4D4D4D;
}

#home .scroll a:hover {
	color: #0D6B68;
	text-decoration: none;
}

#home .social {
	position: absolute;
	right: -150px;
	bottom: 50%;
	transform: rotate(-90deg);
	font-size: 1.2rem;
	letter-spacing: 6px;
	z-index: 1;
}

#home .social a {
	color: #4D4D4D;
	text-decoration: none;
}

#home .social a:hover {
	color: #0D6B68;
}

#home .social ul li + li {
	margin-left: 3rem;
}

#home .content {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
}

#home .slider-item {
	position: relative;
	padding: 0 15px 0 15px;
}

#home .slider-item .item:hover .caption {
	opacity: 1;
}

#home .slider-item .item .caption {
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
	transition: opacity .2s ease-out;
	background-color: rgba(255, 255, 255, 0.86);
	width: 80%;
	height: 80%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
}

#home a.btn-primary {
	background-color: #0D6B68;
	border-radius: 0;
	border-color: #0D6B68;
	color: #FFFFFF;
	text-transform: uppercase;
}

#home a.btn-primary:hover {
	background-color: #0D6B68;
	border-color: #0D6B68;
	color: #FFFFFF;
}

/* About us */

#about_us .right-side p {
	text-align: justify;
	color: #848484;
}

/* Materials */

#materials p {
	text-align: justify;
	color: #848484;
}

#materials .slider-item .item-image {
	position: relative;
	margin-bottom: 0.5rem;
}

#materials .slider-item .item-image a.image-link {
	display: block;
	z-index: 1;
}

#materials .slider-item .item-image a.image-link::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	opacity: 0;
	z-index: 2;
	transition: all 0.3s ease 0s;
	content: '';
}

#materials .slider-item .item-image:hover a.image-link::before {
	opacity: 0.8;
}

#materials .slider-item .item-image .item-icon {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	padding: 0 15px;
	text-align: center;
	z-index: 4;
}

#materials .slider-item .item-image .item-icon svg {
	opacity: 0;
	transform: translateY(-15px);
	transition: all 0.3s ease 0s;
}

#materials .slider-item .item-image:hover .item-icon svg {
	opacity: 1;
	transform: translateY(0);
	color: #0D6B68;
}

/* Services */

#services {
	background-color: #E8E8E8;
}

#services .item {
	position: relative;
	background-color: #FCFCFC;
	padding: 40px 20px 10px 20px;
	border: 1px solid #EDEDED;
	height: 100%;
}

#services .item svg {
	position: absolute;
	color: #0D6B68;
}

#services .item .service-details {
	padding-left: 70px;
}

#services .item p {
	font-size: 0.875rem;
	text-align: justify;
	color: #848484;
}

/* Gallery */

#gallery .nav-tabs {
	border: none;
}

#gallery .nav-tabs .nav-link {
	font-size: 1.125rem;
	font-weight: 500;
	color: #848484;
	border: none;
	border-radius: 0;
}

#gallery .nav-tabs .nav-link.active {
	border-bottom: 1px solid #0D6B68;
}

#gallery .tab-content {
	margin-top: 40px;
}

#gallery .gallery-item {
	position: relative;
	margin-top: 10px;
}

#gallery .gallery-item a.image-link {
	display: block;
	z-index: 1;
}

#gallery .gallery-item a.image-link::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	opacity: 0;
	z-index: 2;
	transition: all 0.3s ease 0s;
	content: '';
}

#gallery .gallery-item:hover a.image-link::before {
	opacity: 0.8;
}

#gallery .gallery-item .gallery-content {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	padding: 0 15px;
	text-align: center;
	z-index: 4;
}

#gallery .gallery-item .gallery-content svg {
	opacity: 0;
	transform: translateY(-15px);
	transition: all 0.3s ease 0s;
}

#gallery .gallery-item:hover .gallery-content svg {
	opacity: 1;
	transform: translateY(0);
	color: #0D6B68;
}

#gallery a.btn-primary {
	margin-top: 20px;
	background-color: #0D6B68;
	border-radius: 0;
	border-color: #0D6B68;
	color: #FFFFFF;
	text-transform: uppercase;
}

#gallery a.btn-primary:hover {
	background-color: #0D6B68;
	border-color: #0D6B68;
	color: #FFFFFF;
}

/* Contacts */

#contacts {
	background-color: #E8E8E8;
}

#contacts .contact-item {
	padding: 67px 70px;
	background-color: #FCFCFC;
	height: 100%;
}

#contacts .contact-item ul {
	margin-top: 50px;
}

#contacts .contact-item ul li {
	position: relative;
	margin-bottom: 25px;
	padding-left: 40px;
}

#contacts .contact-item ul li span {
	position: absolute;
	left: 0;
}

#contacts .contact-item ul li span svg {
	color: #0D6B68;
}

#contacts .contact-item ul li,
#contacts .contact-item ul li a {
	color: #848484;
	text-decoration: none;
}

#contacts .contact-item p {
	margin-top: 1rem;
}

/* Footer */

footer {
	padding: 60px 0 60px 0;
}

footer ul, footer p {
	margin-top: 30px;
	text-align: center;
}

footer .logo {
	height: 120px;
}

/* Responsive */

@media (max-width: 992px) {

	.navbar-light .navbar-toggler {
		border-color: transparent;
	}

	.navbar-collapse {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #FFFFFF;
	}

	.navbar-nav > li {
		border-top: 1px solid #EDEDED;
	}

	.navbar-nav .nav-link {
		padding: 12px 45px 12px 25px;
	}

	#home {
		height: 650px;
	}

	#home .scroll, #home .social {
		display: none;
	}

	#home .content {
		top: 0;
		transform: none;
		padding: 120px 0 0 0;
	}

	#home h1 {
		font-size: 1.625rem;
	}

	#contacts .contact-item {
		padding: 67px 24px;
	}

}

@media (max-width: 768px) {

	.navbar-brand img {
		height: 50px;
	}

	#home h1, #home p {
		margin-bottom: 0;
	}

}

@media (max-width: 480px) {

	.navbar-brand img {
		height: 40px;
	}

}

/* Animations */

@keyframes bounce {

	0%, 100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(-20px);
	}

}

@keyframes rotate {

	0% {
		transform: rotate(0deg);
	}

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

}