/*
 Theme Name: New Layout
 Template: astra
*/

.group:hover{
    color: #fff!important;
}

@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);
}

.linka:hover{
  color: #fff!important;
  text-decoration: underline!important;
}

@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;
  }
}