@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.index-2 {
  font-family: "Poppins", sans-serif;
}



body,
p {
  font-size: 16px;
  font-family: 'Poppins';
  font-weight: 300;
}



.green {
  color: var(--main-color);
}

.green1 {
  color: var(--main-color);
}

.bg-green {
  background-color: var(--main-color);
}

.border-green {
  border-color: var(--main-color) !important;
}

.bg-grey {
  background-color: #F5F5F5;
}

.bg-lightgrey {
  background-color: #F7F7F721;
}

.bg-lightgreen1 {
  background-color: #F5FAEE;
}

.bg-lightgreen {
  background-color: #F5FAEE;
}

.border-lightgreen {
  border-color: #F5FAEE !important;
}

@media (min-width:768px) {
  .w-md-10 {
    width: 10% !important
  }

  .w-md-20 {
    width: 20% !important
  }

  .w-md-25 {
    width: 25% !important
  }

  .w-md-40 {
    width: 40% !important
  }

  .w-md-30 {
    width: 30% !important
  }

  .w-md-50 {
    width: 50% !important
  }

  .w-md-55 {
    width: 55% !important
  }

  .w-md-60 {
    width: 60% !important
  }

  .w-md-70 {
    width: 70% !important
  }

  .w-md-75 {
    width: 75% !important
  }

  .w-md-80 {
    width: 80% !important
  }

  .w-md-90 {
    width: 90% !important
  }

  .w-md-100 {
    width: 100% !important
  }
}

@media (min-width:992px) {
  .w-lg-10 {
    width: 10% !important
  }

  .w-lg-20 {
    width: 20% !important
  }

  .w-lg-25 {
    width: 25% !important
  }

  .w-lg-30 {
    width: 30% !important
  }

  .w-lg-40 {
    width: 40% !important
  }

  .w-lg-35 {
    width: 35% !important
  }

  .w-lg-50 {
    width: 50% !important;
  }

  .w-lg-55 {
    width: 55% !important
  }

  .w-lg-60 {
    width: 60% !important
  }

  .w-lg-70 {
    width: 70% !important
  }

  .w-lg-75 {
    width: 75% !important
  }

  .w-lg-80 {
    width: 80% !important
  }

  .w-lg-100 {
    width: 100% !important
  }
}




.fs-18 {
  font-size: 18px;
}

.fs-50 {
  font-size: 50px;
}

/* Banner Section */
.banner-1 {
  background-image: linear-gradient(180deg, #052730 100%, #F5FAEE 100%);
  margin-top: -100px;
}

.banner-1 .slick-list.draggable {
  overflow: visible;
  overflow-x: clip;
}

.banner-1 .slick-dots {
  bottom: 25%;
  left: 66%;
  position: absolute;
}

.banner-1 .text {
  letter-spacing: 1.7px;
  text-transform: uppercase;
  fill: #fff;
  font-size: 21px;
}

.banner-1 #rotatingText {
  animation-name: rotate-circle;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}


@keyframes rotate-circle {
  to {
    transform: rotate(1turn);
  }
}

.banner-1 .spin-demo-main {
  display: grid;
  align-items: center;
  justify-items: center;
}

.banner-1 .spin-demo-main img {
  position: absolute;
  /* left: 25% */
}

.banner-1 .section-title-right img {
  height: 75px;
  width: 75px;
}

.banner-1 .section-title-right span {
  left: 70% !important;
}

.banner-1 .btn1:hover {
  background-color: #fff !important;
}

.banner-1 .slick-dots li button::after {
  background: #fff;
}

.banner-1 .slick-dots li.slick-active button::after {
  background: var(--main-color) !important;
}


.banner-1 .overlays {
  background-image: url('../imgs/alto/map-evcharge.png');
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .05;
}

.banner-1-image-inner {
  margin-bottom: -120px;
}


@media (min-width: 1400px) {
  .banner-1 h1 {
    font-size: 60px;
  }

}

@media (max-width: 1200px) and (min-width: 992px) {
  .banner-1 .spin-demo-main img {
    left: 37%;
  }
}

@media (max-width: 1200px) {
  .banner-1-inner {
    padding-top: 50px !important;
    padding-bottom: 50px;
  }

  .banner-1-image-inner {
    margin-bottom: 0px;
  }

  .banner-1 .slick-dots {
    left: 48%;
    bottom: 0%;
  }

  .banner-1 .feature-list {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 992px) {

  .banner-1 .section-title h1,
  .index-2 .about-us .section-title h2,
  .service .section-title h2,
  .index-2 .pricing .section-title h2,
  .project .section-title h2,
  .blog-title-left h2,
  .mobile-app1-title h2,
  .contact-us-title h2 {
    border: none !important;
    padding-left: 0 !important;
  }

  .banner-1 .section-title {
    margin-bottom: 60px !important;
  }


  .banner-1 {
    padding: 235px 0 0 0 !important;
  }

  .banner-1-image img {
    margin-top: 20px !important;
  }

  .banner-1 .overlays::after {
    width: 100%;
    left: 0;
  }

  .banner-1 .spin-demo-main img {
    left: 26%;
  }
}

@media (max-width: 768px) {
  .banner-1 li {
    margin: 0 10px !important;
  }

  .banner-1 .spin-demo-main img {
    left: 40%;
  }

}

/* About Us Section */
.index-2 .about-us,
.index-2 .pricing,
.index-2 .blog {
  background-image: linear-gradient(180deg, #F5FAEE00 20%, #F5FAEE 100%);
}

.our-team,
.team-detail,
.price,
.project-list,
.about1 {
  background-image: linear-gradient(180deg, #F5FAEE00 40%, #F5FAEE 100%);
}

.about-counter-box img {
  height: 50px;
  width: 50px;
}

.about-service-box img,
.feature-icon img {
  width: auto;
  filter: grayscale(1);
}

.about-counter-box {
  top: 20px;
  right: -30px;
}

.about-us {
  margin-top: -50px;
}

@media (max-width: 1200px) {
  .about-us-inner {
    padding-top: 50px !important;
  }
}

@media (max-width: 992px) {
  .about-counter-box {
    position: static !important;
  }
}

/* Service Section */
.index-2 .service,
.project,
.contact-mobile,
.index-2 {
  background-image: linear-gradient(180deg, #F5FAEE 60%, #F5FAEE00 100%);
}

.index-2 .service-box {
  background-image: url('../imgs/alto/img15_circle.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.index-2 .service-box img {
  width: auto;
  height: auto;
  filter: grayscale(1);
}

.index-2 .service-box:hover {
  /* border-color: var(--main-color) !important; */
  transition: all .3s ease-in-out;
  background-color: #052730 !important;
}

.index-2 .service-box:hover h4 a,
.index-2 .service-box:hover p {
  color: #fff;
  transition: all .3s ease-in-out;
}

.index-2 .service-box:hover a {
  border: none !important;
  transition: all .3s ease-in-out;
}

/* Who we are section */
.index-2 .more-about .section-right {
  margin-bottom: -50px;
}

@media (max-width: 1200px) {
  .index-2 .more-about .section-left {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 786px) {
  .index-2 .more-about .counter-box {
    border-bottom: 1px solid #F7F7F757;
  }
}

/* How we work CSS*/
.how-work .section-body::after {
  content: '';
  height: 80%;
  width: 100%;
  position: absolute;
  border-right: 2px dashed #67676750;
  top: 10%;
  left: -50%;
  z-index: -1;
}

.index-2 .work-info {
  background-color: #cfe3f7;
}

.timeline .work-info:after {
  content: "";
  position: absolute;
  top: 42%;
  height: 20px;
  width: 20px;
  z-index: -1;
  background: var(--main-color);
  right: -10px;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(-135deg);
}

.timeline-row:nth-child(even) .work-info:after {
  left: -10px;
}


@media (max-width: 768px) {

  .how-work .section-body::after,
  .timeline .work-info:after {
    display: none;
  }

  .how-work .work-info {
    margin: 0 !important;
  }

  .how-work .work-box-number {
    position: static !important;
    transform: none !important;
  }
}


/* Project CSS */
.index-2 .project-info {
  bottom: -40px;
  left: 0;
  transition: all .5s ease-in-out;
}

.index-2 .project-image {
  cursor: pointer;
}

.index-2 .project h5 a:hover {
  color: #6EA343;
}

.index-2 .project-image:hover img {
  filter: blur(1px);
  transition: all .3s ease-in-out;
}

.index-2 .project-image:hover .project-info {
  bottom: 0;
  transition: all .5s ease-in-out;
}

.index-2 .project-info .overlays {
  opacity: .88;
}

.more-about {
  margin: 0 5%;
  background-color: #052730;
  background-image: url(../images/img15_circle.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 50% auto;
}


.percentage-wrapper::after {
  position: absolute;
  content: "";
  bottom: -16px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background-color: var(--main-color);
}

.percentage-wrapper {
  top: -50px;
  left: 100%;
  /* Move it along the width of progress */
  transform: translateX(-50%);
  font-size: 13px;
  transition: left 3s ease-in-out;
  padding-top: 0.8rem !important;
}

.percentage-wrapper::after {
  position: absolute;
  content: "";
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background-color: var(--main-color);
}

.progress-bar {
  animation: progressBar 3s ease-in-out forwards;
}


.about-video-play {
  height: 50px;
  width: 50px;
  line-height: 50px;
  z-index: 999;
  cursor: pointer;
}

@keyframes waves {
  0% {
    -webkit-transform: scale(0.2, 0.2);
    transform: scale(0.2, 0.2);
    opacity: 0;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    -webkit-transform: scale(0.9, 0.9);
    transform: scale(0.9, 0.9);
    opacity: 0;
  }
}


.waves {
  width: 150px;
  height: 150px;
  background: #87C33230;
  opacity: 0;
  right: -50px;
  bottom: -50px;
  -webkit-animation: waves 3s ease-in-out infinite;
  animation: waves 3s ease-in-out infinite;
}

.wave-1 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.wave-2 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.wave-3 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}



@keyframes progressBar {
  0% {
    width: 0;
  }

  100% {
    width: width;
  }
}

@media (min-width: 1200px) {
  .more-about-quote {
    width: 75%;
    margin: 0 0 -40% -20%;
  }

  .more-about-inner {
    padding: 0 !important;
  }

  .more-about {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .more-about-inner .section-left {
    margin-bottom: -100px;
  }
}

.work-box-number h4 {
  height: 50px;
  width: 50px;
  line-height: 50px;
}

/* Banner CSS */
.banner {
  background-image: url('../imgs/alto/ev-vehicle.jpg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -8%;
}
.banners {
  background-image: url('../imgs/alto/food2.jpg') !important;
}

.banner .overlays {
  background-image: linear-gradient(180deg, #052730 0%, #052730 100%);
  opacity: .7;
}

.overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  content: "";
}

@media (max-width: 1400px) {
  .banner {
    margin-top: -11%;
  }

  .banner-inner {
    padding-top: 80px !important;
  }
}

@media (max-width: 768px) {
  .banner {
    margin-top: -21%;
  }

  .spin-container {
    margin: 0 100px;
  }

  .banner-btn li a,
  .download-btn li a {
    width: 75%;
  }
}

/* Spin Animation  */
.spin {
  display: inline-block;
  animation: spin 2s ease-in-out forwards;
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }

  40% {
    transform: rotateY(360deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}


/* Mission */
@media (max-width: 992px) {

  .partner-slider,
  .mission h2,
  .partner h3 {
    border: none !important;
    padding: 0 !important;
  }
}

/* Feature CSS */
.feature-inner {
  margin-top: -150px;
}

@media (max-width: 992px) {
  .feature-box2 {
    border-right: none !important;
    padding-right: 0 !important;
  }

  .feature-box3 {
    border-top: 1px solid #5F5F5F21;
    padding-top: 40px;
    padding-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .feature-box2 {
    border: none !important;
    border-top: 1px solid #5F5F5F21 !important;
    padding-top: 40px;
    padding-left: 0 !important;
  }

  .feature-box1 {
    padding-right: 0 !important;
  }
}


/* About CSS */
.about {
  background-image: linear-gradient(90deg, #F5FAEE 20%, #F5FAEE00 100%);
  margin-top: -140px;
}

.about-service-box {
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 1200px) {

  .about .section-title h2,
  .more-about .section-title h2,
  .review .section-title h2,
  .mobile-app .section-title h2,
  .career-faq .section-title h2,
  .faq .section-title h2,
  .about1 .section-title h2 {
    border: none !important;
    padding: 0 !important
  }

  ;
}

@media (max-width: 768px) {
  .about-service-box {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }
}

/* Work CSS */
.work-image img {
  width: 150px;
  height: 150px;
}

.work-box-number {
  top: -20px;
  left: 40%;
}

.work-box-number h4 {
  height: 50px;
  width: 50px;
  line-height: 50px;
}

.work {
  margin-right: 5%;
  background-image: url('../imgs/alto/electric-car-charging-connected-to-the-grid-2023-02-07-21-01-15-utc.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.work .overlays {
  background-image: linear-gradient(90deg, #052730 0%, var(--main-color) 100%);
  opacity: 0.9;
}


.work .work-box .work-info {
  background-color: transparent;
}

@media (min-width: 768px) and (max-width:1200px) {
  .work-box {
    margin: 0 !important;
    margin-top: 20px !important;
  }

  .work {
    padding-bottom: 100px !important;
  }
}

@media (max-width:768px) {

  .work,
  .work .overlays {
    margin: 0;
    border-radius: 0;
  }
}

/* ========================================= */
/*           Gallery page CSS                */
/* ========================================= */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 equal columns to allow for half-width items */
  gap: 10px; /* Space between images */
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  transition: transform 0.3s ease;
  filter: grayscale(1);
}
.gallery-item:hover {
  filter: grayscale(0);
}

.gallery-item img {
  width: 100%;
  height: 250px !important; 
  object-fit: cover; 
  display: block;
}

.gallery-item.wide {
  grid-column: span 3;
}

.gallery-item.mid {
  grid-column: span 2;
}

.gallery-item.small {
  grid-column: span 1;
}

.gallery-item .overlay{
  /* background-color: #87C332; */
  background-blend-mode: hue;
  mix-blend-mode: hue;
  opacity: 0;
  transition: all ease-in-out .3s;
  
}

.gallery-item:hover .overlay {
  opacity: .7;
  transition: all ease-in-out .3s;
  filter: grayscale(0);
}

@media (max-width: 768px) {
  .gallery-container {
      grid-template-columns: repeat(4, 1fr);
  }

  .gallery-item.wide {
      grid-column: span 2;
  }

  .gallery-item.small {
      grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-container {
      grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.small {
      grid-column: span 1; 
  }
}