/* General Reset */
body {
  font-family: 'Poppins', sans-serif;
  /* background-color: #f9f9f9; */
}

a {
  text-decoration: none;
  padding: 1rem ;
  border-radius: 10px;
  color: #fff;
}

.carousel-caption {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
  padding: 1rem 2rem;
  border-radius: 10px;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
}

ul li a {
  color: #000;
}

.dropdown-hover:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%; /* Ensures submenu opens to the right */
    margin-top: -1px;
    position: absolute;
    display: none;
    min-width: 200px;
    z-index: 1000;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.circle>a {
  font-size: 16px;
  border: 1px solid #000;
  border-radius: 100%;
  padding: 0px 10px;
}

/* Hero Section */
.hero {
   background: url('https://t3.ftcdn.net/jpg/01/67/57/12/360_F_167571200_v7hkI3uJdyP03WIknkQ5CYJzQFvf62Gs.jpg') no-repeat center center/cover; 
   /*background: url('../img/milenniun-ho.webp') no-repeat center/ cover; */
  /*background: url('../img//milenniun-ho.webp') no-repeat center/ cover;*/
  height: 90vh;
  padding-top: 100px;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.5);
}

.col {
  /* background: url('https://t3.ftcdn.net/jpg/01/67/57/12/360_F_167571200_v7hkI3uJdyP03WIknkQ5CYJzQFvf62Gs.jpg') no-repeat center center/cover ; */
  height: 40vh;
  /* padding-top: 100px; */
  background-blend-mode: overlay;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.093);
}

.hero h1 {
  color: #fff;
}

.hero p {
  color: #ddd;
}


/* .productsImage:hover{
  background: linear-gradient(0deg, black, transparent) ,  url(https://milenniumindia.com/wp-content/uploads/2022/11/milennium-banner-hm-4.jpg) no-repeat center center / cover ;
} */

.product-color{
  background: #fff;
    padding: 3px 15px;
    border-radius: 20px;
}
.productsImage {
    
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: all 0.54s ease-in-out;
  padding: 10px;
  background:linear-gradient(4deg, #1b1b1b4f, #1f1e1e16), url(/img/elegent-1975.png) no-repeat center center / cover}

.Bhaskara {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 8%), rgb(0 0 0 / 14%)), url(/img/bhaskara-1975.png) no-repeat center center / cover
    
}
.prime {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.071), rgba(0, 0, 0, 0.082)), url(/img/solar-series-2.png) no-repeat center center/contain
    /* linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.082)), url(/img/solar-series-2.png) no-repeat right bottom ;
     background-size: 170% auto; */
}

.solar-series {
  background:
    linear-gradient(to bottom,  rgb(0 0 0 / 8%), rgba(0, 0, 0, 0.149)), url(/img/solar-prime.png) no-repeat center center / contain
}
.solar {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 8%), rgb(0 0 0 / 86%)), url(/img/battery-less-bg-1.jpg) no-repeat center right / cover
}

.comander {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 8%), rgba(0, 0, 0, 0.096)), url(/img/external-battery-bg-1.jpg) no-repeat center right / cover
}
.battery {
  background: linear-gradient(to bottom, rgba(42, 42, 42, 0.066), rgba(0, 0, 0, 0.255)), url(/img/batteriesss.png) no-repeat center / cover;
    background-size: 90% auto;
    border: 1px solid #ccc;
}
.panels {
  background:
    linear-gradient(to bottom, rgba(208, 207, 207, 0.07), rgba(92, 91, 91, 0)), url(/img/solar-pannels.jpg) no-repeat center right / cover
}
.mile {
  background:   url(/img/black-hybrid.png) no-repeat center  / contain
}
.panels {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.093), rgba(0, 0, 0, 0.159)), url(/img/solar-pannels.jpg) no-repeat center right / cover
}
.inverter {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 8%), rgba(0, 0, 0, 0.096)), url(/img/gti-red.png) no-repeat center  / contain
  /* url(/img/gti-red.png) no-repeat center center/contain; */
}
.single-inverter {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 8%), rgb(0 0 0 / 86%)), url(/img/single-inverter.png) no-repeat center right / cover
  /* url(/img/single-inverter.png) no-repeat center center/contain; */
}


.product-name {
  font-size: 16px;
  margin: 0 14px 0 0;
}

.scroll {
  margin: 0;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
}

.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  height: 100px;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.logos {
  display: flex;
}

.logos img {
  height: 80px;
  margin: 0 30px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.btn-lg i {
  font-size: 1.2rem;
  vertical-align: middle;
}



/* Footer */
.icon i {
  cursor: pointer;
  transition: color 0.3s ease;
}

footer i:hover {
  color: #FFB300;
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .productsImage {
    height: 20vh;
  }

  .product-name{font-weight: 600;}

  /* .hero {height: 95vh;} */
  .last {
    margin: 0 0 7rem 0rem;
  }
  

  .text-start {
    text-align: center !important;
  }

  .banner{
    width: 90%;
  }

  .navbar-toggler-icon {
    background-color: black;
  }
  .dropdown-submenu > .dropdown-menu {
    right: 0%;}
}