.contact {
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.content-box {
  width: min(1200px, 100%);
  min-height: 450px;
}

.content-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* 핵심: 깨짐 방지 */
}

.box {
  color: black;
  flex: 1 1 450px;
  min-width: 320px;
  height: auto;
}

/* ===== TEXT AREA ===== */

.content-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.coment-1 {
  font-weight: 300;
  font-size: 22px;
  font-style: italic;
}

.coment-2 {
  font-weight: 400;
  font-size: 36px;
}

.coment-3 {
  font-weight: 400;
  font-size: 22px;
}

.coment-4 {
  font-weight: 400;
  font-size: 18px;
}

.coment-5 {
  display: flex;
  justify-content: flex-end;
  font-weight: 700;
  width: 100%;
}

/* ===== FORM AREA ===== */

.content-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 430px;
}

.input-1,
.input-2 {
  width: 100%;
  height: 50px;
  padding: 0 16px;

  font-size: 16px;
  color: #333;

  border: 1px solid #dcdcdc;
  border-radius: 12px;

  background-color: #ffffff;

  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.input-1:focus,
.input-2:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

.textarea {
  width: 100%;
  height: 220px;
  padding: 16px;

  font-size: 16px;
  color: #333;

  border: 1px solid #dcdcdc;
  border-radius: 12px;

  background-color: #ffffff;

  outline: none;
  resize: vertical;
  transition: all 0.2s ease;

  box-sizing: border-box;
}

.textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

button {
  width: 100%;
  height: 50px;

  border: none;
  border-radius: 12px;

  background-color: #111;
  color: white;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;
}

button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* ===== LANGUAGE SWITCH ===== */

.language-switch {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.language-switch button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.language-switch button:hover {
  background: #f5f5f5;
}

.form-bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.language-switch {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch button {
  border: 1px solid #111;
  background: transparent;
  color: #111;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.language-switch button:hover {
  background: #111;
  color: #fff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .content-item {
    flex-direction: column;
  }

  .box {
    min-width: 100%;
  }
}

/* =========================
   Contact Mobile Responsive
   ========================= */
@media (max-width: 768px) {

  .contact {
    min-height: auto;
    padding: 30px 15px;
  }

  .content-box {
    min-height: auto;
  }

  .content-item {
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
  }

  .box {
    min-width: 100%;
    flex: 1 1 100%;
  }

  /* ===== TEXT AREA ===== */

  .coment-1 {
    font-size: 18px;
  }

  .coment-2 {
    font-size: 26px;
  }

  .coment-3 {
    font-size: 18px;
  }

  .coment-4 {
    font-size: 16px;
  }

  .coment-5 {
    justify-content: flex-start;
    font-size: 14px;
  }

  /* ===== FORM AREA ===== */

  form {
    max-width: 100%;
  }

  .input-1,
  .input-2 {
    height: 45px;
    font-size: 14px;
  }

  .textarea {
    height: 180px;
    font-size: 14px;
  }

  button {
    height: 45px;
    font-size: 14px;
  }

  /* ===== LANGUAGE SWITCH ===== */

  .language-switch {
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
  }

  .language-switch button {
    padding: 6px 10px;
    font-size: 13px;
  }

  .form-bottom {
    gap: 12px;
  }
}