/* Masthead Section */
body {
  font-family: 'Saira', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Saira', sans-serif;
}

.masthead {
  position: relative;
  height: 100vh;
  background: url('../img/header.jpg') no-repeat center bottom;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.masthead::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.masthead .content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: -68px;
  padding: 10px;
}

.masthead h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.masthead h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.highlight {
  color: #10A37F;
  font-weight: bold;
}

/* Section and Container Styles */
section {
  padding: 5rem 0;
}

.contador-container {
  background-color: #286F6C;
  border-radius: 15px;
  padding: 10px;
  margin: 2rem 0;
  color: white;
  position: absolute;
  top: 88%;
  left: 10%;
  transform: translateY(20%);
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 3;
}

.contador-item {
  text-align: center;
  padding: 10px;
  flex: 1 1 calc(25% - 1rem);
  box-sizing: border-box;
  position: relative;
}

.contador-item h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.contador-item p {
  margin: 0;
  font-size: 1rem;
}

.divider {
  height: 100%;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 0;
  right: 0;
}

@media (max-width: 768px) {
  .contador-item h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
  }

  .contador-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .row>* {
    flex-shrink: 0;
    width: 47% !important;
    max-width: 100%;
  }

  #emp {
    margin-left: -20px !important;
  }

  #video {
    width: 100%;
  }

  #img {
    width: 100%;
  }
}

/* Header and Efeito Section */
header.masthead {
  position: relative;
  z-index: 1;
}

#efeito {
  position: relative;
  margin-top: -50px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0);
  padding-top: 60px;
}

#efeito::before {
  content: "";
  display: block;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  z-index: -1;
}

.icon-circle {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #2c2f39; /* Cor do círculo */
  border-radius: 50%;
  text-align: center;
  line-height: 40px; /* Alinhar ícone verticalmente */
  font-size: 24px; /* Tamanho do ícone */
  transition: background-color 0.3s ease;
}

.icon-circle:hover {
  background-color: #2b2b3f; /* Cor de fundo ao passar o mouse */
}

.icon-circle i {
  vertical-align: middle; /* Alinhamento vertical do ícone */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar-brand img {
    width: 200px;
    /* Adjust logo size for smaller screens */
  }

  .navbar-nav .nav-link {
    font-size: 0.875rem;
    /* Smaller text on smaller screens */
  }

  .content h1 {
    font-size: 2rem;
    /* Adjust heading size */
  }

  .content h3 {
    font-size: 1rem;
    /* Adjust subheading size */
  }

}


@media (max-width: 768px) {

  .contador-container {
    top: 80%;
  }
}

@media (max-width: 576px) {
  .navbar-nav .nav-link {
    font-size: 0.75rem;
    /* Even smaller text for extra small screens */
  }

  .content h1 {
    font-size: 1.5rem;
    /* Adjust heading size further */
  }

  .content h3 {
    font-size: 0.875rem;
    /* Adjust subheading size further */
  }

  .contador-container {
    top: 80%;
  }

  
.icon-circle {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: #2c2f39; /* Cor do círculo */
  border-radius: 50%;
  text-align: center;
  line-height: 20px; /* Alinhar ícone verticalmente */
  font-size: 12px; /* Tamanho do ícone */
  transition: background-color 0.3s ease;
}

.icon-circle:hover {
  background-color: #2b2b3f; /* Cor de fundo ao passar o mouse */
}

.icon-circle i {
  vertical-align: middle; /* Alinhamento vertical do ícone */
}

}

#lampada {
  background: url('../img/CTA.png') no-repeat center center;
  background-size: cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  color: white;
}

#lampada .content {
  max-width: 45%;
  padding-right: 12%;
}

/* Media Query para telas menores */
@media (max-width: 768px) {
  #lampada {
    background: url('../img/CTA_.png') no-repeat center center;
  }

  #lampada .content {
    max-width: 66%;
    padding-right: 5%;
  }

  #lampada h1 {
    font-size: 24px;
  }

  #lampada .btn {
    font-size: 18px;
    padding: 10px 20px;
  }
}
