/* General page layout */
section {
  padding: 2rem 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  
}

/* Hero section */
.about-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;

}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.411);
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
}


.about-hero h1 {
  font-size: 2rem;
  color: #ffffff;
  animation: fadeDown 1.5s ease;
  text-transform: uppercase;
  letter-spacing: 2px;

}

.about-hero p {
  font-size: 1rem;
  color: #eee;
  animation: fadeUp 1.5s ease;
}

/* Intro section */

.about-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #444 !important;
  background: url("/static/media/images/background/fundo-bg-1-transp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  

}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  gap: 1rem;
}

.about-image img {
  width: 300px;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}


.about-container p {
  font-size: 1.2rem;
  width: 100%;
}

.about-text {
  position: relative;
  width: 100%;
  text-align: center;
}

.about-text h2 {
  text-transform: none;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  animation: fadeDown 1.5s ease;

}

.smartphone-txt {
  display: block;
  color: #ce4a0d;
}

.rotating-words {
  display: none;
}

.rotating-words>.word:nth-child(1) {
  animation: roll 4s linear infinite 2s;
}

.rotating-words>.word:nth-child(2) {
  animation: roll 4s linear infinite 3s;
}

.rotating-words>.word:nth-child(3) {
  animation: roll 4s linear infinite 4s;
}


@keyframes roll {
  0% {
    font-size: 3rem;
    opacity: 0;
    margin-left: -30px;
    margin-top: 0px;
    transform: rotate(-25deg);
  }

  3% {
    opacity: 1;
    transform: rotate(0deg);
  }

  5% {
    font-size: inherit;
    opacity: 1;
    margin-left: 0px;
    margin-top: 0px;
  }

  20% {
    font-size: inherit;
    opacity: 1;
    margin-left: 0px;
    margin-top: 0px;
    transform: rotate(0deg);
  }

  27% {
    font-size: 0px;
    opacity: 0.5;
    margin-left: 20px;
    margin-top: 100px;
  }

  100% {
    font-size: 0px;
    opacity: 0;
    margin-left: -30px;
    margin-top: 0px;
    transform: rotate(15deg);
  }
}

.about-btn {
  width: max-content;
  margin: 1rem 0;
  background: #ce4a0d;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  color: #fff;
  transition: all 0.3s ease;
}


/* Values section */
.about-values {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  padding: 4rem 0;
}

.about-values .animated-hr,
.about-team .animated-hr {
  max-width: 80%;
  margin-bottom: 1rem;
}

.about-values::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.466);
}

.about-values .values-content {
  position: relative;
  z-index: 2;
}


.values-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.value-card {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
  width: 270px;
  height: 220px;
  transition: all 0.3s ease;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.value-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ce4a0d;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
}

/* Team section */
.about-team {
  background-color: #444 !important;
  text-align: center;
  background: url("/static/media/images/background/fundo-bg-1-transp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about-team p {
  font-size: 1.4rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.team-member {
  width: 250px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  transition: all 1s ease;
  color: #222;
  height: 350px;
  margin-top: 2rem;
}

.team-member p {
  font-size: 1rem;
}

.team-member img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

  .team-member-desc .history{
    display: none;
  }


@media (min-width: 480px) {
  .about-hero h1 {
    font-size: 2.7rem;
  }

  .about-hero p {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .about-container {
    height: 50dvh;
  }

  .about-image img {
    width: 500px;

  }
}

@media (min-width: 768px) {
  .about-hero h1 {
    font-size: 3rem;
  }

  .about-hero p {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 2.5;
    text-transform: uppercase;
  }

  .about-container {
    height: 40dvh;
  }

  .about-image img {
    width: auto;
    max-width: 700px;
  }

  .smartphone-txt {
    display: none;
  }

  .rotating-words {
    display: inline-block;
    width: 200px;
    text-align: center;
    height: 36px;
    vertical-align: 8px;
    position: relative;
  }

  .rotating-words>.word {
    font-size: 3rem;
    opacity: 0;
    margin-left: -30px;
    position: absolute;
    color: #ce4a0d;
    font-weight: 700;
    text-transform: uppercase;
    animation: roll 6s linear infinite;
  }


}

@media (min-width: 1200px) {

  .about-hero{
    background-attachment: fixed;
  }

  .about-hero h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
    text-transform: uppercase;
  }

  .about-hero p {
    font-size: 1.4rem;
  }

  .about-text {
    text-align: left;
  }


  .about-intro {
    flex-direction: row;
    align-items: center;
    background-position: left;
    text-align: left;
    gap: 3rem;
    background-attachment: fixed;


  }

  .rotating-words {

    vertical-align: 20px;

  }

  .about-container {
    height: 60dvh;
    justify-content: center;
    align-items: start;

  }

  .about-container p {
    max-width: 50dvw;
  }

  .about-btn {
    cursor: pointer;

  }

  .about-btn:hover {
    background: #ff8c42;
  }


  .about-image img {
    width: auto;
    max-width: 35dvw;
  }


  .about-image img:hover {
    transform: scale(1.1);
  }

  .about-values {
    min-height: 70dvh;
    background-attachment: fixed;
    background-image: url("/static/media/images/pelarigo-maquinas-expo.png");
  }

  .value-card:hover {
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: scale(1.05) translateY(-10px);
  }

  .values-grid {
    width: 100%;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    margin: 5rem auto;
    padding: 0 4rem;
  }

  .value-card {
    width: auto;
    max-width: 350px;
    max-height: 380px;

  }

  .about-team {
    padding: 4rem 0;

  }
  .about-team .subtitle{
    font-size: 2rem;
  }

  .team-grid {
    margin: 4rem 0;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }


  .team-grid .inner-wrapper.ceo {
    flex: 0 0 100%;
    max-width: 100%;
  }


  .team-grid .inner-wrapper:not(.ceo) {
    flex: 0 0 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }


  .team-member {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: #fff;
    padding: 1rem;
    border-radius: 1rem;
    color: #222;
    height: 250px;
    width: 100%;

  }

  .team-member-desc .history{
    display: block;
  }


  .team-member img {
    max-width: 220px;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
  }


  .team-member-desc {
    display: flex;
    flex-direction: column;
  }

  .team-member h3 {
    font-size: 1.7rem;
    text-align: start;
  }

  .team-member p {
    font-size: 1.2rem;
    text-align: start;
  }

  .inner-wrapper:hover {
    transform: translateY(-10px);
  }


}

@media (min-width: 1600px) {
  .about-hero h1 {
    font-size: 5rem;
  }

  .about-hero p {
    font-size: 2rem;
  }

  .values-grid {
    padding: 2rem 4rem;
  }

  .value-card {
    width: 500px;
    max-width: 100%;
    height: 350px;

  }

  .value-card i {
  font-size: 3rem;

}


  .value-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1.4rem;
}
}