


/*\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/*/
/*\/\/\/\/\/\/\/\/\/\/\   TOP HERO BANNERS   /\/\/\/\/\/\/\/\//\/\/*/
/*\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/*/



.video-background-section * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.video-background-section {
  width: 100vw;
  height: var(--hero-height);
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.parallax-video {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 2;
}

/* Make the video fill and cover like a background image */
.video-embed {
  position: relative;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 inverse */
}

.video-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
}

.w-video {
  width: 100%;
  height: 100%;
  position: relative;
}

.w-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-text {
  display: flex;
  padding: 5rem var(--Pm) var(--Pm) var(--Pm);
  width: 100%;
  z-index: 3;
  height: 100%;
  color: var(--white);
  position: relative; /* Changed from absolute */
}

#home .hero-text h1,
#home .hero-text h2 {
  font-size: var(--Fh);
  line-height: 1;
}




/*/\/\/\/ Parallax /\/\/\/*/


section.parallax {
  position: relative;
  background-color: #000;
  height: var(--hero-height);
      margin: 0;
    padding: 0;
    overflow: hidden;
 }


.parallax-image,
.parallax-video {
  width: 100vw;
  height: var(--hero-height);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
/*  z-index: 5;*/
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center;
}

    
.loadingMask {
  position: absolute;
  width: 100%;
  height: var(--hero-height);
  background-color: rgba(255,255,255,1);
  background-color: rgba(0,0,0,1);
  z-index: 90;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
 }

 @keyframes fadeOut {
    0% {opacity: 1;}
    100% { opacity: 0; }
 }

 .fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
 }

  .parallax-image {
    position: relative;
    background-color: #000;
    height: var(--hero-height);
   }

 .parallax-image::before {
    z-index: 3;
    content: " ";
    position: absolute;
    top: 0;
    height: var(--hero-height);
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), color-stop(50%, rgba(0,0,0,0.1)), to(rgba(0,0,0,0)));
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
}




@media screen and (max-width: 1024px) {


 .parallax-image,
    .parallax-video,
    .loadingMask,
    section.parallax,
    section.parallax::before,
    .video-background-section {
      height: 70vh;
    }


    .hero-text {
      width: 100%;
    }

    #home .hero-text h1,
    #home .hero-text h2 {
      font-size: var(--Fh);
      line-height: 1;
    }



} 




/* 
*
* Text Column
*
* * * * * * * * * * * * * * * * * * */

.text-columns .row > div {
    width: calc(50% - var(--Pm));
    /*max-width: 800px;*/
}





/* 
*
* Single Image & Text Columns
*
* * * * * * * * * * * * * * * * * * */


.text-image-columns .row {
    align-items: stretch;
}



/*section.text-image-columns:nth-child(3n+1) .offset-bg  {
    background-color: var(--orange);
}

section.text-image-columns:nth-child(3n+2) .offset-bg   {
    background-color: var(--yellow);
}

section.text-image-columns:last-child .offset-bg   {
    background-color: var(--yellow);
}

section.text-image-columns:nth-child(3n) .offset-bg  {
    background-color: var(--red);
}
*/

.text-image-columns .container > div {
    width: calc(40% - var(--Pm));
    max-width: 600px;
}

/*.text-image-columns .bg-img {
    min-height: 24rem;
    aspect-ratio: 0.8 / 1;
    border-radius: 8px;
    border: 1px solid var(--darkbrown);
}*/

.image-container {
    position: relative;
    aspect-ratio: 0.8 / 1;
    margin: 0 var(--Ps) var(--Ps) var(--Ps);
}

.offset-bg {
    position: absolute;
    top: var(--Ps);
    left: var(--Ps);
    width: 100%;
    height: 100%;
    /*background-color: var(--orange);*/
    border: 1px solid var(--darkbrown);
    border-radius: 8px;
    z-index: 1;
}

.image-div {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    border-radius: 8px;
    border: 1px solid var(--darkbrown);
}


.text-image-columns .txt.col {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: var(--Ps);
}

.text-image-columns.img-right .image-container {
    order: 2;
}

.text-image-columns.img-right .txt {
    order: 1;
}

.text-image-columns.img-left .image-container {
    order: 1;
}

.text-image-columns.img-left .txt {
    order: 2;
}

.text-image-columns.img-left .offset-bg {
    top: var(--Ps);
    left: calc(var(--Ps) * -1);
 
}





/* 
*
* Image + Text Rows
*
* * * * * * * * * * * * * * * * * * */


.text_image_rows.row {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.text_image_rows .row_text {
    width: auto;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    padding: 0 0 0 5rem;
}


.text_image_rows:nth-of-type(odd) .row_img {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.text_image_rows:nth-of-type(odd) .row_text {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    padding: 0 5rem 0 0;
}



/* 
*
* Gallery Slider
*
* * * * * * * * * * * * * * * * * * */


section.img-gallery {
    padding-left: var(--Pm);
}

section.img-gallery  .img-bg {
    display: inline-block;
    width: 25vw;
    aspect-ratio: 3 / 2;
    max-width: 65rem;
    max-height: 45rem;
    border-radius: 8px;
    padding: 0;

}

.slide {
    margin: 1rem;
}

.caption {
    font-family: var(--f-pitch);
    font-size: var(--Fc);
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: var(--Ph);
}



/* 
*
* Logo Slider
*
* * * * * * * * * * * * * * * * * * */

.logo-gallery .slider-wrapper {
    margin: 3rem 0;
    position: relative; /* Good - this is already there */
}

/* Move gradients to slider-wrapper */
.logo-gallery .slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25vw;
    height: 100%;
    background: linear-gradient(to right, #F6F5F0, transparent);
    z-index: 10;
    pointer-events: none;
}

.logo-gallery .slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25vw;
    height: 100%;
    background: linear-gradient(to left, #F6F5F0, transparent);
    z-index: 10;
    pointer-events: none;
}

.logo-slider {
    position: relative;
}

.logo-slider .slide {
    text-align: center;
    padding: 0 20px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.logo-slider .slide img {
    max-height: 80px;
    width: auto;
    height: 80px;
    max-width: 200px;
    display: block;
    object-fit: contain;
    filter: invert(14%) sepia(8%) saturate(7293%) hue-rotate(302deg) brightness(109%) contrast(128%);


}

/* Very wide logos */
.logo-slider .slide.very-wide img {
    max-width: 180px;
    height: 50px;
    max-height: 50px;
}

/* Wide logos */
.logo-slider .slide.wide img {
    max-width: 150px;
    height: 70px;
}

/* Square logos */
.logo-slider .slide.square img {
    height: 80px;
    max-width: 80px;
}

/* Tall logos */
.logo-slider .slide.tall img {
    max-height: 90px;
    height: 90px;
    max-width: 120px;
}
/* 
*
* Button Section
*
* * * * * * * * * * * * * * * * * * */


        .button-section {
            background-color: var(--cream);
            border-radius: 8px 8px 0 0 ;
            z-index: 8;
            position: relative;
        }


        .button-section .container {
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
            margin-top: -1rem;
        }
        
        .button-section a {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            padding: var(--Ph);
            background: var(--cream);
            border: 1px solid var(--darkbrown);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            color: var(--darkbrown);
            font-size: var(--Fm);
            margin-top: -1rem;
            min-width: 285px;
        }
        
        .button-section a:hover {
            background: #f8f8f8;
            border-color: #999;
            /*transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
        }
        
        .button-section a svg {
            flex-shrink: 0;
        }

        .button-section a svg:last-child {
            margin-left: auto;
        }
        
        .button-text {
            font-family: var(--f-sans);
            white-space: nowrap;
            margin-left: 10px;
        }
        
        .align-right {
            margin-left: auto;
        }
        
        .button-section a.button-right {
            background: var(--red);
            color: white;
            border-color: var(--red);

        }
        
        .button-section a.button-right:hover {
            background: var(--darkred);
            border-color: var(--darkred);
        }
        
        .button-icon {
            width: 85px;
            aspect-ratio: 85/48.00;
            object-fit: cover;
            margin: -10px 10px -10px -10px;
        }
        
        @media (max-width: 768px) {
            .button-section {
                flex-direction: column;
                align-items: stretch;
            }
            
            .align-right {
                margin-left: 0;
            }
        }




/* 
*
* Card Repeater
*
* * * * * * * * * * * * * * * * * * */

.card-repeater {
    position: relative;
    z-index: 2;
    background-color: var(--yellow);
    padding-bottom: 2rem; /* Space at bottom of yellow section */
    margin-bottom: 6rem; /* Remove margin */
}

.card-repeater .container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    background-color: transparent;
    margin-bottom: -5rem; /* Cards extend 6rem below the yellow section */
}

.card-repeater .container > a {
    flex: 0 0 calc(33% - 1.35rem);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--darkbrown);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*.card-repeater .container > a * {
    background-color: var(--cream) !important;
}
*/
.card-repeater .container .cntent {
    padding: var(--Fm);
    background-color: var(--cream) !important;
}

.card-repeater .medium-heading {
    font-size: var(--Fxl);
}

/* Image container */
.card-repeater .img-bg {
    width: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    aspect-ratio: 5 / 3;
}



/* Responsive */
@media (max-width: 1024px) {
    .card-repeater .container {
        margin-bottom: -4rem;
    }
    
    .card-repeater > a {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .card-repeater .container {
        margin-bottom: -3rem;
    }
    
    .card-repeater > a {
        flex: 0 0 100%;
    }
}


/* 
*
* Collapsible Content
*
* * * * * * * * * * * * * * * * * * */

section.collapsible .row {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

section.collapsible div {
    text-align: left;
}

section.collapsible .col-title {
    /*  margin-bottom: 1rem;*/
    padding-left: 40px;
    font-size: 1.9rem;
    /* 30px  */
    cursor: pointer;
    /*border-top: solid 1px rgba(0,0,0,0.7);
  padding-top: 2rem;
  margin-top: 2rem;*/
    /*  transition: background-color 0.3s ease;*/
}

section.collapsible .col-title svg {
    height: 27.5px;
    width: auto;
    margin-left: -40px;
    margin-right: 0.5rem;
    margin-bottom: -0.2rem;
    rotate: 0deg;
    -webkit-transition: rotate 0.3s;
    -o-transition: rotate 0.3s;
    transition: rotate 0.3s;
}

section.collapsible .col-title.col-open svg {
    rotate: 90deg;
    -webkit-transition: rotate 0.3s;
    -o-transition: rotate 0.3s;
    transition: rotate 0.3s;
}

section.collapsible .col-div {
    display: none;
    padding-top: 2rem;
    overflow: hidden;
    /* Prevents content jumping */
}


section.collapsible hr {
    margin: 2rem 0;
}



