* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  padding: 10px;
}

.section {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px; /* Add padding for small screens */
}

.inquiries {
  color: rgb(57, 56, 56);
  margin-block: 20px;
  font-size: 40px;
  font-weight: 700;
  max-width: 1000px;
  line-height: 50px;
  margin-bottom: 40px;
}

b {
  font-size: large;
  color: #ff9800;
}

a {
  text-decoration: none;
  color: black;
}

.quote {
  margin-top: 30px;
}

.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  column-gap: 60px;
}

.info {
  font-weight: 600;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.form-subcontainer {
  display: flex;
  flex-direction: column;
}

.form-subcontainer label {
  font-weight: 600;
}

.form-subcontainer input {
  border: none;
  border-bottom: 2px solid gray;
  width: 100%; /* Full width on smaller screens */
  max-width: 300px;
  outline: none;
  padding: 10px;
  margin-top: 10px;
}
select {
  border: none;
  border-bottom: 2px solid gray;
  width: 100%; /* Full width on smaller screens */
  max-width: 300px;
  outline: none;
  padding: 10px;
  margin-top: 10px;
}

.message {
  font-weight: 600;
}

.message input {
  display: block;
  border: none;
  border-bottom: 2px solid grey;
  width: 100%;
  margin-bottom: 40px;
  outline: none;
}

.message-btn {
  background-color: #ff9800;
  color: white;
  padding-inline: 16px;
  padding-block: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 40px;
  margin-top: 20px;
  width: 100%;
  max-width: 300px; /* Limit max width */
}
.contact-container {
  padding: 50px 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header .contact-text {
  color: #004080;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-header h2 {
  color: #333;
  font-size: 2rem;
  margin-top: 10px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 2rem;
  color: #004080;
  margin-right: 20px;
}

.contact-item div {
  color: #333;
}

.contact-item b {
  font-weight: bold;
}

.contact-item .info {
  font-size: 0.9rem;
  color: #555;
}

.contact-item .info a {
  color: #004080;
  text-decoration: none;
}

.contact-item .info a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .contact-container {
    padding: 30px 10px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Responsive adjustments for tablets and mobile */
@media (max-width: 768px) {
  .inquiries {
    font-size: 30px;
    line-height: 40px;
  }
  .contact-info {
    column-gap: 60px;
  }
  .message-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .inquiries {
    font-size: 24px;
    line-height: 30px;
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-subcontainer1 h2 {
    font-size: 20px;
    text-align: center;
  }

  .form-subcontainer input {
    width: 100%;
  }
}
