/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Envision Creative
Author URI: https://www.envision-creative.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.portfolio-sec  .elementor-post__thumbnail:hover , .archive-portfolio .elementor-post__thumbnail:hover {opacity: 0.7;color: #fff;}
.press-list ul li {list-style: none;}
.press-list .solid {padding-left: 0;}
.gallery-sec .elementor-gallery-item .e-gallery-image {transform: scale(1.08);transition: transform 0.4s ease; transform-origin: top center; }
.gallery-sec .elementor-gallery-item__overlay:hover {background: transparent !important;}
.gallery-sec .elementor-gallery-item:hover .e-gallery-image {transform: scale(1) translateY(-40px); }
.right-side-sec .elementor-widget-image img {transition: all 0.6s ease-in-out;transform: scale(1);filter: grayscale(100%);}
.right-side-sec .elementor-widget-image:hover img {filter: grayscale(0%);}
ul li::marker {font-size: 16px;color: #5E3A13;line-height: 25px;}
#my-carousel .elementor-carousel-image {transform: scale(1.08); transition: transform 0.4s ease;transform-origin: top center;}
#my-carousel .elementor-carousel-image:hover {transform: scale(1) translateY(-12px);}

  /* ===== Contact Form Styling ===== */

.gform_wrapper .gform_body input, .gform_wrapper .gform_body textarea, .ginput_container_select select {background: none !important;border: none;border-bottom: 1px solid #aaa;border-radius: 0px;box-shadow: none;color: #272727;opacity: 0.46;font-family: Helvetica;font-size: 18px;font-weight: 400;padding: 0;}
.ginput_container_textarea textarea {height: 0px !important;}
.gfield_label {color: #272727 ;font-size: 18px ;line-height: 22px;opacity: 46%;}
.gform_button {border: 1px solid #5E3A13 !important ;border-radius: 24px !important ;padding: 12px 22px !important ;background: transparent !important;color: #5E3A13  !important;
font-size: 18px !important;line-height: 22px !important ;letter-spacing: 1.37px !important;}
.gform_button:hover {background: #5E3A13 !important ;color: #fff !important ;}
.gform_button:focus {outline: none !important;}
.gform_fields input , textarea , select:focus {outline: none !important;}
.ginput_container_select {position: relative;}
.ginput_container_select select {appearance: none;-webkit-appearance: none;-moz-appearance: none;padding-right: 35px; }
.ginput_container_select::after {content: "";position: absolute;right: 10px;top: 50%;transform: translateY(-50%);width: 25px;height: 25px;pointer-events: none;opacity: 0.3;
background: url("data:image/svg+xml;utf8,<svg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%235E3A13' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/></svg>") no-repeat center center;background-size: contain;}
 .elementor-post__read-more {border: 1px solid #5F3A13;padding: 12px 22px;border-radius: 22px;color: #5E3A13 ;}
 .elementor-post__read-more:hover {background: #5E3A13 ;color: #fff ;}
.testimonial-videos-section {padding: 20px 0;}
.testimonial-videos-grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;}
.testimonial-video-item {display: flex;flex-direction: column;gap: 10px;}
.testimonial-video {position: relative;width: 100%;aspect-ratio: 16 / 9; overflow: hidden;}
.testimonial-video iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;border: none;object-fit: cover;}
.testimonial-meta {text-align: left;}
.testimonial-video-item {text-align: left;}
.client-name {margin: 15px 0 5px;}
.project-name {margin: 0;font-size: 18px;color: #272727;line-height: 22px;font-family: 'Helvetica';font-weight: 300;text-transform: lowercase;}
.client-name {color: #555;font-style: normal;display: block;}
.elementor-widget-posts .elementor-post__text {display: flex;flex-direction: column;}
.elementor-widget-posts .elementor-post__excerpt {order: 1;}
.elementor-widget-posts .elementor-post__title {order: 2;}
.left-side-header {height: 100% !important;} 
.left-side-header  .elementor-nav-menu--layout-vertical .elementor-nav-menu .sub-menu {display: block !important;max-height: 0; opacity: 0; transform: translateY(-10px);
visibility: hidden; transition: all 0.4s ease;position: relative !important;margin: 0 !important;background: transparent !important;box-shadow: none !important;border: none !important;}
.left-side-header  .elementor-nav-menu--layout-vertical .elementor-nav-menu li:hover > .sub-menu {max-height: 500px;opacity: 1; transform: translateY(0); visibility: visible;}
.left-side-header  .elementor-nav-menu--layout-vertical .elementor-nav-menu .sub-menu li a {font-size: 15px;font-weight: normal;padding: 7px 20px 0 0 !important;background: transparent !important;
text-align: left;font-family: Helvetica, sans-serif;letter-spacing: 1.22px;}
.left-side-header  .elementor-nav-menu--layout-vertical .elementor-nav-menu > li > a {font-weight: bold;font-size: 15px;background: transparent !important;}
.left-side-header ul li a:hover {background: none !important;color: #382F2D !important;}
#gform_2 {display: flex;}
.gform-footer.gform_footer.top_label {margin-top: 40px !important;}
#gform_2 .gform-footer.gform_footer.top_label {margin-top: 0 !important;}
#gform_submit_button_2 {border-radius: 0 !important;border: 1px solid #5F3A13;margin-left: 12px;padding: 0 12px !important;text-transform: lowercase;box-shadow: none;}
#gform_submit_button_2:focus {outline: none;}  
#gform_fields_2 input{padding: 8px 0;color: #382F2D;opacity: 45%;font-size: 16px;line-height: 22px;width: 270px;border: 0;background: none;box-shadow: none !important;border-bottom: 1px solid #413430; border-radius: 0;}
.gform_required_legend {display: none;}
.left-side-header  ul.elementor-nav-menu--dropdown a, ul.elementor-nav-menu--dropdown a:focus, ul.elementor-nav-menu--dropdown a:hover {border-inline-start: 0 !important;}
.home-header.elementor-nav-menu > li > a {position: relative;text-decoration: none;display: inline-block;}
.home-header ul li a:hover {font-weight: 700 !important;}
.home-header.elementor-nav-menu > li > a:hover::after {transform: scaleX(1);}
#gform_fields_2 input{outline: none !important;}
.elementor-team-grid {display: grid;grid-template-columns: repeat(4, 1fr);gap: 30px;margin-bottom: 30px;}
.team-member {position: relative;overflow: hidden;text-align: left;aspect-ratio: auto !important;}
.team-sec-new .team-member img {width: 100%;height: auto; object-fit: cover;aspect-ratio: attr(width) / attr(height); display: block;
  filter: grayscale(100%);transition: all 0.3s ease;}
.partner-sec .elementor-team-grid {grid-template-columns: repeat(3, 1fr);}
.partner-sec  .team-member img {height: auto;width: 100%;filter: grayscale(100%);transition: all 0.3s ease;}
.news-sec .elementor-widget-posts .elementor-post__title {order: 1;}
.single-format-standard .wp-block-column p img {display: none;}
.news-sec .elementor-widget-posts .elementor-post__excerpt {order: 3;}
.news-sec .elementor-post__meta-data {order: 2;}

@supports not (aspect-ratio: auto) {.team-member img {height: auto; }}
.team-member:hover img {filter: grayscale(0%);}
.team-member h3 {margin-top: 15px;font-size: 18px;margin-bottom: 5px;}
.team-member p.team-designation {font-size: 18px;line-height:22px;margin-top: 5px;letter-spacing: 0.6px;}
.left-side-header .elementor-item::after, .elementor-item::before {width: 55%;}
.portfolio-posts-sec img, .tax-portfolio-category .archive-portfolio img {width: 100%;height: auto;/* max-height: 450px; */object-fit: cover;}
.portfolio-gallery-grid a:hover {opacity: 0.7;color: #fff;}
.fancybox__backdrop {background: #272727;opacity: 0.95 !important;}
.carousel__nav {position: relative;bottom: 20px;width: 100px;display: flex;justify-content: center;gap: 80px;margin: 0 auto;color: #EAE0D9;}
.fancybox__caption {display: none !important;}
.fancybox__image {height: 600px;object-fit: cover;}
.carousel__button , .carousel__button:hover {color: #EAE0D9;background: none !important;}
.testimonials-new .elementor-post__excerpt {padding-top: 30px;}
.search-results .elementor-post__read-more:hover {color: #EAE0D9 !important;}
/* .search-no-results .elementor-widget-archive-posts {min-height: 250px;} */
.search-no-results .search-sec {padding: 270px 0;}
.search-no-results  .search-field {background-color: #00000000;border-radius: 0 !important; padding: 12px 22px;}
.search-no-results .search-field:focus-visible {outline: none;}
.search-no-results .search-submit {background: #5F3A13;color: #EAE0D9;border-radius: 0 !important;border: none;padding: 12px 22px;}
.search-submit:hover {background: #382F2D;color: #EAE0D9;}
.search-no-results .search-form {display: flex;gap: 0;margin: 30px auto;max-width: 500px; justify-content: center;}
.search-no-results .elementor-posts-nothing-found {text-align: center;font-size: 20px !important; letter-spacing: 0.28px; padding: 0px 150px 0 0;}
.search-no-results .elementor-widget-theme-archive-title {margin: 0 auto;margin-bottom: 0px;padding: 0 150px 0 0 !important;}
.search-no-results .elementor-element.elementor-element-3cb24e6 {padding-bottom: 0 !important;}


/* responsive*/
@media (max-width: 1024px) {
  .left-side-header {display: none !important;}.elementor-team-grid { grid-template-columns: repeat(3, 1fr);}.left-side-header {position: unset;}.portfolio-posts-sec img, .tax-portfolio-category .archive-portfolio img {max-height: 300px;}}

  @media (max-width:480px){
#gform_2 {display: block;}
#gform_fields_2 #input_2_1 {padding: 8px 0;color: #382F2D;opacity: 45%;font-size: 16px;line-height: 22px;width: 270px;text-align: center;margin: 0 auto;}
.elementor-team-grid {grid-template-columns: 1fr;}}
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
.team-sec .elementor-team-grid {grid-template-columns: repeat(3, 1fr)}
.search-no-results .elementor-widget-theme-archive-title , .search-no-results .elementor-posts-nothing-found {padding: 0 !important;}}


@media (max-width: 768px) {
  
  .partner-sec .elementor-team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .partner-sec .team-member img {
    aspect-ratio: auto; /* let natural ratio work */
  }
.portfolio-gallery-grid {grid-template-columns: 1fr !important; display: grid; gap: 10px 20px; margin: 0 auto;}
.portfolio-gallery-grid img {width: 100%;height: 100%;object-fit: cover; object-position: center;display: block;}
.portfolio-gallery-grid a {aspect-ratio: 5 / 3; }
.on-boards-btn {border-left: 0 !important;}
.carousel__nav {bottom: 220px !important;color: #EAE0D9;}
.carousel__button.is-prev, .carousel__button.is-next {top: 0;transform: unset;}
.fancybox__slide {padding: 0;}
.fancybox__slide {display: flex !important;align-items: center;justify-content: center;min-height: 100vh;}
.fancybox__image {width: auto !important;height: 30vh !important; object-fit: contain !important;margin: 0 auto !important;display: block !important;transform: none !important; }
@keyframes fadeInImage {from { opacity: 0; transform: scale(0.97); }to { opacity: 1; transform: scale(1); }}
.fancybox__carousel .fancybox__slide.can-zoom_in .fancybox__content {cursor: unset;}
.portfolio-posts-sec img , .tax-portfolio-category .archive-portfolio img {max-height: 200px;}
.fancybox__nav {position: unset !important ;}
.carousel__button , .carousel__button:hover {color: #EAE0D9;background: none !important;}
.video-sec .elementor-element {display: block;}
#gform_2 {display: block;}
#gform_2  #gform_submit_button_2 {text-align: center;margin: 0 auto;margin-top: 0px;margin-top: 30px !important;}
.portfolio-sec {flex-wrap: inherit !important;}
.team-sec-new .team-member img {width: 100%;height: auto;}
.elementor-team-grid {grid-template-columns: repeat(1, 1fr);}
.elementor-post__excerpt {display: block;position: relative;text-align: left;}
 .excerpt-toggle-btn {display: inline-block;margin-top: 15px;cursor: pointer;font-family: "Helvetica", Sans-serif;font-size: 14px;font-weight: 500;text-transform: lowercase;letter-spacing: 1.37px;fill: #5F3A13;color: #5F3A13;border-style: solid;border-width: 1px 1px 1px 1px;border-color: #5E3A13;border-radius: 24px 24px 24px 24px;padding: 10px 15px 10px 17px;}
.excerpt-toggle-btn:hover {background-color: #5E3A13 !important;color: #EAE0D9;}
.testimonial-videos-grid {grid-template-columns: 1fr;gap: 15px;}
.testimonial-video {aspect-ratio: 16 / 9;}}

@media (min-width: 1900px) {.portfolio-posts-sec .elementor-grid-item , .archive-portfolio .elementor-grid-item{--grid-row-gap: 20px;--grid-column-gap: 30px;}
}

/* @media only screen and (min-width: 1367px) and (max-width: 1500px) {.portfolio-gallery-grid img { height: 320px; object-fit: cover;}
} */

@media (min-width: 768px) {.portfolio-gallery-grid {display: grid;grid-template-columns: repeat(2, 1fr); gap: 30px 20px;}
.portfolio-gallery-grid a {position: relative;display: block;width: 100%;aspect-ratio: 14 / 9; overflow: hidden;}
.portfolio-gallery-grid img {width: 100%;height: 100%;object-fit: cover; object-position: center;display: block;}}


@media (min-width: 768px) and (max-width: 1024px) {
  .testimonial-videos-grid {grid-template-columns: repeat(2, 1fr);gap: 18px;}}

  @media only screen and (min-width: 360px) and (max-width: 1024px) {
    .search-no-results .elementor-grid-tablet-2 .elementor-grid {
    grid-template-columns: repeat(1,1fr);
  }
  .search-no-results .elementor-posts-nothing-found {
    padding: unset;
  }
  .search-no-results .elementor-element.elementor-element-3cb24e6 {
    padding-bottom: 0 !important;
    padding: 0 !important;
  }}
/* 
  @media (min-width: 1500px) {
.partner-sec .team-member img {
  width: 100%;
  height: 415px;
  object-fit: cover;
  aspect-ratio: 0 / 2; 
  display: block;
  filter: grayscale(100%);transition: all 0.3s ease;
}} */


.fancybox__image {
  transform: unset !important;
}