/* --- CONTACT SECTION STYLES --- */

.contact-section {
  width: 100%;
  max-width: 1440px;
  margin: 50px auto;
  padding: 20px 100px;
  font-family: "Montserrat", sans-serif;
}

/* 1. Header */
.contact-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header h2 {
  color: #c1671d;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-header p {
  color: #595959;
  font-size: 20px; /* Adjusted for better readability */
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

/* 2. Main Container (Holds Form + Info Card) */
.contact-container {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* Aligns them at the top */
  position: relative;
}

/* 3. Form Styling */
.contact-form {
  flex: 2; /* Takes up 2/3 of the space */
  background: white;
  border: 1px solid rgba(193, 103, 29, 0.3);
  border-radius: 16px;
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Equal Columns */
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full-width {
  grid-column: 1 / -1; /* Spans across both columns */
}

label {
  font-weight: 500;
  font-size: 16px;
  color: black;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1.4px solid #d1d5db;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  border-color: #c1671d;
}

textarea {
  height: 120px;
  resize: vertical;
}

/* Special styling for inputs with icons (Phone/Country) */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  padding-left: 60px; /* Space for the icon */
}

.country-code,
.country-flag {
  position: absolute;
  left: 15px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none; /* Allows click to pass through to input */
}

.btn-submit {
  width: 100%;
  background-color: #c1671d;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #a05315;
}

/* 4. Info Card Styling */
.contact-info-card {
  flex: 1; /* Takes up 1/3 of the space */
  background: white;
  box-shadow: 0px 4px 20px rgba(193, 103, 29, 0.15);
  border-radius: 16px;
  padding: 40px;
  height: fit-content; /* Only takes height it needs */
}

.contact-info-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-info-card h3 span {
  color: #c1671d;
  font-weight: 600;
}

.info-subtitle {
  font-family: "Inter", sans-serif;
  color: #555;
  font-weight: 300;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #c1671d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #c1671d; /* Using text emoji for now, can replace with <img> */
}

.info-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: black;
  margin-bottom: 2px;
}

.info-details p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #555;
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column; /* Stack Form on top of Info Card */
  }

  .contact-form,
  .contact-info-card {
    width: 100%; /* Full width on smaller screens */
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr; /* 1 Column for inputs on Mobile */
  }

  .contact-header h2 {
    font-size: 28px;
  }

  .contact-header p {
    font-size: 16px;
  }

  .contact-section {
    padding: 0 15px; /* Less padding on mobile edges */
  }
}
