@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes fadeBounce {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

.animate-fade-bounce {
  animation: fadeBounce 2s infinite;
}

#herosection {
  position: relative;
}

.hero-content {
  margin-left: max(0px, calc((100vw - 1366px) / 2));
}

.aboutsection-wrapper {
  margin-left: max(0px, calc((100vw - 1366px) / 2));
}

#abouttab::after {
  content: '';
  position: absolute;
  bottom: -230px;
  left: -280px;
  width: 160px;
  height: 436px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/tab1.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#leadershiptab::after {
  content: '';
  position: absolute;
  bottom: -260px;
  left: -290px;
  width: 200px;
  height: 436px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/tab2.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#missiontab {
  padding-bottom: 50px;
}

#missiontab::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -280px;
  width: 400px;
  height: 436px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/tab3.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#video-container {
  position: relative;
}

#video-container::after {
  content: '';
  position: absolute;
  top: -150px;
  right: 0;
  width: 250px;
  height: 436px;
  z-index: -1;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/bg-video.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#subsidiariesection {
  position: relative;
}

#subsidiariesection::after {
  content: '';
  position: absolute;
  bottom: -130px;
  right: 0;
  width: 250px;
  height: 436px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/bg-sub.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#our-approach {
  position: relative;
  padding-bottom: 150px;
}

#our-approach::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: min(-65px, calc(-1 * (100vw - 1220px) / 2));
  width: 200px;
  height: 250px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/bg-invest.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.txt-about {
  position: relative;
  z-index: 1;
}

.txt-about::before {
  content: '';
  position: absolute;
  top: 0;
  right: -30px;
  width: 108%;
  min-width: 800px;
  height: 100%;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/rb-about.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.arrow-left {
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/left.png');
}

.arrow-right {
  background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/right.png');
}

.swiper-fade-left,
.swiper-fade-right {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.swiper-fade-left {
  left: 0;
  background: linear-gradient(to right, #08172D 60%, transparent);
}

.swiper-fade-right {
  right: 0;
  background: linear-gradient(to left, #08172D 60%, transparent);
}

.accordion-item {
  margin-bottom: 30px;
  max-width: 520px;
}

.accordion-header {
  background: none;
  border: none;
  font-weight: 500;
  font-size: 28px;
  cursor: pointer;
  padding: 10px 0 3px;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  color: #08172D;
}

.accordion-body {
  padding: 0 0 10px;
  color: #08172D;
  font-size: 20px;
  font-weight: 200;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s ease, opacity .35s ease;
}

.accordion-item.active .accordion-body {
  opacity: 1;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.accordion-item.active .arrow-icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 1224px) {
  #our-approach::after {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  #video-container::after {
    display: none;
  }

  #aboutsection::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 0;
    width: 50px;
    height: 226px;
    background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/bg-mob.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  #subsidiariesection::after {
    display: none;
  }

  #our-approach::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 70px;
    background-image: url('https://ajax-defense.com/wp-content/uploads/2025/09/bg-mob2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media screen and (max-width: 542px) {
  #missiontab::after {
    display: none;
  }
}

#careers {
  position: relative;
}

#careers::after {
  content: '';
  position: absolute;
  bottom: -110px;
  right: 0;
  width: 104px;
  height: 346px;
  background-image: url('https://ajax-defense.com/wp-content/uploads/2026/04/fd-contact.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.leadershipSwiper {
  padding: 0 40px 40px;
}

.leadershipSwiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

/* Setas de navegação */
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0.3;
}

/* Bullets de paginação */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background-color: #2A3B57;
  opacity: 1;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .leadershipSwiper {
    padding: 0 30px 30px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Hover effects nos cards */
.leadershipSwiper .swiper-slide>div {
  transition: all 0.3s ease;
  height: 100%;
  width: 100%;
}

.leadershipSwiper .swiper-slide>div:hover {
  transform: translateY(-5px);
}

.custom-next,
.custom-prev {
  background-color: transparent !important;
  width: 54px !important;
  height: 54px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.custom-next {
  right: 0;
}

.custom-prev {
  left: 0;
}

.custom-next img,
.custom-prev img {
  transition: transform 0.2s;
  width: 54px !important;
  height: 54px !important;
}

.custom-next:hover img {
  transform: translateX(2px);
}

.custom-prev:hover img {
  transform: translateX(-2px);
}

/* Remova os pseudo-elementos padrão do Swiper */
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

/* .banner-sb h1{
  font-family: "IBM Plex Sans";
  font-weight: 700;
  font-style: Bold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 2%;
  text-transform: uppercase;

} */

.col2-sb {
  padding: 0 0 0 130px;
}

.col1-sb {
  width: 70%;
  padding: 100px 50px 0 130px;
}

.col1-sb h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 32px;
  line-height: 110%;
  letter-spacing: 2%;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.col1-sb p {
  font-weight: 200;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0%;

}


.titlesbpage {
  font-size: 64px;
}

@media screen and (max-width: 724px) {
  .col2-sb {
    width: 100%;
    padding: 0 30px;
  }

  .titlesbpage {
    font-size: 32px;

  }

  .col1-sb {
    width: 100%;
    padding: 40px 30px;
  }
}


/* Modal Career (container principal) */
#formcareer {
  background: #e9e9ea;
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Imagem topo */
#formcareer>img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  #formcareer>img {
    height: 120px;
  }
}

/* Bloco interno */
#formcareer>div {
  padding: 1rem;
  color: #101010;
  font-family: "IBM Plex Sans", sans-serif;
}

@media (min-width: 768px) {
  #formcareer>div {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Título */
#formcareer h3 {
  font-size: 24px;
  line-height: 26px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* Texto */
#formcareer h3+p {
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  max-width: 500px;
  margin: 0.5rem auto 0;
}

/* Form */
#career-application-form {
  margin-top: 1rem;
}

#career-application-form>div {
  margin-bottom: 0.75rem;
}

#career-application-form label {
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}

/* Inputs text/email/linkedin */
#career-application-form input[type="text"],
#career-application-form input[type="email"] {
  margin-top: 0.375rem;
  width: 100%;
  background: #dededf;
  color: #222;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
  box-sizing: border-box;
}

#career-application-form input[type="text"]::placeholder,
#career-application-form input[type="email"]::placeholder {
  color: #7b7b7b;
  font-weight: 300;
}

/* Input file */
#career-application-form input[type="file"] {
  margin-top: 0.375rem;
  width: 100%;
  background: #dededf;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 12px;
  box-sizing: border-box;
}

#career-application-form input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #555;
  background: #f1f1f2;
  color: #222;
  cursor: pointer;
}

/* Linha dos botões */
#career-application-form .flex.items-center.justify-between.gap-3.pt-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

/* Botão close */
#career-application-form button[type="button"] {
  color: #ee1c25;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

#career-application-form button[type="button"]:hover {
  font-weight: 400;
}

/* Botão submit */
#career-application-form button[type="submit"] {
  background: #ee1c25;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 0;
  border-radius: 6px;
  padding: 0.375rem 1rem;
  cursor: pointer;
  transition: filter 0.2s ease;
}

#career-application-form button[type="submit"]:hover {
  filter: brightness(1.1);
}

/* Status */
#career-form-status {
  font-size: 0.875rem;
  color: #2a3b57;
  margin: 0.5rem 0 0;
}