@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

.contact-section {
  background-color: #fff;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  max-width: 1320px;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F7 100%);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #EDEDED
}

/* Left side */
.contact-info {
  background: #FCF4F2;
  flex: 1 1 320px;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #EDEDED;
}

.contact-info h2 {
  font-size: 28px;
  margin: 0 !important;
  font-weight: 400;
  font-family: 'Righteous';
}

.contact-info p {
  color: #000;
  margin: 10px 0;
  font-family: 'DM Sans';
  font-weight: 400;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 30px 0;
  font-size: 16px;
  color: #111;
  line-height: 1.5;
  font-size: 16px;
  font-family: 'DM Sans';
  font-weight: 400;
}

.contact-svg {
  margin-top: 2px;
}

/* Right side form */
.contact-form {
  flex: 1 1 480px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F7 100%);
  padding: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-family: 'Righteous';
  font-weight: 400;
}

input,
textarea {
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-size: 14px  !important;
  color: #222;
  font-family: 'DM Sans' !important;
  font-weight: 500 !important;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.full-width {
  width: 100%;
}

.submit-btn {
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-end;
  font-size: 1rem;
  background: #C51A3D;

}

/* ✅ Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 0 20px;
  }

  .contact-container {
    flex-direction: column;
    border: none;

  }

  .contact-info {
    padding: 30px 20px 0 20px;
    border-radius: 20px;
    border: 1px solid #EDEDED
  }

  .contact-form {
    padding: 30px 20px;
    margin-top: 15px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F7 100%);
    box-shadow: 0px 4px 24px 3px #B1B1B11F;
    border: 1px solid #EDEDED;
  }

  .submit-btn {
    align-self: flex-start;
  }

  .form-row {
    flex-direction: column;
  }
}

.form-row input:focus, .form-group textarea:focus  {
  outline: none;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid #ccc;
}

.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #28a745; /* green */
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.toast.show {
  opacity: 1;
}

.toast.error {
  background-color: #dc3545; /* red */
}
