html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  background: #000;
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}
main{
  overflow: hidden;
}
h1, h2, h3, h4, h5, h6{
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
}
.menu-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-item a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 60px;
}

.menu-item a:hover, .menu-item a:focus {
  transition: all 0.5s ease;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50px;
}

.bg-banner-1 {
  position: relative;
  background: url('./img/home/weapon_banner.webp') no-repeat;
  background-size: cover;
  background-position-x: left;
  overflow: hidden;
}

.bg-banner-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.bg-banner-1 > * {
  position: relative;
  z-index: 2;
}

.bg-client{
  background: url('./img/home/bg1.webp') no-repeat;
  background-size: cover;
  background-position: center;
}
.bg-solutions{
  background: url('./img/home/bg2.webp') no-repeat;
  background-size: 100%;
  background-position: center top;
}
.bg-contact{
  background: url('./img/home/bg-contact.png') no-repeat;
  background-size: auto;
  background-position: right bottom;
}
.logoSlider {
  display: flex;
  overflow: hidden;
  animation: slideLeft 10s linear infinite;
  margin-left: calc(50% - 50vw); 
}

.what_card {
  border: 2px solid #91959B;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 550px;
}
.what_card:after {
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) -38.06%, #000000 92.04%);
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 1; 
  transition: opacity 0.5s ease; 
  z-index: 1;
}

.what_card img {
  transition: transform 0.8s ease; /* smooth scaling */
  will-change: transform;
  object-position: top;
}

.what_card:hover:after {
  opacity: 0.5; 
}

.what_card:hover img {
  transform: scale(1.3); /* zoom image */
}

.what_card p{
  position: absolute;
  left: 0;
  right:0;
  bottom: 40px;
  margin:auto;
  z-index: 2;
  font-size:28px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 75px;
}

/* Base navbar styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  background: rgba(0, 0, 0, 0); /* Fully transparent initially */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px); /* Safari support */
}

/* Scrolled state */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.2); /* Slight white overlay */
  backdrop-filter: blur(10px); /* Smooth blur */
  -webkit-backdrop-filter: blur(10px);
}



/*Mobile Menu*/
.bar {
  width: 30px;
  height: 2px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}
.close .bar{
  background-color: #fff;
}

nav .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.menu {
  display: block;
  position: fixed;
  top: -80vh;
  left:0;
  right:0;
  width: 100%;
  background-color: #0A0D11;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  overflow-y: auto;
  transition: 0.4s;
}

.menu ul {
  list-style: none;
  padding: 20px;
}

.menu ul li {
  margin-bottom: 15px;
}

.menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  padding: 5px 20px;
  border-radius: 40px;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  text-transform: uppercase;
  width: fit-content;
  margin: 15px auto
}

.menu ul li a:hover, .menu ul li a:focus{
  background-color: rgba(255,255,255,0.2);
  border-radius: 40px;
}

.menu-open {
  top: 0;
}

.mobile_menu {
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.scrollDown {
   background: rgba(0, 0, 0, 0.2); /* Slight white overlay */
  backdrop-filter: blur(10px); /* Smooth blur */
  -webkit-backdrop-filter: blur(10px);
}

.burger-icon.close .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 7px);
}

.burger-icon.close .bar:nth-child(2) {
  opacity: 0;
}

.burger-icon.close .bar:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -6px);
}

@keyframes slideLeft {
  0%, 100% {
    transform: translateX(0); /* Start and end at the center */
  }
  50% {
    transform: translateX(calc(-100% + 20px)); /* Move back to the starting position */
  }
}


@keyframes scroll {
  from {
      transform: translateX(0);
  }

  to {
      transform: translateX(calc(-100% - 1rem));
  }
}

.scroll {
  animation: scroll 10s linear infinite;
}

.solution_box{
  box-shadow: 0 2px 6px 6px #0C0C0D26;
  border-radius: 20px;
  padding: 20px;
  background-color: #fff;
}

.primary_btn{
  display: block;
  padding:10px 20px;
  background-color: #fff;
  border: 1px solid #fff;
  color: #1A1E22;
  font-size: 19px;
}

.primary_btn:hover, .primary_btn:focus{
  background-color: #1A1E22;
  color:#fff;
  -webkit-transition: all 0.3s ease; /* Chrome, Safari, newer Edge */
  -moz-transition: all 0.3s ease;    /* Firefox */
  -o-transition: all 0.3s ease;      /* Older Opera */
  transition: all 0.3s ease;
}

input, textarea{
  background-color: #2B3035;
  border-color: #2B3035 !important
}

.solution_box .overlay{
  position: absolute;
  top:0;
  bottom:0;
  left: 0;
  right: 0;
  width: 100%;
  transition: all .3s ease;
  background: linear-gradient(0deg, #57c43fb3 12%, rgba(255,255,255,0) 60%);
}

#footer a span{
  padding-left: 0;
  transition: all .3s ease;
}

#footer a:hover span{
  padding-left: 10px;
}

.about_box:hover div{
  color:#035D87;
  border-color:#035D87
}


.verticalTabs {
  display: flex;
  max-width: 400px; /* Adjust the maximum width as needed */
}

.tabList {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ccc; /* Vertical line between tabs and content */
}

.tab {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ccc; /* Border between tabs */
  transition: background-color 0.3s ease-in-out;
}

.tab:hover {
  background-color: #f0f0f0; /* Highlight on hover */
}

.activeTab {
  background-color: #e0e0e0; /* Active tab background color */
}

.tabContent {
  flex: 1;
  padding: 10px;
}

.tabs-container {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
  margin: 12px auto;
}

.tab-buttons {
  display: flex;
  flex-direction: column;
  border-right: 2px solid #035D87;
  width: 25%;
}

.tab-button {
  flex: 1;
  padding: 12px;
  font-weight: normal;
  cursor: pointer;
  background-color: #f9f9f9;
  color: black;
}

.tab-button.active {
  background-color: #035D87;
  color: white;
}

.tab-content {
  padding: 16px;
  width: 65%;
}


/*Tab*/
.jq-tab-wrapper {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  gap: 2em;
  align-items: flex-start;
}
.jq-tab-wrapper.horizontal-tab {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column; 
}

.jq-tab-menu {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1; 
  box-shadow: 0 2px 8px 6px #0C0C0D26;
}
.jq-tab-menu .jq-tab-title {
  background: #fff;
  cursor: pointer;
  padding: 1em 2em;
  -webkit-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s; 
  border-left: 3px solid #57C43F; 
}
  .jq-tab-menu .jq-tab-title:first-child {
    /* border-top: 1px solid #035D87;  */
  }
  .jq-tab-menu .jq-tab-title:hover, .jq-tab-menu .jq-tab-title.active {
    background: #57C43F;
    border-left: 3px solid #035D87; 
    color:#FFF;
  }

.horizontal-tab .jq-tab-menu {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex; 
}
.horizontal-tab .jq-tab-menu .jq-tab-title {
    border-bottom: none;
    border-right: 1px solid #d1d1d1;
    border-left: none; 
}
.horizontal-tab .jq-tab-menu .jq-tab-title:first-child {
  border-left: 1px solid #d1d1d1;
  border-top: none;
}
.horizontal-tab .jq-tab-menu .jq-tab-title:hover, .horizontal-tab .jq-tab-menu .jq-tab-title.active {
  border-bottom: 1px solid #505050; 
}

.jq-tab-content-wrapper {
  -webkit-box-flex: 4;
  -ms-flex: 4;
  flex: 4; 
  background-color: #fff;
  box-shadow: 0 2px 8px 6px #0C0C0D26;
}

.jq-tab-content {
  display: none;
  padding: 1em 1.8em; 
}
.jq-tab-content.active {
    display: block; 
}

.gallery-item {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  display: flex;
  align-items: center;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img{
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  width: 100%;
}

/* Lightbox styles */
#lightbox-content {
  position: relative;
}

#close-lightbox {
  font-size: 24px;
}

/*About Us*/
.bg-banner-2{
  background: url('./img/about/banner.png') no-repeat;
  background-size: cover;
  background-position: center;
}

/*Works*/
.bg-banner-3{
  background: url('./img/home/work-banner.png') no-repeat;
  background-size: cover;
  background-position: center;
}

.solutions_box{
  box-shadow: 0 2px 8px 6px #0C0C0D26;
  padding: 30px 20px 30px 30px;
  border-radius: 20px;
  border-left: 12px solid #57C43F;
  display: block;
}

.system_box{
  box-shadow: 0 2px 5px 5px #0C0C0D26;
  padding: 20px;
  border-radius: 15px;
  display: block;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

@media (max-width:1440px) {
  .google-maps {
    position: relative;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
  }
  .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width:1280px) {
  .dropdown{
    left: -200px;
  }
  
}
@media (max-width:1024px) {
  .submenu{
    display: none;
  }
  .jq-tab-wrapper{
    flex-direction: column;
  }
  .jq-tab-menu{
    display: flex;
    max-width: 100%;
    overflow-x: scroll;
    transition: all 0.3s ease;
    border:none;
  }
  .jq-tab-menu .jq-tab-title{
    width: 300px;
    border-left: none;
    white-space: nowrap;
  }
  .jq-tab-menu .jq-tab-title:hover, .jq-tab-menu .jq-tab-title.active{
    background: #fff;
    color: #035D87;
    border:none;
  }

  #verticalTab .dropdown{
    position: relative;
    display: inline-block;
    left: unset;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 5px 3px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
  }

  #verticalTab .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 20px;
    width: 100%;
  }

  #verticalTab .dropdown-content a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
  }
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  #verticalTab .dropdown-content .jq-tab-title{
    margin-bottom: 5px;
    cursor: pointer;
  }
  .what_card{
    height: 320px;
  }

  .what_card p{
    font-size: 18px;
    bottom: 10px;
    min-height: 50px;
  }
  .swiper-pagination{
    bottom: -35px;
  }
  .swiper-pagination-bullet{
    background: rgba(255,255,255,0.5);
  }
  .swiper-pagination-bullet-active{
    background: rgba(255,255,255,0.75);
  }
}

@media (max-width:575px) {
  .main_bg{
    background: url('./img/home/mobile_banner.webp') no-repeat;
    background-size: cover;
    background-position: center;
  }
  .bg-banner-1{
    background: url('./img/home/banner1-mobile.png') no-repeat;
    background-size: cover;
    background-position-x: 30%;
  }
  .scroll {
    animation: scroll 20s linear infinite;
  }
  .menu ul li{
    margin-bottom: 10px;
  }
  .menu.menu-open img{
    max-width: 100px;
  }
  .bar{
    width: 25px;
  }

  .mobile_menu img{
    max-width: 220px;
  }

  .solution_box{
    gap:10px;
    flex-direction: column;
  }

  /*About Us*/
  .bg-banner-2{
    background: url('./img/about/banner-mobile.png') no-repeat;
    background-size: cover;
    background-position: center;
  }

  /*Works*/
  .bg-banner-3{
    background: url('./img//home/work-banner-mobile.png') no-repeat;
    background-size: cover;
    background-position: center;
  }
  .bg-contact{
    background: url('./img/home/bg-contact-mobile.png') no-repeat;
    background-size: 100%;
    background-position: bottom;
  }

  .primary_btn{
    padding:6px 15px;
    font-size: 14px;
  }
}