/*---------------------*/
/* Interactive Spaces Section */
/*---------------------*/
.interactive-spaces {
  width: 100%;
}

.spaces-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 120px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  align-items: center;
}
.explore-link {
  color: #4A90E2;
  font-weight: 600;
  text-decoration: none;
}
.explore-link:hover {
  text-decoration: underline;
}

/* Blog Carousel */
.blog-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.blog-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.blog-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Carousel Card */
.carousel-card {
  min-width: 300px;
  max-width: 300px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-title:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #E5E5E5;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.card-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 4px 10px 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.category-icon {
  font-weight: 700;
}
.slider__blog-label {
  font-family: "Inter";
  font-weight: 700;
  font-size: 0.85rem; /*text to see if this is correct font sizing matchin h5*/
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 4px 12px 4px;
  color: #000;
}

.carousel-card-description {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 4px 16px 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ------------ */
/*  Hardware Family  */
/* ------------ */
.hardware-section {
  background-color: #000;
  width: 100%;
}

/* ── Desktop Grid ───────────────────────────────────────────── */

.hardware-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1500px;
  padding-inline: 120px;
  margin: 0 auto;
  min-height: 600px;
  background-image: url('/assets/images-v3/Hero_Hardware.webp');
  background-size: cover;
  background-position: center;
}

/* TEXT — left side */
.hardware-text {
  max-width: 1500px;
  display: flex;
  align-items: center;
}

.hardware-text-inner .button-small-color-link {
  margin-top: 0;
}

/* IMAGE — right side */
.hardware-image {
  position: relative;
  overflow: hidden;
}

.hardware-img-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile panel hidden by default */
.hardware-mobile {
  display: none;
}



/* ------------ */
/*  Start Building Today  */
/* ------------ */
.building-today-section {
  max-width: 1500px;
  height: 600px;
  padding-inline: 120px;
  margin: auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.get-started {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}
.get-started-text {
  width: 60%;
}
.get-started-text img {
  max-width: 60%;
  min-width: 400px;
  margin-left: 0;
  padding-bottom: 20px;
}
.get-started-image {
  width: 40%;
}
.started-icon-images-mobile {
  display: none;
}
.get-started-image img {
  width: 100%;
}
.inline-btns-desktop a {
  margin-right: 40px;
  color: var(--color-underline-cta);
}
.inline-btns-mobile a {
  display: none;
}
.started-inline-btns-mobile {
  display: none;
}


/*---------------------*/
/* Industries Banner */
/*---------------------*/ 
.industries-section {
  background-color: #000;  /* black bleeds out on XL screens */
  width: 100%;
}

.industries-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  max-width: 1800px;
  margin: 0 auto;
  min-height: 350px;
}

/* IMAGE SIDE */
.industries-image {
  position: relative;
  overflow: hidden;
  max-height: 600px; /* matches the grid height */
}

.industries-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT SIDE */
/* Default (desktop) — your existing dark/wave background */
.industries-text {
  background-image: url('/assets/images-v3/Homepage_Transit2.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Hide mobile image by default */
.industries-img-mobile {
  display: none;
}

.industries-text-inner {
  padding: 60px 20px;
  max-width: 560px;
}

/* .industries-text-inner h5 {
  margin-bottom: 12px;
}

.industries-text-inner h2 {
  margin-bottom: 20px;
}

.industries-text-inner p {
  margin-bottom: 32px;
} */




/*_____________________*/
/*______________________*/
/* JOIN OUR TEAM SECTION */
.join-team-container {
  margin-bottom: 100px;
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: 120px;
}
.join-team-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1500px;
  padding: 40px 0px;
  margin: auto;
  gap: 20px;
}

.join-team-container h2 {
  padding-top: 50px;
  text-align: center;
}
.left-working {
  width: 60%;
}
.right-positions {
  width: 40%;
}
.left-working img,
.right-positions img {
  height: 350px;
  width: 100%;
  object-fit: cover;
} 

.left-working img {
  border-top-left-radius: 40px 40px;
}
.right-positions img {
  border-bottom-right-radius: 40px 40px;
}
.left-working--text {
  padding-right: 50px;
}
.left-working h3,
.right-positions h3 {
  text-transform: capitalize;
  padding-top: 40px;
  padding-bottom: 20px;
}

.left-working p,
.right-positions p {
  padding-bottom: 10px;
}

.left-working a,
.right-positions a {
  font-family: "Inter";
  text-transform: capitalize;
  color: var(--color-underline-cta);
  font-family: "Inter";
  font-weight: 700;
  text-decoration: underline;
}
/*______________________*/


/* Desktop ≤1440px — slightly tighter padding */
@media (max-width: 1440px) {
  .hardware-text-inner {
    padding: 48px 40px;
}
  .industries-text-inner {
      padding: 48px 40px;
  }
}



/* TABLETS  */
@media (max-width: 1024px){
  /*---------------------*/
  /* Interactive Spaces Section */
  /*---------------------*/
 
  .spaces-container {
    padding: 50px 20px;
  }
  /* ------------ */
  /*  Start Building Today  */
  /* ------------ */
  .building-today-section {
      max-width: 1500px;
      padding: 30px 20px 40px;
      height: 500px;
  }

  /* ------------ */
  /*  Hardware Family  */
  /* ------------ */
  .hardware-grid {
    grid-template-columns: 45% 55%;
    min-height: 550px;
    padding-inline: 20px;
  }
  .hardware-text-inner {
      padding: 40px 0px;
  }

  /*---------------------*/
  /* Industries Banner */
  /*---------------------*/
  .industries-grid {
    grid-template-columns: 50% 50%;
    min-height: 380px;
  }

  .industries-text-inner {
      padding: 40px 32px;
  }
  /*_____________________*/
/*______________________*/
/* JOIN OUR TEAM SECTION */
.join-team-container {
  margin-bottom: 100px;
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: 20px;
}

}


/* MOBILE */
@media (max-width: 768px) {

  /*---------------------*/
  /* Interactive Spaces Section */
  /*---------------------*/
  .interactive-spaces {
    width: 100%;
    padding: 40px 0;
  }
  .spaces-container {
      padding: 0 20px;
  }
  .carousel-card {
      min-width: 280px;
      max-width: 280px;
  }

  
  /* ------------ */
  /*  Hardware Family  */
  /* ------------ */
  .hardware-grid {
    grid-template-columns: 50% 50%;
    min-height: 450px;
  }


/* ------------ */
/*  Start Building Today  */
/* ------------ */
.building-today-section {
  height: 400px;
  padding-inline: 20px;
}
.get-started {
  gap: 20px;
}
.get-started-text {
  width: 50%;
}
.get-started-text img {
  max-width: 30%;
  min-width: 200px;
  margin-left: 0;
  padding-bottom: 20px;
}
.get-started-image {
  width: 50%;
}
.started-icon-images-mobile {
  display: block;
}
.started-icon-images-desktop {
  display: none;
}

.inline-btns-desktop a {
  margin-right: 40px;
  color: var(--color-underline-cta);
}
.inline-btns-mobile a {
  display: none;
}
.started-inline-btns-mobile {
  display: none;
}

  
  /* ------------ */
  /*  Industries Banner */
  /* ------------ */
  .industries-grid {
        grid-template-columns: 50% 50%;
        min-height: 320px;
    }

    .industries-text-inner {
        padding: 32px 24px;
    }
    

}




/* SMALL MOBILE */
@media (max-width: 576px) {
  /*---------------------*/
  /* Interactive Spaces Section */
  /*---------------------*/
  .spaces-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 20px;
    align-items: center;
  }
  
  /* ------------ */
  /* Hardware Family  */
  /* ------------ */
  /* hide desktop grid */
  .hardware-grid {
      display: none;
  }

  /* show mobile panel */
  .hardware-mobile {
      display: block;
  }

  .hardware-mobile-inner {
      position: relative;
      min-height: 600px;
      background-image: url('/assets/images-v3/Hardware_Family_Background.webp');
      background-size: cover;
      background-position: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }

  /* text sits at the top */
  .hardware-mobile-text {
      padding: 40px 24px 65px;
  }


  .hardware-mobile-text .button-small-color-link {
    margin-top: 0;
  }
  /* hardware image anchored near the bottom with room for reflection */
  .hardware-mobile-image {
      padding: 0 24px 15px; /* 20px bottom gap for reflection */
      display: flex;
      align-items: flex-end;
  }

  .hardware-mobile-image img {
      width: 100%;
      height: auto;
      display: block;
  }
  /* ------------ */
  /*  Start Building Today  */
  /* ------------ */

.building-today-section {
  height: 650px;
  padding-inline: 20px;
  margin-block: 30px;
}
.get-started {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}
.get-started-text {
    width: 100%;
    padding-top: 25px;
    text-align: center;
}
.get-started-text img {
    margin-inline: auto;
    padding-block: 0 25px;
    min-width: 200px;
}
.get-started-image {
    width: 80%;
}
.started-inline-btns-desktop {
    display: none;
}
.started-inline-btns-mobile {
    display: block;
    text-align: center;
}
.started-inline-btns-mobile a {
    margin-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
}
.transparent-cta-button {
    padding-top: 10px;
    margin-inline: auto;
}

  /*---------------------*/
  /* Industries Banner */
  /*---------------------*/
  .industries-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .industries-image {
      grid-row: 1;
      min-height: 200px;
      max-height: 400px 
  }
  .industries-image .industries-img-desktop {
      display: none;
  }
  .industries-image .industries-img-mobile {
      display: block;
  }
  
  /* Swap to mobile background image */
  .industries-text {
    background-image: url('/assets/images-v3/Homepage_Transit_Mobile2.webp');
  }
  
  
  .industries-text-inner {
      padding: 40px 24px;
      max-width: 100%;
  }
 
  /*---------------------*/
  /* JOIN OUR TEAM SECTION */
  /*---------------------*/
  .join-team-container {
      margin-bottom: 60px;
  }
  .join-team-container h2 {
    text-align: left;
      padding-bottom: 0px;
  }
  .join-team-container h3 {
      padding-top: 25px;
      padding-bottom: 10px;
  }
  .join-team-split {
    display: flex;
    flex-direction: column;
  }
  .left-working {
    width: 100%;
  }
  .right-positions {
    width: 100%;
  }
  .left-working img,
  .right-positions img {
      height: 350px;
      width: 100%;
      object-fit: cover;
      border-radius: 0;
  } 
 
  .right-positions img {
      padding-top: 40px;
  }
  .left-working p,
  .right-positions p {
      padding-bottom: 15px;
  }

  
}

