/* Bribery Page Specific Styles */

.video-container video {
  position: relative;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: none;
}

.video-container > img.slider {
  z-index: 11;
}

body .justify-content-center {
  justify-content: center !important;
}

.countercorner {
  z-index: 0;
}

.btnwrap {
  margin-top: 0;
}

.btnwrap .mybtn {
  min-width: 13.4375rem;
}

.research-title {
  text-align: center;
  padding-top: 0.625rem;
  padding-bottom: 1.5625rem;
  border-bottom: 4px solid var(--color-secondary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: slategray;
}

.main-title.a {
  padding-bottom: 1.875rem;
}

.value {
  background: var(--color-border-light);
  padding: 2.5rem;
  display: flex;
  margin-bottom: 1.875rem;
  max-width: 25rem;
  min-height: 12.5rem;
}

.gates {
  overflow-x: hidden;
}

/* Form Styles */
.form-container {
  text-align: right;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.625rem;
  max-width: 100%;
}

.form-container h4 {
  color: var(--color-primary);
  text-align: right;
  font-size: 2.0625rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: right;
  color: var(--color-primary);
}

.form-group select {
  color: var(--color-primary);
  margin-bottom: 0.625rem;
  width: 100%;
  max-width: 100%;
  height: 3.125rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 4px solid var(--color-border);
  font-size: 1.125rem;
  background-color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.1875rem;
  text-align: right;
}

.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-primary {
  margin-top: 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.625rem 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  width: 12.5rem;
  border-radius: 0.25rem;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-primary);
}

hr {
  margin-top: 1.25rem;
  border-top: 2px solid var(--color-secondary);
  opacity: 1;
}

.calendar-img {
  width: 1.25rem;
  height: 1.25rem;
  background-color: whitesmoke;
}

.calendar-one-inner {
  background-color: whitesmoke;
  padding: 1.875rem 2.8125rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.calendar-one {
  padding-top: 5rem;
}

textarea.form-control {
  min-height: 6.25rem;
}

.form-control {
  padding: 0.75rem 1.25rem;
}

/* Media Queries */
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 33.75rem;
    padding-right: 3.75rem;
  }
}

@media (max-width: 1199px) and (min-width: 770px) {
  /* Increase the width of the boxes */
  .value {
    background: var(--color-border-light);
    padding: 2.5rem;
    display: flex;
    margin-bottom: 1.25rem;
    max-width: 100%; /* Increase width to 48% for a larger box */
    min-height: 31.25rem;
    margin-right: 2%; /* Add margin between boxes */
  }

  /* Adjust spacing between boxes */
  .col-md-4 {
    flex: 0 0 48%; /* Ensure two boxes per row */
    max-width: 48%;
    margin-bottom: 1.25rem; /* Adjust vertical space between boxes */
  }

  /* Ensure equal height for all boxes */
  .value-title {
    flex-grow: 1;
  }

  /* Make sure the second box is properly spaced */
  .col-md-4:nth-child(odd) {
    margin-right: 4%;
  }
}
