/* Open Sans Variable, upright */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.woff2") format("woff2");
  /*font-weight: 300 800;         /* supports a range if using variable */
  /*font-stretch: 75% 100%;       /* only if your file includes width axis */
  font-style: normal;
  font-display: swap;           /* avoid FOIT */
  /* Optional: restrict to Latin to save bytes if you subset */
  /* unicode-range: U+000-5FF; */
}

:root {
  --font-sans: "Open Sans", Helvetica, Arial, sans-serif;
  --dark-blue: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --loader: #299aff;
  --orange: #F86319;
  --orange-border: #D84F0F;
  --orange-hover: #E0540F;
  --orange-shadow: rgb(203, 82, 21);
  /*--orange-contrast: #19aef8;*/
  --orange-contrast: #E0540F;
  --orange-contrast-dark: #D84F0F;
  --orange-dark: #D84F0F;
}

html {
    height: 100%;
}

body{
	font-family: var(--font-sans);
	background-color: #FFF;
	box-sizing: border-box;
	max-width: 1920px;
    min-height: 100vh; 
	width: 100%;
	margin:auto;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* or "flex: 1 0 auto;" */
}

/* ----- NAVBAR ----- */

.navbar-custom {
    background: var(--dark-blue);
    /*background-color: #254c7d;*/
}

.navbar-custom .navbar-brand {
    margin: auto;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-text {
    color: white;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
    margin: 0;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 40px;
    }
    .header-text {
        max-width: calc(100vw - 120px);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .header-text {
        max-width: calc(100vw - 180px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-text {
        max-width: 450px;
    }
}

@media (min-width: 992px) {
    .header-text {
        max-width: 600px;
    }
}

/* SECTION */

.section {
    max-width: 800px;
    margin: auto;
}

#section-4 .alert {
    font-size: .8em;
}

/* FORM */

[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

label {
    width: 100%;
}

.nextbtn {
    width: 100%;    
}

.nextbtn.item-active{
    box-shadow: 0 0 10px var(--orange-shadow);
}

label button {
    width: 100%;
}

.answer-holder {
    margin: 0 auto;
    padding: 5px 10px 10px;
    /*min-width: 180px;*/
    border-radius: 5px;
    /*background-color: transparent;*/
    /*border: 2px solid #fff;*/
    background-color: var(--orange);
    border: 2px solid var(--orange-border);
    color: #ffffff;
    -webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.nextbtn:hover {
    background-color: var(--orange-hover);
    /*border: 2px solid var(--orange-contrast-dark);*/
}

.step button {
    background-color: var(--orange);
    border: 2px solid var(--orange-border);
    color: #ffffff;
}

.step button:hover {
    background-color: var(--orange-contrast);
    border: 2px solid var(--orange-hover);
}

.backbtn {
    cursor: pointer;
}

.return {
    text-align: end;
    color: #c2c2c2;
}

#button-send {
    width: 100%
}

.errormsg {
    color: red;
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
    color: #d9534f;           /* typical red tone for errors */
    font-size: 0.95rem;
    transition:
        opacity 0.4s ease,
        max-height 0.4s ease,
        transform 0.4s ease;
    overflow: hidden;
    min-height: 22.8px;
}

.errormsg.active {
    opacity: 1;
    max-height: 200px;        /* large enough to fit text */
    transform: translateY(0);
}

#email {
  position: absolute;
  top: -9999px;
}

#phone {
  position: absolute;
  top: -9999px;
}

.q-privacy {
    font-size: .7em;
}

/* STEP */

.step-container {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.step {
  position: absolute;
  inset: 0 0 auto 0; /* top:0; left:0; width:100% */
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* Active step (visible) */
.step:not(.disabled) {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* When disabling a step (slides left smoothly) */
.step.disabled {
  pointer-events: none;
  z-index: 0;
}

.step.leaving {
  opacity: 0;
  transform: translateX(-12%);
  pointer-events: none;
  z-index: 1;
}

/*.disabled {
	display: none;
}*/

/* DISCLAIMER*/

.disclaimer {
    background-color: #eeeeee;
    font-size: .7rem;
}

.disclaimer > .container {
    max-width: 800px;
}

.logo-ssl img {
    max-width: 100px
}

/* FOOTER */

.footer {
    background: var(--dark-blue);
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    justify-content: flex-end;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-separator {
    color: #7f8c8d;
    margin: 0 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    /*justify-content: flex-end;*/
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive adjustments for small screens */
@media (max-width: 767.98px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-logo {
        max-width: 150px;
        margin: 0 auto 20px;
        display: block;
    }

    .footer-links {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
    }

    .footer-separator {
        display: none;
    }

    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* Medium screens - stack links vertically but keep alignment */
@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-separator {
        display: none;
    }
}

/* Layer */

.layerblur {
  width: 100%;
  height: 100%;
  position: fixed;
  opacity: 1.0;
  left: 0;
  top: 0;
  transition: 1s;
}

.blurring {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.layercontent {
    position: relative;
    top: 5rem;
    z-index: 10;
    padding: 1.5em;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    color: #999;
    width: 0;
    height: auto;
    max-width: 923px;
    width: 100%;
    transition: all 0.5s ease;
    margin: auto;
    scale: 0;
}

.layercontent.activate {
  scale: 1;
}

#layercontentbox {
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

#layercontent img {
  max-width: 200px;
}

#layercontentclose {
  float: right;
  margin-right: 15px;
}

.layercontentclose {
  text-align: right;
}

.window-close {
  border: 0;
  border-radius: 5px;
  color: #f1faee;
  background-color: #ff97a7;
  font-weight: 800;
  font-style: normal;
  padding: 0.01rem 0.3rem;
}

/* Thank you */

#thankyoubg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.thanks-page{
  max-width: 900px;
  width: 100%;
  margin: auto;
  border-radius: 10px;
  background-color: #f4f4f5; 
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0px;
  z-index: 10;
  /*min-height: 80vh;*/
  opacity: 1;
  -webkit-transition: opacity 1000ms linear;
  transition: opacity 1000ms linear;
}

#thankyoubox {
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 10px;
  color: #999;
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  position: fixed;
  top: 10%;
  left: 30%;
  margin-top: 0px;
  margin-left: -70px;
  z-index: 10;
  height: auto;
  opacity: 1;
  -webkit-transition: opacity 1000ms linear;
  transition: opacity 1000ms linear;
  background-image: url('../images/thankyou-bg.jpg');
  background-size: cover;
  background-position: -80px;
}

#thankyoutxt {
  margin-left: 60%;
  text-align: center;
  padding-top: 25%;
}

#thankyoutxt1 {
  color: #ea740e;
}

#thankyouhr {
  background-color: #d20f1d;
  height: 5px;
  width: 50%;
  margin: 10px auto 10px auto;
}

.info-thanks {
  padding: 25px 40px;
}

.info-thanks .text {
  font-size: 1.2rem;
  line-height: 1.4rem;
  color: #4D4D4D;
  text-align: center;
}

.info-thanks .text h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #0091A9;
}

.info-thanks .text h4 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 30px;
}

.info-thanks .line {
  height: 6px !important;
  width: 45%;
  margin: 0 auto 20px;
  color: #0091A9;
  border-radius: 2px;
  opacity: 100%;
}

.info-thanks .text span {
  font-size: 1em;
  font-weight: lighter;
}



/* Loader */

.thankyouloader {
  /*background-image: url("/images/loader.gif");*/
  background-repeat: no-repeat;
  /*background-size: contain;*/
  background-position: center;
  background-color: white;
  width: 100%;
  height: auto;
}

#thankyouloader-txt{
  text-align: center;
  /*position: absolute;*/
  /*top: 50%;*/
  /*left: 50%;*/
  /*transform: translate(-50%, -50%);*/
  font-size:20px;
  color: rgb(15, 9, 102);
}

.thanks-span{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-svg {
  color: var(--loader);
  font-size: 45px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  margin: 3rem auto;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

#loader-txt{
  background-image: rgba(0, 128, 0, 0.115);
  border-radius: 10px;
  padding: 1rem 0 3rem 0;
}

.logo-loading{
  margin-top: 1.5rem;
}

#loader-txt>h1{
  font-weight: 800;
}

@keyframes mltShdSpin {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em,
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
    -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
     -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
     -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
     -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
     -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 
    0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes round {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}

/* Contact form */

.contactform {
	position: relative;
	top: 5rem;
	z-index: 10;
	padding: 1.5em;
	background-color: #f7f7f7;
	border: 2px solid #ccc;
	border-radius: 10px;
	color: #999;
	height: auto;
	max-width: 556px;
	width: 100%;
	transition: all 0.5s ease;
	margin: auto;
	scale: 0;
}

.contactform.activate {
	scale: 1;
}

#button-contact {
    width: 100%;
}
  
.contact-btn {
	background-color: #ff9800;
	padding: 0.5rem 1.5rem;
	margin: auto;
	border: 0;
	color: #f7f7f7;
	border-radius: 5px;
	width: 100%;
}
  
.contact-btn:hover {
	background-color: #e38800;
}
  
#xclose {
	padding: 5px;
	margin: 0 5px 10px 0;
	background-color: #ececec;
	border: 1px solid #c5c5c5;
	width: 26px;
}

.fa-window-close {
    border: 0;
}
  
#contacterr {
	margin-top: 10px;
	margin-bottom: 10px;
	color: red;
}
  
#bclose {
    line-height: 1em;
    border-radius: 0;
    padding: 4px 0;
    font-size: 18pt;
    border: 0;
    background-color: #0a4e1400;
}

#bclose:hover {
    background-color: #0a4e1400;
}

.form-label a {
  color: unset;
}

/* Layer */

.layerblur {
  width: 100%;
  height: 100%;
  position: fixed;
  opacity: 1.0;
  left: 0;
  top: 0;
  transition: 1s;
}

.blurring {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.layercontent {
    position: relative;
    top: 5rem;
    z-index: 10;
    padding: 1.5em;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    color: #999;
    width: 0;
    height: auto;
    max-width: 923px;
    width: 100%;
    transition: all 0.5s ease;
    margin: auto;
    scale: 0;
}

.layercontent.activate {
  scale: 1;
}

#layercontentbox {
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

#layercontent img {
  max-width: 200px;
}

#layercontentclose {
  float: right;
  margin-right: 15px;
}

.layercontentclose {
  text-align: right;
}

.window-close {
  border: 0;
  border-radius: 5px;
  color: #f1faee;
  background-color: #ff97a7;
  font-weight: 800;
  font-style: normal;
  padding: 0.01rem 0.3rem;
}