:root {
  --green: #88bd23;
  --white: #ffffff;
}
@font-face {
  font-family: fora-daulas;
  src: url('font/VAGRoundedStd-Bold.otf');
}
@font-face {
  font-family: fora-daulas-thin;
  src: url('font/VAGRoundedStd-Thin.otf');
}

*{  
  font-family: fora-daulas;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html{
  font-size: 18px;
  font-family: Poppins, Segoe UI, Tahoma, sans-serif;
}

header {
  position: fixed;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: var(--white);
  height: 90px;
  width: 100%;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 5px; /* Adjust top spacing as needed */
}

.logo img {
  width: 100%;
}

.cont-header{
  display: none;
  visibility: hidden;
}

nav {
  display: flex;
  margin-left: 70px;
  gap: 40px;
  flex-grow: 1;
  justify-content: center;
}

nav a {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-color);
  margin: 40px;
  margin-left: 10px;
}

nav a:hover {
  background-color: var(--accent-color);
}

.redes-sociais1 img,
.redes-sociais2 img {
    height: 50px;
    margin-left: 1vw;
    z-index: 9999;
}

.contacte-nos {
  text-align: center;
  list-style-type: none;
}

.contacte-nos a {
  background-color: var(--green);
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 22px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contacte-nos a:hover {
  background-color: #68B032;
}

.left-section ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

 .Ati-header{
  margin-right: 40px;
 }

 .ser-header{
  margin-left: 40px;
 }
 .nav-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  position: relative;
  background-color: var(--color1);
  padding: 12px 20px;  
  overflow: hidden;
}

.menu {
  display: flex;
}
.menu li {
  padding-left: 30px;
}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color-1);
    text-align: right;
    justify-content: right;
    transition: 0.15s ease-in-out;
    position: relative;
}
.menu li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
}

.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
    position: absolute;
    color: var(--color-1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.close-menu {
    top: 25px;
    right: 20px;
}



#check {display: none;}
/*----------------------------------------Loader-------------------------------------------------*/
.loader {
  position: fixed;
  z-index: 9999999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(231, 231, 231);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-img {
  height: 300px;
  width: 300px;
  pointer-events: none;
  animation: bump 2s infinite ease-in-out;
}

.loader.hidden {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/*----------------------------------------Loader-------------------------------------------------*/


.ini {
  margin: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('IMGs/card2-img_Nero\ AI_Photo.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center children horizontally */
  justify-content: space-between; /* Space out children, keeping arrow at the bottom */
  background-position: 5  0% 54%;
}

.ini-logo {
  height: 250px;
  margin-top: 43vh;
  margin-left: 3vw;
  filter: brightness(100%);
  pointer-events: none;
}

.ini-box {
  text-align: center;
  margin-left: 35vw; /* Center the content inside ini-box */
  margin-top: -10vh; /* Adjust margin as needed for better centering */
  height: 140px;
}

.ini-box button {
  color: #ffffff;
  background-color: var(--green);
  outline: none;
  cursor: pointer;
  padding: 10px 30px; /* Combined padding for simplicity */
  font-size: 30px;
  border-radius: 6px;
  border: none; /* Remove border */
  margin-top: 20px;
  box-shadow: none;
}

.arrow {
  height: 30px;
  animation: arrow-down 1.3s linear infinite;
  margin-bottom: 20px; /* Space it away from the bottom */
}

@keyframes arrow-down {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(5px);
  }
  100% {
      transform: translateY(0);
  }
}

.ati{
  position: relative;
  background-color: var(--green);
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-shape-divider-bottom-1724595262 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}
.custom-shape-divider-bottom-1724595262 svg {
  position: relative;
  display: block;
  width: calc(300% + 1.3px);
  height: 112px;
}
.custom-shape-divider-bottom-1724595262 .shape-fill {
  fill: rgb(231, 231, 231);
}
.texto-ati{
  font-size: 60px;
  color: #FFFFFF;
  margin-top: -10vh;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  background-color:  rgb(231, 231, 231);
  padding-bottom: 60px;
  padding-top: 60px;
}

.card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 300px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: white;
  padding: 10px;
  border-radius: 4px;
}

.card p {
  font-size: 0.9em;
  font-family: fora-daulas-thin;
  color: white;
  padding: 10px;
  border-radius: 4px;
  flex-grow: 1;
  margin-bottom: 30px;
}

.card button {
  background-color: #8BC34A;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 10px;
  align-self: flex;
  margin-left: 10%;
  margin-right: 10%;
}

.card button:hover {
  background-color: #7CB342;
}

.card:nth-child(1) {
  background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) ), url('IMGs/servicos-card-ferias.jpg') center/cover;
}

.card:nth-child(2) {
  background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) ), url('IMGs/servicos-card-ferias.jpg') center/cover;
}

.card:nth-child(3) {
  background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) ), url('IMGs/servicos-card-ferias.jpg') center/cover;
}

.card:nth-child(4) {
  background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) ), url('IMGs/servicos-card-ferias.jpg') center/cover;
}

.card:nth-child(5) {
  background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8) ), url('IMGs/servicos-card-ferias.jpg') center/cover;
}



.benefits-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:  rgb(231, 231, 231);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 60px;
}

.benefit-item {
  text-align: center;
  flex: 1;
}

.benefit-item img {
  width: 40px; /* Tamanho do ícone */
  height: 40px;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 1em;
  color: #333; /* Cor do texto */
  margin: 0;
  padding: 0;
}
.fa{
  font-size: 35px;
  margin-bottom: 10px;
}

.stat2{
  position: relative;
  background-color: var(--green);
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-shape-divider-top-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  height: 100px;
}

.custom-shape-divider-top-2 svg {
  position: relative;
  display: block;
  width: calc(169% + 1.3px);
  height: 102px;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}

.custom-shape-divider-top-2 .shape-fill {
  fill: rgb(231, 231, 231);
}
.custom-shape-divider-bottom-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 100px;
}

.custom-shape-divider-bottom-2 svg {
  position: relative;
  display: block;
  width: calc(169% + 1.3px);
  height: 102px;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}


.custom-shape-divider-bottom-2 .shape-fill {
  fill: rgb(231, 231, 231);
}

.content-texto{
  text-align: center;
  color: #ffffff;
  font-size: 40px;
  font-family: fora-daulas-thin;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 10%;
  z-index: 1;
}



/*-------------------------------------------------------------------footer-----------------------------------------------------------------------------------------*/

.footer {
  background-color: #1e1e1e;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 23px;
  flex-wrap: wrap;
}

.footer .contact-info {
  display: flex;
  flex-direction: column;
}

.footer .contact-info div {
  margin-bottom: 5px;
  font-family: fora-daulas-thin;
}

.footer .contact-info a {
  color: white;
  text-decoration: none;
  font-family: fora-daulas-thin;
}

.footer .hours {
  text-align: right;
  text-align: center;
}

.footer .hours div {
  margin-bottom: 5px;
  font-family: fora-daulas-thin;
  font-size: 20px;
}

.footer .hours .hours-title {
  font-family: fora-daulas-thin;  
}

.footer .copyright {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  font-size: 12px;
  font-family: fora-daulas-thin;
}
/*-------------------------------------------------------------------contacte-nos-----------------------------------------------------------------------------------------*/

.contact-container {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 100%;
  height: 100%;
  width: 100%;
  margin: 0px auto;
  position: relative;
}

.map-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 500px;
}

.map-section iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  z-index: 99;
}

.map-section h1 {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
  font-size: 36px;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-section {
  position: absolute;
  right: 0;
  top: 30px;
  background-color: white;
  padding: 20px;
  width: 350px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border-radius: 10px;
  margin-right: 50px;
  z-index: 999;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}

textarea {
  height: 100px;
  resize: none;
}

button {
  background-color: var(--green);
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}
/*-------------------------------------------------------------------media para contactos-----------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1240px) and (max-width: 1450px) {
  .contacte-nos a {
    padding: 10px 5px;
    width: 50%;
  }

  nav a {
    font-size: 0.8rem; /* Diminui o tamanho da fonte */
  }
  .sobre-header{
    margin-right: 80px;
  }
}

@media only screen and (min-width: 1100px) and (max-width: 1239px) {
  .contacte-nos a {
    padding: 8px 2px;
    border-radius: 6px;
    font-size: 17px;
  }

  nav a {
    font-size: 0.8rem; /* Diminui o tamanho da fonte */
    margin-left: -20px;;
  }
  .sobre-header{
    margin-right: 80px;
  }
}


/*-------------------------------------------------------------------Mobile/tablets-----------------------------------------------------------------------------------------*/

@media(max-width: 1099px){
  .menu {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 80%;
      height: 100vh;
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 100;
      transition: all 0.2s ease-in-out;
      background-color: var(--white);
      color: #1e1e1e;
      z-index: 9999;
  }
  .menu li {margin-top: 40px;}
  .menu li a {
    color: #1e1e1e;
    align-items: center;
  }
  .open-menu , .close-menu {display: block;}
  #check:checked ~ .menu {right: 0;}
  
  .contacte-nos{
    display: none;
  }

  .cont-header{
    display: contents;
    visibility: visible;
    display: inline-block;
    text-decoration: none;
    color: var(--color-1);
    text-align: center;
    margin-right: 1%;
    transition: 0.15s ease-in-out;
    position: relative;
  }

  .footer {
    flex-direction: column;
    text-align: center;
}

  .footer .hours {
    text-align: center;
    margin-top: 20px;
  }

  .stat2{
    height: 800px;
  }

  .contact-container {
    flex-direction: column;
    background-color: #ccc;
  }

  .form-section {
    position: static;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0 auto;
    box-shadow: 4;
    margin-bottom: 20px;
  }

  .map-section h1 {
    position: static;
    color: black;
    font-size: 24px;
    margin: 20px 0;
    text-align: center;
    text-shadow: none;
    height: 500px;
    z-index: 99999;
  }

  .enviar{
    color: #ffffff;
    background-color: var(--green);
  }

  .content-texto {
    font-size: 30px;
  }

  .stat2{
    height: 800px;
  }
  
  .ini-logo {
    height: 120px;
    margin-top: 45vh;
  }

  .ini-box {
    margin-left: 0vw;
  }

  .ini-box button {
    padding: 8px 20px;
    font-size: 20px;
  }

  .redes-sociais1 img,
  .redes-sociais2 img {
    height: 40px;
  }
    
  .ser-header{
    margin-right: 80px;
  }

  .sobre-header{
    margin-right: 80px;
  }
  
  .cont-header{
    margin-right: 35px;
  }

  .header{
    margin-right: 80px;
  }
}

@media only screen and (max-width: 600px) {
  .ini-logo{
      height: 110px;
    }
}