/* CSS Document */

:root {
	--main-color: #8a7a67;
	--side-color: #3a7a93;
	--side-shade: #e9ecf3;
	--p-color: #444;
}

body {
	color: var(--p-color);
	font-family: 'Raleway', sans-serif;
	background:var(--side-shade);
}
ul, ol {
	list-style: none;
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'News Cycle', sans-serif;
	font-weight: 700;
}

h3 {
	border-bottom: 1px solid #ccc;
	padding-right: 30px;
	padding-bottom: 15px;
	margin-bottom: 30px;
	display: inline-block;
	position: relative;
	font-size: 2.1rem;
}

h3::after {
	height: 5px;
	width: 60px;
	border-radius: 2px;
	content: "";
	display: block;
	background: var(--main-color);
	bottom: -3px;
	position: absolute;
}
h3.inverse {
	border-color: rgba(255,255,255,0.25);
}
h3.inverse::after {
	background:var(--side-shade);
}
h5 {
	color: var(--side-color);
	text-transform: uppercase;
}
.subHeading {
	color:var(--main-color);
	font-weight: 700;
}
.text-center h3 {
	padding: 15px 30px;
}

.text-center h3::after {
	left: calc(50% - 30px);
}
.subHeader {
    background: url(../img/subheader.jpg) center center no-repeat;
    width: 100%;
    background-size: cover;
    background-position: center;
	position: relative;
	z-index: 1;
	height: 285px;
	display: flex;
	align-items: center;
	color:#fff;
}
.subHeader::before {
    position: absolute;
	z-index: 1;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.subHeader .container {
	position: relative;
	z-index: 2;
}
.subHeader .row {
	align-items: center;
}
.subHeader .row div:last-child {
	text-align: right;
}
.subHeader .pageName div {
	font-size:1.2rem;
	padding: 0.3rem 0;
	margin:0.3rem 0;
}
.subHeader .pageName div:last-child {
	font-size:2rem;
	font-weight: 700;
	border-top:1px solid #fff;
	display: inline;
}
.subHeader ul {
	font-size: 0.9rem;
	list-style: none;
}
.subHeader li {
	display: inline;
}
.subHeader li:not(:last-child)::after {
	content:"/";
	padding: 0 10px;
}
.subHeader li > a {
	color:var(--main-color);
	text-decoration: none;
}
#about {
	background: var(--side-shade);
}
#about .about-meta {
	color:#fff;
}
#about .about-meta i {
	font-size: 2em;
	padding-right: 30px;
}
#services {
	background: url(../img/servicii.jpg)center center no-repeat;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
}

#services::before {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
}

#services>.container {
	position: relative;
	z-index: 2;
}

#serviceSlider .slick-slide.item {
	height: 320px;
	background: center no-repeat;
	background-size: cover !important;
	padding: 15px;
	transition: all 0.4s ease;
	position: relative;
}

.slick-slide.item::before {
	background: rgb(119, 106, 103);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
	width: 100%;
	height: 35%;
	position: absolute;
	bottom: 0;
	left: 0;
	content: "";
	display: block;
	z-index: 1;
	pointer-events: none;
	transition: all 0.3s ease;
}
#serviceSlider .slick-slide.item:hover h5 {
	color:var(--side-shade);
}
#serviceSlider .slick-slide.item:hover:before {
	height: 100%;
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
}

.slick-slide.item h5 {
	position: absolute;
	bottom: 15px;
	z-index: 2;
	color: var(--side-shade);
	transition: all 0.4s ease;
}


#mission .img {
	background: url(../img/mission.jpg) center center no-repeat;
	background-size: cover;
	min-height: 33vh;
}

#mission .detail {
	background: var(--side-color);
	color: white;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
#vision {
	background:url(../img/bg-arhitecture.jpg) left center no-repeat;
	background-size: cover;
}
#values {
	background:white;
}
#values > .container > .row {
	justify-content: center;
}
#values [class^='col-md-4'] {
	margin-bottom: 30px;;
}
.valueCol {
	padding-bottom: 2rem;
}
.value {
    overflow: hidden;
    box-shadow: 1px 1px 4px #ddd;
    padding: 15px;
    position: relative;
	display: flex;
	height: 100%;
	padding-bottom: 1rem;
	color:var(--p-color);
	text-decoration: none;
}
/*
.value:hover {
	color:var(--main-color);
}
*/
.value h4 {
	color:black;
}

.value .value-icon {
	float: left;
	position: relative;
	margin-right: 20px;
}
.value .value-icon i {
    box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.1);
    color:var(--main-color);
    font-size: 24px;
    border: 1px solid var(--main-color);
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.4s ease 0s;
}
/*
.value:hover .value-icon i {
	background:var(--main-color);
	color:#fff;
}
*/
.value .value-icon::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--main-color);
    right: -8px;
    top: 20px;
    transition: all 0.4s ease 0s;
}
.animate__animated.animate__zoomIn {
	animation-delay: 0.5s;
  }
#values .subHeading {
	margin-bottom: 2rem;
}
/* ----- Despre noi ------- */
.about1 {
	position: relative;
}
.about1 .textContent {
	padding:90px 15px;
}
.about1 img {
	position: absolute;
	left: 0;
	top:0;
	width:41%;
	object-fit: cover;
	height: 100%;
}
.shortProjects {
	padding:90px 0;
	background:var(--side-shade);
}
.shortItem > a:first-child {
	background:url(../img/highlights/nusco.jpg) top center no-repeat;
}
.shortItem > a:nth-child(2) {
	background:url(../img/highlights/muzelor.jpg) top center no-repeat;
}
.shortItem > a:last-child {
	background:url(../img/highlights/romfelt.jpg) top center no-repeat;
}
.shortItem {
	justify-content: center;
}
.shortItem > a {
	background-size: cover !important;
	overflow: hidden;
	height:250px;
	transition:all 0.4s ease;
	position: relative;
}
.shortItem > a:hover {
	background-position-y: -40px;
}
.shortItem > a:hover .shortText{
	bottom:0;
}
.shortItem .shortText {
	position: absolute;
	background:var(--main-color);
	color:white;
	padding:15px;
	width:100%;
	bottom:-100%;
	left:0;
	transition: all 0.3s ease;
}
/* ----- Servicii ------- */
.imgCards > .row {
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.15);
	margin-top:2rem;
	margin-bottom: 3rem;
	position: relative;
}
.imgCards #infra:before {
	background:url(../img/infrastructura.jpg) center bottom no-repeat;
}
.imgCards #dezvoltare:before {
	background:url(../img/dezvoltare.jpg) center no-repeat;
}
.imgCards #arhi:before {
	background:url(../img/arhitectura.jpg) center no-repeat;
}
.imgCards #manCons:before {
	background:url(../img/constr.jpg) center no-repeat;
}
.imgCards #manProiect:before {
	background:url(../img/pm.jpg) center no-repeat;
}
.imgCards #lender:before {
	background:url(../img/supervisor.jpg) center no-repeat;
}
.imgCards #about:before {
	background:url(../img/teamwork.jpg) center no-repeat;
}

.imgCards > .row::before {
	position: static;
	width: 100%;
	height: 250px;
	background-size: cover !important;
	content:" ";
	display: block;
}
.imgCards > .row:nth-child(even):before {
	right: 0;
}

.imgCards .txt {
	background:white;
	position: relative;
	z-index: 2;
}
.imgCards .txt > div {
	margin:3rem 1rem;
}

/* ----- FOOTER ------- */
footer {
	background:url(../img/footer.jpg) center 80% no-repeat;
	padding: 70px 0 140px;
	color:white;
	position: relative;
}
footer h4 {
	border-bottom: 1px solid rgba(255,255,255,0.3);
	position: relative;
	margin-bottom: 1.3rem;
	display: inline-block;
	padding-bottom: 0.5rem;
}
footer h4::after {
    height: 3px;
    width: 40px;
    border-radius: 1px;
    content: "";
    display: block;
    background: var(--main-color);
    bottom: -2px;
    position: absolute;
}

footer a {
	text-decoration: none;
	color:#fff;
	transition: all 0.3s ease;
	
}
footer a:hover {
	color:var(--side-color);
}
footer .logo {
	max-width: 173px;
}
.list-link {
    display: flex;
    flex-wrap: wrap;
    max-width: 270px;
}
.list-link > li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 15px;
    flex-basis: 47%;
    width: 47%;
}
.list-link > li::before {
    content: '\f105';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color:var(--side-color);
	font-size: 0.7em;
}
.list-contacts > li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
	
}
.list-contacts i {
    min-width: 14px;
    margin-right: 15px;
	font-size: 18px;
	color:var(--side-color);
}
.subFooter {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 15px;
	background:rgba(0,0,0,0.5);
	font-size:0.8em;
}
.subFooter ul {
	text-align: right;
}
.subFooter li {
	display: inline;
}
.subFooter li:not(:last-child)::after {
	content:"|";
	padding: 0 15px;
}
.button { 
	border:2px solid var(--main-color);
	padding:7px 15px;
	color:var(--main-color);
	text-decoration: none;
	border-radius: 3px;
	transition:all 0.3s ease;
}
.button:hover {
	color:white;
	background:var(--main-color);
} 
.navbar-brand img {
	height: 50px;
}
.navbar-toggler {
	background:var(--main-color);
	border:none;
}
.navbar-light .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
	box-shadow: 0 0 5px #ccc;
}

#banner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 200px;
	position: relative;
	overflow: hidden;
	background: var(--side-shade);
	text-align: center;
}
#banner.small {
	height:250px;
	border-bottom: 5px solid var(--main-color);
	margin-bottom: 3rem;
}

#banner::before {
	background: url('../img/half1.jpg') right center no-repeat;
	left:-50px;
}
#banner.small::before {
	left:-20%;
}

#banner.small::after {
	right: -20%;
}
#banner::after {
	background: url('../img/half2.jpg') left center no-repeat;
	right: -50px;
}
#banner::before, #banner::after {
	height: 100%;
	background-size: cover;
	width: 45%;
	position: absolute;
	z-index: 1;
	content: "";
	display: block;
}

#banner .logo {
	width: 13vw;
	position: relative;
	z-index: 2;	
	min-width: 100px;
}
@media (min-width: 574px) {
	.imgCards .txt > div {
		margin:3rem;
	}
}
@media (min-width: 768px) {
	#banner {
		height:50vh;
	}
	#mission .detail {
		padding:50px;
	}
	#mission h1, #mission h4 {
		padding-bottom: 1em;
	}
	#mission .img {
		min-height: 0;
	}
}
@media (min-width: 992px) {
	.left-nav, .right-nav {
		flex:0 0 35%;
		justify-content: space-around;
		transition:all 0.3s ease;
		margin:0;
	}
	.navbar-brand {
		margin:0 2rem;
	}
	.navbar-brand img {
		height: 64px;
	}
	.navbar-expand-lg .navbar-collapse {
		justify-content: center;
	}
	
	#mission h1, #mission h4 {
		padding-bottom: 1.5em;
	}
	#vision .box {
		background:white;
		box-shadow: 0 0px 5px rgba(0, 0, 0, 0.05);
		padding:20px;
		display: flex;
		margin-top:30px;
	}
	#vision .img {
		flex:0 0 50%;
		background:url(../img/vision.jpg) right bottom no-repeat;
		background-size: cover;
	}
	.shortItem > a { 
		height: 350px;
	}
	#map {
		height: 100%;
		margin:0;
		width:100%;
	}
	.contactDetails {
		margin-left: -15px;
	}
	.imgCards > .row::before {
		position: absolute;
		z-index: 1;
		width: 50%;
		height: 100%;
		background-size: cover !important;
	}
	
	#banner {
		height: 80vh;
	}
	#banner.small {
		height:250px;
		border-bottom: 5px solid var(--main-color);
		margin-bottom: 3rem;
	}
	#banner::before {
		animation: slideLeft 0.7s ease;
	}
	#banner.small::before {
		left:-20%;
		animation: slideLeftSmall 0.7s ease;
	}
	#banner::after {
		animation: slideRight 0.7s ease;
	}
	#banner.small::after {
		right: -20%;
		animation: slideRightSmall 0.7s ease;
	}

	@keyframes slideLeft {
		from {left:-50%; opacity: 0;}
		to {left:-50px; opacity:1}
	}
	@keyframes slideRight {
		from {right:-50%; opacity: 0;}
		to {right:-50px; opacity:1}
	}
	@keyframes slideLeftSmall {
		from {left:-80%; opacity: 0;}
		to {left:-20%; opacity:1}
	}
	@keyframes slideRightSmall {
		from {right:-80%; opacity: 0;}
		to {right:-20%; opacity:1}
	}

	#banner::before, #banner::after {
		height: 100%;
		background-size: cover;
		width: 45%;
		position: absolute;
		z-index: 1;
		content: "";
		display: block;
	}
	#banner .logo {
		width:11vw;
		padding-bottom: 5vh;
	}

}

@media (min-width: 1200px) {

	.about-right-side {
		position: relative;
	}
	.about-right-side>img {
		padding: 0;
		padding-top: 35px;
		padding-left: 35px;
		position: relative;
		z-index: 2;
	}
	.about-right-side::before {
		content: '';
		background: var(--main-color);
		display: block;
		height: 50%;
		z-index: 1;
		position: absolute;
		width: calc(50% + 35px);
		right: 35px;
		left: 0px;
	}
	.about-right-side .about-meta::before {
		content: '';
		border-width: 14px;
		border-color: #fd7435 transparent transparent #fd7334;
		border-style: solid;
		position: absolute;
		bottom: -28px;
		right: 0;
		z-index: 1;
	}
	.about-right-side .about-meta {
		position: absolute;
		top: 50px;
		right: -26px;
		max-width: 380px;
		background-image: -webkit-linear-gradient(top, #fd5d14, #fd7537);
		padding: 25px;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		z-index: 3;
	}
	.about-left-side {
		margin-left: 35px;
	}
	#mission .detail {
		padding:100px;
	}

	.py-100 {
		padding-top:100px;
		padding-bottom: 100px;
	}
}

