* {
  box-sizing: border-box;
}

body,
h1,
h2,
p,
ul,
a,
li {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  --primarycolor: #36af44;
  --secondarycolor: #004346;
  --neon: #6bd7b9;
  --grey: #2b2d38;
  list-style: none;
  text-decoration: none;
}

/* a:visited {
  color: #4a5568;
} */

/* Global styles */
body {
  font-family: "inter", sans-serif;
  color: #4a5568;
}

nav {
  color: #000000;
  display: flex;
  padding: 10px 25px;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav li {
  margin-right: 24px;
}

nav a {
  text-decoration: none;
  color: #000000;
}

button {
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px 25px;
  gap: 10px;
  border-radius: 31px;
  background: var(--primarycolor);
}

/* Hero section styles */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  padding-top: 134px;
  padding-bottom: 154px;
  color: white;
  gap: 24px;
  min-height: 60vh;

  background-image: url(./assets/hero-bg.png);
  background-size: cover;
  background-position: center;
}

/* .hero-highlight {
  color: var(--primarycolor);
  font-weight: 700;
} */

h1 {
  font-size: 64px;
  line-height: 75px;
  white-space: nowrap;
  text-align: center;
}

h2 {
  font-size: 24px;
  /*   margin-bottom: 24px; */
  font-weight: 400;
  line-height: 43px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  margin-top: -10px;
}

.hero button {
  background-color: white;
  color: #004346;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 336px;
  height: 56px;
  font-weight: 500;
  font-size: 24px;
}

a.button:visited {
  color: #004346;
}

a.button {
  color: #004346;
}

button:active {
  background-color: rgb(215, 214, 214);
}

/* .hero button:nth-child(2) {
  background-color: var(--secondarycolor);
} */

.hero-note {
  font-size: 24px;
}

.icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--primarycolor);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 25px;
  height: auto;
}
/* INICIO DA SECÇÃO DE slideshow */

.slideshow {
  height: 100vh;
  background-color: white;
  color: black;
  display: flex;
  padding: 24px 110px;
  max-width: 100%;
  gap: 24px;
  margin-bottom: 25px;
}
.slideshow-arrow {
  display: block;
  height: 100px;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  color: var(--primarycolor);
}
.slideshow-arrow-right {
  transform: rotateY(180deg);
  display: block;
  height: 100px;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  color: var(--primarycolor);
}

.slideshow-details {
  max-width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  animation: fade 8s ease-in-out;
  line-height: 1.5;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.slideshow-details.active {
  display: flex;
  opacity: 1;
}

.slideshow-details h3 {
  font-size: 35px;
}

.slideshow-details p {
  font-size: 20px;
  max-width: 100%;
}

.slideshow-content {
  width: 50%;
  height: 70%;
  display: flex; /* Change from 'none' to 'flex' */
  flex-direction: column; /* Add this line */
  justify-content: space-between; /* Add this line */
  opacity: 0;
  animation: fade 8s ease-in-out;
  line-height: 1.5;
  margin: auto 0;
}
.slideshow-content h3 {
  margin-top: 0px;
  display: flex;
}

.slideshow-content ul {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 8px;
}

.slideshow-content li {
  align-items: center;
  display: flex;
}

.slideshow-content li img {
  margin-right: 8px;
  min-height: 24px !important;
  min-width: 24px !important;
}
.slideshow-button {
  border-radius: 10px;
  width: 300px;
  height: 55px;
  font-size: 24px;
  font-weight: 500;
  margin-top: 25px;
}

aside {
  height: 100%;
  flex: 1;
  margin: auto 0;
  display: flex;
  justify-content: center;
}
.slideshow-image {
  height: calc(70%);
  width: 80%;
  border-radius: 173px 58px 94px 46px;
  object-fit: cover;
  margin: auto 0;
  aspect-ratio: 2;
  margin-right: 24px;

  -webkit-box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1);
  -moz-box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1);
  box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1);
}

.darken {
  filter: brightness(0.7);
}

.slideshow-radio-group {
  width: 200px;
  margin: 0 auto;
  margin-top: -50px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

input[type="radio"] {
  display: none;
}

input[type="radio"] + label {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--primarycolor);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

input[type="radio"]:checked + label {
  background: var(--primarycolor);
}
/* FIM DA SECÇÃO DE slideshow */

/* INICIO DA SECÇÃO DE QUEM SOMOS */

.equipa-container {
  width: 80%;
  margin: 64px auto;
}

.equipa-container h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primarycolor);
}

.equipa-container p {
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
}

.text-logo {
  height: 30px;
  margin-bottom: -3px;
}

/* FIM DA SECÇÃO DE QUEM SOMOS */
/* INICIO DA SECÇÃO DE ASSISTANCE */

.assistance {
  height: 100vh;
  background-color: var(--grey);
  display: flex;
  padding: 70px 124px;
  max-width: 100vw;
  gap: 24px;
}

.assistance-details {
  display: flex;
  gap: 25px;
}

.assistance-content {
  gap: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50%;
}

.assistance-details h3 {
  font-size: 35px;
  font-weight: 700;
  color: var(--primarycolor);
  margin: 0;
}

.assistance-details p {
  font-size: 24px;
  color: white;
  margin-top: 0px;
}

.anydesk {
  color: #f76680;
}

.assistance-details ul {
  font-size: 24px;
  color: white;
  margin-top: 15px;
}

.assistance-details ul li {
  margin-top: 8px;
}

.assistance-buttons {
  margin-top: 25px;
  display: flex;
  gap: 16px;
}

.assistance-buttons button {
  width: 45%;
  height: 60px;
  border-radius: 5px;
  font-size: 16px;
  background-color: var(--primarycolor);
}
.assistance-buttons button a {
  color: var(--secondarycolor);
  font-weight: 700;
}

.assistance-buttons button:nth-child(2) {
  background-color: white;
  color: var(--secondarycolor);
  font-weight: 700;
}

aside {
  max-width: 50%;
  text-align: right;
  display: flex;
  justify-content: right;
}
.assistance-image {
  max-width: 70%;
  object-fit: cover;
  border-radius: 59px;
  border: 2px solid var(--primarycolor);
  transform: rotateY(180deg);
}

/* FIM DA SECÇÃO DE ASSISTANCE */

/* INICIO DA SECÇÃO DE CLIENTES */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Create 5 equal-width columns */
  gap: 20px;
  padding: 20px;
  margin: 0 auto; /* Center the grid container */
  max-width: 1200px; /* Limit the maximum width for larger screens */
  width: 90%;
  row-gap: 80px;
}

.logo-grid-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  filter: grayscale(40%);
}

.logo {
  max-width: 100%; /* Ensure logos fit within their grid cells */
  object-fit: contain;
  max-height: 70px;
  justify-self: center; /* Center the logo horizontally within its grid cell */
}
.clients-h2 {
  margin-top: 80px;
  font-weight: 700;
  color: var(--secondarycolor);
}

/* FIM DA SECÇÃO DE CLIENTES */

/* produtos section */

.serviços {
  margin-top: 90px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.serviços h2 {
  font-weight: 700;
  color: var(--secondarycolor);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: calc(100% - 3rem);
  margin: 25px auto;
}

.card {
  display: flex;
  width: 515px;
  margin: 10px;
  box-sizing: border-box;
  padding: 30px;
  background-color: #f7f7fa;
  box-shadow: 0px 6px 10px 0px rgba(99, 99, 99, 0.25);
  border-radius: 12px;
}

.icon-space-left {
  margin-left: -8px;
}
.icon-space-top {
  margin-top: 10px;
}

.card-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  margin-left: 10px;
}

.card-info p {
  font-size: 14px;
  margin-top: 5px;
  margin-left: 10px;
}

.location {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  padding: 45px 60px;
  margin-top: 40px;

  background-color: var(--grey);
  color: var(--primarycolor);
}

.location-1st-content {
  display: flex;
  justify-content: center;
}

.location-h2 {
  font-weight: 700;
  text-align: left;
}

.location-ul li {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  color: white;
  align-items: flex-start;
  line-height: 25px;
}

.location-aside {
  margin: 0;
  border-radius: 15px;
}

.location-aside iframe {
  border-radius: 25px;
  border: 5px solid var(--primarycolor);
}

.line-break {
  display: block;
}

.liner {
  display: flex;
  align-items: center;
  text-align: center;

  color: var(--primarycolor);
  margin-top: 40px;
  white-space: nowrap;
  margin-left: 85px;
}

.liner::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--primarycolor);
  margin-left: 1em;
}

form {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin-left: 7.5%;
  margin-top: 45px;
}

.form-group {
  display: flex;
  width: 100%;
  gap: 6px;
}

.form-group input {
  width: 30%;
  padding: 10px;
  border: 2px solid var(--primarycolor);
  border-radius: 5px;
  background-color: transparent;
  color: white;
  font-weight: 400;
}

.form-group input:first-child {
  margin-right: 5px;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 5px;
  margin: 5px 0;

  padding: 10px;
  border: 2px solid var(--primarycolor);
  border-radius: 10px;
  background-color: transparent;
  color: white;
}

input[type="submit"] {
  width: 100%;

  padding: 10px;
  border: 3px solid var(--primarycolor);
  border-radius: 10px;
  background: var(--primarycolor);
  color: var(--secondarycolor);
}

.call {
  max-width: 100%;
  align-items: center;
  padding: 15px;
  border: 2px solid var(--primarycolor);
  border-top: 0;
  border-radius: 0px 0px 35px 35px;
  display: flex;
  flex-direction: column;
}

.call h2 {
  margin-top: 150px;
  margin-bottom: 10px;

  margin-bottom: 10px;
  color: var(--secondarycolor);

  font-size: 55px;
  font-weight: 700;
  line-height: 43px;
  text-align: center;
}

.call h3 {
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 43px;
  text-align: center;
  margin-top: 0px;
  color: var(--secondarycolor);
}

.call button {
  width: 250px;
  height: 55px;
  font-size: 24px;
  border-radius: 6px;
  margin: 25px auto;
}

.site-footer {
  background-color: #f7f7f7;
  padding: 40px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 32px;
  gap: 12px;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-links ul,
.footer-social {
  padding: 0;
  margin: 0;
  list-style: none;
  flex-direction: column;
}

.footer-links ul li,
.footer-social a {
  margin-bottom: 10px;
}

.footer-logo {
  mix-blend-mode: multiply;
  max-width: 50px; /* Set the logo size */
}

.footer-bottom {
  text-align: left;
  min-width: fit-content;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  /* Add additional styling for social icons here */
}

/* Add responsiveness */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    margin-bottom: 24px;
  }

  .footer-social {
    flex-direction: row;
  }
}

/* Add existing styles above */

/* Media Query for iPhone 12/13 and similar devices */
@media (max-width: 428px) {
  * {
    overflow-x: hidden;
  }
  nav ul {
    font-size: 0px;
  }
  nav ul li:last-child {
    margin-right: 0px;
  }

  /* Hero section: Stack h2 on top of image */
  .hero {
    flex-direction: column;
    padding: 100px 0;
  }

  .hero h1 {
    white-space: nowrap;
    text-align: center;
    font-size: 24px;
    line-height: 1;
    overflow: hidden;
  }

  .hero h2 {
    white-space: nowrap;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1;
    max-width: 90vw;
    white-space: wrap;
    overflow: hidden;
  }

  .hero-buttons {
    max-width: 90vw;
  }

  .hero-note {
    max-width: 90vw;
    font-size: 1.125rem;
  }

  .hero-content {
    width: 100%;
    text-align: center; /* Center the content if needed */
  }

  .slideshow {
    height: auto;
    padding: 24px 24px;
    flex-direction: column;
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .slideshow-content {
    width: 100%;
    margin-bottom: 50px;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-margin-top: 1rem;

    padding: 1rem 0.4rem;
  }

  .slideshow-content h3 {
    display: flex;
    font-size: 1.5rem;
  }

  .slideshow-content p {
    margin-top: 24px;
    display: flex;
    font-size: 1rem;
  }

  aside {
    max-width: 100%;
    justify-content: center;
    min-height: 250px;
    height: auto;
  }

  .slideshow-image {
    height: calc(70%);
    min-height: 157px;
    width: 90%;
    border-radius: 46px;
    object-fit: cover;
    margin: auto 0px;
    aspect-ratio: 2;

    /* -webkit-box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1);
  -moz-box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1);
  box-shadow: 10px 10px 0px -2px rgba(54, 175, 68, 1); */
  }

  .active {
    display: flex;
    flex-direction: column-reverse;
  }

  .slideshow-radio-group {
    margin-top: -40px;
  }

  .equipa-container h3 {
    font-size: 1.5rem;
  }

  .equipa-container p {
    font-size: 1rem;
    line-height: 1.3;
    width: 100%;
  }

  .equipa-container .text-logo {
    height: 24px;
  }

  .assistance {
    padding: 36px;
    height: 75vh;
  }

  .assistance-content {
    width: 100%;
  }

  .assistance-image {
    width: 0;
  }

  .assistance-content h3 {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .assistance-content p,
  .assistance-content ul {
    font-size: 1rem;
    line-height: 1.3;
  }

  .assistance-buttons {
    flex-direction: column;
  }

  .assistance-buttons button {
    width: 100%;
  }

  .serviços {
    padding: 0px;
  }

  .mobile-icon {
    font-size: 40px !important;
    width: 50px;
  }
  .mobile-icon-small {
    font-size: 30px !important;
    width: 100px;
  }

  .produtos {
    padding: 30px 0;
  }

  /* Cards: One column layout */
  .cards {
    flex-direction: column;
  }

  .card {
    width: 100%; /* Full width for each card */
    margin: 10px 0; /* Add margin between cards */
  }

  .card-info h3 {
    font-size: 20px;
  }

  /* Service options */

  .location {
    padding: 45px 36px;
  }

  .liner {
    margin: 30px auto 0px auto;
  }

  .location-1st-content {
    flex-direction: column;
  }

  .location-aside {
    margin-top: 30px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }
  .form-group input {
    margin: 0;
    width: 100%;
  }

  .form form {
    margin-left: 0;
  }

  .call {
    max-width: 100%;
    border-radius: 0px 0px 25px 25px;
    margin-bottom: 50px;
    padding: 25px;
  }

  .call h2 {
    font-size: 2rem;
    white-space: nowrap;
    margin-top: 80px;
  }
  .call h3 {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .call button {
    width: 100%;
    margin: 0;
  }

  .wrapper {
    height: 80px;
  }

  .wrapper .track {
    display: flex;
    width: calc(150px * 10);
    gap: 0px;
  }

  .logo {
    height: 30px;
    width: auto;
    min-width: 30px;
  }

  .client-logo {
    height: 30px;
    min-width: 30px;
  }

  /* Footer adjustments */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    width: 100%; /* Full width for each footer section */
    margin-bottom: 24px;
  }

  /* Adjust footer social icons */
  .footer-social {
    flex-direction: row;
    justify-content: center;
  }
}

#cookieConsent {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 1000;
}

#cookieConsentContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
  gap: 20px;
}

#cookieConsent p {
  margin: 0;
  padding: 0;
}

#cookieConsent button {
  color: var(--secondarycolor);
  color: wheat;
  border: none;
  padding: 10px 5px;
  cursor: pointer;
  width: 40%;
  border-radius: 5px;
}

#cookieConsent button:nth-child(2) {
  background-color: var(--secondarycolor);
  filter: grayscale(20%);
}

.button-white-text {
  color: white;
}
