/*
Theme Name: NL Softworks Blocks
Theme URI: https://nlsoftworks.com/
Author: NL Softworks
Author URI: https://nlsoftworks.com/
Description: A theme created by the NL Softworks team for best performance, conversions and SEO.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.2.357
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nls-block-theme
Tags: 
*/
input#gform_submit_button_3 {
  font-size: 14px !important;
    margin-bottom: 6px;
    font-family: 'Gotham Bold' !important;
    letter-spacing: 1.4px;
}
.page-id-550 .full-hight-section, .page-id-550 #second-section, .page-id-1054 #second-section, .page-id-2538 #second-section {
  height: 80vh;
  min-height: auto;
}
/* 
 * Global Styles
 * ----------------------------------------
 */
 .wp-block-navigation__responsive-container-close svg{
  display: none !important;
}
/* Use custom PNG as the X */
.wp-block-navigation__responsive-container-close{
  width: 32px;
  height: 32px;

  background-image: url("/wp-content/uploads/2026/01/Group-8.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
 .wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__responsive-container-close svg path{
  transform: scale(3) !important;      /* tighter = smaller number */
  transform-origin: center !important;
  transform-box: fill-box !important;
}
 .wp-block-navigation__responsive-container.is-menu-open .nls-overlay-header{
  display: flex;
  align-items: center;
  background: #fff;
  gap: 20px;
}

/* Logo */
.wp-block-navigation__responsive-container.is-menu-open .nls-overlay-logo img{
  max-height: 56px;
  width: auto;
}

/* Right side: CLOSE + X */
.wp-block-navigation__responsive-container.is-menu-open .nls-overlay-right{
  display: flex;
  align-items: center;
  gap: 18px;
}



.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__responsive-container-close svg{
  width: 20px;
  height: 20px;
  color: #A69D8D;
}
/* Fullscreen overlay */
.wp-block-navigation__responsive-container.is-menu-open{
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0px 0 0 -20px !important;
  border-radius: 0 !important;
  background: #fff !important;
  z-index: 999999 !important;
}

/* Top bar row */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close{
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  padding: 10px 32px !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Make dialog not constrain width */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{
  width: 100% !important;
  max-width: none !important;
  margin-top: 0px !important;
}

/* Close button on the right, clickable */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;

  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Menu content area spacing */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  padding: 0px 32px !important;
  max-width: none !important;
}

header.wp-block-template-part > .wp-block-group{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);

  transform: translate3d(0,0,0);
  opacity: 1;
  transition: transform 320ms ease, opacity 320ms ease;
  will-change: transform, opacity;
}

header.wp-block-template-part > .wp-block-group.is-header-hidden{
  transform: translate3d(0,-110%,0);
  opacity: 0;
}


 @media (max-width: 480px) {
    .nls-centered-carousel.style-2 .nls-slide-image {
        height: 320px !important;
    }
}

@media (max-width: 768px) {
 .wp-block-slick-content-slider .slider-arrow-prev{
    left: -10px !important;
  }
  .wp-block-slick-content-slider .slider-arrow-next {
    right: -10px !important;
  }
  .wp-block-slick-content-slider .slider-arrow:before {
    width: 20px !important;
    height: 20px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
  }
    .nls-centered-carousel.style-2 .nls-slide-image {
        height: 400px !important;
    }
}
 @media (max-width: 480px) {
  #main-hero {
    height: 60vh !important;
    min-height: 60vh !important;
  }
 }
 #gform_submit_button_3, #gform_submit_button_4 {
      font-family: 'Gotham Medium' !important;
 }
 .single-projects #second-section, .page-id-2792 #second-section {
  height: auto !important;
  min-height: auto !important;
 }
 .nls-featured-post-hero .nls-hero-cta {
  font-family: 'Gotham Medium' !important;
 }
 h1 {
  line-height: 1;
 }
 h2, h3, h4 {
  line-height: 1.1;
 }
 #modal-1-content {
  margin-top: 4px;
 }
 @media (min-width: 901px) {
 .wp-block-navigation__container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content span {
    color: #FFAC00;
}
.wp-block-navigation-item__label {
  font-weight: bold;
  color: #404C54;
}
.wp-block-navigation-item__label:hover {
  color: #FFAC00 !important;
}
 }
.text-max-width > div {
  max-width: 100% !important;
  width: 100% !important;
}
.text-max-width > div > div {
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.text-max-width p {
  max-width: 830px !important;
}
.text-max-width .max710 {
  max-width: 710px !important;
}
.text-max-width .max675 {
  max-width: 675px !important;
  margin-left: 0px !important;
}
html {
    overflow-y: scroll;
}
 .post-template-default #second-section {
  min-height: auto !important;
 }
 .category-link a {
  text-decoration: none !important;
 }
 .margin-top-zero {
  margin-top: 0px !important;
 }
@media (min-width: 480px) {
  .nls-tabs-nav {
    width: auto !important;
  }
}
.project-logo img {
    padding-bottom: 0px !important;
    width: 180px !important;
  }
@media (max-width: 768px) {
  .projects-template-default img, .post-template-default img {
    padding-bottom: 0px !important;
  }

  h4 {
    font-size: 16px !important;
  }
  .project-logo {
    width: 180px !important;
    margin-bottom: 0px !important;
  }
  .project-logo img {
    padding-bottom: 0px !important;
    width: 120px !important;
  }
  .nls-tab-button {
    font-size: 12px !important;
  }
  .mobile-reverse {
    flex-direction: column !important;
  }
}
.hero-text-wrapper {
    position: relative;
    overflow: hidden;
}

/* Override the WordPress overlay */
.wp-block-cover__background {
    background: #000 !important;
    opacity: 0;
    transition: opacity 0.10s linear !important;
}

 .projects-template-default footer {
  position: relative;
  z-index: 999;
 }
.page-id-2540 #second-section {
  min-height: auto;
}
.page-id-4 #second-section, .page-id-8 #second-section, .projects-template-default #second-section, .post-template-default #second-section, .page-id-2792 #second-section {
  display: block !important;
}
/* Hero stays in place, gets covered by section 2 */
.home #main-hero, .page-id-1054 #main-hero, .page-id-2538 #main-hero, .page-id-4 #main-hero, .page-id-8 #main-hero, .page-id-2540 #main-hero, .projects-template-default #main-hero, .post-template-default #main-hero, .page-id-2792 #main-hero {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Section 2 sticks, gets covered by section 3 */
.home #second-section, .page-id-1054 #second-section, .page-id-2538 #second-section {
  position: sticky;
  top: 0;
  z-index: 2;
}
/* Section 3 scrolls over section 2, then behaves normally */
.home #third-section, .page-id-1054 #third-section, .page-id-2538 #third-section, .page-id-4 #second-section, .page-id-8 #second-section, .page-id-2540 #second-section, .projects-template-default #second-section, .post-template-default #second-section, .page-id-2792 #second-section {
  position: relative;
  z-index: 3;
}

/* Everything after section 3 scrolls normally */
.home #third-section ~ *, .page-id-1054 #third-section ~ *, .page-id-2538 #third-section ~ *, .page-id-4 #second-section ~ *, .page-id-8 #second-section ~ *, .page-id-2540 #second-section ~ *, .projects-template-default #second-section ~ *, .post-template-default #second-section ~ *, .page-id-2792 #second-section ~ * {
  position: relative;
  z-index: 3;
}
 
.nls-slide-image {
  overflow: hidden !important; /* Clips the zoomed image */
  border-radius: inherit !important; /* Keeps any border radius from parent */
}

.nls-slide-image img {
  transition: transform 0.5s ease !important;
  will-change: transform !important;
}

.nls-slide-image:hover img {
  transform: scale(1.1) !important;
}

.wp-block-theme-location-section, .marginstartfix {
  margin-block-start: 0px !important;
}
/* Section setup */
.wp-block-cover, .nls-centered-carousel.style-3 {
  margin-block-start: 0px !important;
}
#second-section {
  min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
 html {
  scroll-behavior: smooth;
}
body {
  -webkit-overflow-scrolling: touch;
}
.nls-card-tabs {
  background-color: #E6E5DF;
  padding-bottom: 130px;
  margin-block-start: 0px !important;
}
.nls-carousel-section {
   background-color: #E6E5DF;
  padding-top: 130px;
  margin-block-start: 0px !important;
}
.single-projects .pin-spacer {
  margin-top: 0px !important;
}
.single-projects .wp-block-group {
  margin-block-start: 0px !important;
}
 .flex-column {
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

 }
 .entry-content, 
 footer.wp-block-template-part {
     margin-block-start: 0;
 }
 
 .hidden {
     display: none !important;
 }
 
 
 /* 
  * Media Queries
  * ----------------------------------------
  */
 @media only screen and (min-width: 1025px) {
     .hidden-desktop {
         display: none !important;
     }
 }
 
 @media (min-width: 767px) and (max-width: 1024px) {
    .hidden-tablet {
        display: none !important;
    }

}

 @media only screen and (max-width: 767px) {
     .hidden-mobile {
         display: none !important;
     }
     a.wp-block-navigation-item__content {
        font-size: 32px;
    }
 }
 
 @media only screen and (max-width: 782px) {
     

    /* Columns */
     .columns-reverse {
         flex-direction: column-reverse;
     }
     
     .content-two-column .wp-block-image img {
         padding-bottom: var(--wp--preset--spacing--80);
     }
     
     :root {
         --wp--preset--spacing--20: 0.44rem;
         --wp--preset--spacing--30: 0.67rem;
         --wp--preset--spacing--40: 1rem;
         --wp--preset--spacing--50: 1.5rem;
         --wp--preset--spacing--60: 2.5rem;
         --wp--preset--spacing--70: 2.5rem;
         --wp--preset--spacing--80: 2.5rem;
     }
     
     .has-x-large-font-size {
         font-size: var(--wp--preset--font-size--medium) !important;
     }
     
     .has-large-font-size {
         font-size: var(--wp--preset--font-size--medium) !important;
     }
     
     body .blog-preview .is-layout-flex {
         justify-content: left;
     }
 }
 



 /* 
  * Blocks Sections
  * ----------------------------------------
  */
 @media only screen and (max-width: 600px) {
     .icons-only-multi-column .is-layout-flex {
         display: flex;
         justify-content: center;     /* Center the whole row */
         flex-wrap: wrap;             /* If needed for responsive */
     }
     
     .icons-only-multi-column .is-layout-flex > * {
         width: calc(100% / 3 - 1rem); /* Simulate 3 columns */
         max-width: 300px;             /* Optional: to prevent oversized items */
     }
 
     .mosaic-oscilating-3-images .wp-block-image {
         margin-top: 0 !important; 
         margin-bottom: 0 !important; 
     }
     
     .mosaic-oscilating-3-images .wp-block-gallery {
         --wp--style--unstable-gallery-gap: 0 !important;
     }
 
     .mosaic-oscilating-5-images .wp-block-image {
         margin-top: 0 !important; 
         margin-bottom: 0 !important; 
     }
     
     .mosaic-oscilating-5-images .wp-block-gallery {
         --wp--style--unstable-gallery-gap: 0 !important;
     }
 }
 
 /* 
  * Gforms Sections
  * ----------------------------------------
  */

.gform_validation_errors {
    display: none;
}
.gform-theme--api, .gform-theme--foundation {
    --gf-form-gap-y: 16px!important;
}
.gform_button, .gform-button, .gform-theme-button {
    background-color: var(--wp--preset--color--primary) !important;
    border-radius: 10px !important;
    border-width: 0 !important;
    color: var(--wp--preset--color--inverse-text-color) !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
    text-decoration: none !important;
 }
.gform-button {
    height: 54px;
    width: 100%;
    padding: inherit;
}


.gform_wrapper.gravity-theme .gform_previous_button.button, .gform_wrapper.gravity-theme .gform_save_link.button {
    color: var(--wp--preset--color--primary)!important;
    border: 2px solid var(--wp--preset--color--primary)!important;
    font-weight: 400;
    padding: calc(0.667em) calc(1.333em);
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage {
    height: 12px!important;
}
.gform_wrapper.gravity-theme .gf_progressbar_percentage span {
    font-size: 9px!important;
    line-height: 13px!important;
}
 .gform_wrapper.gravity-theme .gform_footer, 
 .gform_wrapper.gravity-theme .gform_page_footer {
     margin: 12px 0 0 !important;
     padding: 0 !important;
 }
 
 .gform_wrapper.gravity-theme input[type=color], 
 .gform_wrapper.gravity-theme input[type=date], 
 .gform_wrapper.gravity-theme input[type=datetime-local], 
 .gform_wrapper.gravity-theme input[type=datetime], 
 .gform_wrapper.gravity-theme input[type=email], 
 .gform_wrapper.gravity-theme input[type=month], 
 .gform_wrapper.gravity-theme input[type=number], 
 .gform_wrapper.gravity-theme input[type=password], 
 .gform_wrapper.gravity-theme input[type=search], 
 .gform_wrapper.gravity-theme input[type=tel], 
 .gform_wrapper.gravity-theme input[type=text], 
 .gform_wrapper.gravity-theme input[type=time], 
 .gform_wrapper.gravity-theme input[type=url], 
 .gform_wrapper.gravity-theme input[type=week], 
 .gform_wrapper.gravity-theme select, 
 .gform_wrapper.gravity-theme textarea {
     font-size: 16px !important;
     padding: 16px !important;
     border-radius: 0;
     border: 1px solid #ccc;
     font-family: var(--wp--preset--font-family--inter);
 }
 
 ::placeholder {
     font-family: var(--wp--preset--font-family--inter);
 }
 
 :focus-visible {
     outline: none;
 }
 
 /* 
  * Slick Slider Sections
  * ----------------------------------------
  */
 /* Base styles for all slick sliders */
 .my-slick-slider {
     width: 100%;
 }
 
 .my-slick-slider .slick-slide {
     margin: 0 10px; /* Default margin between slides */
     transition: transform 0.3s ease;
 }
 
 .slick-slide img {
     margin: auto;
 }
 
 /* Increase space between slides */
 .custom-slick-slider .slick-slide {
     margin: 0 25px;
     transition: transform 0.3s ease;
 }
 
 /* Keep your oscillating effect */
 .custom-slick-slider .slick-slide:nth-child(odd) {
     margin-top: 30px;
 }
 
 .custom-slick-slider .slick-slide:nth-child(even) {
     margin-bottom: 30px;
 }
 
 .my-slick-slider img {
     margin: auto;
 }
 
 /* Increase space between slides */
 .my-slick-slider .slick-slide {
     margin: 0 25px;
 }
 
 /* Special handling for sliders with fewer slides than slidesToShow */
 .my-slick-slider.few-slides .slick-track {
     display: flex !important;
     justify-content: space-between !important;
     width: 100% !important;
     transform: none !important; /* Prevent slick from adjusting position */
 }
 
 .my-slick-slider.few-slides .slick-slide {
     float: none !important;
     width: auto !important; /* Let content determine width */
     max-width: 30%; /* Prevent slides from getting too wide */
     margin: 0 auto; /* Center slides */
     flex: 1; /* Allow slides to grow */
 }
 
 /* Hide any cloned slides in few-slides mode */
 .my-slick-slider.few-slides .slick-slide.slick-cloned {
     display: none !important;
 }
 
 /* Ensure arrows don't interfere with spacing */
 .my-slick-slider.few-slides .slick-arrow {
     display: none !important;
 }
 
 /* Disable slick animation for few-slides to avoid conflicts */
 .my-slick-slider.few-slides .slick-list {
     overflow: visible !important;
     width: 100%;
 }
 
 /* Increase space between slides */
 .mosaic-oscillating-3-images-slider .slick-slide {
  margin: 0 25px;
  transition: transform 0.3s ease;
}

/* Keep your oscillating effect */
.mosaic-oscillating-3-images-slider .slick-slide:nth-child(odd) {
  margin-top: 30px;
}

.mosaic-oscillating-3-images-slider .slick-slide:nth-child(even) {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  /* Keep your oscillating effect */
  .mosaic-oscillating-3-images-slider .slick-slide:nth-child(odd) {
    margin-top: 0px;
  }

  .mosaic-oscillating-3-images-slider .slick-slide:nth-child(even) {
    margin-bottom: 0px;
  }
  .custom-slick-slider .slick-slide:nth-child(odd) {
    margin-top: 0px;
  }

  .custom-slick-slider .slick-slide:nth-child(even) {
    margin-bottom: 0px;
  }

}

 /* 
  * Gallery Sections
  * ----------------------------------------
  */
 .mosaic-oscillating-3-images-slider-wrapper {
     max-width: 100%;
     width: 100%;
     overflow: hidden;
     padding: 0;
 }
 
 .mosaic-oscillating-3-images-slider {
     width: 100%;
 }
 
 .mosaic-oscillating-3-images-slider .slide {
     margin: 0 15px;
     transition: transform 0.3s ease;
 }
 
 /* Oscillating effect */
 .mosaic-oscillating-3-images-slider .slide:nth-child(2) {
     margin-top: 30px;
 }
 
 .mosaic-oscillating-3-images-slider .slide:nth-child(3) {
     margin-bottom: 30px;
 }
 
 .mosaic-oscillating-3-images-slider .slide img {
     width: 100%;
     display: block;
     border-radius: 8px; /* Optional: rounded corners */
 }
 
 /* Few slides adjustments */
 .mosaic-oscillating-3-images-slider.few-slides .slick-list {
     width: 100% !important;
     overflow: visible !important;
 }
 
 .mosaic-oscillating-3-images-slider.few-slides .slick-track {
     width: 100% !important;
     display: flex !important;
     justify-content: center !important;
     transform: none !important;
 }
 
 /* Disable centerMode features when in few-slides mode */
 .mosaic-oscillating-3-images-slider.few-slides {
     padding: 0 !important;
 }

 /* 
  * Us vs Them Sections
  * ----------------------------------------
  */
 .us-vs-them .positive li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.us-vs-them .negative li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/negative.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

/* Remove default list-style when using flexbox approach */
.us-vs-them .positive li::marker,
.us-vs-them .negative li::marker {
  content: "";
}

/* Add the icon as a pseudo-element for better control */
.us-vs-them .positive li::before {
  content: "";
  display: inline-block;
  width: 27px; /* Adjust based on your icon size */
  height: 26px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}

.us-vs-them .negative li::before {
  content: "";
  display: inline-block;
  width: 26px; /* Adjust based on your icon size */
  height: 28px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/negative.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .us-vs-them .negative li::before, .us-vs-them .positive li::before {
    padding-right: 42px;
  }
}






.price-table li {
  list-style-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  vertical-align: middle;
  display: flex;
  align-items: center;
}

/* Remove default list-style when using flexbox approach */
.price-table li::marker {
  content: "";
}

/* Add the icon as a pseudo-element for better control */
.price-table li::before {
  content: "";
  display: inline-block;
  width: 27px; /* Adjust based on your icon size */
  height: 26px; /* Adjust based on your icon size */
  background-image: url(/wp-content/themes/nls-blocks-theme/assets/images/icons/positive.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-right: 22px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .price-table li::before {
    padding-right: 12px;
  }
}





/* button effects 


.wp-element-button, .gform_button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .wp-element-button:hover, .gform_button:hover {
    transform: translateY(-1px);
  }
*/

.wp-element-button, .gform_button, .popup-close {
    transition: transform 0.15s ease-out;
    cursor: pointer;
    /* Enable hardware acceleration for smoother animations */
    transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
}

.wp-element-button:active, 
.gform_button:active, 
.popup-close:active,
.wp-element-button:focus, 
.gform_button:focus, 
.popup-close:focus {
    transform: scale(0.95);
}

.wp-element-button:hover, 
.gform_button:hover, 
.popup-close:hover {
opacity: 90%;
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .wp-element-button:active, 
    .gform_button:active, 
    .popup-close:active {
        transform: scale(0.95);
    }
}

/* Alternative approach - add touch-action for better mobile performance */
.wp-element-button, .gform_button, .popup-close {
    touch-action: manipulation;
}







/* popup stuff */


        /* Popup Bubble Styles */
        .popup-bubble {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--wp--preset--color--primary) !important;
            border-radius: 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
            z-index: 9998;
            text-align: left;
            padding: 12px 22px;
            margin-left: 20px;
        }
        
        /* Speech bubble tail */
        .popup-bubble::after {
            content: "";
            position: absolute;
            bottom: -10px;
            right: 30px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid var(--wp--preset--color--primary) !important;
            filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
        }

        .popup-bubble:hover {
            transform: scale(1.1);
        }

        .bubble-icon {
            font-size: 18px;
            color: white;
            font-weight: 500;
        }

        /* Preview Bubble */
        .popup-preview {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #007bff;
            border-radius: 10px;
            padding: 15px 20px;
            color: white;
            max-width: 300px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
            transform: translateX(120%);
            transition: transform 0.3s ease;
            z-index: 9997;
            cursor: pointer;
        }

        .popup-preview.show {
            transform: translateX(0);
        }

        .preview-content {
            position: relative;
        }

        .preview-content p {
            margin: 0;
            padding-right: 30px;
        }

        .preview-close {
            position: absolute;
            top: -5px;
            right: -5px;
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Popup Modal */
        .popup-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 0px;
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            z-index: 10000;
            max-width: 1400px;
            width: 90%;
            max-height: 100vh;
            overflow-x: auto;
            margin: 32px auto;
        }


        .popup-content-wrap {
            padding: 32px;
        }

        .popup-content {
            position: relative;
        }

        .popup-close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 28px;
            color: #aaa;
            cursor: pointer;
            transition: color 0.3s ease;
            line-height: .5;
            font-weight: 300;
        }
        .popup-close:hover {
            color: #000;
        }

        .popup-modal h2 {
            margin-top: 0;
            color: #333;
        }

        .popup-modal form {
            margin-top: 20px;
        }

        .popup-modal input[type="email"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-sizing: border-box;
        }

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

        .popup-modal button:hover {
            background-color: #0056b3;
        }

        /* Overlay */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .popup-modal {
            
            width: calc(100% - 24px);
            margin: 12px auto;
            }
            .bubble-icon {
                font-size: 20px;
            }
            
            .popup-preview {
                max-width: 250px;
                padding: 12px 15px;
            }
        }

        body.popup-open {
            overflow-y: hidden; /* Keep scrollbar visible */
            width: 100%;
            left: 0;
            right: 0;
        }



        /* hero fix */

        .hero .wp-block-column.has-background-color {
            margin-left: -100px;
        }
        .hero .wp-block-group {
            margin-left: 100px;
            margin-right: 0px;
        }
        
        @media (max-width: 781px) {
            .hero .wp-block-column.has-background-color {
                margin-left: 0px!important;
            }
            .hero .wp-block-group {
                margin-left: 0px;
                margin-right: 0px;
            }
        }

.page-id-4 .hero .wp-block-group {
   margin-left: 0px;
            margin-right: 0px;
}

/* footer css */
@media (max-width: 781px) {
  .footer-text-wrap {
      display: block !important;
      text-align: center;
  }
  .is-layout-flex .footer-text-wrap  > :is(*, div) {
    margin: 12px 0;
}
}


        /* mega menu css */

.gw-mm-item__dropdown-wrapper {
    left: auto !important;
    right: auto !important;
}








.gw-mm-item__dropdown {
  background: #fff;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.05);
  padding: 0px;
  max-width: 1400px;
  margin: auto;
  margin-top: 22px;
}
@media (max-width: 767px) {
  .gw-mm-item__dropdown {
    margin-top: 0;
  }
}

.wp-block-getwid-megamenu a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--nunito-sans);
  text-decoration: none;
}
.megamenu-inverse-section a:where(:not(.wp-element-button)) {
  color: #fff;
}

@media (max-width: 767px) {
  .gw-mm__content-wrapper {
    margin-top: 25px!important;
  }
}

@media (max-width: 980px) {


  .gw-mm__content-wrapper .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    flex-direction: column;
}

  .gw-mm.is-mobile .gw-mm__content {
    max-width: 980px;
}



  .gw-mm__content-wrapper :where(.is-layout-flow) > * {
    margin-block-start: 0!important;
    margin-block-end: 0!important;
}

.gw-mm__content-wrapper .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow {
  padding: 0px!important;
}
.gw-mm__content-wrapper .has-inverse-background-background-color {
  background-color: #fff !important;
}
.gw-mm__content-wrapper .megamenu-inverse-section a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--text-color);
}

.gw-mm__content-wrapper .has-text-align-center {
  text-align: left;
}

.gw-mm__content-wrapper  :where(.is-layout-flex) {
  gap: 0px!important;
}

.gw-mm__content-wrapper .gw-mm-item__dropdown-wrapper.is-opened {
  padding: 0px 32px 0px 32px!important;
  margin: -7px 0 -10px 0!important;
}
.gw-mm__content-wrapper .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex p {
  margin-bottom: 22px !important;
}
.gw-mm.is-mobile .gw-mm__content {
  padding-top: 8px!important;
  padding-right: var(--wp--preset--spacing--60)!important;
  padding-bottom: 8px!important;
  padding-left: var(--wp--preset--spacing--60)!important;
}










/* Base styling for the toggle button */
.gw-mm__toggle {
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

/* Hide the text "Menu" */
.gw-mm__toggle {
  font-size: 0;
  color: transparent;
}

/* Style the dashicons span as our middle line */
.gw-mm__toggle .dashicons {
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: #333;
  top: 14px;
  left: 0px;
  transform: none;
  transition: opacity 0.25s ease;
}

/* Remove the original dashicons content */
.gw-mm__toggle .dashicons:before {
  content: none;
}

/* Create the top and bottom lines */
.gw-mm__toggle:before,
.gw-mm__toggle:after {
  content: '';
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: #333;
  left: 0px;
  transition: all 0.25s ease;
}

/* Position the top line */
.gw-mm__toggle:before {
  top: 4px;
}

/* Position the bottom line */
.gw-mm__toggle:after {
  top: 24px;
}

/* Transform to X when opened */
/* Hide the middle line (dashicons) */
.gw-mm__toggle.is-opened .dashicons {
  opacity: 0;
}

/* Rotate top line */
.gw-mm__toggle.is-opened:before {
  top: 14px;
  transform: rotate(45deg);
}

/* Rotate bottom line */
.gw-mm__toggle.is-opened:after {
  top: 14px;
  transform: rotate(-45deg);
}

}


#main-hero {
  min-height: 80vh;
  height: 80vh;
}

#main-hero h1 {
  font-size: 100px !important;
}
#main-hero .wp-block-columns.is-layout-flex {
   display: flex;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 100vh;
    height: 100vh;
}
#main-hero .wp-block-column {
  max-width: 1200px !important;
  flex-basis: auto !important;
  width: 100%;
}
.full-hight-section {
  min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
}

header > .wp-block-group {
  background: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    top: 38px !important;
}
header > .wp-block-group > .wp-block-group {
  background: white !important;
    border-radius: 50px !important;
    padding: 5px !important;
    max-width: 980px;
    justify-content: start;
    gap: 50px;
}

header .wp-block-site-logo img {
height: 52px;
    max-width: 52px;
}

header .wp-block-navigation__container {
  gap: 60px;
}

/* animations */




.bg-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 26, 0.7);
  pointer-events: none;
  z-index: 1;
}

.bg-overlay {
  position: relative;
  margin-block-start: 0px;
}
.home .pin-spacer {
  margin-top: 0px !important;
}
.bg-overlay > div {
  position: relative;
  z-index: 2;
}

.footer-last-row {
  flex-direction: column;
  align-items: end;
  gap: 5px !important;
}

#gform_wrapper_3 .gform-footer, #gform_wrapper_3 .gfield_label {
  display: none;
}

#gform_wrapper_3 {
  min-width: 800px;
  text-align: center;
}

#gform_fields_3 {
  display: flex;
  gap: 26px;
  align-items: flex-end;
  justify-content: center;
}
#gform_wrapper_3 .gform_title {
  font-size: 21px;
    color: #E6E5DF;
}
#gform_wrapper_3 .gform_description {
  font-size: 18px;
    color: #1CB2F5;
}
#gform_wrapper_3 .gform-button {
  background-color: #1CB2F5 !important;
  height: 48px !important;
}

#field_submit {
  flex: 0 1 auto;
}

#input_3_1 {
  width: 470px;
  border-radius: 10px;
}

.wp-container-core-columns-is-layout-e8f1eb49 {
  gap: 90px !important;
}

.main-contact-form .validation_message {
  color: red !important;
}


/* Form Wrapper - Rounded border container */
.main-contact-form .gform_wrapper.gravity-theme {
  border: 2px solid #FFAC00;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
}

/* Form Body */
.main-contact-form .gform_body {
  padding: 0;
}

.main-contact-form .gform_fields {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Name Fieldset - Two columns layout */
.main-contact-form #field_4_1 {
  border: none;
  padding: 0;
  margin: 0;
  legend {
    display: none;
  }
}

.main-contact-form .ginput_container.ginput_container--name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0;
  border: none;
}

.main-contact-form .name_first,
.main-contact-form .name_last {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

.main-contact-form .name_first label,
.main-contact-form .name_last label {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: normal;
  display: block;
}

.main-contact-form .name_first input,
.main-contact-form .name_last input {
  background-color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  height: auto;
}

/* Email Field */
.main-contact-form #field_4_3 {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

#field_4_3 label {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: normal;
}

.main-contact-form .ginput_container_email input {
  background-color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  height: auto;
}

/* Radio Fieldset - Reason for Contact */
.main-contact-form #field_4_4 {
  border: none;
  padding: 0;
  margin: 0;
}

#field_4_4 legend {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: normal;
  padding: 0;
}

.main-contact-form .gfield_radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  padding: 0;
}

.main-contact-form .gchoice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.main-contact-form .gfield-choice-input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #d4a574;
}

.main-contact-form .gfield-choice-input[type="radio"] + label {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  cursor: pointer;
  font-weight: normal;
}

/* Message Textarea */
.main-contact-form #field_4_5 {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

#field_4_5 label {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: normal;
}

.main-contact-form .ginput_container_textarea textarea {
  background-color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 15px;
  font-size: 14px;
  color: #999;
  width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 120px;
}

.main-contact-form .ginput_container_textarea textarea::placeholder {
  color: #999;
}

/* Terms Checkbox */
.main-contact-form #field_4_6 {
  border: none;
  padding: 0;
  margin: 0;
}

#field_4_6 legend {
  display: none;
}

.main-contact-form .gfield_checkbox {
  display: flex;
  align-items: center;
  padding: 0;
}

.main-contact-form .gfield-choice-input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #d4a574;
}

.main-contact-form .gfield-choice-input[type="checkbox"] + label {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  margin-left: 10px;
  cursor: pointer;
  font-weight: normal;
}

/* Form Footer & Submit Button */
.main-contact-form .gform_footer {
  padding: 0;
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.main-contact-form #gform_submit_button_4 {
  background-color: transparent !important;
  border: 2px solid #FFAC00 !important;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 30px !important;
  border-radius: 10px !important;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.page-id-8 .main-contact-form #gform_submit_button_4:hover {
  background-color: white !important;
  color: #FFAC00 !important;
}

/* Remove any default styling */
.main-contact-form .gfield {
  margin-bottom: 0;
}

.main-contact-form .gfield_label {
  padding: 0;
  margin: 0;
}

/* Header */
.menu-text-mobile {
  display: none;
}

@media (max-width: 900px) {
  header>.wp-block-group {
    padding-top: 15px !important; 
    top: 0px !important;
  }
  nav .wp-block-navigation__responsive-container-open path {
    transform: scaleY(1.5);
  transform-origin: center;
  transform-box: fill-box;
  }
  #modal-1-content span {
  font-family: 'Gotham Black';
  color: #1CB2F5;
}
  .wp-block-navigation__container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content span, .wp-block-navigation-item__label:hover {
  color: #E6E5DF !important;
  }
      .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
      }
      .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
      }
      .menu-text-mobile, .nls-overlay-close-label {
        font-family: 'Gotham Medium' !important;
    font-size: 14px  !important;
    display: block;
    color: #a69d8d;
  }
  header > div {
    max-width: 190px;
    width: 190px;
  }
}

@media (max-width: 900px) {
  header > .wp-block-group > .wp-block-group {
    gap: 0px;
    justify-content: space-between;
  }
  .wp-block-navigation__responsive-container-open svg {
    height: 30px;
    width: 30px;
  }
  .wp-block-navigation__responsive-container-open {
    width: 40px;
  }
  header.wp-block-template-part > .wp-block-group {
    margin-left: 20px;
  }
  .wp-block-navigation__responsive-container-open svg {
    fill: #a69d8d;
  }

  
}
/* Mobile */

@media (max-width: 768px) {
  #gform_wrapper_3 {
    min-width: auto;
  }
  #gform_fields_3 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .menu-text-mobile {
    display: block;
  }
  #main-hero h1 {
    font-size: 45px !important;
  }
  h2 {
    font-size: 32px !important;
  }
  body .has-lg-text-font-size  {
    font-size: 14px !important;
  }
  .yellow_heading {
    font-size: 16px !important;
  }
  #input_3_1 {
    width: 320px;
  }
  footer h2, footer .has-small-font-size {
    font-size: 16px !important;
  }
  #gform_wrapper_3 .gform_description {
    font-size: 14px !important;
  }
}

@media (min-width: 1025px) {
  .location-wrapper {
    display: flex;
    align-items: center;
  }
  .location-text {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  body .wp-block-theme-location-section .location-map iframe {
    height: 500px !important;
  }
  .main-contact-form .gform_wrapper.gravity-theme {
    margin: 0 60px !important; 
    border: 0px !important;
  }
  #input_4_1 {
    grid-template-columns: 1fr !important;
  }
}
#gform_4 input, #gform_4 textarea {
  border-radius: 10px;
}
@media (max-width: 768px) {
  .post-template-default #main-hero, .projects-template-default #main-hero {
    height: 50vh !important;
    min-height: 50vh !important;
  }
  .full-hight-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .icons img {
    height: 65px !important;
    max-width: 65px !important;
  }
  .icons p {
   width: 100%;
   line-height: 160%;
  }
  .font16 {
    font-size: 16px !important;
  }
  .font11 {
    font-size: 11px !important;
  }
  .wp-container-core-group-is-layout-775de51a {
    display: block !important;
  }
  .wp-elements-58a805a1db8ed673353ca82afbae663f h2 {
    font-size: 16px !important;
  }
  .wp-elements-58a805a1db8ed673353ca82afbae663f p {
    font-size: 13px !important;
  }
  .wp-elements-58a805a1db8ed673353ca82afbae663f{
            display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        margin: 0 40px !important;
        gap: 11px !important;
  }
  #gform_wrapper_4 {
    padding: 0px;
  }
  .main-contact-form .gform_wrapper.gravity-theme {
    margin: 0 40px !important;
  }
  .main-contact-form .gfield_radio {
    grid-template-columns: 1fr !important;
  }
  .wp-block-theme-location-section .location-map iframe
  .footer-mobile-logo-padding {
    padding-right: 20px !important;
  }
  .footer-mobile-padding {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }
  .wp-container-core-column-is-layout-bb8399a8 img {
    height: 43px;
    max-width: 43px;
  }
  
  .footer-logo-links.wp-block-columns-is-layout-flex {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }
  
  /* Logo - spans both rows, aligned top */
  .footer-logo-links > .wp-block-column:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }
  
  /* Quick Links - spans both rows */
  .footer-logo-links > .wp-block-column:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  
  /* Follow Us - top right */
  .footer-logo-links > .wp-block-column:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  
  /* Contact - bottom right, stacked under Follow Us */
  .footer-logo-links > .wp-block-column:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
    padding-top: 0 !important;
  }
}

footer a {
  text-decoration: none !important;
}


.project-item {
    position: relative;
    overflow: hidden;
    /* your existing styles */
}

/* Background image - zooms on hover */
.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}

.project-item:hover::before {
    transform: scale(1.1);
}

/* Dark overlay */
.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.project-item:hover::after {
    opacity: 0.6;
}

/* Text container - centered */
.project-text-overlay {
      position: absolute;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
    z-index: 2;
    overflow: hidden;
}

/* The actual text */
.project-text-overlay h2,
.project-text-overlay h2 p {
    margin: 0;
    transform: translateY(110%);
    transition: transform 0.8s ease;
}

.project-item:hover .project-text-overlay h2,
.project-item:hover .project-text-overlay h2 p {
    transform: translateY(0);
}
