.header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  grid-gap: 20rem;
  padding: 1rem 0 0 1rem;

  .logo-container {
    width: 200px;
  }

  .navbar {
    display: flex;
    z-index: 1000;
    position: relative;
    flex-direction: column;
    grid-gap: 1rem;
    flex: 1;
    align-items: right;

    ul {
      list-style: none;
      margin: 0;
      padding: 0 2rem 0 0;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      height: 60px;
      grid-gap:2rem;

      li {

        a {
          color: white;
          text-decoration: none;
          font-size: 16px;
          font-weight: 400;
          padding: 10px 15px;
          border-radius: 5px;
          transition: background-color 0.3s ease;

          &:hover {
            background-color: rgba(255, 255, 255, 0.2);
          }

          &.active {
            border-bottom: 2px solid red;
          }
        }
      }
    }
  }
}

.border-styled {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  .border-styled-red {
    width: 1rem;
    height: 2px;
    background-color: red;
  }

  .border-styled-clear {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.161);
    flex: 1;
  }
}

.liberty-border-styled {
  display: flex
  ;
      flex-direction: row;
      align-items: center;
      width: 100%;
      grid-gap: 1rem;

  .liberty-logo-mark-container {
    width: 65px;

    .liberty-vote-logo {
      width: 65px;
    }
  }

  .border-styled {
    flex: 1;
  }
}

.content-wrapper {
  flex: 1;
  display: flex;
}

.content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55rem;
  margin: 0 0 0 45%;
  top: 50%;
}

h1 {
  font-family: "DIN Narrow", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  text-align: left;

  &.home-page {
    font-size: 3.9rem;
    letter-spacing: 0.15rem;
  }
}



.liberty-vote-logo {

  .text-liberty {
    .path {
      fill: white;
    }
  }

  .text-vote {
    .path {
      fill: white;
    }
  }

  .liberty-logo-mark {

    .star-fill {
      &.path {
        fill: #ed1652;
      }
    }

    .eagle-fill {
      &.path {
        fill: white;
      }
    }

    .eagle-eye {
      &.path {
        fill: #fcee1d;
      }
    }

  }
}

  /* Our Promise Rules */

  .promise-header, .contact-header {
    display: flex;
    width: 100%;
    grid-gap: 2rem;

    .double-border {
      height: auto;
      flex: 1;

      .border-styled {
        &:last-child {
          width: 66.66%
        }
      }
    }
  }

  .content-container.promise {
   font-size: 1.5rem;
   line-height: 2rem;

     .sig-container {
       width: 20rem;

       .sl-sig {
         width: 10rem;

         .path {
           fill: white;
         }
       }
     }
  }

  /* Contact Form Rules */

  .content-container.contact {
    font-size: 1.6rem;
    max-width: 60rem;
    width: 60rem;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .contact-header h1 {
    margin-bottom: 2rem;
  }

  .double-border {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 2rem 0;
  }

  .contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 3rem;

    h1 {
      margin: 0 0 1rem;
    }

    p {
      font-size:1.2rem;
    }
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .form-row {
    display: flex;
    gap: 2rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .form-group.full-width {
    width: 100%;
  }

  .form-group label {
    color: white;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    display: block;
  }

  .form-group input,
  .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1.4rem;
    font-family: "DIN", sans-serif;
    font-weight: 400;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  }

  .form-group input.error,
  .form-group textarea.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
  }

  .error-message {
    color: #ff6666;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    display: none;
  }

  .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .submit-btn {
    background: rgb(39, 144, 210);
    border: none;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    font-family: "DIN", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 1.5rem 4rem;
    min-width: 20rem;
    width: 100%;
  }

  .submit-btn:hover {
    background: linear-gradient(135deg, rgb(87, 181, 240) 0%, rgb(39, 144, 210) 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .submit-btn:active {
  }

  .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }

  .btn-loading {
    display: none;
  }





/* Contact Form Styles */

.content-container.contact {
  font-size: 1.6rem;
  max-width: 60rem;
  width: 60rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  margin-bottom: 2rem;
}

.double-border {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 3rem;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: flex;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}

.form-group input,
.form-group textarea {
  background: rgb(0 0 0 / 24%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0.5rem;
  color: white;
  font-size: 1.4rem;
  font-family: "DIN", sans-serif;
  font-weight: 400;
  padding: 1.5rem;
  transition: all 0.3s
ease;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 0 10px 0 rgb(0 0 0 / 37%);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.error-message {
  color: #ff6666;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  display: none;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-loading {
  display: none;
}

.video-container {
  width: 100%;
  margin: 0 0 2rem;
}
