/* ======================================== */
/* GLOBX - CONTACT SECTION                  */
/* ======================================== */
.gx-contact-section {
  background: #fff;
  padding: 5rem 0 5rem 0;
}
.gx-contact-container {
  display: flex;
  margin: 0 auto;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}
.gx-contact-form-col {
  flex: 1 1 420px;
  max-width: 680px;
}
.gx-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.gx-contact-section .gx-contact-form {
  gap: 1.5rem;

}


.gx-form-type-selector {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.gx-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  color: #1a3e5c;
  position: relative;
}
.gx-radio-label input[type="radio"] {
  display: none;
}
.gx-custom-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid #1a7ebc;
  display: inline-block;
  position: relative;
  background: #fff;
  transition: border-color 0.2s;
}
.gx-radio-label input[type="radio"]:checked + .gx-custom-radio {
  border-color: #1a7ebc;
}
.gx-radio-label input[type="radio"]:checked + .gx-custom-radio::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #1a7ebc;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gx-contact-heading {
  font-size: 2.3rem;
  margin-bottom: 0.2rem;
}
.gx-contact-subheading {
  font-size: 1.15rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}
.gx-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.7rem;
}
.gx-form-group label {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.gx-form-group input,
.gx-form-group textarea {
  border: none;
  border-bottom: 2px solid #e0e6ed;
  font-size: 1.08rem;
  padding: 0.4rem;
  background: transparent;
  color: #1a3e5c;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  height: 50px;
}
.gx-form-group input:focus,
.gx-form-group textarea:focus {
  border-bottom: 2px solid #1a7ebc;
}
.gx-form-group input::placeholder,
.gx-form-group textarea::placeholder {
  color: #b0b8c1;
  opacity: 1;
}
.gx-form-row {
  display: flex;
  gap: 1.5rem;
}
.gx-form-half {
  flex: 1 1 0;
}

/* background
color
border-radius
border
font-size
box-shadow
transition */
.gx-contact-submit {
  /* background: #1a7ebc;
  color: var(--text-light-3);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(26, 126, 188, 0.08);
  transition: background 0.2s;
  font-size: 1.15rem; */
  font-weight: var(--fw-regular);
  /* padding: 0.85rem 2.5rem; */
  margin-top: 0.5rem;
  cursor: pointer;
  align-self: flex-start;
}
.gx-contact-submit:hover {
  background: var(--primary-hover);
}

.gx-contact-image-col {
  max-width: 460px;
  position: relative;
  display: flex;
  height: 675px;
}
.gx-contact-chevron-bg {
  position: absolute;
  top: -150px;
  right: -130px;
  z-index: 1;
  width: 210px;
  height: 320px;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.gx-contact-chevron {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: transform 0.4s ease-out;
}

.gx-contact-chevron.rotated {
  transform: rotate(-90deg);
}
.gx-contact-image {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(30, 30, 30, 0.13);
  background: #fff;
  height: 100%;
  object-fit: cover;

}

@media (max-width: 991.98px) {
  .gx-contact-container {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }
  .gx-contact-image-col {
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    display: none;
  }
  .gx-contact-chevron-bg {
    top: -20px;
    right: -20px;
    width: 180px;
    height: 200px;
  }
  .gx-contact-image {
    max-width: 260px;
  }
}
@media (max-width: 575.98px) {
  .gx-contact-section {
    padding: 2.5rem 0 2.5rem 0;
  }
  .gx-contact-heading {
    font-size: 1.5rem;
  }
  .gx-contact-container {
    gap: 1.5rem;
  }
  .gx-contact-image {
    max-width: 100%;
    border-radius: 0.7rem;
  }
  .gx-contact-chevron-bg {
    width: 90px;
    height: 100px;
    top: -10px;
    right: -10px;
  }
  .gx-form-row {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* Hide contact image on smaller screens */
@media (max-width: 767.98px) {
  .gx-contact-image-col {
    display: none;
  }
  .gx-contact-submit {
    align-self: center;
  }
}

/* ======================================== */
/* FORM CONTENT SWITCHING                   */
/* ======================================== */

.gx-form-content {
  transition: opacity 0.3s ease;
}

@media (max-width: 767.98px) {
  .gx-form-content {
    display: flex;
    flex-direction: column;
  }
}



/* ======================================== */
/* PARTS SECTION STYLES                     */
/* ======================================== */

.gx-parts-section-label {
  font-size: 1.1rem;
  color: #1a3e5c;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.gx-parts-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gx-part-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.gx-part-number-field {
  flex: 2;
}

.gx-part-quantity-field {
  flex: 1;
}

.gx-part-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e0e6ed;
  font-size: 1rem;
  padding: 0.5rem 0 0.4rem 0;
  background: transparent;
  transition: border-color 0.3s ease;
}

.gx-part-input:focus {
  outline: none;
  border-bottom-color: #1a7ebc;
}

.gx-part-input::placeholder {
  color: #adb5bd;
}

.gx-part-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gx-part-add-btn,
.gx-part-remove-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #f8f9fa;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.gx-part-add-btn:hover {
  background: #1a7ebc;
  color: white;
  transform: scale(1.1);
}

.gx-part-remove-btn:hover {
  background: #dc3545;
  color: white;
  transform: scale(1.1);
}

.gx-part-add-btn:active,
.gx-part-remove-btn:active {
  transform: scale(0.95);
}

/* Required field indicator */
.gx-required {
  color: #dc3545;
  font-weight: 600;
}

/* Responsive adjustments for parts section */
@media (max-width: 575.98px) {
  .gx-part-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .gx-part-number-field,
  .gx-part-quantity-field {
    flex: none;
  }
  
  .gx-part-controls {
    justify-content: center;
    margin-top: 0.5rem;
  }
} 
