.hero-img-container{
  width: 100%;
  height: 100%;
}

.hero-container{
  height: fit-content;
  position: relative;
}

.hero::before {
  content: none;
  box-shadow: none;
}

.hero{
  height: fit-content ;
}

.hero-img-container img{
  width: 100%;
  height: auto;
  padding: 30px 0;
}

.brands{
    background-color: white;
    padding: 3rem 0;
    width: 100%;
    height: fit-content;
    text-align: center;
}

.brands-detail{
    background-color: rgb(249, 249, 249);
    width: 100%;
    padding: 0 0 3rem 0;
    height: fit-content;
    /* border-left: 5px solid;
    border-right: 5px solid;
    border-top: 3px solid;
    border-bottom: 3px solid; */
    margin-bottom: 100px;
    box-shadow: 0 0 50px lightgray, 0 0 1px lightgray;
}

.brands-detail .main-heading{
  margin: 0 auto;
    width: 400px;
    display: flex;
    transform: translateY(-30px);
    color: white;
    padding-left: 50px;
    position: relative;
    text-align: center;
    margin-bottom: -20px;
    justify-content: center;
    align-items: center;
  }
  
  .brands-detail .main-heading h3{
    background-color: green;
    padding: 7px 10px 7px 30px;
    width: 150%;
    border-radius: 50px;
    font-size: clamp(1rem, 0.4rem + 5vw, 1.5rem);
}

.brands-detail .main-heading img{
  position: absolute;
  left: 20px;
  width: 22%;
}



/* Brands Images */

.brand-container{
    width: 100%;
    height: fit-content;
    padding: 1rem 0;
}

.brand-container hr{
  /* transform: rotate(90deg); */
  width: 0px;
  height: 110px;
  background-color: #cacaca;
  border: 2px solid #cacaca;
  margin-top: 30px;
}

.brand-container .images .foll-ar{
  height: 18vh;
}

.brand-container .images{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.brand-container .images img{
  height: 15vh;
  width: auto;
  cursor: pointer;
  transition: 0.2s linear;
}

.brand-container .images img:hover{
  scale: 1.1;
}

@media (max-width:884px) {
  .brand-container .images {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 4 images per row */
    gap: 10px; /* Adjust space between items */
    position: relative;
    place-items: center;
  }

  #brands-detail .images{
    display: flex;
  }

  .brand-container hr.active{
    display: none;
  }

  .brand-container hr{
    display: none;
  }
  .brand-container .images img {
    height: 10vh;
    width: auto;
    cursor: pointer;
    transition: 0.2s linear;
  }
  .brand-container .images .foll-ar{
    height: 15vh;
   }


}

@media (max-width:540px) {
  .brand-container .images{
    grid-template-columns: repeat(1, 1fr);
  }

  .brand-container .images img{
    width: 50%;
    height: 100%;
  }

  .brand-container .images .foll-ar{
    height: 22vh;
    width: 37%;
   }

  .brand-container hr{
    display: none;
  }
  .brand-container .images .foll-br{
    width: 42%;
   }
}

/* Popup */
/* Popup Overlay */
.popup-overlay {
    z-index: 119;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
  }

  .popup-content {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: scroll;
    height: 60vh;
  }

  .popup-product {
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Close Button */
  .close-btn {
    right: 22%;
    background: #ff4d4d;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    position: fixed;
  }

  .close-btn:hover {
    background: #ff1a1a;
  }

.popup-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-left: 50px;
  }
  
  .popup-image img {
    max-width: 520px;
    border-radius: 8px;
    margin-top: 50px;
  }
  
  .popup-info {
    flex: 1;
  }
  .popup-info img{
    max-width: 120%;
  }
  
  @media (max-width: 768px) {
    .popup-layout {
      flex-direction: column;
      align-items: center;
    }

    .popup-content{
      overflow-y: scroll;
      height: 80vh;
    }

    .popup-product{
      margin-left: -50px;
    }
  
    .popup-image img {
      max-width: 80%;
      margin-left: 50px;
      margin-top: -50px;
    }
    .popup-info img {
      max-width: 100%;
 }
 .close-btn {
  right: 2%;
 }
  }
  
  @media (max-width:440px){
    .brand-container .images img{
      height: 12vh;
      width: 45%;
      margin-bottom: 20px;
    }
   .brand-container .images .foll-br{
      width: 37%;
     }
     .brand-container .images .foll-ar{
      height: 80%;
     }
     .brand-container .images .do-br{
      width: 42%;
      height: 10vh;
      margin-top: 30px;

     }
     .brand-container .images .su-br{
      width: 42%;
      height: 10vh;

     }
     .brands-detail .main-heading{
      width: 300px;
     }
     .close-btn {
      right: 2%;
     }
     #brands-detail .images{
      display: grid;
    }
    .popup-product{
      margin-left: -50px;
    }
    .popup-image img{
      margin-left: 50px;
    }
  }

  @media (max-width:1441px){
    .close-btn {
      right: 17%;
     }
  }
  @media (max-width:1025px){
    .close-btn {
      right: 4%;
     }
  }



  