:root {
  font-size: 16px;
  --font-size-h1: clamp(40px, 6vw, 8vw); /*120px*/
  --font-size-h2: clamp(32px, 4vw, 6.25vw); /*100px*/
  --font-size-h3: clamp(26px, 3vw, 5.125vw); /*82px*/
  --font-size-h4: clamp(20px, 3.25vw, 3.25vw); /*52px*/
  --font-size-h5: clamp(12px, 1.125vw, 1.125vw); /*18px*/
  --font-size-h6: clamp(18px, 1.625vw, 1.625vw);
  --font-size-p: clamp(14px, 1vw, 1.3vw); 
  --font-size-btn: clamp(18px, 1vw, 1.1vw); 
}
*{
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Regular.ttf');
  font-weight: 400;
}
@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Medium.ttf');
  font-weight: 500;
}
@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Black.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Heavy.ttf') format('truetype');
  font-weight: 900;
}
@font-face {
  font-family: 'Neue Haas Unica Pro';
  src: url('/fonts/Neue-Haas-Unica-Pro/Neue-Haas-Unica-Pro/NeueHaasUnicaPro-Thin.ttf') format('truetype');
  font-weight: 350;
}
.align-center {
  align-items: center;
}
.flex{
  display: flex;
}
.flex-col{
  flex-direction: column;
}
.justify-center{
  justify-content: center;
}
.vertical-divider{
  width: 3px;
  border-radius: 20px;
  height: 20%;
  position: absolute;
  background-color: #CDEA80;
  bottom: 0;
}
.text-xs{
  color: #FFF;
  font-family: "Articulat CF";
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 33.8px */
}
.text-sm{
  color: var(--Primary-Dark, #666);
  font-family: "Articulat CF";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  letter-spacing: 1.5px;
}
.bg-light-green{
  background: #CDEA80;
}
.text-normal{
  font-size: var(--font-size-h4);
  color: #2C5134;
  font-family: 'Articulat CF';  
  font-weight: bold;
}
.text-center {
  text-align: center;
}
.text-left{
  text-align: left;
}
.text-right{
  text-align: right;
}
.text-p-white{
  color: #FFF;
  font-family: "Neue Haas Unica Pro";
  font-size: var(--font-size-p);
  font-style: normal;
  font-weight: 350;
  line-height: 120%;
}
.text-p-black{
  color: #000;
  font-family: "Neue Haas Unica Pro";
  font-size: var(--font-size-p);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
.text-xxl{
  color: var(--Primary-Green, #2C5134);
  text-align: center;
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h1);
  font-style: normal;
  font-weight: 900;
  line-height: 100%; /* 120px */
}
.sales-sub{
  margin-top: 3%;
  font-family: "Articulat";
  color: black;
  font-size: clamp(12px, 1.4vw, 1.5vw);;
}
.text-bg{
  font-size: clamp(14px, 1.2vw, 1.3vw);
}
.text-xl{
  color: var(--Secondary-Lime, #CDEA80);
  font-family: "Articulat CF";
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 82px */
}
.sales {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 5%;
  padding-top: 5%;
  height: auto;
}
.sales h5{
  margin-bottom: 3%;
}
.linear-bg-green {
  background: linear-gradient(256deg, #2C5134 50.66%, #323A34 89.02%);
}
.advocacy.linear-bg-green {
  background: radial-gradient(circle at center, #2C5134 0%, #2C5134 25%, #313E34 42.28%, #323A34 89.69%);
}
.sales-content {
  width: 95%;
  height: 75vh;
  overflow: hidden;
  position: relative;
  border-radius: 4.35dvw;
  display: flex;
  justify-content: center;
  margin-top: 10vh;
}
.sales-content p {
  color: #FFF;
  text-align: center;
  max-width: 50%;
  margin-top: 10%;
}
.bg-image-solar{
  position: absolute;
  width: 100%;
  height: 100%;
}
.bg-image-solar img{
  width: 80dvw;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sales .panel-img {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.panel-img img{
  width: 40%;
}
/*Section 2 Advocacy*/
.advocacy{
  position: relative;
  width: 100%;
}
.advocacy, .advocacy-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  z-index: 1;
}
.advocacy-center h5 {
  color: #FFF;
  font-family: "Articulat";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  text-transform: uppercase;
  text-align: center;
}
.advocacy-center h3 {
  color: var(--Secondary-Lime, #CDEA80);
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
  text-align: center;
}
.advocacy-center p {
  width: 40%;
  text-align: center;
  margin-top: -1%;
  font-weight: 100;

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

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

.advocacy .img-left, .advocacy .img-right {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 30vw;
  height: 30vw;
  border-radius: 2vw;
  overflow: hidden;
  z-index: 0;
}
.advocacy .img-left{
  left: -6%;
}
.advocacy .img-right{
  right: -6%;
}

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

/*Newsroom Section*/
.tune-in {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  padding: 5vw 8vw;
  align-items: center;
}
.tune-in-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tune-in-center h5 {
  color: #FFF;
  font-family: "Articulat CF";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  text-transform: uppercase;
  text-align: center;
}
.tune-in-center h3 {
  color: var(--Primary-Lime, #2C5134);
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h2);
  margin-top:7%;
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
}
.tune-in-center p {
  width: 78%;
  margin-top: -1%;
  color: #000;
  margin-top: 1%;
  font-weight: 100;
}
.tune-in-center a {
  margin-top: 2%;
  width: fit-content;
}
.seia img {
  width: 9.2dvw;
}
.solar-aliance img {
  width: 15dvw;
}
.tune-in .img-left, .tune-in .img-right {
  position: absolute;
  width: 20vw;
  height: 22vw;
}
.tune-in .img-left {
  left: 0;
  bottom: 0;
}
.tune-in .img-right {
  right: 0;
  top: 0;
}
.tune-in .img-left img{
  object-position: top;
}
.tune-in .img-right img{
  object-position: bottom;
}
.tune-in .img-left img, .tune-in .img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*newsroom card*/
.newsroom-right {
  display: flex;
  gap: 20px;
  justify-content: end;
}

.swiper-slide.news-card {
  border-radius: 22px;
  border: 1px solid var(--Primary-Green, #2C5134);
  background: #FFF;
  width: 18dvw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  padding-bottom: 20px;
  height: auto;
}
.swiper-slide .card-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  height: 100%;
}
.news-card a {
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF";
  font-size: var(--font-size-h6);
  font-style: normal;
  text-align: start;
  padding-inline: 20px;
  font-weight: 700;
  line-height: 130%; /* 28.6px */
}
.news-card h6 {
  color: #949494;
  font-family: "Articulat CF";
  font-size: var(--font-size-h6);
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 22px */
  padding-inline: 20px;
}

/*Team */
.team {
  display: flex;
  flex-direction: column;
}
.team h2 {
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF";
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
  align-self: center;
  justify-self: center;
  margin-bottom: 1%;
}
.team p {
  color: #000;
  font-family: "Neue Haas Unica Pro";
  font-size: var(--font-size-p);
  font-style: normal;
  font-weight: 350;
  line-height: 120%;
  max-width: 50%;
  text-align: center;
  margin-bottom: 2%;
  align-self: center;
  justify-self: center;
}
.team button {
  align-self: center;
  justify-self: center;
  margin-bottom: 5%;
}
.team-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 5%;
  position: absolute;
  right: 2.5dvw;
  bottom: -2dvw;
  z-index: 2;
}
.team-controls div{
  border-radius: 25%;
  border: 1px solid var(--Primary-Green, #2C5134);
  backdrop-filter: blur(3.279452323913574px);
  width: 2dvw;
  height: 2dvw;
  cursor: pointer;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-team{
  position: relative;
}

.slider-team-container .swiper-slide {
  width: fit-content;
}

.swiper.slider-team-container .swiper-slide {
  opacity: 0.5;
  transition: all 0.5s;
  transform: scale(0.8);
}
.swiper.slider-team-container .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.thumbnail-team h4 {
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF";
  font-size: var(--font-size-h4);
  font-style: normal;
  font-weight: bold;
  line-height: 130%; /* 28.6px */
  text-align: center;
  margin-top: 20px;
}
.thumbnail-team h5 {
  color: #666;
  font-family: "Articulat CF";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 18px */
  text-align: center;
  margin-bottom: 20px;
}

/*General Styles*/

.btn-white {
  border-radius: 10px;
  background: var(--Primary-white, #F6F6F6);
  color: #2C5134;
  padding: 15px 38px;
  font-size: var(--font-size-btn);
  font-family: 'Articulat';
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-white:hover {
  background: var(--Secondary-Lime, #CDEA80);
  color: #2C5134;
}
.btn-outline-green {
  border-radius: 10px;
  background: transparent;
  color: var(--Primary-Green, #2C5134);
  padding: 15px 38px;
  font-size: var(--font-size-btn);
  font-family: 'Articulat CF';
  cursor: pointer;
  border: 2px solid var(--Primary-Green, #2C5134);
}
.btn-green {
  border-radius: 10px;
  background: var(--Primary-Green, #2C5134);
  color: #FFF;
  padding: 15px 38px;
  font-size: var(--font-size-btn);
  font-family: 'Articulat CF';
  cursor: pointer;
  border: none;
}
.btn-light-green {
  border-radius: 10px;
  background: var(--Secondary-Lime, #ABDA2D);
  color: var(--Primary-Green, #2C5134);
  padding: 15px 38px;
  font-size: var(--font-size-btn);
  font-family: 'Articulat CF';
  cursor: pointer;
  border: none;
}

.thumbnail-team .swiper-slide {
  opacity: 0 !important;
  transition: opacity 0.5s;
}
.thumbnail-team .swiper-slide-thumb-active {
  opacity: 1 !important;
}

.flip-card {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20dvw;
  height: 20dvw;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.flip-card img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the back side */
.flip-card-back {
  background-color: #2C5134;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.flip-card-back p {
  font-family: "Neue Haas Unica Pro";
  font-size: var(--font-size-p);
  font-style: normal;
  font-weight: 350;
  line-height: 120%;
  max-width: 60%;
  text-align: center;
  color: white;
}


/**/
@media (width < 1024px){
  .sales h5{
    margin-top: 10px;
    font-size: 16px;
  }
  .text-sm{
    font-size: 12px;
  }
  .text-normal{
    font-size: 52px;
  }
  .text-xl{
    font-size: 42px;
  }
  .text-xxl{
    font-size: 34px;
  }
  .text-p-white{
    font-size: 16px;
  }
  .text-p-black{
    font-size: 16px;
  }
  .mission{
    padding-top: 10%;
    height: fit-content;
  }
  .mission-content{
    height: 400px;
    width: calc(100% - 32px);
  }
  .mission-content p{
    max-width: 80%;
    margin-top: 10%;
  }
  .mission .panel-img img{
    width: 80%;
  }
  .advocacy{
    height: fit-content;
  }
}

/*Sub Nav*/

.subnav-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: clamp(100px, 15vh, 140px);
}
.subnav-active{
  border-radius: 100px;
  background: var(--Primary-Green, #2C5134);
}
.subnav{
  display: flex;
  border-radius: 100px;
  background: rgba(205, 234, 128, 0.25);
  backdrop-filter: blur(30px);
  align-items: center;
  justify-content: space-between;
}
.subnav div{
  padding: 1rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.subnav div a{
        color: #5e5e5e;
        font-family: "Articulat CF";
        font-size: 1.15vw;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: -0.03vw;
        text-wrap: nowrap;
        cursor: pointer;
        border-radius: 5.21vw;
        transition: color 0.3s ease, background-color 0.3s ease;
}
.subnav .subnav-active a{
  color: white;
}
.mobile-subnav{
  display: none;
}
@media (width < 1024px) {
  :root{
    font-size: 10px;
  }
  *{
    letter-spacing: 1px;
  }
  .subnav {
    display: none;
  }
  .subnav-container{
    padding-top: 100px;
  }
  .mobile-subnav {
    display: block;
    width: calc(100% - 32px);
  }
  .mobile-subnav a {
    color: #5E5E5E;
    text-align: center;
    font-size: 16px;
    display: flex;
    padding: 2% 5%;
  }
  .mobile-subnav .active-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
    padding: 20px 22px;
    background: #F2FADF;
    margin-bottom: 8px;
  }
  .mobile-subnav .active-link a{
    color: #2C5134;
    font-family: "Articulat CF";
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    line-height: 100%; /* 16px */
  }
  #subnav-icon{
    transition: all 0.3s;
  }
  #subnav-icon.icon-active{
    transform: rotate(180deg);
  }
  .mobile-subnav .select{
    border-radius: 30px;
    background: #F2FADF;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: calc(100% - 32px);
    gap: 8px;
    z-index: 1;
    height: 0px;
    overflow: hidden;
  }
  .mobile-subnav .select .select-item{
    padding: 19px 27px;
  }
  .mobile-subnav .select a{
    color: #5E5E5E;
    font-family: "Articulat CF";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    letter-spacing: -0.48px;
  }
  .advocacy-center p{
    width: 80%;
  }
  .newsroom{
    height: auto;
    flex-direction: column;
    padding-block: 50px;
  }
  .swiper-slide.news-card{
    width: 80vw;
  }
  .newsroom-text{
    margin-inline: 20px;
  }
  .newsroom-left button{
    display: none;
  }
  .team{
    height: auto;
  }
  .team p{
    width: 80%;
    max-width: 80%;
  }
  .flip-card{
    width: 80vw;
    height: 80vw;
  }
  .team-controls{
    bottom: -50px;
  } 
  .team-controls div{
    width: 50px;
    height: 50px;
    gap: 10px;
  }
  .advocacy-center{
    gap: 10px;
  }
  .sales{
    height: auto;
  }
  .sales-content{
    height: 300px;
    margin-top: 50px;
  }
  .bg-image-solar{
    height: 100%;
  }
  .bg-image-solar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80%;
  }

  .advocacy{
    padding: 50px 20px 80px 20px;
  }
  .advocacy .img-left{
    display: none;
  }
  .advocacy .img-right{
    position: relative;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: auto;
  }
  .advocacy .img-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
  }
  .advocacy-center h3{
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .advocacy-center p{
    width: 100%;
    margin-bottom: 20px;
  }

  .tune-in{
    padding: 50px 20px 80px 20px;
    height: auto;
    margin-bottom: 50px;
    flex-direction: column;
  }
  .tune-in .right-img-tune{
    width: 100%;
    margin-top: 20px;
  }
  .tune-in .right-img-tune img{
    width: 100%;
    object-fit: contain;
  }
  .tune-in p{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .tune-in .img-left{
    height: auto;
  }
  .tune-in .img-right{
    height: auto;
    z-index: 0;
  }
  .tune-in-center{
    position: relative;
    z-index: 1;
  }
}

@media (768px <= width < 1024px){
  .tune-in .img-right, .tune-in .img-left {
    width: 25%;
  }
  .sales-content{
    height: 400px;
  }
}
@media (width < 768px) {
  
  .tune-in .img-right, .tune-in .img-left {
    width: 40%;
  }
}
