
form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 10px;
}

textarea {
  height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  margin-right: 5px;
}



    /* Checkbox Label Styles */
    input[type="checkbox"] {
      display: none;
    }
    
    .checkbox-label {
      display: inline-block;
      position: relative;
      cursor: pointer;
      margin-right: 10px;
    }
    
    .checkbox-label::before {
      content: "";
      display: inline-block;
      width: 20px;
      height: 20px;
      background-image: url('../images/checkbox_unclicked.png');
      background-repeat: no-repeat;
      background-size: cover;
      transition: background-image 0.3s ease;
    }
    
    input[type="checkbox"]:checked + .checkbox-label::before {
      background-image: url('../images/checkbox_clicked.png');
    }
    
    /* Radio Button Label Styles */
    input[type="radio"] {
      display: none;
    }
    
    .radio-label {
      display: inline-block;
      position: relative;
      cursor: pointer;
      margin-right: 10px;
    }
    
    .radio-label::before {
      content: "";
      display: inline-block;
      width: 20px;
      height: 20px;
      background-image: url('../images/radio-btn-unselected.png');
      background-repeat: no-repeat;
      background-size: cover;
      transition: background-image 0.3s ease;
    }
    
    input[type="radio"]:checked + .radio-label::before {
      background-image: url('../images/radio-btn-selected.png');
    }

    /* Select Styles */
    select::-ms-expand {
      display: none;
    }


    .custom-dropdown {
      position: relative;
      display: inline-block;
      cursor: pointer;
      width: 100%;
    }

    .custom-dropdown select {
      display: none;
    }

    .custom-dropdown .dropdown-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px;
      background-color: #ffffff;
      border: 1px solid #ccc;
      border-radius: 4px;
    width: 96%;
    }

    .custom-dropdown .dropdown-label::after {
      content: "";
      display: inline-block;
      width: 16px;
      height: 16px;
      background-image: url('../images/dropdown_arrow2.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
    }

    .custom-dropdown .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
    max-height: 200px;
      overflow-y: auto;
      display: none;
      background-color: #ffffff;
      border: 1px solid #ccc;
      border-top: none;
      border-radius: 4px;
      z-index: 9999;
    list-style-type: none;
    padding-left: 0;
    }

    .custom-dropdown .dropdown-menu.open {
      display: block;
    margin: 0;
    width: 100%;
    }

    .custom-dropdown .dropdown-menu li {
      padding: 10px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .custom-dropdown .dropdown-menu li:nth-child(even) {
      background-color: #f8f8f8; /* Off-white background color for even items */
    }

    .custom-dropdown .dropdown-menu li:nth-child(odd) {
      background-color: #ffffff; /* White background color for odd items */
    }

    .custom-dropdown .dropdown-menu li:hover {
      background-color: #f1f1f1; /* Hover background color */
    }





input[type="submit"] {
  display: inline-block;
  background-color: #ed4247;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #c72126;
}

fieldset {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

legend {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}





















/* Form Section Styles */

.form-section {
  padding: 40px 0;
  text-align: center;
}

.form-section h2 {
  color: #354c69;
  font-size: 28px;
  margin-bottom: 20px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  color: #354c69;
  font-size: 18px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 96%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

input[type="submit"] {
  display: inline-block;
  background-color: #ed4247;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #c72126;
}