:root {
  --primary-color: #1b2d4c;
  /* Matches your logo */
  --border-color: #2e456c;
  /* Slightly lighter shade for borders */
  --text-color: rgb(24, 24, 24);
  --bg-color: rgb(255, 255, 255);
  --heading-color: rgb(255, 255, 255);
}

body {
  font-family: "Tahoma";
  width: 100%;
  height: auto;
}

main {
  width: 100%;
  min-height: 100vh;
  background-image: url(../images/bg1.jpg);
  position: relative;
  display: grid;
}

main:before {
  content: "";
  background-color: rgb(0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.wrapper {
  width: 100%;
  height: 100%;
  padding: 100px 0;
  display: grid;
  /* place-content: center; */
  align-content: center;
  position: relative;
}

.Trim-vote {
  width: 75%;
  margin: 0 auto;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-color);
}

header {
  padding: 30px;
  display: grid;
  place-content: center;
  text-align: center;
  background-color: var(--primary-color);
}

.main-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.447;
  width: 70%;
  margin: 0 auto;
}

.step {
  width: 50%;
  margin: 0 auto;
  padding: 40px 0 25px 0;
}

.radioField {
  width: 100%;
  height: 80px;
  position: relative;
  margin-bottom: 12px;
  display: grid;
  align-content: center;
  padding: 0 20px 0 50px;
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  content: "";
  width: 0%;
  height: 100%;
  background-color: rgb(255, 212, 158);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: 1.5s ease-in-out;
}

.radioField input {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: solid 2px rgb(229, 229, 229);
  background-color: var(--bg-color);
  border-radius: inherit;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.radioField label {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 700;
  position: relative;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radioField label span {
  font-size: 18px;
  visibility: hidden;
}

.radioField input:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0;
  position: absolute;
  top: 50%;
  right: 0px;
  font-size: 15px;
  color: var(--heading-color);
  display: grid;
  place-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.5s all cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10;
}

.radioField input:hover {
  border-color: rgb(112, 144, 231);
}

.radioField input:checked:before {
  opacity: 1;
  right: 40px;
}

.radioField input:checked {
  border-color: rgb(112, 144, 231);
}

.selected.radioField input:checked::before {
  right: 25%;
}

.disabled {
  pointer-events: none !important;
}

.voteBtn {
  width: 100%;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 10px;
  border: solid 2px transparent;
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 700;
  margin-top: 55px;
}

.hoverBtn {
  position: relative;
  overflow: hidden;
}

.hoverBtn::before {
  content: "";
  width: 100%;
  height: 100%;
  clip-path: circle(0% at 50% 50%);
  background-color: var(--heading-color);
  position: absolute;
  left: 0;
  top: 0;
  transition: 0.2s all ease-in-out;
}

.hoverBtn span {
  position: relative;
  z-index: 100;
  transition: 0.2s;
}

.hoverBtn:hover span {
  color: var(--primary-color);
}

.hoverBtn:hover {
  border-color: var(--primary-color);
}

.hoverBtn:hover::before {
  clip-path: circle(70.7% at 50% 50%);
}

/* thankyou Page */
.thankyouPage .wrapper {
  width: 100%;
  padding: 50px 0;
}

.thankyouInner {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  background-color: var(--bg-color);
  text-align: center;
  padding: 100px 0;
  border-radius: 10px;
}

/* thankyou Page */
.thankyouHeading {
  font-size: 76px;
  color: rgb(47, 49, 70);
  font-weight: 700;
}

.highlight {
  color: var(--primary-color);
  display: block;
}

.line {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.thanksDesc {
  margin: 0 auto;
  width: 65%;
  font-size: 18px;
  color: rgb(95, 95, 99);
  font-weight: bold;
  margin-top: 30px;
}

.socialBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}

.socialBtn a {
  color: rgb(0, 0, 0);
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
}

.socialBtn a i {
  font-size: 20px;
  margin-right: 10px;
}

.footer-links {
  display: flex !important;
  flex: 2 !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 100px !important;
  min-width: 300px !important;
  margin-top: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 18px;
}

.footer-links ul li a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  font-size: 16px;
}

.footer-links ul li a:hover {
  color: #1b2d4c;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main-menu {
  background: #f9f9f9;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid #e0e0e0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 10px 20px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
}

.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 5px;
  display: block;
  font-weight: 500;
}

.menu li.active a {
  border-bottom: 3px solid #f8368f;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  z-index: 1000;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li a {
  padding: 10px 20px;
  font-size: 13px;
  color: #111;
  text-transform: capitalize;
  border-bottom: 1px solid #f8368f10;
}

.submenu li a:hover {
  background: #f9f9f9;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #000;
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .menu.show {
    display: flex;
  }

  .menu li {
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }

  .menu li a {
    padding: 10px 0;
    font-size: 15px;
  }

  .submenu {
    position: static;
    background: #fff;
    box-shadow: none;
    padding: 0;
    margin-top: 5px;
  }

  .has-submenu.active .submenu {
    display: block;
  }

  .submenu li a {
    padding: 10px 20px;
    border-bottom: 1px solid #f8368f30;
  }
}