/*------------------------------------------------------------------
Project:  ComingSoon
Primary use:  Form Styling
-------------------------------------------------------------------*/

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
  font-family: PlayfairDisplay-Regular;
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Regular.ttf'); 
}

@font-face {
  font-family: PlayfairDisplay-BlackItalic;
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-BlackItalic.ttf'); 
}

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/Poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/Poppins/Poppins-Medium.ttf'); 
}

/*//////////////////////////////////////////////////////////////////
[ RS PLUGIN ]*/
.container {
  max-width: 1200px;
}

/*//////////////////////////////////////////////////////////////////
[ Form ]*/
.form-group-container {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 4px;
  font-size: 14px;
  color: #333;
  font-family: Poppins-Regular;
}

/*------------------------------------------------------------------
[ Input ]*/
.wrap-input100 {
  width: 100%;
  position: relative;
  background-color: transparent;
  margin-bottom: 15px;
}

.input100 {
  display: block;
  width: 100%;
  height: 40px;
  padding: 8px 15px;
  background-color: #ffe151;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: Poppins-Regular;
  box-shadow: 0 5px 10px 0px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.input100:focus {
  box-shadow: 0 5px 10px 0px rgba(0,0,0,0.2);
  outline: none;
}

/* Select Input Styling */
select.input100 {
  height: 40px;
  padding: 0 15px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Textarea Input Styling */
textarea.input100 {
  height: 80px;
  padding: 10px 15px;
  resize: vertical;
  min-height: 80px;
}

/*------------------------------------------------------------------
[ Alert validate ]*/
.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 4px;
  padding: 4px 15px;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  color: #c80000;
  font-size: 13px;
  display: none;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  position: absolute;
  color: #c80000;
  font-size: 15px;
  top: 50%;
  transform: translateY(-50%);
  right: 18px;
}

.alert-validate:hover:before {
  display: block;
}

/*//////////////////////////////////////////////////////////////////
[ Layout ]*/
.size1 {
  width: 100%;
  min-height: 100vh;
}

.wsize1 {
  width: 37%;
}

.wsize2 {
  width: 63%;
  padding: 30px 40px;
}

/*//////////////////////////////////////////////////////////////////
[ Background & Colors ]*/
.bg0 {
  background-color: #fff;
}

.overlay1 {
  position: relative;
  z-index: 1;
}

.overlay1::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
}

/*//////////////////////////////////////////////////////////////////
[ Typography ]*/
.l1-txt1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 30px;
  color: #333;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.m2-txt1 {
  font-family: Poppins-Regular;
  font-size: 24px;
  color: #999;
  line-height: 1.2;
  margin-bottom: 15px;
}

.m2-txt2 {
  font-family: Poppins-Regular;
  font-size: 16px;
  color: #999;
  line-height: 1.2;
  text-transform: uppercase;
}

/*//////////////////////////////////////////////////////////////////
[ Social ]*/
.how-social {
  color: #666;
  font-size: 16px;
  background-color: transparent;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.how-social:hover {
  background-color: #333;
  color: #fff;
}

/*//////////////////////////////////////////////////////////////////
[ Submit Button ]*/
.submit-button {
  background-color: #ffe151;
  box-shadow: 0 10px 15px 0px rgba(0,0,0,0.1);
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-radius: 5px;
  max-width: 400px;
  margin: 30px auto 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  box-shadow: 0 10px 15px 0px rgba(0,0,0,0.2);
}

.submit-button span {
  font-size: 15px;
  font-family: Poppins-Medium;
  color: #333;
}

.submit-button i {
  font-size: 24px;
  color: #333;
  transition: transform 0.3s ease;
}

.submit-button:hover i {
  transform: translateX(5px);
}

/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/
@media (max-width: 992px) {
  .wsize1, .wsize2 {
    width: 100%;
  }
  
  .wsize2 {
    height: auto;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .form-group-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .input100 {
    height: 36px;
    font-size: 13px;
  }
  
  select.input100 {
    height: 36px;
  }
  
  .l1-txt1 {
    font-size: 24px;
  }
  
  .m2-txt1 {
    font-size: 16px;
  }
  
  .submit-button {
    height: 50px;
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .wsize2 {
    padding: 20px 15px;
  }
  
  .alert-validate::before {
    max-width: 100%;
    right: 0;
    top: calc(100% + 5px);
    transform: none;
  }
  
  .alert-validate::after {
    right: 10px;
  }
}

.input100.error {
  border: 1px solid #dc3545;
  background-color: #fff8f8;
}

.alert-message {
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  font-family: Poppins-Regular;
  text-align: center;
}

.alert-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .g-recaptcha {
      transform: scale(0.9);
      transform-origin: center;
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
      transform: scale(0.85);
      transform-origin: center;
  }
}

.contact100-form {
  text-decoration: none;  /* Remove underline */
  color: #333;  /* Dark gray color */
}

.contact100-form:hover {
  text-decoration: none;  /* Ensure no underline on hover */
  color: #333;  /* Keep the same color on hover */
}

/* Ensure the text inside maintains its color */
.contact100-form .s2-txt1 {
  color: #333;
}

/*//////////////////////////////////////////////////////////////////
[ Logo Text Container ]*/
.logo-text-container {
    position: absolute;
    top: 220px;
    left: 70px;
    z-index: 1;
}

/*------------------------------------------------------------------
  Contact table (div-based) layout
  - Each cell is 50% width and forced to a single line when possible
  - Uses flex for consistent alignment
  - Falls back to full-width cells on very small screens
-------------------------------------------------------------------*/
.divTable {
  width: 100%;
}

.divTableHeading {
  margin-bottom: 6px;
}

.divTableRow {
  display: flex;
  flex-wrap: nowrap; /* keep cells on one line when space allows */
  align-items: center;
  border-bottom: 1px solid #e9ecef; /* subtle separator */
}

.divTableHead {
  padding: 8px;
  font-weight: 600;
  font-size: 14px;
}

.divTableCell {
  box-sizing: border-box;
  padding: 8px;
  font-size: 14px; /* slightly reduced font-size */
  color: #333;
  white-space: normal; /* allow wrapping for long names */
  overflow: visible;
  text-overflow: clip;
}

.cell-icon {
  width: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.cell-name {
  flex: 1 1 auto;
  padding-right: 12px;
}

.cell-phone {
  width: 120px;
  flex: 0 0 120px;
  text-align: right; /* right-align phone numbers */
}

.divTableCell a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 576px) {
  .divTableRow {
    flex-wrap: wrap; /* allow stacking on very small screens */
  }

  .cell-icon {
    flex: 0 0 36px;
  }

  .cell-name {
    flex-basis: 100%;
    width: 100%;
    padding-right: 0;
  }

  .cell-phone {
    width: 100%;
    flex-basis: 100%;
    text-align: left; /* on small screens keep phone left for easier tap */
    margin-top: 6px;
  }
}

/* Toggle button for Contact a Driver */
.contact-drivers {
  position: relative;
}
.contact-drivers h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 10px;
}
.toggle-contacts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #ffe151;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.toggle-contacts:focus {
  outline: 2px solid rgba(0,0,0,0.12);
}

/* Toggle button for Contact a Driver - Mobile Menu */
.contact-drivers-mobile {
  position: relative;
}
.contact-drivers-mobile h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 10px;
}
.toggle-contacts-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #ffe151;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.toggle-contacts-mobile:focus {
  outline: 2px solid rgba(0,0,0,0.12);
}
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Hidden state for the drivers list */
.divTable.hidden {
  display: none !important;
}

/* Hide the Contact a Driver section on mobile devices (phones) */
@media (max-width: 576px) {
  .contact-drivers {
    display: none !important;
  }
}

/* Hide the contact-drivers-mobile section on desktop and tablet */
@media (min-width: 577px) {
  .contact-drivers-mobile {
    display: none !important;
  }
}