/* Open Sans Variable, upright */
@font-face {
  font-family: "Lato";
  /*src: url("../fonts/OpenSans-Regular.woff2") format("woff2");*/
  src: url("../fonts/Lato/Lato-Regular.ttf") format("ttf");
  /*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-size: 20px;
  --font-sans: "Lato", Helvetica, Arial, sans-serif;
  --dark-blue: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --light-grey: linear-gradient(135deg, #757575 0%, #7d7d7d 100%);
  --full-white: #ffffff;
  --loader: #299aff;
  --orange: #F86319;
  --orange-border: #D84F0F;
  --orange-hover: #E0540F;
  --orange-shadow: rgb(203, 82, 21);
  --orange-contrast: #E0540F;
  --orange-contrast-dark: #D84F0F;
  --orange-dark: #D84F0F;
  --green: #29D62D;
  --green-border: #1FA322;
  --green-hover: #22B426;
  --green-shadow: rgb(26, 137, 29);
  --green-contrast: #22B426;
  --green-contrast-dark: #1FA322;
  --green-dark: #1FA322;
}

html {
    height: 100%;
}

body{
	font-family: var(--font-sans);
  font-size: var(--font-size);
	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(--full-white);
}

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

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

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 40px;
    }
}

/* SECTION */

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

/* ARTICLE */

article h1 {
  font-weight: 600;
  font-size: 3rem;
}

article h2 {
  font-weight: 600;
  color: #010c5f;
}

article img {
  width: 100%;
}

article .sub {
  font-size: 1.5rem;
}

.article-body {
  font-size: 2rem;
}

.cta{
  /*padding:18px 20px 22px;*/
  border-top:1px solid var(--border);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.btn{
  display:inline-block;
  width:100%;
  text-align:center;
  padding:14px 16px;
  border-radius:14px;
  background: var(--green);
  color:#ffffff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.2px;
  font-size: 1.5rem;
}
.btn:active{transform:translateY(1px)}
.btn:hover {
  background: var(--green-hover);
}

.note {
  font-size: .7rem;
}
/* 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(--green-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(--green);
    border: 2px solid var(--green-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(--green-hover);
}

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

.step button:hover {
    background-color: var(--green-contrast);
    border: 2px solid var(--green-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(--light-grey);
    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;
}

.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;
    }

    .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: 0;
  background-color: rgba(0, 0, 0, 0.35);
  left: 0;
  top: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

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

.layercontent,
.contactform {
    position: relative;
    top: 5rem;
    z-index: 10;
    padding: 1.5em;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    color: #999;
    height: auto;
    width: 100%;
    transition: transform 0.4s ease, opacity 0.4s ease;
    margin: auto;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    will-change: transform, opacity;
}

.layercontent {
    max-width: 923px;
}

.contactform {
	max-width: 556px;
}

.layercontent.activate,
.contactform.activate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.layercontent.closing,
.contactform.closing {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}

#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;
}

.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) }
}

#button-contact {
    width: 100%;
}
  
#contacterr {
	margin-top: 10px;
	margin-bottom: 10px;
	color: red;
}

.form-label a {
  color: unset;
}
