body {
  font-family: "Lato", sans-serif;
  color: #cbd5e0; /* Softer white text */
  line-height: 1.8;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #ffffff; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a, a:hover {
    text-decoration: none !important; }

.text-black {
  color: #000; }

.content {
  padding: 7rem 0;
  display: flex;
  justify-content: center;
  align-items: center; }

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 800px; /* Increased max-width for larger screens */
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 900px; /* Further increased for very large screens */
    }
}

h2 {
  font-size: 3.5rem;
  font-weight: 700; }

h3 {
  font-size: 2rem;
  font-weight: 700; }

.form-control {
  background-color: #2d3748; /* Darker input background */
  border: 1px solid #4a5568; /* Gray border */
  color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease; }
  .form-control:active, .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25); /* Gold focus shadow */
    border-color: #D4AF37; /* Gold focus border */
    background-color: #2d3748; }
  .form-control::placeholder {
    color: #718096;
  }

.col-form-label {
  color: #e2e8f0; }

.btn, .form-control {
  height: 55px; }

.heading {
  color: #888;
  letter-spacing: .05rem;
  text-transform: uppercase;
  font-weight: 400; }

.btn.btn-primary {
  background-color: #D4AF37; /* Gold button */
  border-color: #D4AF37;
  color: #1a202c; /* Dark text on button */
  font-weight: bold;
  border-radius: 4px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  .btn.btn-primary:hover {
    background-color: #c5a232; /* Darker gold on hover */
    border-color: #c5a232;
    color: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
  }
  .btn:active, .btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none; }

.box {
  padding: 40px;
  background: #2d3748; /* Dark card background */
  border-radius: 12px; /* More rounded corners */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #4a5568;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  @media (min-width: 768px) {
    .box {
      padding: 50px;
    }
  }
  .box h3 {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center; }

label.error {
  font-size: 12px;
  color: red; }

#message {
  resize: vertical; }

#form-message-warning, #form-message-success {
  display: none; }

#form-message-warning {
  color: #B90B0B; }

#form-message-success {
  color: #55A44E;
  font-size: 18px;
  font-weight: bold;
  text-align: center; }

.submitting {
  text-align: center;
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-weight: bold;
  font-size: 12px;
  color: #000; }

/* Custom File Input */
.custom-file {
  position: relative;
  height: 55px; /* Match other form controls */
  width: 100%;
}

.custom-file-input {
  display: none;
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  padding: 0 1.25rem;
  font-weight: 400;
  line-height: 55px; /* Vertically center text */
  color: #e2e8f0;
  background-color: #4a5568;
  border: 1px solid #4a5568;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-file-label:hover {
  background-color: #2d3748;
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 100%;
  padding: 0 1.25rem;
  line-height: 55px; /* Vertically center text */
  content: "Browse";
  background-color: #D4AF37;
  color: #1a202c;
  font-weight: bold;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* OTP Input Styles */
#otp-inputs {
  gap: 10px;
  flex-wrap: nowrap; /* Prevent wrapping */
  justify-content: center;
}

.otp-input {
  width: 45px;
  height: 55px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0;
}

@media (max-width: 576px) {
  #otp-inputs {
    gap: 4px; /* Further reduce gap on small screens */
  }
  .otp-input {
    width: 32px; /* Further reduce width of each box */
    height: 45px; /* Reduce height */
    font-size: 1.2rem; /* Reduce font size */
  }
}
