/* General Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Quote Wrap */
.quote-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 30px;
  gap: 30px;
  box-sizing: border-box;
}

/* Quote Left Section */
.quote-left {
  flex: 1;
  background: #071226;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quote-left h1 {
  font-size: 24px;
  margin-bottom: 15px;
}

.quote-left p {
  margin-bottom: 10px;
}

.map-container {
  margin-top: 20px;
}

/* Quote Right Section */
.quote-right {
  flex: 1;
  background: #071226;
  color: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

/* Remove or reduce margin between heading and paragraph */
.form-container h2 {
  margin-bottom: 10px;  /* Adjust this value as needed */
}

.form-container p {
  margin-top: 0;  /* Remove margin above paragraph */
  margin-bottom: 20px;  /* Adjust bottom margin to keep spacing consistent */
}

.quote-lead {
  font-size: 14px;
  color: #9aa6b2;
}

/* Form Styling */
.quote-form input, 
.quote-form textarea {
  background: #071226;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #3c4b6b;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.quote-form button {
  background: #ffffff;
  color: #041226;
  padding: 12px 24px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(4, 18, 38, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: inline-block;
}

.quote-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(4, 18, 38, 0.6);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Stack left and right sections on mobile */
  .quote-wrap {
    flex-direction: column;
    padding: 16px; /* Add padding to prevent content from touching edges */
  }

  /* Stack the quote-left and quote-right sections */
  .quote-left, .quote-right {
    width: 100%; /* Ensure both sections are 100% width on mobile */
    padding: 16px;
  }

  /* Adjust padding and font sizes */
  .quote-left h1 {
    font-size: 20px;
  }

  .quote-left p {
    font-size: 14px;
  }

  .quote-right {
    padding: 20px;
    max-width: 100%; /* Remove max-width to fill the space on mobile */
    margin: 0; /* Reset margin */
  }

  .form-container {
    gap: 12px; /* Add space between form elements */
  }

  /* Ensure input and textarea elements fill the container */
  .quote-form input,
  .quote-form textarea {
    padding: 10px;
    font-size: 16px;
  }

  /* Adjust button size on mobile */
  .quote-form button {
    padding: 12px 20px;
  }

/* Default settings for mobile */
.map-container iframe {
  width: 100%;  /* Full width for smaller screens */
  height: 250px; /* Keep the height the same for mobile */
}

/* Adjust size for larger screens (desktop) */
@media (min-width: 1024px) {  /* Adjust the min-width value for your desired breakpoint */
  .map-container iframe {
    width: 600px;  /* Adjust width for desktop */
    height: 450px; /* Adjust height for desktop */
  }

  /* Apply same styles for textarea as input fields */
.quote-form input, 
.quote-form textarea {
  background: #071226;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #3c4b6b;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px; /* Optional: to keep the font size consistent */
  resize: vertical; /* Allow resizing for better UX */
}

}