/* Main Styles */

.sub-page-hero{
  height: 670px;
}

.sub-page-hero-pt{
  padding-top: 180px;
}

.bg-color-main{

  background-color: var(--secondary-color);
}
.bg-color-secondary{

  background-color: #FF532F;
}

.text-color-main{
  color: var(--primary-text-color);
}

.text-color-secondary{
  color:  var(--secondary-text-color);
}

.text-color-secondary-2{
color: var(--tertiary-text-color);
}

.text-bold{
  font-weight: bold;
}

.uppercase-text {
  text-transform: uppercase;
}

.normal-line-height {
    line-height: normal;
  }

.lead-custom{

    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.sign-up-button-inversed{

background-color: #ffffff;
color: #FF532F;
}

.text-important{

font-size: 46px;
font-style: normal;
font-weight: 700;
line-height: 0px;
}

.custom-internal-link {
  color: var(--link-color); /* Default color */
  transition: color 0.3s ease; /* Smooth transition effect */

  /* Hover state */
  &:hover {
    color: var(--link-hover-color); /* Hover color */
  }
}

.heading-text-padding{
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.zp-button{
    height: 45px;
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    font-size: 15px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--button-primary-text-on-light);
    background-color: var(--button-primary-bg-on-light);
    border: 1px solid var(--button-primary-bg-on-light);
    border-radius: 55px;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 20px 8px 20px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.zp-button-background-light:focus, .zp-button-background-light:active, .zp-button-background-light:hover{
	background-color: var(--button-primary-bg-on-light);
	color: var(--button-primary-text-on-light);
	border-color: var(--button-primary-bg-on-light);
}


/* Promotional Banner - Button Only */

.promo-banner {
            text-align: center;
            padding: 20px;
            display: flex;
        }

.promo-sign-up-button {
  display: flex;
  background-color: #FF532F;
  text-decoration: none;
  position: relative; /* Position relative for absolute positioning of borders */
  overflow: hidden; /* Hide overflow for borders */
  padding: 29px 27px;
  justify-content: center;

  /* Hover state */
  &:hover {
    background-color: #00202E; /* Hover background color */
    border: 1px solid #00202E;
    color: #FFFFFF; /* Hover text color */
  }
}
@media only screen and (max-width: 767px) {
    .promo-sign-up-button{
	font-size: smaller;
     }
}


.promo-sign-up-button::before,
.promo-sign-up-button::after {
  content: ""; /* Empty content for pseudo-elements */
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 2px solid transparent; /* Set the border color (transparent for inner border) */
  border-radius: 55px; /* Add border-radius for rounded corners if desired */
}

.promo-sign-up-button::before {
  z-index: 1; /* Place the outer border above the inner border */
}

.promo-sign-up-button::after {
  border: 2px solid #ffffff; /* Set the inner border color */
}

/* FAQ - Accordion Styles */

/* Ensure all collapse elements start collapsed */
#faqAccordion .collapse {
  display: block; /* Keeps the element in flow for height calculation */
  height: 0;      /* Collapsed state */
  overflow: hidden;
  transition: height 0.3s ease-out;
}

/* Expanded state */
#faqAccordion .collapse.show {
  height: auto; /* Height is dynamically set by JavaScript */
  overflow: visible;
}

/* Override Bootstrap's inline styles when collapsing */
#faqAccordion .collapsing {
  height: 0; /* Matches the starting height of transitions */
  overflow: hidden;
  transition: height 0.3s ease-out;
}


.accordion-item {
  background-color: #00202E;
  color: #FFFFFF;
  margin-bottom: 1rem;
  padding: 0;
  border: 1px solid #ffffff;
  overflow: hidden;
  transition: height 650ms ease;
}

.accordion-link {
  font-size: 1.6rem;
  color: #FFFFFF;
  text-decoration: none;
  background-color: #00202E;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  box-sizing: border-box;
  cursor: pointer;
  border: none;
}

.accordion-link i {
  color: #FFFFFF;
  padding: .5rem;
}

.accordion-link .fa-chevron-up {
  display: none;
}

.answer {
  /*max-height: 0;*/ 
  height: 0; /* Explicitly set initial height */
  overflow: hidden;
  background-color: #00202E;
  padding: 0 1rem; /* Keep horizontal padding */
  transition: height 0.3s ease;
}

.accordion-item.expanded .answer {
  /*max-height: max-content;*/
  height:auto;
  padding: 1rem;
}

/* Add the 'show' class style for Bootstrap's collapse */
.accordion-item.expanded .answer.show {
  /*max-height: max-content;*/
  padding: 1rem;
}

.accordion-item:target,
.accordion-item.expanded {
  height: auto; /* Using javscript to set this dynamically */
}

.accordion-item:target .answer,
.accordion-item.expanded .answer {
  height: auto;
  max-height: 300px;
  padding: 1rem;
}

.accordion-item:target .accordion-link .fa-chevron-down,
.accordion-item.expanded .accordion-link .fa-chevron-down {
  display: none;
}

.accordion-item:target .accordion-link .fa-chevron-up,
.accordion-item.expanded .accordion-link .fa-chevron-up {
  display: block;
  color: #FF532F;
}

.accordion-item.expanded {
  border: 2px solid #FF532F; /* Set border color for expanded state */
}

.accordion-item.expanded .accordion-link p.paragraph-text {
  color: #FF532F; /* Set text color for expanded state */
}

/* Responsive Styles */
@media (max-width: 767px) {
  /* Adjust styles for small screens (phones) */
  .accordion-link {
    font-size: 1.4rem;
    align-items: normal;
  }

  .accordion-item {
	height: max-content;
	}

  .accordion-item.expanded,
  .accordion-item:target {
	height: auto;
  }

.accordion-item .accordion-header h2 .accordion-link p.paragraph-text {
  font-size: 0.857rem;
  line-height: normal;
  text-align: left;
}

.accordion-item .answer p {
  font-size: 0.857rem;
  line-height: normal;
  text-align: left;
}


}

@media (min-width: 768px) and (max-width: 991px) {
  /* Adjust styles for medium screens (tablets) */
  .accordion-link {
    font-size: 1.5rem;
    align-items: normal;	
  }

.accordion-item .accordion-header h2 .accordion-link p.paragraph-text {
  font-size: 1rem; 
}

.accordion-item .answer p {
  font-size: 1rem;
  line-height: normal;
  text-align: left;
}

}

/* Scale reCaptcha on mobile screens */

@media only screen and (max-width: 768px) {
    .g-recaptcha {
        transform:scale(0.77);
        transform-origin:0 0;
    }
}

/* Webapge Banner image container */

.background-image-container {
    position: relative;
    width: 100%;
    align-items: flex-end;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Media query for screens smaller than 1024 pixels (mobiles and smaller tablets) */
@media (max-width: 1024px) {
    .background-image-container {
        background-image: none;
    }
}

/* Generic Buttons */

.button-orange {
    height: 45px;
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    font-size: 15px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    background-color: var(--button-primary-bg-on-light);
    border: 1px solid var(--button-primary-bg-on-light);
    border-radius: 55px;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 20px;
}

.button-orange:focus, .button-orange:active, .button-orange:hover {
    background-color: var(--button-primary-hover-bg-on-light);
    color: var(--button-primary-text-on-dark);
    border-color: var(--button-primary-hover-bg-on-light);
}

.no-flex{
	display: inline-block !important; /* Override the flex display for this instance */
}

.custom-hr {
    margin-top: 20px;  /* Padding space above the hr */
    margin-bottom: 20px; /* Padding space below the hr */
    border: none; /* Remove default border */
    border-top: 2px solid #eaeaea; /* Custom border style */
    width: 100%; /* Full width rule */
}

.error-message{

   color: #FF532F;

}

/* Default utility link style on dark background */
.zp-utility-link-dark-bg {
  color: var(--utility-link-color-dark-bg); 
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.2s ease-in-out;
}

.zp-utility-link-dark-bg:hover,
.zp-utility-link-dark-bg:focus {
  color: var(--utility-link-hover-color-dark-bg); 
}

.zp-utility-link-dark-bg:active {
  color: var(--utility-link-hover-color-dark-bg);
}
