/* * {
    box-sizing: border-box;
} */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;;
    overflow-x: hidden;
  }

  h1 {
    font-family: 'Baskervville', serif
  }
  a {
    text-decoration: none;
    color: #262626;
  }
  .h1 {
    font-size: 5rem;
    font-weight: lighter;
    margin: 40px auto 20px;
    text-align: center;
    color: #004B52;
    max-width: 50vw;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    height: 90px;
  }
  .hamburger-container {
    position: relative;
    display: flex;
    align-items: center;
  }
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 4px;
  }
  
  .nav-links {
    display: flex;
    list-style-type: none;
  }
  
  .nav-links li {
    margin: 0 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
  }
  
  .cta-button {
    background-color: #46B97D;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
   
  }
  .btn {
    margin-top: 100px;
    display: inline-block;
  }
  
  .cta-button:hover {
    background-color: #228B22;
  }
  /* Navbar responsive styles */
  .cancel-button {
    display: none;
    color: black;
    border: none;
    cursor: pointer;
    right: 0;
    top: 0;
    z-index: 2;
    font-size: 2rem;
  }
  

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 50px;
  }
  .hamburger img {
    width: 40px;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px;
    transition: 0.4s;
  }
 /* hero section */
 .voter-hero {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    padding-left: 100px;
    align-items: center;
    /* max-width: 1200px; */
    gap: 100px;
    margin: 0 auto;
    max-width: 100%;
    /* box-sizing: border-box; */
    /* border: 2px solid black; */
    /* max-height: 100vh; */
}

.voter-content {
    max-width: 50%;
    flex: 2 ;
    /* border: 2px solid black; */
}

 .voter-hero h1 {
    text-align: left;
     line-height: 1.2;
    color: #004B52;
    margin-bottom: 40px;
    
} 

.voter-btn {
    padding: 15px 30px;
    background-color: #46B97D;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.voter-btn:hover {
    background-color: #008f48;
}

.voter-images {
    display: flex;
    /* flex-direction: column; */
    flex: 1;
    gap: 10px;
    align-items: end;
    width: 40%;
    /* max-height: 200px; */
    /* border: 2px solid black; */
}

.voter-img-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.two {
    margin-top: 20px;
}

.voter-img {
    border-radius: 8px;
    object-fit: cover;
}
.tall {
    width: 250px;
    height: 300px;
}
.short {
    width: 250px;
}
.medium {
    width: 250px;
}
/* at blockvote styles */
.atblockvote {
    background-color: #91FDC5;
    /* text-align: center; */
    color: lightgreen;
    /* padding: 3rem 0; */
    min-height: 100vh ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    
}
.atflex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 
}

.atblockvote.change-color {
  color: #004B52; /* Color when changed */
}
.atblockvote p {
    font-weight: bolder;
    text-align: center;
}
.atblockvote h1 {
    width: 65%;
    margin: auto;
    font-size: 4rem;
    font-weight: normal;
    text-align: center;
    /* opacity: 0; */
    /* text-align: justify; */
}
/* slider styles */
.slider {
    padding: 100px 0;
    text-align: center;
}
 .slider > h1 {
    font-size: 4rem;
    color: #004B52;
    text-align: center;
    font-weight: normal;
    /* width: 50%; */
    position: relative;
    margin-bottom: 30px;
} 
.slidercontainer {
  display: flex;
  overflow: hidden;
  position: relative;
  max-width: 90%;
  margin: 0 auto;                                   
  /* max-width: 1200px; */

}

.sliderflex {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-shrink: 0;
  width: 80%;
  transition: transform 0.5s ease;
  background-color: #F5F5F5;
  border-radius: 48px;
  margin: 0 10px;
  padding: 30px;
  gap: 5rem;

}
.sliderflex > img {
    object-fit: cover;
    width: 40%;
    border-radius: 24px;
}
.sliderflex  h1 {
 color: #46B97D;
 font-size: 3rem;
 font-weight: normal;
 /* width: 50%; */

}
.slidercontent {
    /* max-width: 50vw; */
    flex: 2;
    max-width: 40%;
    /* background-color: red; */
    /* overflow: hidden; */
    text-align: left;
}
.mobile-image {
  display: none;
}

.desktop-image {
  display: block;
  max-width: 50%; /* Adjust as needed */
}


/* voter how blockvote style */
.votercontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 70vw; */
  /* max-width: 1200px; */
  background-color: #91FDC5;
  margin: 50px auto;
  border-radius: 24px;
  position: relative;
  padding: 50px 150px 50px;
  transform-origin: center;
  transition: transform 0.5s ease;
  }
  
  
  .voterleft-section {
    flex: 1.2;
    transform: translateX(-100%);
  opacity: 0;
  }
  
  .voterleft-section h1 {
    text-align: left;
    font-size: 4.5rem;
  }
  
  .voterright-section {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    transform: translateX(100%);
  opacity: 0;
    /* gap: 20px; */
  }
  
  .voterfeature {
    border-radius: 10px;
    padding: 20px;
    /* text-align: center; */
  
  }
  
  .votericon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #075e55;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    /* margin: 0 auto 15px; */
  }
  
  .votericon {
    color: white;
    font-size: 2rem;
  }
  
  .voterfeature h3 {
    font-size: 1.25rem;
    color: #004B52;
    margin-bottom: 10px;
  }
  
  .voterfeature p {
    font-size: 1rem;
    color: #004B52;
    line-height: 1.5;
  }

  /* ready to elevate? */
  .ready {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin-top: 150px;
}

  .votercontainer1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90vw;
    /* max-width: 1200px; */
    background-color: #91FDC5;
    margin: 50px auto;
    padding:  50px 0px ;
    border-radius: 24px;
    position: relative;
  }
  .votercontainer1 h1 {
    font-size: 3.5rem;
    color: #004B52;

  }
  .votergroup2img {
   position: absolute;
   width: 100%;
   bottom: 0;
   left: 0;
   object-fit: contain;
  }
  
  .votercontainer1 p {
    text-align: center;
    color: #004B52;
    font-size: larger;
    max-width: 50%;
    margin: 20px auto;
    /* padding-bottom: 100px; */
  }
  .votercontainer1 button {
    padding: 10px 15px;
    border-radius: 24px;
    margin-bottom: 100px;
    border: none;
    border: 1px solid #D0D5DD;
  font-size: larger;
  }

  /* Faq styles */
.faq-container {
    display: flex;
    padding: 50px;
    justify-content: space-around;
    /* background-color: #004B52; */
  }
  
  .faq-left {
    max-width: 30%;
  }
  
  .faq-left h2 {
    color: #69a691;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .faq-left h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .faq-left p {
    font-size: 1rem;
    line-height: 1.5;
    color: #063d33;
  }
  
  .faq-left a {
    color: #063d33;
    text-decoration: none;
  }
  
  .faq-right {
    /* max-width: 50%;
    min-width: 50%; */
    width: 50%;
  }
  
  .faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 15px 0;
  }
  
  .faq-question .icon {
    font-size: 1.5rem;
  }
  
  .faq-answer {
    display: none;
    padding: 10px 0;
    font-size: 1rem;
    color: #555;
  }
  
  .see-more a {
    color: #28A745;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
  }
  
  /* footer */
  .footer {
    background-color: #F5F5F5;
    height: 30vh;
    display: flex;
    justify-content: space-between;
    padding: 50px 10rem;
    align-items: center;
  }
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .logo2 {
    font-size: 1.5rem;
      font-weight: bold;
      display: flex;
      gap: 8px;
      
  }
  .footer-icon {
    display: flex;
    gap: 20px;
  }
  .footer-link {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
  }
  .footer-link a {
    text-decoration: none;
    color: #595959;
    font-weight: 700;
  }
  .legal {
    background-color: #F5F5F5;
    padding: 50px 10rem;
    
  
  }
  .legal-text {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin: auto;
    border-top: 1px solid black;
  }
  .legal-flex {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 10px;
  }

@media (max-width: 768px) {
  .h1 {
    font-size: 3rem;
  }
  .navbar {
    position: relative;
    padding: 0px 20px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 60%;
    background-color: white;
    transition: right 0.3s ease-in-out;
    padding-top: 60px;
    align-items: flex-start;
    text-align: left;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin: 20px 0;
    color: white;
  }

  #btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
  .hamburger-container .cancel-button.active {
    display: block;
  }

  .hamburger-container .hamburger.active {
    display: none;
  }

  /* Toggle the menu */
  .menu.active {
    display: flex;
  }


    /* voter hero responsive */
    .voter-hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        min-height: 80vh;

    }

    .voter-content {
        min-width: 90%;
        margin: 20px auto;
      /* background-color: green; */
      /* flex: 1; */
      display: flex;
      flex-direction: column;
      min-height: 60vh;
      justify-content: center;
      align-items: center;
    }
    .voter-content h1 {
      font-size: 2.5rem;
      min-width: 90vw;
      text-align: center;
      /* background-color: red; */
    }
    .voter-btn {
      margin: 0px auto;
      display: block;
    }

    .voter-images {
        display: none;
    }

   /* at blockvote */
   .atblockvote {
    min-height: 70vh;
    margin-bottom: 100px;
   }
   .atblockvote h1 {
    font-size: 2rem;
    width: 80%;
   }

    /* faqs */
    .faq-container {
      display: flex;
      flex-direction: column;
      width: 80vw;
    }
    .faq-item {
      width: 80%;
    }
    .faq-left {
      max-width: 80vw;
    }
    .faq-left h1 {
      text-align: left;
      /* background-color: red; */
      display: flex;
      justify-content: start;
      align-items: center;
      min-width: 100%;
    }

    .faq-right {
      width: 100vw;
    }
    /* slider */
    .slider {
      padding: 0;
      /* background-color: green; */
    }
    .slider > h1 {
      font-size: 2rem;
      min-width: 70vw;
      /* background-color: red; */
    }
    .slidercontainer {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .sliderflex {
      flex-direction: column;
        align-items: center;
      justify-content: center;
      gap: 2px;
      min-width: 90vw;
      padding: 0px 5px;
      border-radius: 16px;
      margin: auto;
      padding-bottom: 20px;
    }
    .sliderflex > img {
      width: 100%;
      /* height: auto; */
      /* background-color: red; */
      padding: 0;
      margin: 10px auto;
      border-radius: 8px;
    }
    .slidercontent {
      min-width: 80%;
      margin: auto;
      /* background-color: #008f48; */
    }

    .slidercontent h1 {
      font-size: 32px;
   
    }
  
    .desktop-image {
      display: none;
    }
  
    .mobile-image {
      display: block;
      max-width: 100%; /* Full width for mobile */
    }


    /* voter how */
    .votercontainer {
      flex-direction: column;
      min-width: 90vw;
      padding: 10px 10px;
      
    }
    .voterleft-section h1 {
      font-size: 2.5rem;
      text-align: left;
      min-width: 80vw;
      padding: 0;
      
    }
    .voterright-section {
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-content: start;
      gap: 50px;
      padding-left: 10px;
      padding-right: 10px;
    }
    .voterfeature {
      padding: 0;
    }

    /* ready */
    .votercontainer1 h1 {
      font-size: 3rem;
      min-width: 80vw;
      text-align: center;
      /* background-color: red; */
    }
    .votercontainer1 p {
      max-width: 80%;
      margin: 10px auto 50px;
    }
    .votercontainer1 button {
      font-size: larger;
    }

    /* footer */
    .footer {
      flex-direction: column;
      align-items: start;
      padding: 50px 30px;
      gap: 50px;
    }
    .legal {
      padding: 10px 0px;
    }

  }