/* assets/css/enquire-now.css */

/* Main Section */
.enquire-now-section {



      width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem;
    margin-top: 2rem;
    scroll-margin-top: 6rem;
}

@media (max-width: 768px) {
  .enquire-now-section {
    margin-top: 2rem;
    padding-top: 0.5rem;
  }
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.line-text-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.line-text-container hr {
  flex: 1;
  border: none;
  border-top: 2px solid;
  opacity: 0.8;
}

.line-text-container h2 {
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  text-align: center;
}

/* Enquire Container */
.enquire-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.enquire-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  border: 2px solid #000;
  overflow: hidden;
}

/* Left Side - Logo and Features */
.enquire-left {
  color: white;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-bottom: 2rem;
}

.logo-section img {
  width: 13rem;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 0;
}

.feature-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid white;
  padding: 0 0.5rem;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item img {
  width: 8rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.feature-item p {
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
}

/* Right Side - Form */
.enquire-form {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Form Group */
.form-group {
  position: relative;
  margin-bottom: 1rem;
  width: 100%;
}

/* Form Input */
.form-input {
  width: 100%;
  height: 3rem;
  border-radius: 0.375rem;
  border: 2px solid;
  background-color: transparent;
  padding: 0.5rem 0.75rem 0.25rem 0.75rem;
  font-size: 0.875rem;
  color: #374151;
  outline: none;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: transparent;
}

.form-input:focus {
  outline: none;
  border-color: #374151;
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.08);
}

/* Remove number input arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button,
input[type="tel"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"],
input[type="tel"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

/* Form Label */
.form-label {
  position: absolute;
  left: 0.75rem;
  top: -0.625rem;
  z-index: 10;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  color: #374151;
  transition: all 0.2s;
  pointer-events: none;
}

/* Placeholder shown state */
.form-input:placeholder-shown + .form-label {
  top: 0.875rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Focus state */
.form-input:focus + .form-label {
  top: -0.625rem;
  font-size: 0.75rem;
  color: #374151;
}

/* Error Space */
.error-space {
  min-height: 1rem;
  margin-top: 0.25rem;
}

.error-message {
  font-size: 0.75rem;
  color: #ef4444;
  margin: 0;
}

/* Submit Button */
.submit-button {
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  transition: opacity 0.2s;
}

.submit-button:hover {
  opacity: 0.9;
}

/* Responsive Styles */
@media (min-width: 640px) {
  .enquire-left {
    padding: 4rem 2rem;
  }

  .enquire-form {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .enquire-now-section {
    padding: 0 1rem;
  }

  .enquire-wrapper {
    flex-direction: row;
  }

  .enquire-left {
    width: 50%;
    padding: 4rem 2rem;
  }

  .logo-section img {
    width: 18rem;
  }

  .feature-item img {
    width: 9rem;
    height: 5rem;
  }

  .feature-item p {
    font-size: 1rem;
  }

  .enquire-form {
    width: 50%;
    padding: 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
  }
}

/* Mobile: Compact left section like original design */
@media (max-width: 767px) {
  .enquire-left {
    min-height: auto;              /* Remove fixed height */
    height: 280px;                 /* Much shorter - matches original compact look */
    padding: 1rem;                 /* Minimal padding */
    justify-content: center; /* Logo top, features bottom */
    align-items: center;
    gap: 0.5rem;                   /* Tight spacing */
  }

  /* Logo: Large, centered at top */
  .logo-section {
    margin-bottom: 0;
    flex: none;
  }

  .logo-section img {
    width: 14rem;                  /* Bigger logo to fill space */
    max-width: 85vw;
    height: auto;
  }

  /* Features: Larger icons, fill width, centered row at bottom */
  .features-section {
    width: 100%;
    justify-content: space-around; /* Even distribution */
    gap: 0.5rem;
    padding: 0;
  }

  .feature-item {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 0.5rem;
    flex: 1;
  }

  .feature-item:last-child {
    border-right: none;
  }

  .feature-item img {
    width: 100%;                   /* Fill available width */
    max-width: 9rem;               /* Large icons - adjust up/down if needed */
    height: 5rem;                  /* Taller for impact */
    object-fit: contain;           /* Keep proportions - change to 'cover' if you want cropped fill */
    margin-bottom: 0;
  }

  /* Optional: Smaller text labels if they're still visible */
  .feature-item p {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
  .enquire-left {
    min-height: auto;              /* Remove fixed height */
    height: 280px;                 /* Much shorter - matches original compact look */
    padding: 1rem;                 /* Minimal padding */
    justify-content: center; /* Logo top, features bottom */
    align-items: center;
    gap: 0.5rem;                   /* Tight spacing */
  }

  /* Logo: Large, centered at top */
  .logo-section {
    margin-bottom: 0;
    flex: none;
  }

  .logo-section img {
    width: 14rem;                  /* Bigger logo to fill space */
    max-width: 85vw;
    height: auto;
  }

  /* Features: Larger icons, fill width, centered row at bottom */
  .features-section {
    width: 100%;
    justify-content: space-around; /* Even distribution */
    gap: 0.5rem;
    padding: 0;
  }

  .feature-item {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 0.5rem;
    flex: 1;
  }

  .feature-item:last-child {
    border-right: none;
  }

  .feature-item img {
    width: 100%;                   /* Fill available width */
    max-width: 9rem;               /* Large icons - adjust up/down if needed */
    height: 5rem;                  /* Taller for impact */
    object-fit: contain;           /* Keep proportions - change to 'cover' if you want cropped fill */
    margin-bottom: 0;
  }

  /* Optional: Smaller text labels if they're still visible */
  .feature-item p {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}



@media (min-width: 1024px) {
  .feature-item img {
    width: 16rem;
    height: 6rem;
  }
}


