#features
{
   background: url("../../assets/images/featureapp.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;

 
}
#features:before {
  content: "";
  background: rgba(46, 44, 44, 0.8);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.features .nav-tabs {
  border: none;
}

.features .nav-link {
  padding: 15px 0;
  transition: all 0.3s ease;
  color: white;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: none;
  background: none !important;
  border-bottom: 3px solid white !important;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.features .nav-link:hover {
  color: red;
  border-bottom: 3px solid red;
  background: none !important;
}

.features .nav-link.active {
  color: red !important;
  border-bottom: 3px solid red !important;
  
}


.tab-content {
  position: relative;
  min-height: 500px; 
  display: grid;
}

.tab-pane {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  position: absolute;
  width: 100%;
  visibility: hidden;
  z-index: 0;
}

.tab-pane.active.show {
  opacity: 1;
  transform: translateY(0px);
  visibility: visible;
  position: relative;
  z-index: 1;
}


.tab-pane.active.show h3,
.tab-pane.active.show h5,
.tab-pane.active.show ul,
.tab-pane.active.show .img-feature,
.tab-pane.active.show .img-features,
.tab-pane.active.show .first-image,
.tab-pane.active.show .second-image,
.tab-pane.active.show #downloadBtn {
  animation: fadeUp 0.8s ease-in-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.tab-pane.active.show h5 {
  animation-delay: 0.1s;
}
.tab-pane.active.show ul {
  animation-delay: 0.2s;
}
.tab-pane.active.show .first-image,
.tab-pane.active.show .second-image {
  animation-delay: 0.3s;
}
.tab-pane.active.show #downloadBtn {
  animation-delay: 0.4s;
}


.first-image,
.second-image {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

.second-image {
  max-width: 400px;
  margin-left: 80px;
}

.first-image {
  margin-left: 20px;
}

.img-feature,
.img-features {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.4s ease-in-out;
}

.img-feature:hover,
.img-features:hover {
  transform: scale(1.05);
}


.features .tab-pane h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: white;
}

.features .tab-pane ul {
  list-style: none;
  padding-left: 0;
}

.features .tab-pane ul li {
  font-size: 18px;
  color: white;
  padding: 8px 0;
}

.features .tab-pane ul i {
  color: var(--color-primary);
  margin-right: 8px;
  font-size: 18px;
}


#downloadBtn {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  border-radius: 5px;
  height: 40px;
  width: 150px;
  margin-top: 20px;
  transition: background 0.3s ease;
}

#downloadBtn:hover {
  background-color: #e62626;
}

@media (max-width: 768px) {
   #features
  {
    margin-top: 400px;
  }
  .first-image img,
  .second-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .first-image,
  .second-image {
    padding: 10px;
    max-width: 90%;
    margin: 0 auto 20px auto;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  #features
  {
    margin-top: 200px;
    height: 730px;
  }
  .first-image img,
  .second-image img {
    max-height: 200px;
  }

  .features .tab-pane h3 {
    font-size: 20px;
  }

  .features .tab-pane ul li {
    font-size: 15px;
  }
}


