.pac-container:after {
    background-image: none !important;
    height: 0px;
}

body{
    margin: 0;
    padding:0;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    overflow-x: hidden !important;
}
a:hover {
  color: #000000;
}
:root{
  --primaryColor: #7EBFB3;
  --secondaryColor: #194759;
  --terciaryColor: #10253F;
  --ctaBackground: #A7F2E4;
}


/* header */
.header {
  width: 100%;
  min-height: 550px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.header video { 
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

#video_background {
    display: block;
}

#image_background {
    display: none;
}

#header-content {
  position: relative;
  text-align: left;
  padding: 50px 0;
}
#header-txt {
  max-width: 590px;
  margin-top: 40px;
}
#header-txt img {
  max-width: 340px;
  margin-bottom: 40px;
}
#header-txt h1 {
  color: #FFF;
  font-size: 50px;
  font-weight: 300;
  margin: 0 0 60px;
  line-height: 1.2;
}
#header-txt h1 b{
  font-weight: 700;
}
#header-txt h4 {
  color: #FFF;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
  margin: 10px 0 30px 0;
}

#header-txt h4 span {
  font-weight: 700;
}
/* Improve header contrast */
#header-txt h1,
#header-txt h4 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* form */ 
.form-body { 
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.16);
  background-color: rgba(241, 247, 255, 0.85);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.form-title {
  padding: 25px 0;
  background: var(--primaryColor);
  color: var(--secondaryColor);
  font-size: 25px;
  font-weight: 400;
}
#contactform {
  padding: 12px 0 0; 
}
.form-input {
  margin: 8px 0;
} 
.form-steps {
  width: 100%;
}
.form-step-2 {
  display: none;
}
.form-question {
  text-align: left;
  margin: 8px 0;
}
.form-question-title {
  color: var(--terciaryColor);
  font-weight: 600;
  margin: 6px 0 10px;
}
.form-dropdown {
  width: 100%;
}
.form-dropdown-toggle {
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border-radius: 0;
  border: 1px solid #d5d8dd;
  background: #ffffff;
  color: #000000;
}
.form-dropdown-toggle::after {
  float: right;
  margin-top: 8px;
}
.form-dropdown .dropdown-menu {
  width: 100%;
}
.form-section-label {
  text-align: left;
  font-weight: 600;
  color: var(--terciaryColor);
  margin-top: 10px;
}
.step-error {
  font-size: 13px;
  color: red;
  text-align: left;
  display: none;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.form-note {
  font-size: 14px;
  color: var(--terciaryColor);
  text-wrap: balance;
  padding: 0 20px 20px;
  margin: 0;
}
.form-input select, 
.form-input input{
    border-radius: 5px;
    border: solid 1px #d5d8dd;
    background-color: #fff;
    padding: 13px 15px 13px 50px;
    font-size: 16px;
    line-height: 20px;
    background-position: 10px;
    background-repeat: no-repeat;
    background-size: 25px;
    color:#000000;
    width:100%;
    -webkit-appearance: none;
}
.form-input select{
    padding: 13px 15px;
}
.form-input select option{
    color:#000000;
}
.form-input input::placeholder {
  color: #000000;
  padding-left: 3px;
}
.form-input #nome,.form-input #sobrenome{
    background-image:url(/img/icons/form_icon_name.svg);
    background-size: 16px;
    background-position: 15px;
}
.form-input #email{
    background-image:url(/img/icons/form_icon_email.svg);
}
.form-input #telefone{
    background-image:url(/img/icons/form_icon_tele.svg);
}
.form-input #postal,.form-input #city,.form-input #street{
    background-image:url(/img/icons/form_icon_postal.svg);
    background-size: 24px;
    background-position: left 14px center;
}
.form-input #morada{
    background-image:url(/img/icons/form_icon_house.svg);
    background-size: 24px;
    background-position: left 14px center;
}
.form-input #data_nascimento{
    background-image:url(/img/icons/form_icon_calendar.svg);
    background-size: 22px;
    background-position: left 14px center;
}
.error {
    font-size: 13px;
    color: red;
}

.terms{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/*Term animation */
.termContainer {
  font-size: 12px;
  color: #1E1E1E;
  margin-top: 20px;
  cursor: pointer;
}
.termContainer a{
  color: #1E1E1E;
}
.termContainer input {
  display: none;
}

.termContainer svg {
  overflow: visible;
  max-height: 15px;
  max-width: 15px;
  margin-right: 5px;
  margin-top: 1px;
  vertical-align: baseline;
  translate: 0 2px;
}

.path {
  fill: none;
  stroke: black;
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.termContainer input:checked ~ svg .path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
}

.form-button {
  width: 335px;
  border-radius: 0;
  height: 65px;
  background: var(--secondaryColor);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  border: none;
  margin: 20px 0;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}
.form-actions .form-button {
  width: 220px;
}
.form-button:hover, #cta button:hover{
  background-color: var(--ctaBackground);
  color: var(--secondaryColor);
}
/*Section 1*/
#section1{
  background: #F4F4FF;
  padding: 80px 0;
}
#section1 h1{
  color: var(--secondaryColor); 
  text-align: center; 
  font-size: 35px;
  font-style: normal;
  font-weight: 300;
}
#section1 h1 span{
  color: var(--primaryColor);
  font-weight: 700;
}
#section1 h5{
  width: 250px;
  color: var(--terciaryColor);
  font-size: 25px;
  font-weight: 700;
}
.sec1Icons{
  margin-top: 45px;
}
.sec1Icons .col-12{
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.sec1Icons img{
  text-align: center;
  max-width: 100px;
  margin-bottom: 25px;
  transition: all 0.6s ease;
}
.sec1Icons img:hover{
  scale: 1.1;
}
/* Slick dots for mobile advantages */
.sec1Icons .slick-dots {
  margin: 20px 0 0;
  padding: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  list-style: none;
}
.sec1Icons .slick-dots li button {
  font-size: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(25, 71, 89, 0.35);
}
.sec1Icons .slick-dots li.slick-active button {
  background: var(--secondaryColor);
}
/*Section 2*/
#section2{
  padding-bottom: 110px;
  background-color: #F4F4FF;
} 
 
.circle1 {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}
 
.circle2 {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 90%;
  height: 90%;
  z-index: 0;
}
.sec2Img{
  position: relative;
  z-index: 0;
}
.card { 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; 
  border: none;
  line-height: 1.6;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 60px 20px;
  border-radius: 0;
  color: #ffffff;
  overflow: hidden;
  background: var(--secondaryColor); 
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-content::before, .card-content::after {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translateX(-50%);
  background: var(--primaryColor);
  opacity: 0.6;
  z-index: -1;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.card-content::after {
  width: 80%;
  height: 80%;
  background: var(--primaryColor);
  opacity: 0.5;
  z-index: -2;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.card:hover {
  transform: translate(0px, -16px);
}
.card:hover .card-content::before {
  transform: translateX(-50%) rotate(-8deg);
  width: 100%;
  height: 100%;
}
.card:hover .card-content::after {
  transform: translateX(-50%) rotate(8deg);
  width: 100%;
  height: 100%;
}
.card-content h1 {
  width: 480px;
  font-weight: 300;
  font-size: 30px;
  margin-bottom: 50px;
}
.card-content h1 span{
  font-weight: 700;
}
.card-content li {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 15px;
}

/*Footer/CTA*/
#cta{
  padding: 50px 0;
  background-color: var(--primaryColor);
}
#cta h1{
  color: #FFF;
  font-size: 35px;
  margin: 0;
  font-weight: 700;
}
#cta button{
  background-color: var(--secondaryColor);
  color: #fff;  
  font-size: 25px;
  font-style: normal;
  font-weight: 700; 
  width: 330px;
  border: none;
  outline: none;
  height: 65px;
  transition: all 0.6s ease-in;
}
#cta button:hover{
  background-color: var(--ctaBackground);
  color: var(--secondaryColor);
}
@media (min-width: 1600px){
  .card-content{
    padding: 80px;
  }
}
@media (max-width: 992px){
  #header-txt h1{
    font-size: 35px;
  }
  #header-txt h4{
    font-size: 28px;
  }
  .form-button{
    width: 80%;
  }
  .sec1Icons{
    justify-content: center;
  }
  .sec2Img{
    width: 100%;
    translate: 0 1px;
  }
  .col-12.col-md-12.col-lg-6.d-flex{
    justify-content: center;
  }
  .circle2{
    height: 70%;
    width: 70%;
    top: 65%;
    left: 65%;
  }
  .card-content{
    padding: 60px 0 0;
  }
  .card-content h1{
    max-width: 550px;
    text-align: center;
  }
  #section2{
    padding-bottom: 60px;
  }
  .card-content h1, .card-content ul{
    font-size: 25px;
    width: 80%;
    margin: 0 auto 40px;
  }
  .card-content li{
    font-size: 14px;
  }
  #cta{
    padding: 60px 0;
  }
  #cta h1{
    font-size: 33px;
  }
  #cta button{
    display: block;
    margin: 30px auto 0;
  }
  .circle2{
    display: none;
  }
}

@media (max-width: 768px){
  #cta h1, #header-txt h1, #header-txt h4{
    text-align: center;
  }
  
  #video_background {
        display: none;
  }
  
  #image_background{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .terms{
    width: 82%;
  }
  #cta button{
    width: 90%;
  }
  .form-input select, 
  .form-input input{ 
      font-size: 14px; 
  }
}

@media (max-width: 450px){
  .form-title{
    font-size: 20px;
  }
  #header-txt h1, #section1 h1{
    font-size: 30px;
  }
  #header-txt h4{
    font-size: 23px;
  } 
  .form-input select, .form-input input{
    padding: 13px 15px 13px 40px;
    background-size: 22px;
  }
  .form-input #postal{
    background-size: 20px;
  }
  .form-button{
    width: 60%;
    font-size: 18px;
  }
  .form-actions .form-button{
    width: 130px;
  }
  .termContainer{
    margin: 0;
  }
  #section1 h5{
    font-size: 22px;
    margin-bottom: 30px;
  } 
  .card-content{
    padding: 35px 0 0;
  }
  #section2{
    padding-bottom: 50px;
  }
  .card-content h1, .card-content ul{
    font-size: 22px;
    width: 85%;
    margin-bottom: 35px;
  }
  #cta{
    padding: 0;
  }
  #cta h1{
    margin: 50px 0 30px;
    font-size: 25px;
    max-width: 360px;
  }
  select#install{
    padding: 13px 15px 13px 15px;
  }
  #cta button{
    width: 65%;
    font-size: 20px;
    margin: 0 auto 50px;
  }
}

@media (max-width: 360px){
  .form-input select, .form-input input{
    font-size: 12px;
  }
}

#section-ads{
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content {
    background-color: rgba(255, 255, 255, 0.95)!important;
    color: var(--secondaryColor)!important;
    border-radius: 0!important;
}

.modal-header {
    border-bottom: var(--bs-modal-header-border-width) solid var(--secondaryColor)!important;
}
.modal button.close{
  color: var(--secondaryColor)!important;
}

.modal-footer{
  border-top: var(--bs-modal-footer-border-width) solid var(--secondaryColor)!important;
}
