/*Vesper Pro */

/*text writer*/
span.text-writer {
  background-color: var(--vesper-accent-color);
  margin: 0 4px;
  padding: 0 4px;
  will-change: width;
  border-radius:var(--vesper-border-radius-sm);
}

/* Hero Gallery Slider*/
.hero-gallery-section{
	position:relative;
	overflow:hidden;
	z-index:1;
	height:100%;
}

.hero-gallery-wrapper{
	padding:0 25px;
	height:500px;
}


.hero-gallery-wrapper:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #fff;
  opacity:0.5;
  z-index: 1;
}

.hero-gallery-content-box{
	position:relative;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:center;
	height:100%;
	padding-top:75px;
	z-index:2;
}

.hero-gallery-content-box .section-text{
	text-align:left;
	margin-bottom:10px;
}

.hero-gallery-box {
    position: absolute;
    top: -50px;
	right: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    transform: rotate(20deg);
    z-index: 0;
}

.hero-gallery {
	position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: scrollGallery 30s linear infinite;
	will-change: transform;
}

@keyframes scrollGallery {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}


.hero-gallery.gallery-1 {
	top:50px;
    animation-duration: 30s; 
}

.hero-gallery.gallery-2 {
    animation-duration: 40s; 
}

.hero-gallery.gallery-3 {
    animation-duration: 50s;
	top:50px;
}


.hero-gallery-item{
	width:200px;
	height:200px;
	margin:5px 0;
}

.hero-gallery-item img{
	width: 100%;
    height: 100%;
    border-radius: var(--vesper-border-radius-md);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
	.hero-gallery-wrapper{
		height:400px;
	}
	
	.hero-gallery-item{
		width:150px;
		height:150px;
	}	
}

@media (max-width: 767px){
	.hero-gallery-content-box{
		padding-top:0;
	}
}

@media (max-width: 480px){
	.hero-gallery-box{
		right:-60%;
	}
}


/* Hero Slider One */
.hero-slider-one-wrapper{
	position:relative;
	padding:150px 0 75px 0;
	z-index:1;
}

.hero-slider-one-content p {
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-slider-one-image{
	position:relative;
}

.hero-slider-one-image img{
	margin:0 auto;
    border-radius: var(--vesper-border-radius-md);
	max-height:calc(100vh - 225px);
}

.hero-slider-one-button{
	display:flex;
	align-items:center;
	justify-content:left;
	margin-bottom:20px;
}


@media (max-width: 991px){
	.hero-slider-one-wrapper{
		padding:75px 25px 50px 25px;
	}
	
	.hero-slider-one-content{
		margin-top:30px;
		text-align:center;
	}
	
	.hero-slider-one-button{
		justify-content:center;
	}
	
	.hero-slider-one-image{
		text-align:center!important;
		margin-top:50px;
	}
	
	
	.hero-slider-one-image img{
		max-height:300px;
	}
}

@media (max-width: 767px) {
	.hero-slider-one-wrapper{
		padding:0px 25px 50px 25px;
	}
}

@media (max-width: 576px) {
	.hero-slider-one-wrapper{
		padding:0px 25px 25px 25px;
	}
	
	.hero-slider-one-image img{
		max-height:200px;
	}
}


.hero-slider-one .hero-slider-content-box > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s;
}

.hero-slider-one .slick-active .hero-slider-content-box > * {
    opacity: 1;
    transform: none;
}

.hero-slider-one .hero-slider-image-box{
	opacity:0;
	transform: translateX(-50px);
	transition: all 0.5s;
}

.hero-slider-one .slick-active .hero-slider-image-box{
	transform: none;
	opacity:1;
}

@media (max-width: 991px) {
	.hero-slider-one .hero-slider-image-box{
		opacity:1;
		transform: none;
	}
}

/* Hero Slider Two */
.hero-slider-two-section{
	padding: 75px 0 0 0;
}

@media (max-width: 767px){
	.hero-slider-two-section{
		padding: 0;
	}
}


.hero-slider-two-wrapper{
	height:calc(100vh - 75px);
}

.hero-slider-two .hero-slider-content-box{
	position: relative;
	display: flex;
    align-items: center;
    justify-content: center;
	text-align:left;
	width:100%;
	height:100%;
	margin:0;
	padding:75px 65px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.5s;
}

@media (max-width: 576px){
	.hero-slider-two .hero-slider-content-box{
		padding:50px 27px;
	}
}

.hero-slider-two.center_default .hero-slider-content-box{
    justify-content: center;
	text-align:left;
}

.hero-slider-two.center_center .hero-slider-content-box{
    justify-content: center;
	text-align:center;
}

.hero-slider-two.center_left .hero-slider-content-box{
    justify-content: left;
	text-align:left;
}

.hero-slider-two.center_right .hero-slider-content-box{
    justify-content: right;
	text-align:right;
}

.hero-slider-two.bottom_left .hero-slider-content-box{
	align-items:flex-end;
    justify-content: left;
	text-align:left;
}

.hero-slider-two.bottom_right .hero-slider-content-box{
	align-items:flex-end;
    justify-content: right;
	text-align:right;
}

.hero-slider-two .slick-active .hero-slider-content-box{
	opacity:1;
	transform: none;
}

.hero-slider-two-content p {
	margin-bottom:30px;
}

/* Feature Cards */
.feature-cards-section{
	padding-bottom:50px;
	
}

.feature-card {
	padding: 30px 40px 23px;
    border-radius: var(--vesper-border-radius-md);
	margin-bottom:20px;
	
}

.feature-card .fcard-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 65px;
    min-height: 65px;
	margin-bottom: 20px;
	border-radius: 50%;
	font-size: 30px;
	background: var(--vesper-primary-color);
}

.fcard-icon i{
	color: var(--vesper-smoke-color);
}

.feature-card h5{
  color: var(--vesper-heading-color);
}

.fcard-info-image img{
	border-radius: var(--vesper-border-radius-md);
}

.fcard-info-one, .fcard-info-three{
	margin-bottom:40px;
}

.fcard-info-left{
	padding-right:20px;
	text-align:right;
}

.fcard-info-right{
	padding-left:20px;
}

.fcard-info-image{
	margin:0 0 30px 0;
}

@media (max-width: 991px) {
	.fcard-info-left{
		padding-right:0;
		text-align:left;
	}

	.fcard-info-right{
		padding-left:0;
	}

    .fcard-info-image{
		margin:20px 0 30px 0;
	}
}

.feature-card{
	background:var(--vesper-smoke-color);
}

/* feature Card Tabs */
.feature-cards-four{
	padding-bottom:75px;
}

.fcard-tabs-wrapper{
	display:flex;
	align-items:flex-start;
	gap:50px;
	padding-bottom:25px;
}

.fcard-tabs-nav{
	display: flex;
    align-items: center;
    justify-content: center;
	gap:10px;
    width: 100%;
}

.fcard-tab-panel:not(.active){
	display:none;
}

.fcard-tab-panel.active{
	display:flex;
}

.fcard-tab-button{
	display:flex;
	align-items:center;
	justify-content:center;
	width:auto;
	color: var(--vesper-heading-color);
	background:transparent;
}

.fcard-tab-button.active{
	color: var(--vesper-secondary-color);
	background: var(--vesper-primary-color);
}

.fcard-tab-button .fcard-tab-icon{
	margin-right:10px;
	font-size:18px;
}

.fcard-tab-image img{
	border-radius: var(--vesper-border-radius-md);
}

@media (max-width: 767px){
	.fcard-tab-image img{
		margin: 30px 0 40px 0;
	}
}

@media (max-width: 567px){
	.feature-cards-four{
		padding-bottom:35px;
	}
	
	.fcard-tabs-wrapper{
		padding-bottom:0;
	}
	
	.fcard-tabs-nav{
		flex-wrap: wrap;
	}
	
	.fcard-tab-inner{
		margin-top:30px;
	}
}

/*Call to Action*/
.cta-parallax-wrapper{
	position:relative;
	padding: 200px 0;
	z-index:1;
}

.cta-parallax-background:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #000000 100%);
  z-index: -1;
}

.cta-parallax-background.cta-no-overlay:after{
	display:none;
}

.cta-parallax-background{
	background-position: center center !important;
	background-size: cover !important;
	background-attachment:fixed!important;
}

.cta-parallax-background.cta-no-parallax{
	background-attachment:unset!important;
}

.cta-parallax-content-box h2{
  margin-bottom: 20px;
}

.cta-parallax-content-box p {
  margin-bottom: 0;
  color:var(--vesper-gray-color);
  line-height:1.4;
}

.cta-parallax-content-box a{
	margin-top:30px;
}

/* CTA Offset */
.cta-offset-wrapper {
  padding: 50px 35px;
  border-radius: var(--vesper-border-radius-xl);
  background:var(--vesper-smoke-color);
}

.cta-offset-image-box{
	position:relative;
	width:100%;
	border-radius: var(--vesper-border-radius-md);
	z-index:1;
}

.cta-offset-image-box .cta-image {
  position: absolute;
  top: -150px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  min-height:400px;
  max-height:400px;
}

.cta-offset-image-box .cta-image {
	border-radius: var(--vesper-border-radius-md);
	animation: moveY 2s infinite;
}

.cta-offset-image-box.no-effect .cta-image {
	animation: none;
}

@media (max-width: 991px) {

	.cta-offset-image-box{
		height:100%!important;
		text-align:center;
		margin-top:30px;
	}
	
	.cta-offset-image-box .cta-image{
		position:relative;
		top:0;
		left:0;
		min-height: unset;
		margin-top:0;
		transform:none;
		animation:none;
	}
	
	.cta-offset-two, .cta-offset-buttons{
		justify-content:center;
	}
	
	.cta-offset-content{
		text-align:center;
	}
}

@media (max-width: 576px) {
	.cta-offset-image-box .cta-image{
		min-height: unset;
	}
}

/* Text Slider */
.text-slider-wrapper {
  position: relative;
  width: 100%;
  height: 75px;
  overflow: hidden; 
  background:var(--vesper-smoke-color);
}

.text-slider {
  display: flex;
  align-items:center;
  height: 100%;
  margin: 0;
  overflow:hidden;
}

.text-slider-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  max-height: 100%;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  animation: scrollText 30s linear infinite;
  will-change: transform;
  user-select:none;
}

@keyframes scrollText {
  100% {
    transform: translateX(-100%);
  }
}

.text-slider h4 {
  margin: 0 25px;
}

.text-slider i {
  color: var(--vesper-primary-color);
  font-size: 24px;
}

@media (max-width: 767px) {
	.text-slider-wrapper{
		height:50px;
	}
	
	.text-slider i {
	  font-size: 18px;
	}
}