/**
* Theme Name: Spaciaz Child
* Description: This is a child theme of Spaciaz, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: spaciaz
* Version: 1.1.1
*/
.head-wrp {
  width: 100% !important;
}

.post-content .entry-meta-inner .categories-link {
  order: 0;
  pointer-events: none;
}

#masthead .head-wrp .header-main {
  background-color: transparent !important;
  box-shadow: none !important;
}

.site-branding a img {
  width: 200px;
  height: 100px;
  object-fit: contain;
}

.bnr-text-color {
  color: #e18f1e;
}
.testimonial-wrp svg:not(:root) {
  overflow: inherit !important;
}

.feature-icon .elementor-icon {
  height: 80px;
}

.cf7-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cf7-popup-content {
  background: #fff;
  padding: 30px;
  position: relative;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.close-cf7-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.project-form .kc_captcha {
  text-align: left;
}

.mt-2 {
  margin-top: 20px;
}

.wpcf7-button p {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
}

.wpcf7-button p .wpcf7-spinner {
  position: absolute;
  right: -50px;
  top: 30px;
  transform: translateY(-50%);
}

.wpcf7-button {
  text-align: center !important;
}

.contact-us-captcha .kc_captcha {
  text-align: left;
}

.kc_captcha {
  text-align: center;
}

.wpcf7-form .wpcf7-form-control-wrap {
  margin-bottom: 20px !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
  margin: 0px 0px 10px 0px !important;
}

.download-form .wpcf7-form .wpcf7-form-control-wrap {
  margin-bottom: 0px !important;
}

.cf7-popup-content {
  padding: 50px 30px 30px !important;
}

.close-cf7-popup {
  font-size: 26px !important;
  color: #5e5c5d;
  padding: 0px !important;
}

.close-cf7-popup:hover {
  background: transparent !important;
  color: #5e5c5d;
}

.contact-btn.wpcf7-button p {
  display: flex;
  align-items: center;
  justify-content: start;
  max-width: 240px;
  margin: 0;
  position: relative;
}

.home-video .video-tabs-nav {
  visibility: hidden !important;
}

.brocher-captcha .kc_captcha {
  text-align: left;
}

.home-carousel .elementor-iconbox-item:hover .iconbox-title a,
.home-carousel .elementor-iconbox-item:hover .iconbox-title a:hover {
  color: #fff !important;
}

.home-carousel .elementor-iconbox-item:hover .iconbox-desc {
  color: #fff;
}

.home-carousel
  .elementor-iconbox-item:hover
  .iconbox-content
  .iconbox-button
  .elementor-button {
  background-color: #201b18;
  color: #fff;
}

.home-carousel
  .elementor-iconbox-item:hover
  .iconbox-content
  .iconbox-button
  .elementor-button:focus,
.home-carousel
  .elementor-iconbox-item:hover
  .iconbox-content
  .iconbox-button
  .elementor-button:hover,
.home-carousel
  .elementor-iconbox-item:hover
  .iconbox-content
  .iconbox-button.
  elementor-button:visited {
  background-color: #201b18;
  color: #fff;
}

.home-carousel .iconbox-icon {
  display: none !important;
}

.home-carousel .elementor-iconbox-item:hover .iconbox-content {
  background-color: #e18f1e;
}

.home-carousel.elementor-widget-spaciaz-iconbox .elementor-iconbox-item:before {
  content: "" !important;
  display: none !important;
}

.home-carousel.elementor-widget-spaciaz-iconbox .elementor-iconbox-item:after {
  content: "" !important;
  display: none !important;
}

.home-carousel .decor_border {
  display: none !important;
}

.home-carousel .elementor-swiper-button {
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

.home-carousel .elementor-swiper-button i {
  font-size: 40px;
}

.home-carousel.elementor-element .swiper ~ .elementor-swiper-button-prev {
  left: 20px;
}

.home-carousel.elementor-element .swiper ~ .elementor-swiper-button-next {
  right: 20px;
}

.word {
  position: absolute;
  opacity: 0;
  margin-left: 7px;
  color: #e18f1e;
}

.letter {
  display: inline-block;
  position: relative;
  float: left;
  transform: translateZ(25px);
  transform-origin: 50% 50% 25px;
}

.letter.out {
  transform: rotateX(90deg);
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.letter.behind {
  transform: rotateX(-90deg);
}

.letter.in {
  transform: rotateX(0deg);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-main {
  backdrop-filter: none;
}

#masthead.show .header-main {
  background-color: #70707052 !important;
  backdrop-filter: blur(30px) !important;
  box-shadow: 0px 1px 5px -1px rgba(0, 0, 0, 0.5) !important;
}

.elementor-widget-spaciaz-button-mousemove .elementor-button {
  width: auto !important;
  height: 54px !important;
}

.aboutus-btn .elementor-button .elementor-button-icon {
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotate(-45deg);
  transform-style: preserve-3d;
}
.aboutus-btn .elementor-button {
  transition: all 0.4s ease;
}

/* career popup */

.cf7-popup-container {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
.cf7-popup-container .elementor-shortcode {
  background: #fff;
  padding: 50px 30px 30px !important;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
  margin: 0 auto;
  transform: translate(0%, 20%);
}

.career-btn .elementor-button {
  padding: 5px 5px 5px 30px !important;
}

/* #secondary {
  position: relative !important;
} */

.elementor-widget-spaciaz-slide-scrolling
  .elementor-scrolling-item
  .scrolling-subtitle {
  border-left: 0px !important;
}

.elementor-widget-spaciaz-slide-scrolling .elementor-scrolling-item-inner {
  flex-direction: column;
}

/*Timeline CSS Start*/

/* Timeline vertical line */

.timeline-container::before {
  content: "";
  position: absolute;
  left: 55px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ffe4be;
  border-radius: 2px;
  z-index: 0;
}

.year-block {
  display: flex;
  align-items: flex-start;
  gap: 75px;
  position: relative;
  margin-bottom: 50px;
}

/* Year label with marker */

.year-label {
  position: sticky;
  top: 165px;
  font-size: clamp(1.2rem, 1.8vw, 2.2rem);
  font-weight: 700;
  background: #ffffff;
  padding: 5px 20px 5px 50px;
  border-radius: 30px;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  border: 1px solid #e18f1e;
  color: #000;
}

.year-label::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #e18f1e;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(239, 188, 110, 0.3);
  z-index: 2;
}

.project-item.project-style-2 .project-status a {
  pointer-events: none;
}

.project-item.project-style-2 .project-location a {
  pointer-events: none;
}

.project-list {
  flex-grow: 1;
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(3, minmax(auto, 1fr));
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.project-description ul {
  margin: 0 0 16px 16px;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}

.project-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.elementor .project-image {
  width: 100%;
  min-height: 180px;
  max-height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  object-position: 100% 0;
}

.project-content-timeline {
  padding: 18px;
  background-color: #fff;
}

.project-title-timeline {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1f3f49;
  max-width: 318px;
  width: 100vw;
}

.project-description {
  font-size: 0.96rem;
  color: #555;
  line-height: 1.6;
}

.year-block h6 {
  color: #e18f1e;
  font-size: 24px;
}

.navigation-post-filter {
  margin-bottom: 50px;
}

.project-title.delta {
  font-size: 34px;
}

.project-description .fa-map-pin:before {
  content: "\f276";
  position: relative;
  left: -2px;
  top: 3px;
}

/*Timeline CSS End */

/* Blog sticky css start */

.blog-sidebar-sticky {
  position: sticky!important;
  top: 50px!important;
  transition: top 0.3s ease-in-out; /* Smooth transition */
}
 
/* When the header has the 'show' class, apply a different top to .my-custom-class */

.col-full.blog-sidebar-sticky {
    position: sticky!important;
    top: 130px!important;
    transition: top 0.3s ease-in-out; /* Smooth transition */
}

.blog-sidebar-sticky {
  position: sticky!important;
  transition: top 0.3s ease-in-out; /* Smooth transition */
}
 
/* When the header has the 'hide' class, apply a different top to .my-custom-class */
#masthead.hide ~ .site-content .blog-sidebar-sticky {
  top: 50px!important;
}
 
/* When the header has the 'show' class, apply a different top to .my-custom-class */
#masthead.show ~ .site-content .blog-sidebar-sticky {
  top: 130px!important;
}

/* Blog sticky css end */

@media(max-width: 1340px) {
  .timeline-container {
    padding-left: 70px;
  }

  .timeline-container::before {
    left: 35px;
  }

  .year-block {
    gap: 40px;
  }

  .year-label {
    position: relative;
    top: auto;
    margin-bottom: 20px;
    margin-left: -70px;
  }

  .project-image {
    height: 160px;
  }
  
  .project-title-timeline {
      max-width: 100%;
  }
}

@media (max-width: 1199px) {
  .cf7-popup-container .elementor-shortcode {
    padding: 50px 20px 20px !important;
    height: calc(100vh - 280px);
    overflow: auto;
  }
  .home-project .project-post-thumbnail {
    padding-top: 885px !important;
  }
  .year-label::before {
    content: "";
    width: 20px;
    height: 20px;
  }
  .year-block {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .project-list {
    grid-template-columns: repeat(2, minmax(auto, 1fr));
  }
}

@media (max-width: 768px) {
  .timeline-container {
    padding-left: 70px;
  }

  .timeline-container::before {
    left: 35px;
  }

  .year-block {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
  }

  .year-label {
    position: relative;
    top: auto;
    margin-bottom: 20px;
    margin-left: -70px;
  }

  .year-label::before {
    width: 20px;
    height: 20px;
  }

  .project-image {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .cf7-popup-content {
    padding: 40px 20px 10px !important;
  }

  .wpcf7-button p .wpcf7-spinner {
    top: 50px;
    transform: translateY(-50%);
  }

  .cf7-popup-container .elementor-shortcode {
    padding: 50px 20px 20px !important;
    height: calc(100vh - 280px);
    overflow: auto;
  }

  .project-list {
    grid-template-columns: repeat(1, minmax(auto, 1fr));
  }
}

@media (max-width: 675px) {
  .slider-content .word {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 45px;
  }
}