.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url(../images/quem_somos/hero/hero.png), url(../images/quem_somos/hero/heroBackground.png);
  background-size: contain, cover;
  background-repeat: no-repeat;
  min-height: 60rem;
  background-position: bottom;
  padding: 7.5rem 1.5rem;
}

.hero-text-container h1 {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text-container p {
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
  width: 100%;
  max-width: 54.125rem;
}

.hero-text-container p:nth-child(4) {
  display: none;
}

.hero-boxes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  ;
}

.hero-box {
  position: relative;
  z-index: 1;
  padding: 16px 32px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.375rem;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  border-radius: 1.5rem;
}

.hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-header-rgb), var(--bg-opacity));
  border-radius: 1.5rem;
  z-index: -1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(to right, #515474, #282146, #515474);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.sections-container {
  background-color: #fff;
  position: relative;
  z-index: 10;
  margin-top: -1rem;
  width: 100%;
  height: auto;
  border-top-right-radius: 1.4rem;
  border-top-left-radius: 1.4rem;
  padding: 2.5rem 1.5rem 10rem 1.5rem;
  overflow-x: hidden;
}

.our-values {
  max-width: 60rem;
  margin: 0 auto 2.5rem auto;
}

.text-sections h2 {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.8rem;
  margin: 0.75rem 0;
}

.text-sections p {
  font-size: 0.875rem;
  text-align: center;
}

.images-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.images-mobile>div {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  width: 100%;
  color: white;
  border-radius: 8px;
  height: 53.4vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  padding: 0.75rem;
  text-align: left;
}

.images-mobile>div>h3 {
  font-size: clamp(0.9375rem, 0.5rem + 2vw, 2.5rem);
}

.images-mobile>div>p {
  font-size: clamp(0.75rem, 0.5rem + 1vw, 1.125rem);
}

/* Swiper Desktop */
.swiper-desktop {
  display: none !important;
}

.bg-img-1 {
  background-image: url("../images/quem_somos/content/img1.png");
}

.bg-img-2 {
  background-image: url("../images/quem_somos/content/img2.png");
}

.bg-img-3 {
  background-image: url("../images/quem_somos/content/img3.png");
}

.bg-img-4 {
  background-image: url("../images/quem_somos/content/img4.png");
}

.bg-img-5 {
  background-image: url("../images/quem_somos/content/img5.png");
}

.bg-img-6 {
  background-image: url("../images/quem_somos/content/img6.png");
}

.bg-img-7 {
  background-image: url("../images/quem_somos/content/img7.png");
}


.work-form {
  display: flex;
  flex-direction: column;
  margin-top: 5.31rem;
  background-color: white;
  max-width: 100%;
}

.work-form .bag-icon {
  width: 1.875rem;
  height: 1.875rem;
  margin: 0 auto;
}

.work-form .form-img {
  width: 100%;
  object-fit: cover;
  display: block;
  max-height: 20rem;
  border-radius: 2.5rem;
}

.work-form .form-group {
  line-height: 1.687rem;
}

.work-form .form-group .custom-select-wrapper select {
  width: 100%;
  height: 3rem;
}

.form-work .form-group input {
  height: 3rem;
}

.work-form .span-desktop {
  display: none;
}

.work-form .curriculo-title {
  margin-bottom: 1rem !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.file-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-word;
  text-align: left;
}

.file-size {
  font-size: 0.75rem;
  color: #6b7280;
}

.remove-file-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.remove-file-btn:hover {
  background-color: #fee2e2;
}

.file-success-icon,
.file-error-icon {
  flex-shrink: 0;
}

.error-message {
  color: #dc2626;
  font-weight: 600;
  text-decoration: none;
}

.work-form .submit-button {
  margin: 0 auto;
}

.form-work {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.hero-pill-text .pill {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.hero-pill-text .pill-text {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
}

.sections-pill {
  max-width: 80rem;
  margin: 0 auto;
  font-size: 0.75rem;
  padding: 0.25rem 1.25rem;
}

.sections-pill::after {
  padding: 1px;
}

.sections-pill::before {
  background: transparent;
  backdrop-filter: none;
  /* -webkit-backdrop-filter: none; */
}

.form-container {
  margin-top: 2rem;
}

/* Destkop */

@media (min-width: 640px) {
  .hero {
    min-height: 95rem;
    padding: 12.5rem 7.875rem 5rem;
    justify-content: space-between;
  }

  .hero-pill-text .pill {
    padding: 0.5rem 1.5rem;
  }

  .hero-pill-text .pill-text {
    font-size: 1rem;
  }

  .hero-text-container {
    text-align: center;
    max-width: 74.37rem;
    margin: 0 auto;
  }

  .hero-text-container h1 {
    font-size: 3.5rem;
    margin: 1.5rem auto;
  }

  .hero-text-container p {
    font-size: 1.25rem;
  }

  .hero-text-container p:nth-child(4) {
    display: block;
  }

  .hero-text-container p:nth-child(2),
  .hero-text-container p:nth-child(3) {
    display: none;
  }

  .hero-boxes-container {
    display: grid;

    grid-template-columns: 1fr;
    grid-template-rows: 3fr 1fr 2fr;
    height: 100%;
    width: 100%;
    max-width: 73.68rem;
    margin: 0 auto;
  }

  .hero-boxes-container div:nth-child(1) {
    align-self: end;
    bottom: 5%;
  }

  .hero-boxes-container div:nth-child(2) {
    justify-self: right;
    align-self: end;
  }

  .hero-boxes-container div:nth-child(3) {
    justify-self: center;
    top: 7%;
    max-width: 15.7rem;
  }

  .hero-box {
    white-space: wrap;
    font-size: 1.5rem;
    line-height: 2rem;
    max-width: 13.31rem;
    padding: 1rem 2rem;
  }

  .sections-container {
    padding: 5rem 0 10rem 0;
  }

  .sections-pill {
    font-size: 1.25rem;
    padding: 0.5rem 1.5rem;
  }

  .sections-pill::after {
    padding: 2px;
  }


  .text-sections h2 {
    font-size: 3.25rem;
    line-height: 3.9rem;
  }

  .text-sections p {
    font-size: 1.25rem;
  }

  /*Carousel Swiper*/

  .images-mobile {
    display: none;
  }

  .swiper-desktop {
    display: block !important;
    max-width: 90rem;
    margin: 0 auto;
  }

  .swiper-desktop .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    color: white;
    border-radius: 8px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 70vw;
    max-width: 60rem;
    max-height: 40rem;
    aspect-ratio: 3 / 2;
    padding: 3rem;
    text-align: left;
  }

  .swiper-desktop::after {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.7) 60%, #fff 100%);
    content: '';
    height: 100%;
    width: 2rem;
    top: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
  }

  .swiper-desktop::before {
    position: absolute;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 100%;
    width: 2rem;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
  }

  .swiper-desktop .swiper-slide h3 {
    font-size: clamp(0.9375rem, 0.5rem + 2vw, 2.5rem);
  }

  .swiper-desktop .swiper-slide p {
    font-size: clamp(0.75rem, 0.5rem + 1vw, 1.125rem);
  }

  .swiper-desktop .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 2.5rem;
  }

  .swiper-desktop .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    background-color: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
  }

  .swiper-desktop .swiper-pagination-bullet-active {
    background-color: var(--primary-purple);
    width: 2rem;
    border-radius: 1rem;
    transform: scale(1.1);
  }


  /*Form*/
  .work-form {
    align-items: center;
    margin-top: 8rem;
  }

  .work-form .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
  }

  .form-work {
    margin-top: 0;
    max-width: 32rem;

  }

  .work-form .form-img {
    min-height: 47.866rem;
  }

  .work-form .form-group label,
  .work-form .form-group input,
  .work-form .form-group select,
  .work-form .form-group .custom-select-wrapper {
    max-width: 29.5rem;
  }

  .title-input {
    margin-bottom: 0.5rem;
  }

  .work-form .form-group label {
    line-height: 1.687rem;
  }

  .span-mobile {
    display: none;
  }

  .span-desktop {
    display: inline !important;
    text-align: center;
  }

  .work-form .bag-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .work-form h2 {
    font-size: 3.25rem;
    line-height: 3.875rem;
  }

  .work-form .fisrt-p {
    font-size: 1.25rem;
  }

  .file-info {
    margin-left: 1rem;
  }

  .file-name {
    font-size: 1rem;
  }

  .file-size {
    font-size: 0.875rem;
  }

  .work-form .submit-button {
    padding: 1rem 1.5rem;
  }
}
