.subnav-container{
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
}
.subnav div a{
  color: #BABABA;
}
.dealer-hero{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/assets/dealer-program-hero.webp);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: 0;
  position: relative;
}
.dealer-hero .overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 0;
}

.dealer-content{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.dealer-content h1{
  color: white;
  margin-top: 6%;
  margin-bottom: 2%;
}
.dealer-content p{
  
  font-size: clamp(16px, 1.3vw, 1.3vw);
  width: 40%;
  color: #DBDBDB;
  margin-bottom: 3%;
  text-align: center;
  font-weight: 300;
}




.dealer-join{
  position: relative;
  width: 100%;
}
.dealer-join, .dealer-join-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8vh;
}
.dealer-join-center h3 {
  color: #2C5134;
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
  text-align: center;
}
.dealer-join-center p {
  width: 39%;
  color: #000;
  text-align: center;
  margin-top: -1%;

}
.dealer-join-center button{
  margin-top: 1%;
}

.seia img{
  width: 9.2dvw;
}
.solar-aliance img{
  width: 15dvw;
}

.dealer-join .img-left, .dealer-join .img-right {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 25vw;
  height: 32vw;
  border-radius: 2vw;
  overflow: hidden;
}
.dealer-join .img-left{
  left: -0%;
}
.dealer-join .img-right{
  right: -0%;
}

.dealer-join .img-left img, .dealer-join .img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*America section */

.america{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #222823;
}
.america .bg-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 0;
  opacity: 0.3;
  mix-blend-mode: color-dodge;
  z-index: 0;
}
.america .bg-overlay img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.america .left{
  position: relative;
  z-index: 1;
  width: 50%;
  height: auto;
}
.america .left .img{
  width: 80%;
  height: auto;
  object-fit: cover;
}
.america .left .img::after{
  /* content: "";
  position: absolute;
  top: -25%;
  right: -25%;
  width: 140%;
  height: 140%;
  transform: rotateY(-50deg) rotateX(50deg);
  flex-shrink: 0;
  border-radius: 5000px;
  border: 20px solid transparent;
  border-image: linear-gradient(120deg, #3044344D, #CDEA80) 1;
  filter: blur(15px);
  z-index: 1;
  box-sizing: border-box; */
}
.america .left .img img{
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}
.america .right{
  position: relative;
  z-index: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 2.5vw;
}
.america .right h2{
  color: white;
  font-size: var(--font-size-h2);
  font-weight: 800;
  margin-bottom: 2%;
}
.america .right h2:nth-child(1){
  color: #CDEA80;
}
.america .right p{
  margin-bottom: 5%;
  letter-spacing: 0.92px;
}
.america .right a{
  letter-spacing: 0.92px;
}

/*Different section */

.different {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #16291B;
}
.different .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 0;
  opacity: 0.3;
  mix-blend-mode: color-dodge;
  z-index: 0;
}
.different .bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.different .right {
  position: relative;
  z-index: 1;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.different .right .img {
  width: 80%;
}
.different .right .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}
.different .left {
  position: relative;
  z-index: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2vh;
  padding-left: 2.5vw;
}
.different .left h2 {
  color: white;
  font-size: var(--font-size-h2);
  font-weight: 800;
}
.different .left h2 span {
  color: #CDEA80;
}
.different .left p {
  margin-bottom: 10%;
  font-weight: 300;
}


.volt {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #222823;
}
.volt .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 0;
  opacity: 0.3;
  mix-blend-mode: color-dodge;
  z-index: 0;
}
.volt .bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.volt .right {
  position: relative;
  z-index: 1;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.volt .right .img {
  width: 100%;
}
.volt .right .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}
.volt .left {
  position: relative;
  z-index: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2.5vw;
}
.volt .left h2 {
  color: white;
  font-size: var(--font-size-h2);
  font-weight: 800;
  margin-bottom: 8%;
}
.volt .left h2 span {
  color: #CDEA80;
}

.volt .left ul{
  margin-bottom: 5%;
}
.volt .left ul li{
  color: white;
  font-size: var(--font-size-p);
  margin-bottom: 1%;
  margin-left: 1%;
}
.volt a{
  margin-bottom: 5%;
}

/*Commissions*/
.commissions{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #CDEA80;
}
.commissions .left{
  position: relative;
  z-index: 1;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2.5vw;
}
.commissions .left h2{
  color: #2C5134;
  font-family: "Articulat CF Bold";
  font-weight: 800;
  margin-block: 2%;
}
.commissions .left p, .commissions .left ul{
  font-weight: 400;
}
.commissions .left ul{
  margin-top: 2%;
}

.commissions .right{
  position: relative;
  z-index: 1;
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.commissions .img-1{
  position: absolute;
  top: 20%;
  left: 5%;
  width: 15vw;
}
.commissions .img-3{
  position: absolute;
  top: 40%;
  left: 25%;
  width: 15vw;
}
.commissions .img-2{
  position: absolute;
  top: 60%;
  left: 50%;
  width: 15vw;
}
.commissions img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.light-speed{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.light-speed p{
  width: 60%;
  text-align: center;
  margin-top: 5%;
}


/*Aurora*/

.aurora{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: -10%;
}
.aurora .left{
  position: relative;
  z-index: 1;
  width: 53%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2.5vw;
}
.aurora .left h2{
  font-family: "Articulat CF Bold";
  color: #2C5134;
  margin-bottom: 2%;
}
.aurora .left h2 span{
  color: transparent;
  -webkit-text-stroke: 2px #2C5134;
}
.aurora .left h5{
  color: #000;
  font-size: var(--font-size-h5);
  font-weight: 500;
  font-family: 'Articulat CF';
  margin-bottom: 2%;
}
.aurora .left p{
  margin-bottom: 5%;
  margin-top: 2%;
}
.aurora .left li{
  list-style: disc;
  margin-block: 3%;
  margin-left: 3%;
}
.aurora .right{
  position: relative;
  z-index: 1;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.aurora .right .img{
  width: 100%;
  transform: translateX(20%);
}
.aurora .right img{
  width: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.ready{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5%;
  margin-top: -5%;
  position: relative;
}
.ready p{
  font-weight: 300;
}
.ready .hex-container .hex-left{
  position: absolute;
  left: 10%;
  /*center vertically*/
  top: 50%;
  transform: translateY(-40%);
}
.ready .hex-container .hex-right{
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-60%);
}
.ready .hex-container img{
  width: 30vw;
}
.ready h2{
  color: #2C5134;
  font-weight: 800;
  text-align: center;
}


.explore{
  padding: 0 2.5vw;
  height: auto;
  margin-top: 0%;
  margin-bottom: 10%;
}
.explore h3{
  color: #2C5134;
  font-weight: 800;
  margin-bottom: 2%;
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h3);
}
.explore .top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5%;
  margin-bottom: 2%;
}
.explore .top a{
  color: #2C5134;
  display: flex;
  align-items: center;
  font-family: "Articulat CF Bold";
  gap: 10px;
  transform: translateY(-50%);
  text-wrap: nowrap;
  font-size: var(--font-size-p);

}
.card-blog{
  width: 100%;
  border: 1px solid #8A8A8A;
  border-radius: 20px;
}
.card-blog .card-top{
  width: 100%;
  height: 40vh;
}
.card-blog .card-top img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.card-bottom{
  padding: 5%;
}

.card-bottom h4{
  color: #000;
  font-weight: 900;
  text-align: left;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 5%;
}

.card-bottom .tags{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5%;
  margin-top: 2.5%;
  max-width: 80%;

}
.card-bottom .desc{
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  margin-top: 2%;
}
.card-bottom .tags span{
  background-color: #F3F3F3;
  color: #969B93;
  border-radius: 200px;
  padding: 0.2vw 0.8vw;
  text-align: center;
  font-size: var(--font-size-p);
  font-family: "Articulat CF";
  text-wrap: nowrap;
  margin-right: 0.5vw;

  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
}
.card-bottom .arrow{
  border-radius: 500px;
  background-color: #2C5134;
  width: 2.5vw;
  height: 2.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.just-mb{
  display: none;
}
.aurora p, .aurora ul li{
  font-weight: normal;
}
.aurora .left br{
  display: none;
}
.download-app-icons-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.download-app-icons-container .btn-light-green{
  margin-bottom: 5%;
  border-radius: 50px;
  background-color: #CDEA80;
  font-weight: 700;
  text-wrap: nowrap;
}
.download-app-icons-container .btn-light-green:nth-child(2){
  margin-left: 2%;
}

@media (width < 1024px){
  .download-app-icons-container{
    flex-direction: column;
    gap: 20px;
  }
  .download-app-icons-container .btn-light-green{
    width: 100%;
    margin-bottom: 0;
  }
  .just-mb{
    display: block;
  }
  .dealer-hero p{
    width: 95%;
    color: white;
    margin-top: 20px;
  }
  .dealer-hero button{
    margin-top: 20px;
  }
  .america .left .img img {
    object-position: center;
  }
  .america .left{
    margin-top: 20px;
    margin-left: -50px;
  }
  .dealer-join .img-advocacy{
    display: none;
  }
  .dealer-join{
    height: auto;
    gap: 0;
    margin-block: 50px;
  }
  .dealer-join-center h3{
    margin-top: -50px;
  }
  .dealer-join-center p{
    width: 95%;
    font-family: 'Articulat CF';
  }
  .dealer-join-center{
    gap: 20px;
  }

  .america{
    flex-direction: column-reverse;
    padding: 50px 20px 0 20px;
  }
  .america .left, .america .right{
    width: 100%;
  }
  .america .right h2{
    text-align: left;
  }
  .america .right p{
    margin-top: 20px;
  }

  .different{
    flex-direction: column;
    padding: 50px 20px;
  }
  .different .left, .different .right{
    width: 100%;
  }
  .different .right{
    height: auto;

  }
  .different .right .img{
    width: 100%;
  }
  .different .left {
    padding: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .different .left p{
    text-align: center;
  }

  .volt{
    flex-direction: column;
    padding: 50px 20px 0 20px;
    height: auto;
  }
  .volt a{
    margin-top: 20px;
  }
  .volt .left, .volt .right{
    width: 100%;
  }
  .volt .right{
    transform: translate(20px, 5px);
  }
  .volt .download-app-icons-container{
    display: flex;
    width: 100%;
    gap: 0px;
  }
  .commissions{
    flex-direction: column-reverse;
    padding: 50px 20px;
    height: auto;
  }
  .commissions .left, .commissions .right{
    width: 100%;
  }
  .commissions .right{
    height: 350px;
  }
  .commissions .img-1, .commissions .img-2, .commissions .img-3{
    width: 150px;
  }
  .commissions .img-1{
    top: 0;
  }
  .commissions .img-2{
    top: 50%;
  }
  .commissions .img-3{
    top: 25%;
  }
  .commissions .left h2{
    margin-bottom: 20px;
    font-size: 30px;
  }
  .commissions .left h2{
    margin-top: 40px;
  }
  .commissions .left ul{
    margin-top: 20px;
  }
  .commissions .left ul li{
    margin-bottom: 20px;
  }

  .light-speed{
    padding: 50px 20px;
    height: auto;
  }
  .light-speed p{
    width: 100%;
    text-align: left;
  }
  .light-speed img{
    width: 100%;
  }

  .dealer-content h1{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .aurora{
    flex-direction: column;
    padding: 50px 20px;
    height: auto;
  }
  .aurora .left, .aurora .right{
    width: 100%;
  }
  .aurora .left br{
    display: block;
  }
  .aurora .left h2{
    display: flex;
    font-family: "Articulat CF Bold";
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    align-self: center;
    text-align: center;
  }
  .aurora .left h5{
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
  }
  .aurora .left li{
    margin-left: 0;
    margin-block: 20px;
    list-style: none;
    margin-left: 20px;
    position: relative;
  }
  .aurora .left li::before{
    content: "•";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
  }
  .aurora .right{
    display: none;
  }
  .ready{
    padding: 50px 20px;
    height: auto;
    gap: 20px;
  }
  .ready .hex-container img{
    width: 50vw;
  }
  .ready .hex-container .hex-left{
    left: -20%;
  }
  .ready .hex-container .hex-right{
    right: -20%;
  }

  .explore{
    padding: 50px 20px;
    margin-top: 20px;
    position: relative;
  }
  .explore .top a{
    position: absolute;
    bottom: -5%;
    right: 20px;
  }

  .card-bottom h4{
    font-size: 18px;
  }
  .card-bottom .tags span{
    font-size: 14px;
    padding: 5px 10px;
  }
  .card-bottom .arrow{
    width: 30px;
    height: 30px;
  }
}