.accordion-item {
  margin-bottom: 10px;
}

.accordion-header {
  background: none;
  border: none;
  color: #00dd00;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px dashed #00dd00;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-left: 10px;
  
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding-top: 10px;
}


.modal, .modal-content {
  animation: none !important;
}

.modal {
  display: none;
  position: fixed !important;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
 }

    .modal-content {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #111;
      border: 1px solid #00dd00;
      color: #00dd00;
      padding: 40px;
      width: 90%;
      max-width: 600px;
      box-shadow: 0 0 20px #00dd00;
      z-index: 10000;
      text-align: center;
    }

    .close {
      position: absolute;
      top: 10px;
      right: 20px;
      color: #00dd00;
      font-size: 24px;
      cursor: pointer;
    }

    .close:hover {
      color: red;
    }
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 1rem;
}

.client-block {
  background: #231239;
  border: 1px solid #322942;
  border-radius: 4px;
  color: #dbd4e9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  width: 300px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 1rem;
  letter-spacing: 1px;
  word-spacing: 2px;
  line-height: 1.4;
}

.client-block img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: brightness(1.2); /* optional: makes logos pop on dark bg */
}

.client-block:hover {
  background: #030626;
  transform: scale(1.05);
}

.client-block:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.client-block small {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: normal;
  margin-top: 0.25rem;
  display: block;
}

/*------------------------------------------------------------------------------------*/
.modal-box {
  width: 500px;
  max-width: 90%;
  background-color: #000;
  color: #0f0;
  border: 2px solid #0f0;
  padding: 20px;
  margin: auto;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 10px #0f0;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.modal-box label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 14px;
}

.modal-box input[type="text"],
.modal-box input[type="email"],
.modal-box textarea {
  width: 100%;
  font-size: 14px;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #000;
  color: #0f0;
  border: 1px solid #0f0;
}

.modal-box textarea {
  resize: vertical;
  height: 60px;
}

.modal-box button {
  background-color: black;
  color: #0f0;
  border: 1px solid #0f0;
  padding: 5px 10px;
  margin: 5px;
  font-size: 20px;
  cursor: pointer;
}

.modal-box .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.modal-box .g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
  margin: 0 auto;
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}


.close-button {
  position: absolute;
  top: 8px;
  right: 12px;
  background: black;
  color: #0f0;
  border: 1px solid #0f0;
  font-size: 16px;
  font-family: monospace;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  transition: background 0.2s;
}

.close-button:hover {
  background: #0f0;
  color: black;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.button-row button {
  flex: 1;
  max-width: 120px;
}

.checkbox-row {
  gap: 6px;
  margin-bottom: 15px;
}

.checkbox-row label {
  float: none !important;
  clear: none !important;
  padding-top: 0 !important;
  margin: 0 !important;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  color: #0f0;
}

.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.g-recaptcha {
  transform: scale(0.92);
  transform-origin: center;
}

.modal-box {
  width: 500px;
  max-width: 90vw;
  background-color: #000;
  color: #0f0;
  border: 2px solid #0f0;
  padding: 20px;
  margin: auto;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 10px #0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-sizing: border-box;
}

.modal-box form {
  width: 100%;
}

.modal-box input[type="text"],
.modal-box input[type="email"],
.modal-box textarea {
  width: 100%;
  font-size: 14px;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #000;
  color: #0f0;
  border: 1px solid #0f0;
  box-sizing: border-box;
}

.modal-box textarea {
  resize: vertical;
  height: 60px;
}

.modal-box .checkbox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  font-size: 14px;
  word-break: break-word;
}

.modal-box .checkbox-row input[type="checkbox"] {
  margin: 0;
}

.modal-box .checkbox-row label {
  flex: 1 1 85%;
  white-space: normal;       /* allow wrapping */
  overflow-wrap: break-word; /* break long words if needed */
  word-break: break-word;    /* extra fallback */
  max-width: 100%;           /* constrain width */
  line-height: 1.4;
}

.modal-box .g-recaptcha {
  transform: scale(0.85);
  transform-origin: center;
  margin: 10px auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.modal-box button {
  background-color: black;
  color: #0f0;
  border: 1px solid #0f0;
  padding: 5px 10px;
  margin: 5px;
  font-size: 14px;
  cursor: pointer;
}

.modal-box h3 {
  width: 100%;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.modal-box form {
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px; /* optional: left/right internal spacing */
}

.iti {
  width: 100%;
}

.iti__country-list {
  max-height: 200px;
  overflow-y: auto;
  background-color: #000;
  border: 1px solid #0f0;
  color: #0f0;
  z-index: 9999; /* ensure it's above the modal */
  font-family: 'Courier New', monospace;
}
input[name="cellNumber"] {
  padding-left: 50px; /* room for flag dropdown */
}

/*_____________________________________________________ Tablet: 768px and below */
@media (max-width: 768px) {
  .modal-box {
    width: 95vw;
    padding: 15px;
  }

  .modal-box .g-recaptcha {
    transform: scale(0.85);
  }
}

/* Small phone: 480px and below */
@media (max-width: 480px) {
  .modal-box {
    width: 98vw;
    padding: 12px;
  }

  .modal-box input[type="text"],
  .modal-box input[type="email"],
  .modal-box textarea {
    font-size: 13px;
  }

  .modal-box .checkbox-row label {
    flex: 1 1 100%;
    font-size: 13px;
  }

  .modal-box .g-recaptcha {
    transform: scale(0.75);
  }

  .modal-box button {
    font-size: 13px;
    padding: 4px 8px;
  }
}

/* Ultra-small phones (e.g. iPhone SE landscape) */
@media (max-width: 360px) {
  .modal-box {
    width: 100vw;
    padding: 10px;
  }

  .modal-box .g-recaptcha {
    transform: scale(0.68);
  }

  .modal-box button {
    font-size: 12px;
  }
}


/* --- Autofill Fix (keep this at the end of modals.css) ---
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  background-color: #000 !important;
  color: #0f0 !important;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  box-shadow: 0 0 0px 1000px #000 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

*/
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  background-color: #000 !important;
  color: #0f0 !important;
  caret-color: #0f0;
  font-family: 'Courier New', monospace !important;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  box-shadow: 0 0 0px 1000px #000 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}
input,
textarea {
  caret-color: #0f0;
}

