.bg-primary {
  background-color: #000 !important;
}

.gallery-block.grid-gallery{
  padding-bottom: 60px;
}

.gallery-block.grid-gallery .heading{
    margin-bottom: 50px;
    text-align: center;
    /* color: #fff; */
}

.gallery-block.grid-gallery .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery a:hover{
  opacity: 0.9;
}

.gallery-block.grid-gallery .item img{
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
  transition: 0.4s;
}

.gallery-block.grid-gallery .item{
  margin-bottom: 20px;
  padding-bottom: 7rem;
}

.container {
  max-width: 99%;
}

.product-grid-card {
  display:flex;
  flex-direction:column;
  position:absolute;
  list-style-type:none;
  margin:0;
  padding:0;
  color: black;
  font-family:Helvetica Neue LT Std\ 63 Medium Extended,sans-serif!important;
  font-weight:500!important
}

/* Ensure .item overflow is hidden for better animation on all screen sizes */
.item {
  position: relative;
  overflow: hidden;
}

/* Button container for hover effect */
.product-grid-card__hover-buttons {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hover effect active at all screen sizes */
.item:hover .product-grid-card__hover-buttons {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Optional: Apply hover styles for touch devices */
@media (hover: none) {
  .product-grid-card__hover-buttons {
      transform: translate(-50%, 0);
      opacity: 1;
  }
}



.grid-card-content-container {
  display:flex;
  flex-direction:row;
  justify-content:space-between
}

.grid-card__title {
  margin-right:.2rem;
  margin-bottom:0!important;
  font-size:1.5rem!important;
  padding-top: .7rem;
}

@media (min-width: 576px) {

  .gallery-block.grid-gallery .scale-on-hover:hover{
    /* transform: scale(1.05); */
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
  }
}

.hero3 {
  position: relative;
  width: 100%;
}

.hero-three-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-three-card__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  background: black;
}

.hero-three-card__video-container video {
  width: 100%;
  /* height: auto; */
  object-fit: cover;
}

.hero-three-card__content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-three-card__button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  margin-top: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #FFFFFF;
}

.hero-three-card__icon {
  margin-right: 5px;
}

.hero-three-card__link {
  margin-top: 10px;
}

.carousel-indicators li {
  background-color: #ffffff;
}

a.hero-three-card__button-top-right,
button.hero-three-card__button-bottom-left,
p.hero-three-card__button-supporting-text,
p.hero-three-card__lead-text {
  font-size:.938rem!important
}
p.hero-three-card__button-supporting-text {
  text-align:center;
  align-self:center
}
.hero-three-card {
  font-family:Helvetica Neue LT Std\ 63 Medium Extended,sans-serif!important;
  font-weight:500!important
}
.hero-three-card,
.hero-three-card__section-container {
  position:relative
}
.hero-three-card__container {
  position:relative;
  display:flex;
  justify-content:center
}
.hero-three-card--margin {
  padding:3rem 0
}
.hero-three-card__overlay {
  height:100%;
  width:100%;
  position:absolute;
  top:0;
  z-index:10;
  pointer-events:none
}
.hero-three-card__overlay--dark {
  background-color:#222;
  opacity:40%
}
.hero-three-card__video-container {
  width:100%;
  height:100vh
}
.hero-three-card__video {
  display:block;
  object-position:center center;
  height:100vh;
  width:100vw;
  object-fit:cover;
  overflow:hidden
}
.hero-three-card__content-container {
  display:flex;
  justify-content:space-between;
  flex-direction:column;
  height:38.125rem;
  margin-top:3.875rem;
  display:grid;
  grid-template-rows:repeat(9,1fr);
  grid-template-areas:"title" "title" "title" "title" "buttons" "buttons" "buttons" "buttons" "buttons"
}
.hero-three-card__titles {
  display:flex;
  flex-direction:column;
  grid-area:title;
  align-self:center;
  margin-top:.6rem;
  justify-content:center;
  padding:0 4.16%;
  height:100%;
}
.hero-three-card__titles-inner-container {
  height:100%;
  display:flex;
  flex-direction:column;
  margin-top:1.5rem
}
.hero-three-card__titles-inner-container--top {
  justify-content:start
}
.hero-three-card__titles-inner-container--center {
  justify-content:center
}
.hero-three-card__titles-inner-container--end {
  justify-content:end
}
.hero-three-card__lead-text {
  font-size:.938rem!important;
  padding-bottom:.5rem;
  margin-bottom:0;
  text-align:center
}
.hero-three-card__title {
  margin:0!important;
  font-size:3.125rem!important
}
.hero-three-card__button-top-right-container {
  display:flex;
  align-items:center
}
.hero-three-card__button-bottom-left-container,
.hero-three-card__button-top-right-container {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:.5rem 0;
  max-width:24rem;
  grid-column: 3/4;
  display: flex;
  flex-direction: column;
}
.hero-three-card__button-bottom-left-container:hover,
.hero-three-card__button-top-right-container:hover {
  opacity:.8
}
.hero-three-card__button-bottom-left--large-viewport {
  border:0;
  background-color:transparent;
  padding:0!important
}
.hero-three-card__button-top-right {
  height:100%
}
.hero-three-card__button-bottom-left,
.hero-three-card__button-top-right {
  width:100%;
  padding:.8rem 1.5rem!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  border-radius:50px;
  height:3.5rem
}
.hero-three-card__button-bottom-left {
  margin:.5rem 0!important;
  max-width:24rem
}
.hero-three-card__button-bottom-left:hover {
  background-color:transparent!important;
  opacity:.8!important;
  color:var(--button-two-hover)!important
}
.hero-three-card__icon {
  margin-bottom:.25rem
}
.hero-three-card__social-icon-container {
  display:flex;
  justify-content:space-evenly;
  max-width:200px;
  width:100%;
  margin:0 auto
}
.hero-three-card__social-icon-container li {
  margin:2rem 1rem 1rem;
  position:relative
}
.hero-three-card__social-icon-container li a {
  display:flex
}
.hero-three-card__social-icon-container li a svg {
  font-size:1.6rem
}
.hero-three-card__overlay--light {
  background-color:#fff;
  opacity:40%
}
.hero-three-card__overlay--has-margin {
  top:4rem
}

.hero-three-card__image-outer-container {
  width:100%
}
.hero-three-card__image {
  height:100%
}
.hero-three-card__image-error {
  width:100%;
  height:100%
}
.hero-three-card__content-outer-container {
  position:absolute;
  top:0;
  width:100%;
  z-index:20;
  padding-left:0!important;
  padding-right:0!important;
  display:flex;
  justify-content:center
}
.hero-three-card__image {
  height:100vh
}
.hero-three-card__content {
  position:relative;
  z-index:20;
  display:flex;
  flex-direction:column;
  align-items:center
}
.hero-three-card__cta-container {
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  margin:0 1.5rem 8.25rem;
  grid-area:buttons;
  width:calc(100vw - 3rem)!important
}
.hero-three-card__content,
.hero-three-card__cta-container {
  width:100%
}
.hero-three-card__buttons-mobile {
  position:relative;
  z-index:20;
  text-align:center
}
.hero-three-card__buttons-mobile--spacing {
  margin-bottom:3.5rem
}
.hero-three-card .button-wrapper {
  width:100%;
  display:flex;
  justify-content:center;
  margin:0 auto
}
.hero-three-card__button--uppercase {
  text-transform:uppercase
}
/* .hero-three-card__icon {
  margin-right:1.5rem
} */
.hero-three-card__button-top-right--mobile {
  width:100%;
  height:100%
}
.hero-three-card__buttons-mobile {
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:calc(100% - 2rem);
  align-items:center;
  margin:0 auto
}
.hero-three-card__iframe {
  aspect-ratio:16/9!important;
  width:100vw
}
.hero-three-card__modal {
  margin:0!important;
  background:#000!important;
  height:100vh!important;
  max-width:100vw!important;
  width:100vw!important;
  position:relative
}
.hero-three-card__modal-backdrop {
  width:100vw!important
}
.hero-three-card__modal-close-button {
  position:fixed;
  right:2rem;
  top:1.5rem
}
.hero-three-card__modal-close-button:hover {
  cursor:pointer
}
.hero-three-card__image {
  height:42rem
}
.hero-three-card__image img {
  height:100%;
  object-fit:cover;
  object-position:center center
}
.hero-three-card__video-container {
  height:42rem
}
.hero-three-card__video {
  height:100%
}
.hero-three-card__titles {
  width:100vw;
}
.hero-three-card__content-outer-container {
  height:38.125rem
}
@media screen and (min-height:672px)and (orientation:portrait) {
  .hero-three-card__image {
    height:100vh
  }
  .hero-three-card__image img {
    height:100%;
    object-fit:cover;
    object-position:center center
  }
  .hero-three-card__video-container {
    width:100%;
    height:100vh
  }
  .hero-three-card__video {
    width:100%;
    height:100%
  }
  .hero-three-card__content-container {
    margin-top:3.875rem;
    /* height:calc(100vh - 9.875rem); */
    grid-template-rows:repeat(9,1fr)
  }
}
@media screen and (min-height:780px)and (orientation:portrait) {
  .hero-three-card__content-container {
    grid-template-areas:"title" "title" "title" "title" "title" "buttons" "buttons" "buttons" "buttons"
  }
}
@media screen and (orientation:landscape) {
  .hero-three-card__content-container {
    grid-template-areas:"title" "title" "title" "title" "title" "buttons" "buttons" "buttons" "buttons"
  }
}
@media(min-width:576px) {
  .hero-three-card__title {
    font-size:4.375rem
  }
}
@media(min-width:768px) {
  p.hero-three-card__lead-text {
    font-size:1.5rem!important
  }
  .hero-three-card__image {
    width:100%
  }
  .hero-three-card__lead-text {
    font-size:1.25rem!important
  }
  .hero-three-card__title {
    font-size:6.25rem!important
  }
  .hero-three-card__content-container {
    margin-top:4.9rem;
    height:37.1rem
  }
  .hero-three-card__content {
    display:flex;
    justify-content:space-between;
    align-items:flex-end
  }
  .hero-three-card__content>* {
    position:relative
  }
  .hero-three-card .button-wrapper {
    max-width:12.5rem
  }
  .hero-three-card .button-wrapper:first-child {
    margin-left:0
  }
  .hero-three-card__button-top-right-container {
    margin:0
  }
  .hero-three-card__button-bottom-left-container {
    height:5rem;
    padding:0;
    max-width:13rem;
    border:none;
    top:1.8rem;
    -webkit-transition:.3s;
    transition:.3s;
    width:100%
  }
  .hero-three-card__button-bottom-left-container:hover {
    background:0 0;
    border:2px solid #fff;
    color:#fff
  }
  .hero-three-card__button-top-right {
    padding-bottom:.7rem
  }
  .hero-three-card__button-text {
    position:relative;
    top:2px;
    text-shadow: .5px .5px .5px black;
    font-size: 1.25em;
  }
  .hero-three-card__social-container {
    min-width:14.063rem;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    grid-column:3/4
  }
  .hero-three-card__social-icon-container {
    width:unset;
    margin:0 auto
  }
  .hero-three-card__social-icon-container li {
    margin:2rem 1rem 0
  }
  .hero-three-card__text--small {
    font-size:15px
  }
  .hero-three-card__cta-container {
    margin:auto 1.5rem 9.25rem;
    width:calc(100vw - 3rem)!important
  }
  .hero-three-card__container--small {
    display:flex;
    justify-content:space-between;
    padding:.5rem 0 1rem
  }
  .hero-three-card__cta-container--small {
    display:flex;
    align-items:center
  }
  .cards {
    width: calc(20vw - 1rem) !important;
  }
  .hero-three-card__lead-text--small,
  .hero-three-card__title--small {
    margin-bottom:0
  }
  .hero-three-card__button-bottom-left--mobile,
  .hero-three-card__button-top-right--mobile {
    height:57px
  }
  .hero-three-card__button-bottom-left--mobile {
    margin:0 1rem;
    padding:0;
    height:57px;
    border:none;
    display:flex;
    align-items:center;
    white-space:nowrap
  }
  .hero-three-card__icon--small {
    margin-left:.5rem
  }
  .hero-three-card__content {
    display:grid;
    grid-template-columns:auto 1fr auto
  }
}
@media screen and (min-width:768px)and (min-height:672px)and (orientation:landscape) {
  .hero-three-card__image {
    height:100vh
  }
  .hero-three-card__image img {
    height:100%;
    object-fit:cover;
    object-position:center center
  }
  .hero-three-card__video-container {
    width:100%;
    height:100vh
  }
  .hero-three-card__video {
    width:100%;
    height:100%
  }
  .hero-three-card__content-container {
    margin-top:3.875rem;
    /* height:calc(100vh - 23.875rem); */
    display:grid;
    grid-template-rows:repeat(9,1fr);
    grid-template-areas:"title" "title" "title" "title" "title" "title" "buttons" "buttons" "buttons"
  }
}
@media screen and (min-width:768px)and (orientation:portrait) {
  .hero-three-card__image {
    height:100vh
  }
  .hero-three-card__image img {
    height:100%;
    object-fit:cover;
    object-position:center center
  }
  .hero-three-card__video-container {
    width:100%;
    height:100vh
  }
  .hero-three-card__video {
    width:100%;
    height:100%
  }
  .hero-three-card__content-container {
    margin-top:3.875rem;
    /* height:calc(100vh - 16.875rem); */
    display:grid;
    grid-template-rows:repeat(9,1fr);
    grid-template-areas:"title" "title" "title" "title" "title" "title" "buttons" "buttons" "buttons"
  }
}
@media(min-width:992px) {
  .hero-three-card__title {
    font-size:9rem!important
  }
  .hero-three-card__content {
    display:grid;
    grid-template-columns:auto 1fr auto
  }
  .hero-three-card__social-container {
    grid-column:3/4;
    display:flex;
    flex-direction:column
  }
}

.modal-dialog {
  max-width: 70%;
}

.modal-content {
  background: none;
}


/* .gallery-block.grid-gallery .scale-on-hover:hover {
  transform: scale(1.005);
} */

/* .text-light {
  color: #ff9900 !important;
} */

.text-orange {
  color: #ff9900 !important;
}

.img-fluid {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* .item .image-container .overlay {
  position: absolute;
  top: -4em;
  width: 95%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  
}

.item .image-container:hover .overlay {
  opacity: 1;
} */


.carousel-title {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    width: 100%;
}

.carousel {
    position: relative; /* Ensures the title overlaps the carousel */
}

.project-desc {
  width: 60%;
  text-align: left;
  margin: 30px auto;
}

.project-desc h3 {
  font-size: 1.25em;
  font-weight: 300;
}

@media (min-width:768px) and (max-width: 1675px) {
  .cards .hero-three-card__button-text {
    display: none;
  }
}

@media (max-width: 575px) {
  .modal-dialog {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 992px) {
  .project-desc {
    width: 75%;
  }
}
@media (max-width: 768px) {
  .project-desc {
    width: 90%;
  }
}
.btn-close {
  filter: brightness(0) invert(1);
}

.project-img {
  object-fit: cover;
  height: 100%;
  object-position: center;
}
.projects-main-image {
  width:100vw !important;
}

.hero-three-card__button-top-right-container a:not([href]):not([class]) {
  width: 100%;
  margin-top: 30px;
}

.hero-three-card__button-text {
  /* color:#ffffff; */
}
