/*
Theme Name: NuovaWPTheme
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.elementor-widget-tabs.elementor-tabs-alignment-stretch.elementor-tabs-view-horizontal
  .elementor-tab-title {
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.elementor-widget-tabs.elementor-tabs-view-horizontal
  .elementor-tab-desktop-title.elementor-active {
  border-bottom: 1px solid !important;
}

.ha-pricing-table-badge--left {
  transform: rotate(0deg) translateX(0%);
}

.ha-pricing-table-body {
  margin-bottom: 2rem !important;
}

.wpr-anim-text-inner b {
  max-width: 50vw !important; /* Adjust this value for your layout */
  overflow: hidden !important;
  white-space: normal !important; /* Allows text to wrap naturally */
  word-break: break-word !important; /* Ensures long words break at appropriate points */
  hyphens: none !important; /* Disables automatic hyphenation */
  width: auto !important;
}

.wpr-anim-text-inner {
  display: block !important; /* Ensure the container can expand to take up available width */
  max-width: 100% !important; /* Prevents the text from being restricted */
  text-align: left !important; /* Text alignment, ensure it wraps correctly */
  line-height: 1.4 !important; /* Adjust line-height for readability */
}

.she-header {
  height: 70px;
  transition: height 0.3s ease;
}

.she-header .wpr-logo-image {
  width: 85%;
}

.she-header .elementor-element-a8cf632 .wpr-offcanvas-trigger {
  padding: 10px 30px 10px 30px;
}

.wpr-jarallax {
  background-repeat: no-repeat !important;
  background-size: 50%;
  background-position: 85% 50%;
}

.wpr-flip-box-back .wpr-flip-box-title {
  margin-bottom: 30px !important;
}

.learn-more-text {
  margin-top: 20px;
}

.learn-more-white {
  float: left;
  margin-top: 20px;
}

.learn-more-white a {
  color: #fff;
}

.learn-more-white a:hover {
  color: #141e99 !important;
}

.learn-more-white img {
  float: right;
  margin-left: 15px;
}

.learn-more {
  float: left;
  margin-top: 20px;
}

.learn-more a {
  color: #3b3b3b;
}

.learn-more a:hover {
  color: #141e99 !important;
}

.learn-more img {
  float: right;
  margin-left: 15px;
}

.learn-more-btn {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8em;
}

hr {
  background-color: hsl(0deg 0% 100% / 50%) !important;
  height: 0.1em !important;
  width: 65%;
}

.wpr-stt-btn-align-fixed-right .wpr-stt-btn {
  right: 30px !important;
  bottom: 30px !important;
}

.nf-form-content textarea.ninja-forms-field {
  height: 100px !important; /* Set a desired height here */
}

.custom-parallax{background-position: right;}

.modal-leadership {
    position: absolute;
    bottom: 15px;
    right: 0;
    left: 25px;
}

.card-leadership .ha-card-figure{
    height: auto;
    bottom: 0;
    right: 0;
}

.card-leadership .ha-card-body{
	margin-right: auto !important;
    transition: all .5s ease;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    text-align: left;
    position: absolute;
    left: 30px;
    background: var(--wp--preset--color--ast-global-color-0);
    width: auto !important;
    right: 30px;
    border-radius: 10px;
}

.modal-leadership .exad-modal-button a{
	width: 38px;
    height: 38px;
    background: none;
    fill: #ffffff;
	transition: all .5s ease;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
	position: absolute;
    left: 35px;
	right: 30px;
}


.card-leadership:hover .ha-card-body{
	transform: translate(0%, -35px);
    opacity: 1;
    visibility: visible;
}

.card-leadership:hover ~ .modal-leadership .exad-modal-button a {
    transform: translate(0%, -35px);
    opacity: 1;
    visibility: visible;
}

.card-leadership:hover .ha-card-body,
.card-leadership:hover ~ .modal-leadership .exad-modal-button a,
.modal-leadership .exad-modal-button a:focus,
.modal-leadership .exad-modal-button a:active {
    transform: translate(0%, -35px);
    opacity: 1;
    visibility: visible;
}

.leadership-wrapper:hover .ha-card-body,
.leadership-wrapper:hover .modal-leadership .exad-modal-button a {
    transform: translate(0%, -35px);
    opacity: 1;
    visibility: visible;
}

.services-card .ha-card-figure{
	width: auto;
    flex: 1;
    max-width: 25%;
    align-self: baseline;
    padding-top: 20px;
}

.services-card .ha-card-body{
	flex: 3 !important;
    max-width: 75% !important;
	padding: 20px 25px 20px 8px !important;
}

.services-card .ha-card-text i {
    font-style: normal;
    display: flex;
    width: 100%;
}

.services-card .ha-card-text i:before {
  content: ""; /* Enables the pseudo-element */
  display: inline-block; /* Allows setting dimensions */
  width: 20px; /* Set width of the bullet */
  height: 20px; /* Set height of the bullet */
  margin-right: 10px; /* Space between the bullet and text */
  background-color: #16C2A6; /* The desired color */
  -webkit-mask: url('/wp-content/uploads/2024/12/check-square-svgrepo-com.svg') no-repeat center;
  mask: url('/wp-content/uploads/2024/12/check-square-svgrepo-com.svg') no-repeat center;
  -webkit-mask-size: contain; /* Ensures proper scaling */
  mask-size: contain;
	top: 3px;
  	position: relative;
}

.services-card .ha-card-figure img{
	width: auto;
    object-fit: none;
    height: auto;
    margin: auto;
}

.services-card{
	transition: all .3s ease 0s;
	transition-duration: 0.5s;
	border-radius:10px !important
}

.services-card:hover .elementor-widget-container{
	background-color:#141E99;
}

.services-card .elementor-widget-container{
	border-radius:10px !important;
	align-items: flex-start !important;
}

.services-card .ha-card-body .ha-card-title{
	min-height: 72px;
}

.services-card:hover .ha-card-figure img{
	transform: scale(1.1);
}

.services-card:hover .ha-card-body .ha-card-title{
	color:white
}

.services-card:hover .ha-card-body .ha-card-text{
	color:white
}

.elementor-2455 .elementor-element.elementor-element-22eab3d .wpr-nav-menu-horizontal .wpr-nav-menu > li > .wpr-sub-menu{
	transform: translateY(5px);
}

header .wpr-nav-menu .wpr-sub-menu{
	width: 245px
}

.hero-section{
	border-radius:0 0 0 40rem
}

.hero-section .wpr-fancy-text-slide .wpr-anim-text.wpr-anim-text-type-slide .wpr-anim-text-inner{
	min-height: 220px;
}

footer{
	overflow:hidden;
}

.footer-video{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    padding: 0;
}

.footer-video:before{
	content: "";
    background-color: #191e5c;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    opacity: 0.8;
}

@media (max-width: 1350px) and (min-width: 1025px) {
    .footer-form{
		margin-left: 40px;
		margin-right: 40px;
		width: auto;
	}
}

@media (min-width: 1025px) {
  .hero-section, .hero-section-ribbon, .why-choose-us, .our-services, .why-srilanka, .how-we-work{
		padding-left: 15px;
		padding-right: 15px;
	}
	.custom-parallax{
		background-position: calc(100% - 25px) center;
	}
} 

@media (max-width: 1199px) {
  footer .footer-form {
		width: auto;
	}
	.hero-section{
		border-radius:0 0 0 200px
	}
	.hero-section .wpr-fancy-text-slide .wpr-anim-text.wpr-anim-text-type-slide .wpr-anim-text-inner{
		min-height: 185px;
	}
}

@media (max-width: 992px) {
	.footer-bullets .elementor-image-box-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer-bullets .elementor-image-box-img {
        margin-right: 20px !Important; /* Adjust spacing as needed */
    }
	
	.wpr-jarallax-yes {
    background-image: none !important;
	}
	.services-card .ha-card-body {
		max-width: 100% !important;
		padding: 20px 15px 20px 15px !important;
	}
	
	.services-card .ha-card-figure{
		margin-left:10px !important
	}
}

@media (max-width: 768px) {
  .wpr-anim-text-inner b {
    max-width: 80vw !important;
  }
	header .elementor-2455 .elementor-element.elementor-element-6c779bf.e-con{
		padding-right:0
	}
	.hero-section{
		border-radius:0 0 0 100px
	}
}