/*
Style sheet for CFS
*/

/*--------------------------------------------------------------
continuum Font
--------------------------------------------------------------*/

@font-face {
    font-family: 'AmsiPro-Ultra';
    src: url('/wp-content/themes/stand/frontend/fonts/AmsiPro-Ultra.woff2') format('woff2'),
         url('/wp-content/themes/stand/frontend/fonts/AmsiPro-Ultra.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}
/*--------------------------------------------------------------
Continuum
--------------------------------------------------------------*/
.continuum h1,
.continuum h2,
.continuum h3 {
  font-family: 'AmsiPro-Ultra';
  text-transform: uppercase;
  font-weight: nomal;
  line-height: 1;
  letter-spacing: 0.01em;
}

.continuum h1 {
  font-size: 55px;
  line-height: 50px;
  max-width: 100%;
  margin: 0 auto 10px 0;
  color: #5C1A2E;
}

@media screen and (max-width: 600px) {
  .continuum h1 {
    font-size: 40px;
    line-height: 1.2;
  }
}

.continuum h2 {
  font-size: 45px;
}

@media screen and (max-width: 600px) {
  .continuum h2 {
    font-size: 30px;
  }
}

/*--------------------------------------------------------------
Hero
--------------------------------------------------------------*/
.continuum-hero .hero {
  height: 100vh;
  min-height: 800px;
  max-height: 1080px;
  position: relative;
}

.continuum-hero .hero-bg video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.continuum-hero .hero .hero-text {
  align-items: flex-end;
}

.continuum-hero .hero .hero-text .text-wrapper {
  background: #F5F4ED;
  max-width: 50%;
  padding: 2em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: left;
}

.continuum-hero .hero-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 1;
  background: rgba(10, 10, 4, 0.2);
  left: 0;
  top: 0;
  z-index: 1;
}

@media screen and (max-width: 1000px) {
  .continuum-hero .hero .hero-text .text-wrapper {
    max-width: 75%;
    padding: 1.5em;
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .continuum-hero .hero .hero-text .text-wrapper {
    max-width: 100%;
    padding: 1.5em;
    text-align: left;
  }
}

.continuum-hero .hero .hero-text {
  z-index: 1 !important;
}

.continuum-hero .hero .hero-text h1 {
  font-size: 50px;
  max-width: 80%;
}

@media screen and (max-width: 600px) {
  .continuum-hero .hero .hero-text h1 {
    font-size: 36px;
  }
}

.continuum-hero .hero .hero-text span {
  color: #5C1A2E;
}

.continuum-hero .arrow {
  width: 50px;
  bottom: 50px;
  position: absolute;
  z-index: 10;
}

/*--------------------------------------------------------------
Video
--------------------------------------------------------------*/
.continuum-video {
  background: #F5F4ED;
  padding: 40px 0;
}

@media screen and (min-width: 600px) {
  .continuum-video {
    padding: 100px 0;
  }
}

.continuum-video .embed-container { 
  position: relative; 
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
} 

.continuum-video .embed-container iframe,
.continuum-video .embed-container object,
.continuum-video .embed-container embed { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.continuum-video .caption {
  font-family: 'Roboto' !important;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  margin-top: 5px;
}

.continuum-video .intro {
  font-family: 'Lora';
  margin-top: 30px;
  font-size: 30px;
  border-left: 4px solid #5C1A2E;
  padding-left: 20px;
}

@media screen and (max-width: 600px) {
  .continuum-video .intro {
    font-size: 20px;
    padding-left: 15px;
  }
}

.continuum-video blockquote {
  background: #5C1A2E !important;
  color: white;
  border: 0;
  font-family: 'Lora';
  font-style: italic;
  padding: 20px;
  margin: 20px 0;
}

@media screen and (max-width: 600px) {
  .continuum-video blockquote {
    padding: 15px;
    margin: 15px 0;
  }
}

/*--------------------------------------------------------------
Letters
--------------------------------------------------------------*/
.continuum-letters {
  padding: 40px 0 40px 0;
}

.continuum-letters .letter-row:last-of-type {
  margin-bottom: 00px !important;
}

@media screen and (min-width: 600px) {
  .continuum-letters {
    padding: 100px 0;
  }
}

.continuum-letters .headshot {
  max-width: 80px;
  border-radius: 100%;
  margin-right: 10px;
}

@media screen and (max-width: 600px) {
  .continuum-letters .headshot  {
    max-width: 60px;
  }
}

.continuum-letters .image-wrapper {
  height: 500px;
  background: #358682;
}

.continuum-letters .image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; 
    overflow: hidden;
    background: #358682;
    border-radius: 10px;
}

@media screen and (max-width: 600px) {
  .continuum-letters .image-wrapper  {
    height: 300px; 
    margin-bottom: 20px;
  }
}

.continuum-letters .image-wrapper img.image-fill {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    border-radius: 10px;
}

.continuum-letters .text-wrapper {
    padding-top: 60px;
    transition: justify-content 0.3s ease; /* Smooth transition */
    height: 100%;
}

@media screen and (max-width: 992px) {
  .continuum-letters .text-wrapper  {
    justify-content: flex-start; /* Centered by default */
    padding-top: 0px;
  }
}


.continuum-letters .text-wrapper.text-expanded {
    justify-content: flex-start; /* Align to the top when expanded */
}

@media screen and (max-width: 992px) {
  .continuum-letters .text-wrapper.text-expanded {
    justify-content: flex-start; /* Centered by default */
  }
}

/*--------------------------------------------------------------
Testimonial
--------------------------------------------------------------*/

.continuum-testimonial {
  padding: 40px 0 40px 0;
  background: #5C1A2E;
}

.continuum-testimonial .image img {
  border-radius: 100%;
}

.continuum-testimonial svg {
  height: 40px;
  margin-bottom: 10px;
}

.continuum-testimonial .quote {
   font-size: 17px;
   letter-spacing: -0.01em;
   margin-bottom: 20px;
}

@media screen and (min-width: 600px) {
  .continuum-testimonial {
    padding: 100px 0;
  }
  .continuum-testimonial .quote {
    font-size: 19px;
    line-height: 30px;
  }
}

/*--------------------------------------------------------------
Future
--------------------------------------------------------------*/

.continuum-future {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #fff;
  color: rgb(16, 16, 18);
}

.continuum-future .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  color:#5C1A2E;
}

.continuum-future .section-header h2 {
  font-family: 'Lora';
  font-style: italic;
  text-transform: none;
  font-size: 28px;
  font-weight: normal;
  margin: 0 10px; /* Add space between the text and the lines */
  white-space: wrap; /* Prevent text wrapping */
}

.continuum-future .section-header::before,
.continuum-future .section-header::after {
  content: '';
  flex: 1; /* Take up available space */
  height: 1px;
  background-color: #5C1A2E; /* Line color */
}

.continuum-future .text-wrapper {
  text-align: center;
}

.continuum-future .text-wrapper .image img {
  max-width: 300px;
  border-radius: 100%;
  margin-bottom: 30px;
}
.continuum-future .text-wrapper h3 {
  font-size: 20px;
  color:#5C1A2E;
  padding:10px;
}

.continuum-future .text-wrapper p {
  line-height: 1.5;
  max-width: 350px;
  margin: 0 auto;
}
@media screen and (min-width: 600px) {
  .continuum-future {
    padding-bottom: 70px;
  }
  .continuum-future .text-wrapper h3 {
    font-size: 25px;
  }
}

/*--------------------------------------------------------------
CTA
--------------------------------------------------------------*/
.continuum-cta {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 70px 0;
}

.continuum-cta .cta-text {
  width: 100%;
}

.continuum-cta .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire container */
    z-index: 0;
}

.continuum-cta .text-wrapper {
    position: relative;
    z-index: 1;
    padding: 0px;
    max-width: 100%;
}

@media screen and (min-width: 600px) {
  
  .continuum-cta {
      padding: 100px 0;
  }

  .continuum-cta .text-wrapper {
      max-width: 50%;
  }
}
/*--------------------------------------------------------------
continuum Thank You
--------------------------------------------------------------*/
.continuum-footer {
  padding: 40px 0;
}

.continuum-footer .contact .text-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.continuum-footer .contact .text-wrapper img {
  max-width: 100px;
  border-radius: 100%;
}

@media screen and (min-width: 600px) {
  .continuum-footer {
    padding: 90px 0;
  }
}
/*--------------------------------------------------------------
Form
--------------------------------------------------------------*/

.continuum .gform_wrapper {
  margin-top: 20px;
}

.continuum .gform_wrapper.gravity-theme .gfield_label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0px !important;
}

.continuum .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 10px !important;
}

.continuum .gform_wrapper.gravity-theme .ginput_container_address span {
    flex: 0 0 50% !important;
}

.continuum .gform_wrapper.gravity-theme .ginput_complex label {
    font-size: 14px;
    padding-top: 0px;
}

.continuum .gform_wrapper.gravity-theme .gform_footer {
  justify-content: center;
}

/*--------------------------------------------------------------
continuum Modal
--------------------------------------------------------------*/

.continuum-modal .image img {
  border-radius: 100%;
}

.continuum-modal .modal-dialog {
    max-width:532px;
}
/*--------------------------------------------------------------
Expandable text
--------------------------------------------------------------*/
.full-content {
    max-height: 0; /* Collapsed by default */
    overflow: hidden; /* Prevent overflow */
    opacity: 0; /* Initially invisible */
    transition: max-height 0.5s ease, opacity 0.5s ease; /* Smooth expand/collapse effect */
}

.full-content.expanded {
    max-height: 1000px; /* Large enough for most content (will be overridden dynamically) */
    opacity: 1; /* Fully visible */
}

.truncated-content {
    display: block; /* Always visible when full content is hidden */
}

.expand-content {
    cursor: pointer; /* Pointer cursor for interactivity */
    font-weight: bold; /* Button styling */
}

.expand-content:hover {
    text-decoration: underline; /* Add hover effect for better UX */
}
