/**
 * Theme Name:     Infra Elevators
 * Author:         the WordPress team
 * Template:       twentytwentyone
 * Text Domain:	   infra-elevators
 * Description:    Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
 */


/* Change success message text color to green */
/* .screen-reader-response p {
    color: green !important;
} */

/* Change error message text color to red */
/* .screen-reader-response ul li,
.wpcf7-response-output {
    color: red !important;
} */
/* Change success message color to green */
/* .wpcf7-response-output {
    color: green !important;
} */

/* Change error message color to red */
/* .wpcf7-response-output.wpcf7-validation-errors,
.screen-reader-response ul li {
    color: red !important;
} */
/* Change validation message color to red */
/* .wpcf7-not-valid-tip {
    color: red !important;
} */


@media (max-width: 767px){
.innerbanner img{
	height:220px;
	}}

.rivacy h1{
    text-align: center;
}

.building h3 {
   
    min-height: 44px;
}
.building p {
  

    min-height: 120px;
}

.cmt-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.cmt-list li {
    width: 50%; /* Makes two items per row */
    display: flex;
    align-items: baseline;
    margin-bottom: 10px; /* Space between rows */
}

@media(max-width:991px)
.offcanvas-body .navbar-nav{
	gap:10px !important;
}

li#menu-item-104 a {
    padding: 0px 0px 0px 15px!important;
}
@media(min-width:992px) and (max-width:1200px){
li#menu-item-104 a {
    padding: 0px 0px 0px 6px!important;
}}


/* .search-container {
    position: relative;
}

.search-box {
    display: none; /* Initially hidden */
/*     position: absolute;
    top: 100%;
    left: 0;
    width: 150px; /* Adjust width as needed */
/*     padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
} */ */

/* .search-container.active .search-box {
    display: block;
} */
 */

.search-container {
    position: relative;
}

.search-box-wrapper {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.search-box {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 5px;
}

.search-results {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    cursor: pointer;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.no-result-message {
    padding: 8px;
    color: red;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.search-box-wrapper {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Show when active */
.search-box-wrapper.active {
    display: block;
}
.search-container{
	position:relative;
}





.innerbanner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

.innerbanner {
    position: relative;}

.bulidingsub{
display: flex;
	flex-direction: column;}

.building p {
    flex-grow: 1;
}

/* .clientlogo{
	display: flex !important;
    align-items: center;
    height: 100px;
} */

.clientlogo .owl-stage
{
	align-items: center;
    justify-content: center;
    display: flex !important
}

.abts{
	padding:0px !important;
}

@media (min-width: 992px) and (max-width: 1199px){
	.bluebg_sub.aos-init.aos-animate{
		min-height:535px;
	}
}
@media (min-width: 768px) and (max-width: 991px){
	.bluebg_sub.aos-init.aos-animate{
		min-height:412px;
	}}
@media (min-width: 992px) and (max-width: 1199px){
.header ul li a{
	padding:10px 6px !important;
	}}


.contact_div p {
    display: flex;
}

.about h1{
	text-transform:capitalize;
}
.blue_box h4, .black h4{
	text-transform:capitalize;
}

a.view_more{
	text-transform:capitalize;
}
.build h1{
font-size: 30px;
    padding: 30px;
	text-align:center;
}
.build h3{
	font-size: 18px;
    font-weight: 500;
/* 	margin-top: 20px */
}

.build p{
	    font-size: 15px;
    line-height: 30px;
	
}

section.build{
	padding-bottom:50px;
/* background-color:#cdd1da; */
}

/* .map-container iframe {
  height: 470px !important;
} */
.giving h1{
	margin-bottom:0px !important;
}
.mt-4 p{
  padding: 0px 10px !important;
}

.givingbox p{
	min-height:80px;
}

.address-container {
    display: flex;
    gap: 20px; /* Space between columns */
}

.column {
    width: 50%;
}


/* .i4ewOd-pzNkMb-haAclf.QUIbkc{
	display:none;
}
.HzV7m-b7CEbf .i4ewOd-pzNkMb-tJHJj{
	display:none;
} */

.detail p{
	font-size:15px !important;
}

.project-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maximum 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-description {
    font-size: 13px;
    color: #b9b3b3;
    font-weight: 400;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap; /* Prevents wrapping */
    text-overflow: ellipsis; /* Adds "..." if content overflows */
}
 

@media (min-width: 360px) and (max-width: 767px){
.building p{
	min-height:0px !important;
}}

@media (min-width: 768px) and (max-width: 991px){
	.product_in h4{
		font-size: 21px;
	}}

@media (min-width: 360px) and (max-width: 767px){
	.abt_detail {
		padding:0px !important;
	}}
    
@media (min-width: 360px) and (max-width: 767px){
	.blog {
		padding:0px !important;
	}}

@media (min-width: 360px) and (max-width: 767px){
.abt_detail h1{
	margin-top:30px
	}}
@media (min-width: 360px) and (max-width: 767px){
	.abt_detail h1{
		margin-bottom:0px;
	}}

.cf7sr-g-recaptcha {
    transform: scale(0.8); /* Adjust scale as needed */
    transform-origin: 0 0;
}
/* .cf7sr-g-recaptcha {
    transform: scale(0.8);
    transform-origin: left top;
    margin-left: -10px; /* Fine-tune positioning */
} */




.form_index {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form_index::placeholder {
    color: #999;
}

.wpcf7-submit {
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #0056b3;
}

.screen-reader-response{
	display:none;
}


.for_btn{
	width:100% !important;
	padding:15px !important;
	border-radius:10px !important;
}

.forminator-ui#forminator-module-382.forminator-design--default .forminator-textarea{
	height:250px !important;
	border-radius:5px !important;
}


.forminator-ui#forminator-module-382.forminator-design--default .forminator-input{
	height:50px !important;
	border-radius:5px !important
}

form#forminator-module-387{
	margin:0px !important;
}





.tabs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
justify-content:center;	
}
.tabs-nav li {
  margin-right: 10px;
}
.tabs-nav li a {
  text-decoration: none;
  padding: 8px 100px;
  background: #eee;
  display: block;
  border-radius: 4px;
}

@media (max-width:767px){
	.tabs-nav li a{
		padding: 8px 60px;
	}
}
.tabs-nav li.active a {
  background: #ccc;
}
.tab-content {
  display: none;
  margin-top: 20px;
}
.tabs-content{
	padding:10px 0px;
}
.tab-content.active {
  display: block;
}


.aiovg{
text-align:center;
}

.aiovg-player.aiovg-player-iframe{
	padding-bottom: 0% !important;
}

.foogallery-album-gallery-list li{
	display:block !important;
}

/* Make video grid responsive */
/* .aiovg-video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
} */

/* .aiovg-video-item {
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
} */

/* Responsive iframe or video player */
@media (max-width: 767px){
.aiovg-player iframe,
.aiovg-player video {
  width: 100% !important;
  height: auto !important;
}
}
/* Fix video titles */
/* .aiovg-video-title {
  font-size: 1rem;
  text-align: center;
  padding: 8px;
  word-break: break-word;
} */

/* Add padding on smaller screens */
@media (max-width: 600px) {
  .aiovg-container {
    padding: 10px;
  }
}
@media(max-width:767px){
	.yello.carousel-item video ,
.yello.carousel-item img{
height:220px
}}
.navbar{
	 --bs-navbar-padding-y: 0 !important;
}

   
@media(min-width:768px) and (max-width:1024px){
	.yello.carousel-item video ,
.yello.carousel-item img{
height:500px;
}}
 


/* #site-loader {
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-wave-loader {
  font-size: 35px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  display: flex;
  gap: 8px;
  color: #333;
}

.letter-wave-loader span {
  display: inline-block;
  animation: wave 1.4s infinite ease-in-out;
}

/* Delay each letter a bit for wave effect (now 14 letters) */
/* .letter-wave-loader span:nth-child(1)  { animation-delay: 0s; }
.letter-wave-loader span:nth-child(2)  { animation-delay: 0.1s; }
.letter-wave-loader span:nth-child(3)  { animation-delay: 0.2s; }
.letter-wave-loader span:nth-child(4)  { animation-delay: 0.3s; }
.letter-wave-loader span:nth-child(5)  { animation-delay: 0.4s; }
.letter-wave-loader span:nth-child(6)  { animation-delay: 0.5s; }
.letter-wave-loader span:nth-child(7)  { animation-delay: 0.6s; }
.letter-wave-loader span:nth-child(8)  { animation-delay: 0.7s; }
.letter-wave-loader span:nth-child(9)  { animation-delay: 0.8s; }
.letter-wave-loader span:nth-child(10) { animation-delay: 0.9s; }
.letter-wave-loader span:nth-child(11) { animation-delay: 1.0s; }
.letter-wave-loader span:nth-child(12) { animation-delay: 1.1s; }
.letter-wave-loader span:nth-child(13) { animation-delay: 1.2s; }
.letter-wave-loader span:nth-child(14) { animation-delay: 1.3s; } /* new */

/* @keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
} */ 
@media(max-width:502px){
 .firstwhite h1 {
    font-size: 26px !important;
} }


body.page-id-123 .tabs-nav {
  display: none;
}

.testimonial-video{
	height: 300px;
    width: 100%;
    object-fit: cover;
	border-radius: 30px;
}
@media(min-width:992px) and (max-width:1199px){
	.testimonial-video{
	height: 300px;   
}
}
/* .testi{
padding:55px 25px;	
}
@media (min-width:992px) and (max-width:1199px){
	.testi{
padding:40px 25px;	
}
} */
/* .testmain,
.testimonial .owl-stage-outer {
 
    height: 100%;
} */
.testim {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  height: 100%;
  padding: 25px;
  border-radius: 20px; 
  min-height: 300px; 
}

.carousel-caption{
	position: absolute;
  top: 50%;
  transform: translateY(-25%)

}

.carousel-item {
  position: relative;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}
@media (max-width:767px) {
	.banner-overlay{
		height:97%;
	}
}
.carousel-caption {
/*   position: relative; */
  z-index: 2; 
}

.firstwhite h1{
font-size:35px;
}

/* button.sub-menu-toggle{
	display:none;
}
ul.sub-menu{
	display:none;
} */

/* Reset default submenu */

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 10px 0;
    min-width: 300px;
    z-index: 1000;
	border-radius:5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar-nav li {
    position: relative;
}

/* Show submenu on hover (desktop) */
@media (min-width: 992px) {
    .navbar-nav li.menu-item-has-children:hover > .sub-menu {
        display: block;
        top: 100%;
        left: 0;
    }
}

/* Mobile submenu toggle (default hidden, toggle with JS) */
@media (max-width: 991.98px) {
    .navbar-nav .submenu-toggle {
        display: inline-block;
        margin-left: 8px;
        cursor: pointer;
        font-size: 18px;
    }

    .navbar-nav .sub-menu {
        display: none;
        position: relative;
/*         padding-left: 15px; */
        background: #f9f9f9;
    }

    .navbar-nav .sub-menu.open {
        display: block;
    }
}
button.sub-menu-toggle {
	display:none;
}
.submenu-toggle {
    font-weight: bold;
    color: #333;
}
.submenu-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}
.submenu-toggle i {
    transition: transform 0.3s;
}

ul.sub-menu li a{
	display:block;
}
ul.sub-menu li{
	padding:10px 0px;
}
ul.sub-menu li:hover{
background:	#f3f4f6;
	font-weight: 600;
	color:#000;
}
.navbar-nav .sub-menu {
    max-height: 80vh; /* Responsive max height based on viewport */
    overflow-y: auto; /* Enable vertical scroll if needed */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #ccc transparent; /* For Firefox */
    padding-right: 10px; /* Prevent content from being under scrollbar */
}

/* Chrome, Edge, Safari custom scrollbar */
.navbar-nav .sub-menu::-webkit-scrollbar {
    width: 6px;
}
.navbar-nav .sub-menu::-webkit-scrollbar-track {
    background: transparent;
}
.navbar-nav .sub-menu::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 4px;
}

/* Optional: Make sure submenu does not overflow horizontally */
.navbar-nav .sub-menu li {
    white-space: normal;
    word-wrap: break-word;
}












.product-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
  max-height: 6.4em;
  word-break: break-word;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .product-description {
    line-height: 1.5em;
    max-height: 6em;
  }
}

.view_more {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.view_more:hover {
  text-decoration: underline;
}

.latestsub {
  width: 100%;
  box-sizing: border-box;
}

.owl-carousel .item {
  overflow: visible !important;
}











/* Container Perspective */
.flip-card-container {
  perspective: 1200px;
  padding: 10px;
  height: 320px;
}

/* Card Base */
.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
}

.flip-card:hover .flip-card-inner {
  transform: rotateX(180deg);
}

/* Card Sides */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  backface-visibility: hidden;
/*   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); */
}

/* Front Side */
.flip-card-front .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back Side */
.flip-card-back {
  background: linear-gradient(135deg, #1e293b, #334155);
  transform: rotateX(180deg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.flip-card-back .back-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.flip-card-back .back-content p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #cbd5e1;
}
a.view_more:hover{
text-decoration:none;
}
