: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(14px, 1.1vw, 1.625vw);
  --font-size-p: clamp(16px, 1.2vw, 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: normal;
}
@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 */
}
.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: 130%;
}
.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 */
}
.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 */
}
.mission {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 5%;
  padding-top: 5%;
  height: auto;
}
.mission h5{
  margin-bottom: 3%;
  letter-spacing: 1.5px;
  font-size: clamp(16px, 1vw, 1.3vw);
}
.linear-bg-green {
  background: linear-gradient(256deg, #2C5134 50.66%, #323A34 89.02%);
}
.mission-content {
  width: 80%;
  overflow: hidden;
  position: relative;
  border-radius: 4.35dvw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 10vh;
}
.mission-content p {
  color: #FFF;
  text-align: center;
  max-width: 50%;
  margin-top: 10%;
  margin-bottom: 10%;
}
.bg-image-solar{
  position: absolute;
}
.bg-image-solar img{
  width: 80dvw;
}
.mission .panel-img {
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: fit-content;
  display: flex;
  justify-content: center;
  margin-top: 10%;
  width: 100%;
}
.panel-img img{
  width: 50%;
}
/*Section 2 Advocacy*/

.advocacy, .advocacy-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.advocacy-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;
}
.advocacy-center h3 {
  color: var(--Secondary-Lime, #CDEA80);
  font-family: "Articulat CF";
  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%;

}
.advocacy-center button{
  margin-top: 1%;
}
.marquee-container{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: fit-content;
  background-color: #F6F6F6;
  display: flex;
  align-items: center;
  padding-block: 20px;
}
.marquee{
  width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2dvw;

}
.marquee-item{
  font-size: var(--font-size-h4);
  color: #2C5134;
  font-family: 'Articulat CF';  
  font-weight: bold;
  text-wrap: nowrap;
}
.seia, .solar-aliance {
  display: flex;
  justify-content: center;
  align-items: center;
}
.seia img{
  width: 9.2dvw;
}
.solar-aliance img{
  width: 15dvw;
}

/*Newsroom Section*/
.swiper{
  overflow: visible !important;

}
.newsroom {
  display: flex;
}
.newsroom-left{
  margin-left: 2.5dvw;
  padding-top: 14%;
}
.newsroom-text {
  min-width: 25vw;
}
.newsroom-text h5 {
  color: var(--Primary-Dark, #666);
  font-family: "Articulat CF";
  font-size: clamp(16px, 1vw, 1.3vw);
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  margin-bottom: 2%;
}
.newsroom-text h3 {
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF Bold";
  font-size: var(--font-size-h2);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
  margin-bottom: 3%;
}
.newsroom-text p {
  color: #666;
  font-family: "Neue Haas Unica Pro";
  font-size: clamp(16px, 1vw, 1.3vw);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  max-width: 60%;
  margin-bottom: 10%;
}

/*newsroom card*/
.newsroom-right {
  display: flex;
  gap: 20px;
  justify-content: end;
  align-self: center;
}

.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: 58vh;
  min-height: 400px;
}
.swiper-slide .card-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  height: 100%;
}
.news-card .img-container{
  height: clamp(150px, 25vw, 25vw );
  width: 100%;
  min-height: clamp(150px, 18vw, 25vw );
  overflow: hidden;
  border-radius: 0 0 5% 5%;
}
.swiper.news-container{
  height: 60vh;
}
.news-card .img-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card a {
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF Bold";
  font-size:  clamp(18px, 1.1vw, 1.625vw);
  font-style: normal;
  text-align: start;
  padding-inline: 20px;
  font-weight: 700;
  line-height: 130%; /* 28.6px */
  
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card h6 {
  color: #949494;
  font-family: "Articulat CF";
  font-size: clamp(18px, 1.1vw, 1.625vw);
  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 Bold";
  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, .team a {
  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 CF';
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
}
.btn-white:hover {
  background: var(--Secondary-Lime, #CDEA80);
  color: #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;
}

.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%;
  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;
  overflow: 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){
  *{
    letter-spacing: 1px;
  }
  .text-xs{
    
  }
  .text-sm{
    font-size: 12px;
  }
  .text-normal{
    font-size: 34px;
  }
  .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{
    width: calc(100% - 32px);
    margin-top: 10%;
  }
  .mission-content p{
    max-width: 80%;
    margin-top: 15%;
    font-size: 14px;
    opacity: 1 !important;
  }
  .newsroom-text p{
    font-size: 16px;
    max-width: 100%;
  }
  .newsroom-text h3{
    margin-block: 20px;
  }
  .advocacy{
    height: fit-content;
    padding-top: 50px;
  }
  .advocacy-center p{
    margin-top: 20px;
  }
  .advocacy .btn-white{
    margin-bottom: 50px;
    margin-top: 20px;
  }
}

/*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;
}

.follow-us{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 5%;
  margin-bottom: 50px;
}
.follow-us h5{
  color: var(--Primary-Green, #2C5134);
  font-family: "Articulat CF";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 18px */
}
.follow-us a
{
  color: #666;
  font-family: "Articulat CF";
  font-size: var(--font-size-h5);
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 22px */
}
.follow-videos{
  width: 100%;
  display: grid;
  gap: 0.7%;
  grid-template-columns: repeat(auto-fit,  minmax(150px, 1fr));
}
.follow-videos img{
  width: 100%;
  height: 15vw;
  object-fit: cover;
}
.follow-us{
  height: auto;
}

@media (width <= 768px) {
  .subnav {
    display: none;
  }
  .mission .panel-img{
    margin-top: 0;
  }
  .mission .panel-img img{
    width: 80%;
  }
  .mobile-subnav {
    display: block;
    width: calc(100% - 32px);
    margin-top: 0px;
  }
  .swiper.slider-team-container .swiper-slide {
    transform: scale(0.9);
  }
  .swiper.slider-team-container .swiper-slide-active {
    transform: scale(1);
  }
  .follow-us h5, .follow-us a{
    font-size: 18px;
  }
  .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 Bold";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    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 */
  }
  .advocacy-center p{
    width: 80%;
  }
  .newsroom{
    height: auto;
    flex-direction: column;
    padding-block: 50px;
  }
  .swiper-slide .card-text{
    height: auto;
  }
  .news-card .img-container{
    height: 280px;
  }
  .swiper-slide.news-card{
    width: 80vw;
    height: 450px;
  }
  .newsroom-left{
    margin-left: 20px;
  }
  
  .newsroom-left a{
    display: none;
  }
  .team{
    height: auto;
    margin-bottom: 80px;
  }
  .team h2{
    margin-bottom: 10px;
  }
  .team p{
    font-weight: 400;
    margin-bottom: 30px;
    width: 80%;
    max-width: 80%;
  }
  .team-controls{
    gap: 5px;
  }
  .flip-card{
    width: 75vw;
    height: 80vw;
  }
  .follow-videos {
    gap: 10px;
    padding-inline: 10px;
  }
  .team-controls{
    position: relative;
    justify-content: flex-end;
    margin-right: 20px;
  } 
  .team-controls div{
    width: 50px;
    height: 50px;
    gap: 10px;

  }
  .follow-us a{
    width: 46vw;
    height: 46vw;
  }
  .team-controls .team-prev {
    opacity: 0.4;
  }
  .team-controls .team-prev svg{
    position: relative;
    left: -2px;
  }
  .advocacy-center{
    gap: 10px;
  }
  .seia img{
    width: 80px;
  }
  .solar-aliance img{
    width: 120px;
  }
  .marquee{
    gap: 20px;
  }
}

@media (768px <= width <= 1024px){
  .newsroom-right{
    width: 100%;
    justify-content: center;
  }
  .newsroom-right .swiper-wrapper{
    display: flex;
    justify-content: space-around;
  }
  .newsroom-right .swiper{
    margin: 0;
    width: 100%;
  }
  .swiper-slide.news-card{
    width: 28vw;
  }
}
@media (width <= 1024px){
  .subnav-container{
    padding-top: 100px;
  }
  .mission{
    padding-top: 50px;
  }
  .mission-content{
    margin-top: 40px;
    border-radius: 40px;
    min-height: 400px;

  }

  
  .newsroom{
    height: auto;
    flex-direction: column;
    padding-block: 50px;
    align-items: flex-start;
  }
  .newsroom-left{
    margin-left: 20px;
  }
  .newsroom-left button{
    display: none;
  }
  .swiper.news-container{
    height: auto;
  }
}